Thursday, July 9, 2020

EC2 Purchase Options (Launch modes), Tenancy


EC2 Purchase Options (Launch modes)

-      Instance type: For example, m4.large. This is composed of the instance family (for example, m4) and the instance size (for example, large)


On-Demand Instances 

-      Pay, by the hour, for the instances that you launch. Guaranteed availability w/out long-term commitment

-      Reduce your Amazon EC2 costs by making a commitment to a consistent instance configuration, including instance type and Region, for a term of 1 or 3 years. You cannot migrate RI's between regions. They are instance family specific. They can have their scope modified form region (default) to AZ. Can be used to launch auto scaling groups or standalone EC2's.
-      Reserved Instances are not physical instances, but rather a billing discount applied to the use of On-Demand Instances in your account. These On-Demand Instances must match certain attributes, such as instance type and Region, in order to benefit from the billing discount
-      Standard RI
            
§ can change size but not type; can’t exchange for another; can sell in Market Place
-      Convertible RI
            § can be exchange for another convertible with another attributes; can’t be sold

Scheduled Instances 
-      Purchase instances that are always available on the specified recurring schedule, for a one-year term.

Spot Instances 
-      Request unused EC2 instances, which can reduce your Amazon EC2 costs significantly. If the market moves – you lose the EC@. Good for workloads that are not sensitive to interruption. If losing an EC2 is not an option – can select fixed duration Spot Instance (different prices but guaranteed duration).

Dedicated Hosts 
-      Pay for a physical host that is fully dedicated to running your instances, and bring your existing per-socket, per-core, or per-VM software licenses (BYOL) to reduce costs. Pay per host not per instance. Good for compliance reasons. Used by banks or large enterprises.

Dedicated Instances 
-      Pay, by the hour, for EC2 instances that run on single-tenant hardware. Same account instances only. Can share h/w with non-dedicated instances for same account. Pay per instance not per host. Can't specify what host you want to run on.

-      Both dedicated Instances and Dedicated Hosts can be used to launch EC2 instances on hardware that is dedicated to a single AWS account

Capacity Reservations 
-      Reserve capacity for your EC2 instances in a specific Availability Zone for any duration

Tenancy attribute
can be set
on VPC:
-         Default – instance launched on shared h/w; unless overridden on EC2
-         
Dedicated – instance launched on single-tenant h/w; can’t be overridden on EC2 level
on EC2:
-         Default – instance launched on shared h/w
-         Dedicated – instance launched on single-tenant h/w
-         Host – dedicated host, isolated sever w configuration you control
once launched:
-         cannot change Default <-> Dedicated
-         can change Dedicated <-> Host
 
AWS Recommended practice: Do not select an AZ, AWS will select the best one in that region for your EC2 instanc
e

 
    



No comments:

Post a Comment