This style of pergola, sometimes known as a lean-to, is ideal for when you wish to create an area of shade or shelter directly adjacent to a house or other wall. It is fairly easy to construct, with fewer posts to erect than with a freestanding pergola. The overhead beams can either be attached to a wooden wall plate — a length of lumber bolted to the wall — or inserted into special metal fittings, called joist hangers, screwed into the brickwork.
Keep in mind that joist hangers are best used on sound, flat brickwork. On the other hand, wooden wall plates are best for worn surfaces, and provide a more secure and safer mount.
hammer or mallet
5 metal joist hangers
5 wooden rafters, 2 wooden posts, 1 wooden beam; all must be treated
dome-head galvanized screws with washers
Mark the wall directly opposite, and at the correct height: this is where the first two joist hangers will go. Space the other three evenly at precisely the same height, and mark the position of their screw holes as well.
If you don't have the ability or desire to use joist hangers to mount beams, then attach rafters to a wall plate. This can be done by means of brackets screwed to the top of the wall plate — into which the beams are nailed — or by cutting notches in both pieces of wood. Cut the notches in the wall plate before bolting it to the wall.