AWS EC2 Instances: Achieving Low Latency and High Throughput with Minimal Downtime

Achieving Low Latency and High Throughput with AWS EC2 Instances

Prev Question Next Question

Question

You currently have deployed a set of t2.medium EC2 Instances.

There is a requirement now mentioning that low latency and high throughput is established between these instances.

How can you accomplish this whilst minimizing downtime? Choose 3 answers from the options given below.

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E.

Answer - B,D and E.

A placement group is a logical grouping of instances within a single Availability Zone.

Placement groups are recommended for applications that benefit from low network latency, high network throughput, or both.

To ensure minimum downtime, create AMI's out of the instances so that new instances can be launched faster.

There is a restriction on which instance types can be used for EC2 Instances in a placement group.

T2.medium instances cannot be used in a placement group.

For more information on placement groups, please refer to below URL:

http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html

To accomplish low latency and high throughput between a set of t2.medium EC2 instances, while minimizing downtime, the following steps can be taken:

  1. Create a Placement Group: A placement group is a logical grouping of instances within a single Availability Zone, designed to ensure low latency and high throughput. By creating a placement group, you can ensure that the EC2 instances are physically located close to each other in the same Availability Zone. This will help to minimize latency and maximize throughput between the instances.

  2. Create an AMI from the EC2 instances: An Amazon Machine Image (AMI) is a pre-configured virtual machine image that is used to create new EC2 instances. By creating an AMI from the existing t2.medium instances, you can quickly launch new instances that are identical to the existing instances. This will help to minimize downtime and ensure that the new instances have the same configuration as the existing instances.

  3. Launch new instances from the AMI: Once the AMI is created, you can launch new instances from the AMI. You can choose to launch new t2.medium instances or, depending on the requirements, you can choose to launch new instances with a different instance type, such as m4.large. By launching new instances from the AMI, you can ensure that the new instances have the same configuration as the existing instances.

  4. Join new instances to the placement group: Once the new instances are launched, you should ensure that they are joined to the same placement group as the existing instances. This will help to ensure that the new instances are physically located close to the existing instances, which will minimize latency and maximize throughput between the instances.

Therefore, the three answers that can accomplish the low latency and high throughput between the EC2 instances, while minimizing downtime are:

A. Stop and restart the instances in a placement group E. Ensure the new instances are launched in a placement group. C. Launch new t2.medium instances from the AMI's.