Deployments & Managing Infrastructure at Scale Flashcards

1
Q

What is CloudFormation?

A

CloudFormation is a declarative way of outlining your AWS Infra, for any resources.

CloudFormation will auto create resources for you, in the right order, with the exact configs that you specified.

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

What are the benefits of Cloud Formation?

A

Infrastructure as Code - Resources are not manually created which is great for control.

Predictable Cost - You can estimate costs of resources based on your template. Once created, each resource in the stack is tagged so you can see how much the stack costs.

Savings - You can schedule a stack to be created/deleted in dev to save costs.

Productivity - Ability to destroy/create on the fly

Don’t reinvent the wheel - leverage existing templates and docs

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

What is Cloud Formation Stack Designer?

A

Is a visual digram that shows all resources and the relations between components.

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

What is Beanstalk?

A

It is a PaaS that allows a developer centric view of deploying applications on AWS.

Uses all the same components of Infra (EC2, ASG, ELB, RDS…), but it’s all in one view that’s easy to make sense of!

You still have a view of all individual components.

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

What are the three architecture models offered by Beanstalk?

A

Single Instance = for dev
LB + ASG = for prod or pre prod web apps
ASG only = for non web apps in prod

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

How can you monitor the health of your deployments on Beanstalk?

A

Beanstalk does have a full monitoring suite

A health agent is on each EC2 instance and is pushed to CloudWatch. You can view these metrics in Beanstalk.

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

What is the difference between Beanstalk and CloudFormation?

A

CloudFormation is used to deploy infra as code (doesn’t have to be an application or EC2).

Beanstalk is a code centric view where you need to upload your code and then Beanstalk will figure out how to run your code. It is more application focused.

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

What is AWS CodeDeploy?

A

Allows developers to deploy an application from v1 to v2 automatically.

It is a hybrid service that works both with EC2 as well as On-Premise.

Servers/Instances must be provisioned and configured ahead of time.

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

What is AWS CodeCommit?

A

AWS’s git repository (competitor to GitHub).

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

What is AWS CodeBuild?

A

Allows you to build code in the cloud.

Compiles source code from CodeCommit, runs scripts to test and produces packages that are ready to be deployed.

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

What is AWS CodePipeline?

A

Allows you to orchestrate the different steps to have code automatically pushed to production.

Basis for Continuous Integration and Continuous Delivery.

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

What is AWS CodeArtifact?

A

A secure, scalable, and cost-effective artefact management for software development. Stores code dependencies.

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

What is AWS CodeStar?

A

A unified UI to easily manage software deployment activities in one place.

It is a “quick way” to correctly set up CodeCommit, CodePipeline, CodeBuild, CodeDeploy, etc.

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

What is AWS Cloud9?

A

Cloud9 is a Cloud IDE or web based (browser) code editor.

Allows you to work on your projects anywhere you have internet access, and collaborate with teammates (think GoogleDocs).

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

What is AWS SSM?

A

SSM = Systems Manager

Hybrid AWS service that allows you to get operational insights into the state of your infrastructure.

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

What are the 3 most important features of SSM?

A

Allows you to:

  1. Patch a fleet of servers
  2. Run commands across a fleet of servers
  3. Store parameter configs
17
Q

What is AWS OpsWorks?

A

Managed Chef and Puppet in the cloud. Only works with Standard AWS resources (EC2, LBs, EBS)

18
Q

True or False?

CodeStar can be used to monitor and check the health of an environment.

A

False. CodeStar is used to quickly develop, build, and deploy applications on AWS. Elastic Beanstalk can be used to monitor and to check the health of an environment.

19
Q

Which AWS managed service allows to automate software deployments to a hybrid mix of EC2 Instances and On-Premises servers?

A

AWS CodeDeploy is a service that automates code deployments to any instance, including Amazon EC2 instances and instances running on-premises.

20
Q

A developer team would like to collaborate on code with versioning support. Which AWS service can help the developers?

A

AWS CodeCommit is a secure, highly scalable, managed source control service that makes it easier for teams to collaborate on code. It also provides software version control.

21
Q

You need a unified user interface that gives you visibility, control, and patching capabilities for your EC2 Instances on AWS, as well as for servers running in your on-premises data centers. Which service should you use?

A

AWS Systems Manager gives you visibility and control of your infrastructure on AWS. It is used for patching systems at scale.

22
Q

You need to use Chef or Puppet. Which AWS service should you use?

A

AWS OpsWorks is a configuration management service that provides managed instances of Chef and Puppet.

23
Q

A new startup would like an online integrated development environment (IDE) to write, run, and debug code. Which AWS service can help with this task?

A

Cloud9

24
Q

What is called the declaration of the AWS resources that make up a stack?

A

AWS CloudFormation templates are JSON or YAML-formatted text files. They are declarations of the AWS resources that make up a stack.

25
Q

Which of the following services can a developer use to store code dependencies?

A

AWS CodeArtifact is a fully managed artifact repository (also called code dependencies) service that makes it easy for organizations of any size to securely store, publish, and share software packages used in their software development process.

26
Q

True or False?

CodeStar can orchestrate the different steps to have code automatically pushed to production, while CodePipeline is a unified UI to easily manage software development activities in one place.

A

False.

AWS CodePipeline is a fully managed continuous delivery service that helps you automate your release pipelines for fast and reliable application and infrastructure updates. CodeStar is used to quickly develop, build, and deploy applications on AWS with a unified user interface.

27
Q

Which serverless service can be used to build code and run tests?

A

AWS CodeBuild is a fully managed continuous integration service that compiles source code, runs tests, and produces software packages that are ready to deploy. With CodeBuild, you don’t need to provision, manage, and scale your own build servers, it is serverless.

28
Q

True or False?

CloudFormation and Elastic Beanstalk are free of use.

A

True.

CloudFormation and Elastic Beanstalk are free of use, but you do pay for the resources created.