Aws Cloudformation & INIT CFN Flashcards
What is AWS CloudFormation?
A service that lets you automate the setup and management of AWS resources with templates.
Example: You can define an entire infrastructure in a template file and AWS CloudFormation will create the resources accordingly.
How does AWS CloudFormation manage resources?
Templates: Uses YAML or JSON to specify resource configurations.
Stacks: Manages groups of related resources as a single unit.
Change Sets: Shows potential changes to your resources before applying them.
Additional Information: CloudFormation simplifies resource management by allowing you to define resources and their dependencies in a template.
What is the cfn-init script?
A tool in CloudFormation to configure and initialize EC2 instances using metadata defined in CloudFormation templates.
Example Sentence: The cfn-init script is commonly used to bootstrap EC2 instances with specific configurations specified in the CloudFormation template.
What does the cfn-init script do?
Setup: Installs and configures software on EC2 instances.
Control: Starts and manages services on the instance as specified in the CloudFormation template.
Additional Information: The cfn-init script plays a crucial role in automating the initialization process of EC2 instances using CloudFormation.