AWS Certified Advanced Networking - Specialty Exam: Troubleshooting EC2 Placement Group Capacity Error

Fixing EC2 Placement Group Capacity Error

Prev Question Next Question

Question

You currently have 9 EC2 instances running in a Placement Group.

All these 9 instances were initially launched at the same time and seem to be performing as expected.

You decide that you need to add 2 new instances to the group; however, when you attempt to do this you receive a 'capacity error'

Which of the following actions will most likely fix this problem? Choose the correct answer from the options below.

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Answer - B.

AWS recommends to try and launch the instances again.

For more information on this error , just browse to the below URL:

http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-capacity.html
Error: InsufficientinstanceCapacity

Ifyou get an Insufficient InstanceCapacity error when you try to launch an instance or start a stopped
instance, AWS does not currently have enough available capacity to service your request. Try the following:

* Wait a few minutes and then submit your request again; capacity can shift frequently.

© Submit a new request with a reduced number of instances. For example, if you're making a single
request to launch 15 instances, try making 3 requests for 5 instances, or 15 requests for 1 instance
instead.

© If you're launching an instance, submit a new request without specifying an Availability Zone.

© If you're launching an instance, submit a new request using a different instance type (which you can
resize at a later stage). For more information, see Resizing Your Instance.

* Try purchasing Reserved Instances. Reserved Instances are a long-term capacity reservation. For
more information, see: Amazon EC2 Reserved Instances.

The correct answer is C: Request a capacity increase from AWS as you are initially limited to 10 instances per Placement Group.

Explanation: Placement Groups are used to launch instances in a way that enables low latency, high throughput connections between instances in the group. When instances are launched in a Placement Group, they are placed in close proximity to each other, which can result in improved network performance.

By default, Placement Groups have a limit of 10 instances. If you attempt to launch more than 10 instances in a Placement Group, you may receive a "capacity error." This error occurs because AWS has restricted the number of instances that can be launched in a Placement Group.

To fix this problem, you should request a capacity increase from AWS. This will allow you to launch more instances in the Placement Group. You can request a capacity increase by submitting a support request to AWS.

The other answer choices are incorrect:

A. Making a new Placement Group and launching the new instances in the new group would not address the underlying issue of the capacity limit. Additionally, launching instances in a new Placement Group may result in a loss of network performance if the new group is not in close proximity to the existing group.

B. Stopping and restarting the instances in the Placement Group would not address the capacity limit issue. Additionally, stopping and restarting instances could result in downtime for your application, which may not be acceptable.

D. Ensuring that all instances are the same size would not address the capacity limit issue. While it is important to ensure that all instances in a Placement Group are the same size to ensure consistent network performance, it is not relevant to the capacity limit.