Amazon EC2 | Reserved Instances Flashcards
When should I use the Classic Load Balancer and when should I use the Application Load Balancer?
Reserved Instances
Amazon EC2 | Compute
The Classic Load Balancer is ideal for simple load balancing of traffic across multiple EC2 instances, while the Application Load Balancer is ideal for applications needing advanced routing capabilities, microservices, and container-based architectures. Please visit Elastic Load Balancing for more information.
What is a Reserved Instance?
Reserved Instances
Amazon EC2 | Compute
A Reserved Instance (RI) is an EC2 offering that provides you with a significant discount on EC2 usage when you commit to a one-year or three-year term.
What are the differences between Standard RIs and Convertible RIs?
Reserved Instances
Amazon EC2 | Compute
Standard RIs offer a significant discount on EC2 instance usage when you commit to a particular instance family. Convertible RIs offer you the option to change your instance configuration during the term, and still receive a discount on your EC2 usage. For more information on Convertible RIs, please click here.
Do RIs provide a capacity reservation?
Reserved Instances
Amazon EC2 | Compute
Yes, when a Standard or Convertible RI is scoped to a specific Availability Zone (AZ), instance capacity matching the exact RI configuration is reserved for your use (these are referred to as “zonal RIs”). Zonal RIs give you additional confidence in your ability to launch instances when you need them.
You can also choose to forego the capacity reservation and purchase Standard or Convertible RIs that are scoped to a region (referred to as “regional RIs”). Regional RIs automatically apply the discount to usage across Availability Zones and instance sizes in a region, making it easier for you to take advantage of the RI’s discounted rate.
When should I purchase a zonal RI?
Reserved Instances
Amazon EC2 | Compute
If you want to take advantage of the capacity reservation, then you should buy an RI in a specific Availability Zone.
When should I purchase a regional RI?
Reserved Instances
Amazon EC2 | Compute
If you do not require the capacity reservation, then you should buy a regional RI. Regional RIs provide AZ and instance size flexibility, which offers broader applicability of the RI’s discounted rate.
What are Availability Zone and instance size flexibility?
Reserved Instances
Amazon EC2 | Compute
Availability Zone and instance size flexibility make it easier for you to take advantage of your regional RI’s discounted rate. Availability Zone flexibility applies your RI’s discounted rate to usage in any Availability Zone in a region, while instance size flexibility applies your RI’s discounted rate to usage of any size within an instance family. Let’s say you own an m5.2xlarge Linux/Unix regional RI with default tenancy in US East (N.Virginia). Then this RI’s discounted rate can automatically apply to two m5.xlarge instances in us-east-1a or four m5.large instances in us-east-1b.
What types of RIs provide instance size flexibility?
Reserved Instances
Amazon EC2 | Compute
Linux/Unix regional RIs with the default tenancy provide instance size flexibility. Instance size flexibility is not available on RIs of other platforms such as Windows, Windows with SQL Standard, Windows with SQL Server Enterprise, Windows with SQL Server Web, RHEL, and SLES.
Do I need to take any action to take advantage of Availability Zone and instance size flexibility?
Reserved Instances
Amazon EC2 | Compute
Regional RIs do not require any action to take advantage of Availability Zone and instance size flexibility.
I own zonal RIs how do I assign them to a region?
Reserved Instances
Amazon EC2 | Compute
You can assign your Standard zonal RIs to a region by modifying the scope of the RI from a specific Availability Zone to a region from the EC2 management console or by using the ModifyReservedInstances API.
How do I purchase an RI?
Reserved Instances
Amazon EC2 | Compute
To get started, you can purchase an RI from the EC2 Management Console or by using the AWS CLI. Simply specify the instance type, platform, tenancy, term, payment option, and region or Availability Zone.
Can I purchase an RI for a running instance?
Reserved Instances
Amazon EC2 | Compute
Yes, AWS will automatically apply an RI’s discounted rate to any applicable instance usage from the time of purchase. Visit the Getting Started page to learn more.
Can I control which instances are billed at the discounted rate?
Reserved Instances
Amazon EC2 | Compute
No. AWS automatically optimizes which instances are charged at the discounted rate to ensure you always pay the lowest amount. For information about billing, and how it applies to RIs, see Billing Benefits and Payment Options.
How does instance size flexibility work?
Reserved Instances
Amazon EC2 | Compute
EC2 uses the scale shown below, to compare different sizes within an instance family. In the case of instance size flexibility on RIs, this scale is used to apply the discounted rate of RIs to the normalized usage of the instance family. For example, if you have an m5.2xlarge RI that is scoped to a region, then your discounted rate could apply towards the usage of 1 m5.2xlarge or 2 m5.xlarge instances.
Click here to learn more about how instance size flexibility of RIs applies to your EC2 usage. And click here to learn about how instance size flexibility of RIs is presented in the Cost and Usage Report.
Instance Size
Normalization Factor
nano
0.25
micro 0.5
small 1
medium 2
large 4
xlarge 8
2xlarge 16
4xlarge 32
8xlarge 64
9xlarge 72
10xlarge 80
12xlarge 96
16xlarge 128
18xlarge 144
24xlarge 192
32xlarge 256
Can I change my RI during its term?
Reserved Instances
Amazon EC2 | Compute
Yes, you can modify the Availability Zone of the RI, change the scope of the RI from Availability Zone to region (and vice-versa), change the network platform from EC2-VPC to EC2-Classic (and vice versa) or modify instance sizes within the same instance family (on the Linux/Unix platform).