Module 8 - Automation Flashcards

1
Q

What are your options for deploying and managing your application lifecycle?

A

DIY with CloudFormation

Elastic Beanstalk (orchestrates various AWS services, including EC2, S3, SNS, CloudWatch, autoscaling, and Elastic Load Balancers)

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

What is IaC?

A

Infrastructure as Code: the process of managing and provisioning computer data centers through machine-readable definition files, rather than physical hardware configuration or interactive configuration tools.

You define a template; use CloudFormation as the engine to process the template.

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

What is an architecture template?

A

A JSON or YAML text file that describes and defines the resources to be deployed in your environment, including runtime parameters like instance size.

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

What is the benefit of IaC?

A

Repeatability and reusability while building your environments. You can build the same complex environments with one template. (E.g. one change in the template security groups works for all environments). Makes resource maintenance easier, provides consistency, and reduces effort through parallelization.

You can create your template with conditions, so that different AMIs are used for different environments (dev, qa, prod).

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

What is CloudFormation?

A

An API wrapper. It translates the template to API requests that form a stack of resources.

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

What is a CloudFormation stack?

A

All the resources defined by the template. They are treated as a single unit by CloudFormation. Nested stacks and cross-stack references are possible.

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

How do you change a stack?

A

1) Make a modified template
2) Put in new input parameter values
3) Both

Then CloudFormation generates a change set for review. You can make as many change sets as you like to evaluate how each would affect your resources.

Execute the change set you choose. CloudFormation updates your stack.

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

What are the sections of a CloudFormation template? Which are required?

A
  1. Format version
  2. Transform
  3. Description
  4. Metadata
  5. Parameters
  6. Mappings
  7. Conditions
  8. Resources (required)
  9. Outputs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a layered architecture with regard to CloudFormation?

A

An architecture that organizes stacks into multiple horizontal layers that build on top of one another.

Each layer has a dependency on the layer directly under it.

You can have 1 or more stacks per layer (but they have to have similar ownership and lifecycles).

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

What are AWS Solutions Implementations?

A

Prebuilt reference architectures vetted by AWS. There are 200+ of these. Comes with detailed architecture, a deployment guide, and instructions for automated and manual deployment

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

What is AWS CDK?

A

AWS CDK is an open-source software development framework to model and provision your cloud application resources using familiar programming languages (Python, JavaScript, TypeScript, Java, or C#)

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

What is AWS Systems Manager?

A

An AWS service that you can use to view and control your infrastructure on AWS. Helps you maintain security and compliance by scanning your managed nodes and reporting on (or taking corrective action on) any policy violations it detects.

A managed node is any machine configured for Systems Manager (EC2, edge devices, on-prem servers and virtual machines (VMs), including VMs in other cloud environments)

Use Systems Manager from the Amazon EC2 console

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

Why use AWS Systems Manager?

A
Shortens the time to detect problems
Automates tasks to increase efficiency
Improves visibility and control
Manages hybrid environments (AWS and on-prem)
Maintains security and compliance
How well did you know this?
1
Not at all
2
3
4
5
Perfectly