Join 2" aluminum pipe between two 4"x4" treated lumber?
Drill a hole. Put in a PVC end cap. Insert the aluminum pipe into the PVC end cap. Only trick is making sure you get exactly the right size PVC - inner diameter of PVC should be same size as (or ever so slightly bigger than) outer diameter of pipe.