Compute Services Flashcards
EC2
Elastic Compute Cloud
- allows you to rent and manage virtual servers in the cloud
elastic compute power
can grow and shrink based on the needs put on your application
where do EC2 instances run?
on physical servers in a data center. (they are not serverless)
4 ways to access instances
- AWS Management Console
- SSH (most common)
- EC2 Instance Connect
- AWS Systems Manager
Instance
AWS’ version of a virtual machine
how is computing power billed for EC2?
in compute hours
750 hours per month included on the free tier plan
what are AMIs
Amazon Machine Images for launching your instance
- preconfigured linux, windows or OSX installations which can be installed at the click of a button
EC2 On Demand Pricing
fixed price, billed down to the second
when to use EC2 On Demand Pricing?
- no upfront payment, low cost
- apps with unpredictable workloads that can’t be interrupted
- apps under development
- workloads that won’t run longer than a year
how do you reserve on demand capacity?
on demand capacity reservations
EC2 Spot Instance Pricing
- takes advantage of unused EC2 capacity
- your request is only fulfilled if capacity is available
- 90% cheaper than On-Demand
which EC2 pricing model lets you save 90%
spot instances
when to use EC2 spot instance pricing?
- when you are not concerned about start/stop of your application
- workloads that can be interrupted
- your application is only feasible at very low compute prices
EC2 Reserved Instances (RI)
- requires a 1 or 3 year contract
- can pay up front to get a discount off On-Demand pricing
- save up to 75% off on-demand pricing
- requires a capacity reservation
- provides convertible types at a 54% discount (can change OS, instance family or tenancy model)
EC2 Dedicated Host
- your own dedicated physical server
- bring your own software licenses
- for regulatory or compliance needs
- save up to 70% off on-demand pricing (However, of all the Amazon EC2 options, Dedicated Hosts are the most expensive.)
your instance runs on your dedicated host