From the course: Hands-On Development in AWS

Unlock this course with a free trial

Join today to access over 24,400 courses taught by industry experts.

Using CloudFormation best practices

Using CloudFormation best practices

- Some best practices for cloud formation. It is of course recommended. I don't think you have an option. Use IAM to control access to the cloud formation service itself. If you have a pretty complicated template and it is deployed as a stack, what's going to happen if some rogue administrator comes along and deletes that stack? It's going to destroy all of the resources that are provisioned as part of that stack. So, be careful with your access to cloud formation and the service. Reuse templates to replicate stacks in multiple environments. There's no reason you can't have this template deployed in Ohio, take the template deploy it in Europe and then use some global Route 53 awesomeness in order to direct traffic to the various resources based on the user's general location. You can nest stacks to reuse common template patterns. It is recommended to do so. Do not put credentials in your templates. These are plain-text documents and if you store these in some sort of insecure…

Contents