CloudFormation Flashcards
What is CloudFormation
A declarative way of outlining your AWS Infrastructure, for any resources. (Most are supported)
What does CloudFormation do?
Eliminates the need for manual configuration, as everything is provisioned automatically through templates.
How can you reference a template in CloudFormation?
After uploading a template in S3.
How is a template edited?
It’s not. Re-upload a new version of the template.
What is deleted along with a stack?
Every single artifact that was created by CloudFormation.
Two ways to deploy CloudFormation templates?
- Manual
- Automated
Features:
- Editing templates in CloudFormation Designer or code editor
- Using the console to input parameters, etc…
Manual deployment
Features:
- Editing templates in a YAML file
- Using the AWS CLI (Command Line Interface) to deploy the templates, or using a Continuous Delivery (CD) tool
Automated deployment
What is the core of your CloudFormation template?
Resources
What are “Resources”?
Different AWS Components that will be created and configured.
Resources are….. and can…… each other.
declared, reference
How are resources created, updated, and deleted?
AWS does it.
What do “Parameters” do?
Provides inputs to AWS CloudFormation template.
Features:
- You want to reuse your templates across the company
- Some inputs can not be determined ahead of time
Parameteres
How can parameters help prevents errors in a template?
Types