Elastic Compute Cloud(EC2) Flashcards

1
Q

What does Elastic mean in EC2?

A

This means that resources can grow or shrink based on the needs/load on the application

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

What is an EC2 instance?

A

A web service with which you can run vritua servcer “Instances” in the cloud

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

What are the methods to access an EC2 instance?

A
  1. AWS Management Console
  2. EC2 Instance Connect(EIC)
  3. Secure Shell(SSH)
  4. AWS Systems Manager
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the AWS Management Console?

A

Configure and manage instance via a web browser

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

What is the EC2 Instance Connect(EIC)?

A

EIC allows for the use of IAM policies to control SSH access to your instances

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

In what way does EIC impact SSH?

A

Removes the need to manage SSH

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

What are the key items to know about SSH?

A
  • Allows you to establish a secure connection to your instance from your local laptop
  • This tends to be the most popular
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How to configure SSH on the EC2 instance?

A

Generate a Key Pair and place them on the EC2 Instance

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

What are the different prcing options for EC2?

A
  1. On-Demand
  2. Spot
  3. Reserve Instance
  4. Dedicated Hosts
  5. Savings Plan
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the On-Demand Pricing Option?

A

A fixed price in which you are billed down to the second based on the instance type

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

When would you use an On-Demand Pricing Option?

A
  • Cost is not your highest concern
  • Your application has unpredictable workloads that can’t be interrupted
  • Your applications are under development
  • Your workloads will not run longer than a year
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is reserve capacity for On-demand?

A

EC2 capacity is held for you whether or not you run the instance

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

What is the Spot Option?

A
  • You pay the spot price that’s in effect at the beginning of each hour
  • Requests are only fulfilled when capacity is available
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

When should a spot instance be used?

A
  • You are not concerned about the start or stop time of your application
  • Your workloads can be interrupted
  • Your application is only feasible at a very low compute price
  • Users with an urgent need for a large amount of additioanl compute capacity
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is Reserve Instances Pricing Option?

A

allow you to commit to a specific instance type in a particular Region for 1 or 3 years

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

When would you use an Rls?

A
  • Your application has a steady-state usage, and you can commit to 1 or 3 years
  • You can pay money upfront in order to receive a discount on On-Demand prices
  • Your application requires a capacity reservation
17
Q

Do you need to sign a contract for a reserved instance ?

A

You are required to sign a contract

18
Q

What is a Dedicated Hosts pricing plan?

A

Allow you to pay for physical server that is fully dedicated to running your instance

19
Q

When would you use a dedicated host?

A
  • You want to bring your own server bound software license from vendors like Microsoft or Oracle
  • You have regulatory or corporate compliance requirements around the tenancy model
20
Q

What are some fun facts about Dedicated Hosts?

A
  • You can save up to 70% off On-Demand prices
  • You bring your existing per-socket, per-core, or per-VM software licenses
  • There is no multi-tenancy, meaning their server is not shared with other customers
  • A Dedicated Host is a physical server, whereas a Dedicated Instance run on the host
21
Q

What is a saving pricing plan?

A

Allows you to commit to compute usage (measured per hour) for 1 to 3 years

22
Q

When should you use a Savings Plans?

A
  • You want to lower your bull across multiple compute services
  • You want the flexibility to change compute service, instance types, operating systems, or regions
23
Q

What are some fun facts about Savings Plans?

A
  • You can save up to 72% off On-Demand Prices
  • You are not making a commitment to a dedicated Host, just compute usage
  • Savings can be shared across various computing services like EC2, Fargate, and Lambda
  • This does not provide a capacity reservation
24
Q

What does AMI stand for?

A

Anmazon Machine Image

25
Q

What is an AMI ?

A

Is a special type of virtual applicate that is used to create a vritual machine within the Amazon EC2 Instance

26
Q

What is included in an AMI instance?

A
  1. One or more Amazon Elastic Block Store snapshots, or for instance-store-backed AMIs, a template for the root volume of the instance(For Example, an operating system, an application server and applications)
  2. Launch Permissions that control which AWS accounts can use the AMI to laucnh instances
  3. A block device mapping that specifies the volume to attach to the instance when it’s launched
27
Q

What are the 3 categories that AMI come in?

A
  1. Community AMI
  2. AWS Marketplace AMI
  3. My AMis
28
Q

What is an Community AMI?

A

Free to use, generally you just select the operating you want

29
Q

What is an AMI Marketplace AMI?

A

Pay to use, generally come packaged with addtional licensed software

30
Q

What is “My AMI” ?

A

AMIs that you have created yourself

31
Q

What are the 3 ways to pay for a reserve instance ?

A
  • All Upfront
  • Partial Upfront
  • No Upfront
32
Q

How much can switching to a RIs pricing option save you over on-demand prices?

A

You can save up to 75% off On-Demand prices