Twelve ways to build more flexible, scalable and resilient apps in the cloud.