Cloudformation Flashcards
____ is a service that allows you to manage, configure, and provision your AWS infrastructure as code.
Cloudformation
_____ are defiened using a Cf template
resources
CF integrates the template and makes the appropriate ____ calls to create the resources you have defined.
API
Cloudformation supports ____ and ____.
Yaml and JSON
WHich of the following are CF benefits:
- Infra is provisioned consistently, with fewer mistakes
- Less time and effort than configuring things manually
- You can version control and peer review your templates
- FRee to use (charged for what you create)
- Can be used to manage updates and dependencies
- CAn be used to rollback and delete teh entire stack as well.
All of the above
___ or ____ template is used to describe the endstate of the infra you are either provisioning or changing
Yaml or Json
After creating the template, you upload it to CloudFormation using ____
S3
CF reads the templates and makes ___ calls on your behalf
API
The resulting resources are called a _____
stack
Put the CF template structure in order-
InstanceID:
Value: !Ref EC2 Instance
Outputs:
Description: The Instance ID
Outputs:
InstanceID:
Description: The Instance ID
Value: !Ref EC2 Instance
____ is the only mandatory section of the CF template
resources
Remember the ____ section is used to reference additional code stored in S3, allowing for code re-use
ie: for Lambda code or template snippets/reusable pieces of CF code.
Transform
_____ an extension to CF to define serverless apps
(SAM) Serverless Application model
T or F
SAM provides simplified syntax for defining serverless resources: APIs, Lambda Functions, DynamoDB Tables, etc.
True
Use the SAM ____ to package your deployment code; upload it to S3 and deploy your serverless app.
CLI