Core Compute Services Flashcards
What is an image?
A software bundle that was built from a template definition and made available within a single AWS region.
What is a dedicated instance?
A regular EC2 instance that, instead of sharing a physical host with other AWS customers, runs on an isolated host that’s set aside exclusively for our account.
What is the most expensive instance?
On-demand (you pay for every hour the instance is running regardless of whether you’re actually using it)
When should you run an on-demand instance?
When you need to run for a limited time without interruption (i.e. your ecommerce site is offering a one-day, 50% sale)
When should you run a reserved instance?
When your application needs to run uninterrupted for more than a month at a time
When should you run a spot instance?
When you don’t need to run constantly and can survive unexpected shutdowns (i.e. development environments or containerized big data workloads)
What is the catch with spot instances?
While it’s possible to save up to 90% off of on-demand cost with spot instances, it’s possible that the capacity can, within two minutes notice, be reclaimed and shut down your instance
What are two managed deployment services?
Lightsail
Elastic Beanstalk
What do you need to configure with Lightsail?
Set the pricing level (billed at a flat rate)
Add an optional script to run at startup
What do you need to set up Elastic Beanstalk?
Define application platform
Upload your code!
What is a downside to Elastic Beanstalk?
You don’t get to choose how many vCPUs or how much memory you will use. Your application will scale its resource consumption on demand.
What AWS resources would you use to orchestrate swarms of Docker containers on AWS using EC2 resources?
ECS (Elastic Container Service)
EKS (Elastic Container Service for Kubernetes)
What are Lambda functions?
They are serverless functions that spring into existence, perform a task, and then die down quickly (15min tops). They are only triggered by a preset event.
What are instances defined by?
AMIs (or base OS) Instance type Storage volumes (either instance volume or EBS) Pricing model
What are the four different AMI categories?
Quick Start
custom (My AMIs)
AWS Marketplace
Community