Use a miter box and saw to cut one end of a 2-by-4 inch stud at a 45-degree angle. Measure 24 inches from the shortest edge of the mitered end and mark it with a pencil. Use the miter box and saw to cut a 45-degree angle outward from the pencil mark so that the stud piece now has an opposing outward 45-degree angle at each end. Use this template to mark and cut all of the braces to follow. If you are installing braces on the side of the post and joist, skip to Step 3.
Place the mitered brace into the corner formed by the deck's vertical support post and the rim joist that runs around the outside edge of the structure. Drill two pilot holes through the brace and into the rim joist or post at both ends. Use a screw gun to fasten the brace into position with 3 1/2-inch decking screws.
Lay the brace over the deck's rim joist and vertical support post so that the mitered ends sit flush with the outer edges of both elements. Make pilot holes through the brace and into the wood beneath it. Use the screw gun to drive 3 1/2-inch decking screws into each pilot hole.