You may be aware that Amazon sets default limits on resources on a per-region basis. Currently there is a limit—sometimes known as a quota—on the number of Elastic Compute Cloud (EC2) instances you can launch in a region. As of October 24, 2019, Amazon Web Services (AWS) will change On-Demand EC2 instance limits.

Graham Beer

Graham is an experienced system engineer with a passion for PowerShell and automation. You can follow his blog or reach him on Twitter at @GKBeer.

How is this changing? ^

Currently you have limits for each EC2 instance by type, limiting you to running a maximum of 20 On‑Demand instances across an instance family. Going forward, Amazon will limit On-Demand EC2 instances by virtual central processing units (vCPUs) only.

This change on how limits occur will now make it easier because you have just one limit to manage all of your EC2 instances. This helps remove the confusion of having limits for the many EC2 instances when it comes to working with such features as autoscaling.

Can you use this new feature before October 24? ^

AWS gives you the option to opt in and use this feature before October 24.

To do so, sign into your AWS console and navigate to the EC2 resource. On the left-side menu, select Limits.

The Limits front screen will prompt a message informing you that the new feature change is coming, and if you would like to use this feature, you can Opt in with the corresponding button.

Opt in to the AWS instance new limits feature

Opt in to the AWS instance new limits feature

After opting in, you will be able to use the new features in around 15 minutes.

How AWS calculates the new limits ^

An instance type in AWS describes how much it assigns compute, memory, and storage capabilities to an EC2 Instance. It groups these instance types in instance families based on these different capabilities.

It measures the limits for On-Demand instance vCPUs fixed when running. To break this down, instead of being limited to the number of instance types, you can choose more of one type and less of another. This gives you greater flexibility and freedom to mix and match instance types.

A couple of tools might help:

  1. Inside the AWS console (under EC2 and limits) is a limits calculator. The tool lets you calculate how many vCPUs you require to launch your On-Demand instances.

Calculate vCPU limits with the simplified vCPU calculator

  1. Probably the best resource to find the number of vCPUs each instance has is the Amazon EC2 Instance Types link (see below). The site provides comprehensive details on all AWS EC2 instance types.
Amazon EC2 instance types

Amazon EC2 instance types

  1. Another useful resource is Amazon's FAQs on the new limits. Below is a table from this site that shows the vCPUs for the main common instances used.

The link to find this information is here.

AWS FAQ list on common types

AWS FAQ list on common types

Service quotas ^

Service Quotas allow you to view and manage your quotas from your AWS account. Also, you can track and see the maximum number of quotas (or limits) you can create in your account. You can request an increase in quota values should you need it.

Wrap-up ^

Once the change happens on October 24, there will be only five different On-Demand instance limits. One limit will govern the usage of standard instance families like A, C, D, H, I, M, R, T, and Z. The other limit is per each specialized instance family, which are:

  • FPGA (F)
  • graphic-intensive (G)
  • general purpose GPU (P)
  • special memory optimized (X) instances

As stated, you can manage these limits with the Service Quotas console. You will also be able to monitor EC2 usage with Amazon CloudWatch metrics integrations and use the other good stuff CloudWatch provides like alarms.

You have until October 24 to opt in before AWS initiate a hard cutover. Opting in now gives you the control to manage your EC2 instance limits before they enforce the change, so if this is something that might affect you or your company, it is worth thinking about opting in earlier!

Are you an IT pro? Apply for membership!

Your question was not answered? Ask in the forum!

0
Share
0 Comments

Leave a reply

Your email address will not be published. Required fields are marked *

*

© 4sysops 2006 - 2019

CONTACT US

Please ask IT administration questions in the forums. Any other messages are welcome.

Sending

Log in with your credentials

or    

Forgot your details?

Create Account