EC2 Flashcards
Rent and Manage virtual servers in the cloud
EC2
Virtual servers running on the physical servers in Amazon data centers
EC2 Instances
Created at the click of a button
Can use a preconfigured template called AMI
Deploy applications directly to instances
Receive 750 compute hours per month
Facts of EC2 instances
Deploying a database
Deploying a Web application
Real World uses of EC2
Access EC2 from web browser via
AWS Mangement Console
AWS Systems Manager
Access EC2 with a secure connection from local laptop
Secure Shell SSH
Using IAM policies to control SSH access
EC2 Instance Connect
Most common way to connect to Linux EC2 Instances
SSH
Proves identity when connecting to an EC2 Instance
Key Pair & Public Key
Payment option where you’re billed down to the second and pay only for what you use
On-Demand
Payment option for caring about low cost without any upfront payment or commitment
On-Demand
Payment option for applications with unpredictable workloads that can’t be interrupted
On-Demand
Payment option for applications under development
On-Demand
Payment option for workloads that will not run longer than a year
On-Demand
Payment option for taking advantage of unused EC2 capacity
Spot
Payment option if you are not concerned about the start/stop time for the application
Spot
Payment option for workloads that can be interrupted
Spot
Payment option for an application that is only feasible at very low compute prices
Spot
Payment option for committing a specific instance type in a particular region for 1-3 years that requires a contract to sign
Reserved Instances
Payment option for an application that has a steady-state usage
Reserved Instances
Payment option where you can pay money upfront to receive a discount on On-Demand prices
Reserved Instances
Payment option for applications that require a capacity reservation.
Reserved Instances
Payment option that allows you to pay for a physical server that is dedicated to running your instances
Dedicated Hosts
Payment option for bringing owned server-bound software licenses
Dedicated Hosts
Payment option for adhering to compliance requirements around tenancy model
Dedicated Hosts
Committing compute usage for 1-3 years
Savings Plans
Payment option to lower your bill across multiple services
Savings Plans
Payment option that allows flexibility to change compute services, instance types, operation systems, or regions
Savings Plans
Distributing incoming application traffic across multiple EC2 Instances
Elastic Load Balancing
Classic Load Balancers
Application Load Balancers
Gateway Load Balancers
Network Load Balancers
Types of load balancers
Adds or replaces ec2 instances across AZ based on demand, increasing availability
EC2 Auto scaling
Scaling which adds or replaces instances
Horizontal Scaling
Scaling which upgrades instances
Vertical scaling