Classic Solutions Architecture Discussions Flashcards

1
Q

What is a Golden AMI?

A

Install apps, OS dependencies beforehand.

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

How can you instantiate an EC2 app?

A

Launch EC2 instances from Golden AMI

Use Bootstrap Data (slow)

Hybrid - mix Golden AMI and User Data (Elastic Beanstalk)

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

How can you instantiate an RDS DB?

A

Restore from snapshot - DB will have schemas and data ready

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

How can you instantiate an EBS volume?

A

Restore from snapshot - disk will be formatted and have data

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

What is Elastic Beanstalk?

A

developer centric view of deploying an app on AWS

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

What components does Elastic Beanstalk use?

A

EC2
ASG
ELB
RDS

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

What does it mean that Elastic Beanstalk is a managed service?

A

Automatically handles capacity provisioning, load balancing, scaling, app health monitoring, instance config

Just the application code is the responsibility of the dev

Basically AWS manages it

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

Who has full control over the config of Elastic Beanstalk?

A

You

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

Is beanstalk free?

A

Yes

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

What do you pay in Beanstalk?

A

Underlying instances

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

What are Beanstalk’s components?

A

Application
App version
Environment - Tiers (web server env tier & worker env tier)

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

Web Server Tier vs Worker Tier

A

Web - ELB sends info to ASG and in the ASG you have 2 EC2 instances (web servers) and each has their own Security Group.

Worker - SWS Queue, sends SQS messages to each EC2 instance (Worker) which are inside an ASG

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

How can worker tier scale?

A

Based on number of SQS messages

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

Can you push messages to SQS queue from another Web Server Tier?

A

Yes

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