I have built the frame and fitted the newel posts for a new 4.2m x 3m deck - it is surface mounted but, as the back is lower than the front, the back has been raised about 6" and the slope is fairly constant (i.e. at the mid point the joist is around 2 - 3" off the ground.
I have used 6" x 2"...