🖋️
AWS CCP Notes by Karan Singh
  • Intro
  • The Absolute Basics
  • 6 Advantages of Cloud Computing
  • IAM
    • IAM - Identity and Access Management
  • Serverless Services
  • EC2
    • EC2 - Elastic Compute Cloud
    • EC2 Storage
    • EC2 Purchasing Options
  • ELB & ASG
    • Scalability and Elasticity
    • Elastic Load Balancing
    • Auto Scaling
  • S3
    • Buckets and Objects
    • S3 Security
    • S3 Replication
    • S3 Storage Classes
    • Snowball and Snowmobile
  • Databases/Analytics
    • Aurora
    • RDS
    • ElastiCache
    • DynamoDB
    • DocumentDB
    • Redshift
    • Neptune
  • Analytics
    • EMR
    • Athena
    • DMS
    • Glue
  • Other computing services
    • ECS
    • Fargate
    • Elastic Container Registry
    • EKS
    • Lambda
    • Batch
    • Lightsail
  • Deployment & Provisioning
    • CloudFormation
    • Elastic Beanstalk
    • CodeDeploy
    • Systems Manager
    • OpsWorks
    • QuickStart
    • Marketplace
  • Content Delivery
    • Route 53
    • CloudFront
    • S3 Transfer Acceleration
    • Global Accelerator
  • Communication and Step Functions
    • SQS
    • SNS
    • SES
    • Step Functions
  • Monitoring
    • CloudWatch
    • CloudTrail
    • X-Ray
    • Service Health Dashboard
    • Personal Health Dashboard
  • VPC & Networking
    • VPC
    • Subnets
    • Internet Gateway & NAT Gateway
    • NACL & Security Groups
    • VPC Flow Logs
    • VPC Peering
    • VPC Endpoints
    • Direct Connect & Site-to-site VPN
    • Transit Gateway
  • Shared Responsibility Model
    • Shared Responsibility Model
    • RDS
    • S3
  • Security & Compliance
    • WAF & Shield
    • Penetration Testing
    • KSM & CloudHSM
    • Secrets Manager
    • Artifact
    • GuardDuty
    • Inspector
    • Config
    • Macie
  • Machine Learning
    • Rekognition
    • Transcribe
    • Polly
    • Lex
    • Connect
    • Comprehend
    • SageMaker
  • Organizations
    • Organizations
    • Consolidated Billing
  • Pricing
    • Free Services
    • EC2 Pricing
    • Lambda Pricing
    • ECS Pricing
    • EBS Pricing
    • S3 Pricing
    • RDS Pricing
    • CloudFront Pricing
    • Networking Pricing
  • Billing & Support
    • TCO Calculator
    • Simple Monthly Calculator/Pricing Calculator
    • Billing Dashboard
    • Cost Allocation Tags
    • Cost & Usage Reports
    • Cost Explorer
    • Billing Alarms
    • Budgets
    • Trusted Advisor
    • AWS Support Plans
  • Advanced Identity
    • Cognito
    • Directory Services
    • Single Sign-On (SSO)
  • Architecting On The Cloud
    • Well-Architected Framework & Best Practices
      • 1) Operational Excellence
      • 2) Security
      • 3) Reliability
      • 4) Performance Efficiency
      • 5) Cost Optimization
  • AWS Ecosystem
  • AZ, Regional and Global Services
Powered by GitBook
On this page

Was this helpful?

  1. EC2

EC2 Purchasing Options

There's a few instance purchasing options available for EC2 instances:

  1. On-demand Instances - This is when you can't predict how long/short the job is going to be, so you just get a pay-as-you-go option. Billing for this is as follows: For Linux = billed every second, after the first minute (yes, this is a bit complicated) but for all other operating systems = billed per hour.

  2. Reserved Instances - This is for steady usage apps (like databases) which are long-term (a minimum of 1 year). This has up to a 75% discount compared to on-demand. You can buy it for 1 year to 3 years and obviously, 3 years RI has a much higher discount than 1 year RI. Also, you can pay all upfront, partially upfront and no upfront and all upfront has a much higher discount than no upfront. There are also 2 other types of RIs:

      1. Convertible RIs (you can change the type of instance type, e.g. t2.micro to c5.large; these have up to a 54% discount).

      2. Scheduled RIs (launch within the time window you need them but you still need to reserve it!).

  3. Spot Instances - This is for work that is alright if it fails, so things like image processing, batch jobs and any distributed workloads. These have a 90% discount compared to on-demand! But that's because they can be lost at any point of time if someone else pays higher for it (kind of like bidding).

  4. Dedicated Hosts - This is for companies with strict compliance requirements. It's a whole physical; server dedicated just to you! And you need to be pretty rich to have this aka it is very expensive. Allocated for 3 years so they need to be committed to. Access to the underlying hardware.

  5. Dedicated Instances - Basically dedicated hosts but you don't have access to the underlying hardware. Pay by the hour.

PreviousEC2 StorageNextScalability and Elasticity

Last updated 4 years ago

Was this helpful?