Aws Cloudformation & INIT CFN Flashcards

1
Q

What is AWS CloudFormation?

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How does AWS CloudFormation manage resources?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the cfn-init script?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does the cfn-init script do?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly