EC2 Flashcards

1
Q

What are the reserved instance types?

A

Standard
Scheduled
Convertible Reserved Instance

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

What EC2 Hibernate is about?

A

It is the Stop changed behaviour in which the RAM is written into the EBS. When the instance is stopped/started, the content of EBS is loaded into the RAM. The startup is much faster. It is ideal for processes that takes long to start up. It also works for Windows. Instances can’t be terminated for more than 60 days

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

How the instanced related information can be retrieved dynamically?

A

From the instance with an attached IAM role with enough privileges, as part of the user data, one can use curl http://169.254.169.254/latest/meta-data/local-ipv4, and output to a file/S3 that can then be read by a Lambda function

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

What are the scenarios for each placement group?

A

Clustered: higher throughput/network within the same host/AZ. Interesting for applications that will have benefits of the mentioned features
Spread: possible multiple AZ, but isolated instances racks. Interesting for applications that are critical and are independent from each other such as web applications. Only 7 instances can be deployed per availability zone
Partitioned: Group of instances per rack. Interesting for HDFS/Cassandra/HBase

It is possible to move an instance to a placement group in case the instance is stopped via CLI

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

How to achieve HPC?

A

Snowmobile is a truck that moves exabytes of data into/from the cloud;
AWS DataSync;
Data Direct;
Instance store has millions of IOPS;
EFS scale IOPS based on the total size;
FSx for Lustre is backed by S3 and it also supports millions of IOPS;
AWS Batch that allows hundreds of thousands of instances to be provisioned according to the needs;
AWS ParallelCluster allows a huge workload including VPC to be provisioned given a simple text file;

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

Describe AWS WAF

A

It is the layer 7 (application) web firewall that will help preventing attacks by filtering traffic by IP, region, query string parameters, headers names/values, etc

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

Can you move a reserved instance from one region to another?

A

No. If needed, you need to sell the reserved instance if you have US account.

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