Compute Services Flashcards
EC2
A foundational service that lets you rent and manage virtual servers in the cloud.
Ways to Access EC2
AWS Management Console, SSH, Instance Connect, and AWS Systems Manager
EC2 Pricing Options
On Demand, Spot Instance, Reserved Instance, Dedicated hosts, and Savings plan
EC2 On Demand
Fixed price, billed according to usage. Good for apps that are still in development, have unpredictable loads, or won’t run for longer than a year.
EC2 Spot Instance
The cheapest pricing option! Grabbing unused capacity in the cloud. Usage depends on available space. Use when you don’t care about start or stop times, or workload can be interrupted.
EC2 Reserved Instance
Commit to a specific instance type for 1 to 3 years. Use when your app has steady state usage, or for migrating software licenses.
EC2 Dedicated Host
Reserve a dedicated, physical server in the cloud. Useful for migrating software licenses, or when you need to meet requirements for tenancy.
EC2 Savings Plan
Commit to a level of usage, rather than a specific instance type, for 1 or 3 years. Use when you want to commit, but still want to be able to change compute services, instance types, OS or Regions. Can be shared across various services,
Main features of EC2
Elastic load balancing and auto scaling
Lambda
A server-less compute service that lets you run code without having to manage servers. Can be used for real-time file processing, sending email/SNS messages, and handling back end logic.
Main Features of Lambda
Supports popular programming languages, write code in the provided console or upload code, execute code in response to events, functions cannot run longer than 15 mins.
Lambda Pricing
Charged on duration and number of requests (function calls). Testing counts toward the number of requests. Free tier allows for 1 Million free requests every month.
AWS Fargate
A serverless compute engine for containers, useful for working with Docker
Lightsail
Deploy pre-configured apps, like Wordpress websites. Good for quickly launching all the resources needed for small projects.
AWS Outposts
Run AWS cloud services on your internal data server for a hybrid architecture. AWS actually comes out to install for you.