Elastic Beanstalk Flashcards

(15 cards)

1
Q

What is the purpose of Elastic Beanstalk?

A

Deploys all of the standard components that are required for a soluton (EC2, ASG, ELB, RDS, etc)

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

Compare how Web Server Tier vs Worker Tier handles incoming tasks.

A

Web servier tier uses an ELB to route trafic within an ASG.
Worker tier uses an SQS queue where EC2 instances within an ASG pull messages from the queue.

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

What are the two deployment modes for Elastic Beanstalk and what are their use cases?

A

Single instance (great for dev)
High availability with load balancers (great for prod)

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

What is the fastest deployment option for Elastic Beanstalk?

A

All at once (deploy all in one go)

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

What Elastic Beanstalk deployment option would you choose if you’re alright with reduced capacity during deployments but dont want downtime?

A

Rolling Release

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

What Elastic Beanstalk deployment option would you choose if dont want reduced capacity during deployments or downtime? What is 2 things to consider?

A

Rolling Release with additional batches.
- Additional Cost
- Long deployments if lots of nodes

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

Describe the Immutable Elastic Beanstalk deployment option

A

Zero downtime by creating a new temporary ASG m deploying new code, merging into existing ASG, and terminating old nodes.

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

Describe the Blue / Green deployment strategy

A

Create a new environment “Stage” and deploy code there. Test environment useing Route 53 with weighted policies. Then set new url via EBS.

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

How many versions can EBS store at once and how can you configure automated removal of these versions based on space or time?

A

Lifecycle Policies

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

What directory do you store Elastic Beanstalk configuration?

A

.ebextensions

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

What service does Elastic Beanstalk use to provision AWS services?

A

CloudFormation

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

If you want to create an identical Elastic Beanstalk environment from an existing environment, what feature could you use?

A

Beanstalk Cloning

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

After creating an EBS environment, what are you unable to change?

A

The ELB type

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

How would you perform an EBS migration?

A

Deploy both environments and then use a Route 53 CNAME record

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

In production, what is recommended in terms of EBS and your database deployment?

A

Create RDS seperately and provide EB with connection string. This prevents the RDS lifecycle from being tied to the Beanstalk environment.

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