Aws Ec2
Aws Ec2
Aws Ec2
• Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides resizable
compute capacity in the cloud.
• Amazon EC2 reduces time required to obtain and boot new server instances to minutes,
allowing you to quickly scale capacity, both up and down, as your computing
requirements changed.
• Amazon EC2 changes the economics of computing by allowing you to pay only for
capacity that you actually use.
EC2 Instance Types
• General Purpose
• Compute Optimized
• Memory Optimized
• Accelerated Computing
• Storage Optimized
EC2 Instance Purchasing Options
• Scheduled Instances.
• Spot Instances.
EC2 Instance Purchasing Options
On-Demand Instances
• Pay, by the second, for the instances that you launch.
• You have full control over its lifecycle—you decide when to launch, stop, hibernate, start,
reboot, or terminate it.
• There is no long-term commitment required when you purchase On-Demand Instances.
You pay only for the seconds that your On-Demand Instances are in the running state.
• Use On-Demand Instances for applications with short-term, irregular workloads that
cannot be interrupted.
EC2 Instance Purchasing Options
Savings Plans
• Savings Plans are a flexible pricing model that offer low prices on EC2 and Fargate
usage, in exchange for a commitment to a consistent amount of usage (measured in
$/hour) for a 1 or 3 year term.
• AWS offers two types of Savings Plans - Compute Savings Plans and EC2 Instance
Savings Plans.
EC2 Instance Purchasing Options
Reserved Instances.
• 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.
• The Reserved Instance pricing is determined by the key variables i.e. Instance type,
Region, Tenancy, Platform
EC2 Instance Purchasing Options
Reserved Instances.
• You can purchase a Reserved Instance for a one-year or three-year commitment, with the
three-year commitment offering a bigger discount.
• The following payment options are available for Reserved Instances.
All Upfront
Partial Upfront
No Upfront
EC2 Instance Purchasing Options
Scheduled Instances.
• Scheduled Instances allow you to reserve Amazon EC2 instances on a recurring schedule.
• You can purchase daily, weekly, or monthly reservations to ensure your applications have
the compute capacity you need, when you need it.
• You pay for the time that the instances are scheduled, even if you do not use them.
• Scheduled Instances are a good choice for workloads that do not run continuously, but do
run on a regular schedule.
EC2 Instance Purchasing Options
Spot Instances.
• Amazon EC2 Spot Instances let you take advantage of unused EC2 capacity in the AWS
cloud.
• Spot Instances are available at up to a 90% discount compared to On-Demand prices.
• Enable you to bid whatever price you want for instance.
• If the spot instance is terminated by Amazon EC2, you will not be charged for a partial
hour of usage. However, if you terminated the instance yourself, you will be charged for
any hour in which the instance ran.
EC2 Instance Purchasing Options
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 to reduce costs.
Dedicated Instances.
• Dedicated Instances are Amazon EC2 instances that run in a virtual private cloud (VPC)
on hardware that's dedicated to a single customer.
• Your instance runs on shared hardware.
EC2 Quiz
Thank You ..!