Building Reliable Infrastructure, One Layer at a Time