Deployments and Managing Infrastructure at Scale Flashcards

1
Q

What is CloudFormation?

A

A service that takes in a template in JSON or YAML to create infrastructure. Not to be confused with the CDK.

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

What are 3 advantages of using CloudFormation? (6 total)

A
  • Good for control - all changes are reviewed through code
  • All created resources are tagged so you can see how much a stack costs you. Can also estimate costs ahead of time
  • Automatically generates a diagram of your setup
  • Supports most AWS resources
  • Can easily leverage existing templates off the web
  • Can be used to automate the creation and deletion of different resources as and when needed to lower costs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the CDK and what does it stand for?

A

Cloud Development Kit. Where you actually input the code before it is turned into a YAML or JSON template for CloudFormation

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

What is Elastic Beanstalk?

A

Elastic Beanstalk is a platform as a service that allows developers to focus on deploying their code as opposed to the infrastructure set up behind it.
EB handles instance and OS configs, deployment strategy and capacity provisioning, load balancing and auto-scaling as well as application health monitoring.

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

What type of cloud computing is Elastic Beanstalk?

A

Platform-as-a-service

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

What is the pricing system of Elastic Beanstalk?

A

The platform itself is free but you pay for the resources that it provisions etc. when you use it

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

What is one metric that Elastic Beanstalk measures and where can you push this for centralised monitoring?

A

Application health, and can push this to CloudWatch

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

What are the 3 main infrastructure layouts that one could use Elastic Beanstalk for?

A
  • Single instance
  • ELB and ASG
  • ASG
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Why would you use an ASG-only infrastructure layout with Elastic Beanstalk?

A

Great for non-web apps

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

What is CodeDeploy?

A

A service that allows you to automatically deploy your application with EC2 and on-premise servers. SERVERS AND INSTANCES MUST BE PROVISIONED AHEAD OF TIME

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

What is CodeCommit?

A

AWS’ github. Hosts git based repositories, makes it easy to do version control and collaborate with others on code.

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

What is CodeBuild?

A

A service that takes your code and compiles, tests and packages it for deployment.
PAYG so you only pay for build time.

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

What is CodePipeline?

A

A service that gives the user a basis for continuous integration and continuous delivery (CICD). Allows you to have a pipeline from Code => Build => Test => Provision.

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

What is CodeArtifact?

A

A service that allows you store and manage the dependencies of your code.
“A secure, scalable and cost effective artefact management system”.

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

What is Systems Manager? What OSs does it work for?

A

A hybrid service that allows the user to manage EC2 and on-premise systems at scale. Works on Windows, Linux, MacOS and Raspbian.

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

What are the most important features of SSM?

A
  • Automated patching
  • Run commands across an entire fleet of servers
  • Store parameter configurations with the SSM parameter store
15
Q

What is SSM Session Manager?

A

A service that allows you to start a secure shell on your EC2 and on-premises servers without the need to enable SSH access, bastion hosts or SSH keys.

16
Q

What is SSM Parameter Store?

A

A service that allows you to store configurations and secrets such as API keys, passwords etc.

17
Q

What service does SSM Parameter Store use to control access permissions?

18
Q

What is SSM Parameter Store - version store?

A

A part of the service that allows you to track changes to the parameters within the parameter store over time.