AWS Compute Services - EC2 Flashcards
Compute services: Amazon Elastic Compute Cloud (EC2) Amazon Elastic Container Service (ECS) Amazon Elastic Container Service with Kubernetes (EKS) Amazon Lightsail AWS Batch AWS Lambda
Compute services
Instances instead of servers
AWS programmatically creates a new virtual machine (VM) instance rather than providing an actual physical server when you launch and EC2 instance.
Instances instead of servers
Hypervisor
Each physical server has a host operating system that runs a virtual machine monitor (VMM) also known as a hypervisor which instantiates multiple VM instances that you can use. These instances use guest operating systems that you can manage.
Hypervisor
EC2
A linux-based/windows based/mac based virtual server that you can provision
You are limited to running on-demand instances per your vCPU based on demand instance limit, purchasing 20 reserved instances, and requesting spot instances per your dynamic spot limit per region
EC2
AWS Nitro System
the underlying platform of the next generation of EC2 instances. Traditionally hypervisors protect the physical hardware and bios, virtualize the CPU, storage, networking, and provide a rich set of management capabilities. With the Nitro system these functions are offloaded to dedicated hardware and software, thereby reducing costs of your instances in the process. The Nitro hypervisor delivers performance that is indistinguishable from bare metal and performs better than its predecessor
AWS Nitro System
Amazon Machine Images (AMI)
Package OS and additional installations in a reusable template
Amazon Machine Images
Instance types - various configurations of CPU, memory, storage, and networking capacity for your instances.
t-type and m-type for general purpose
c-type for compute optimized
r-type, x-type, and z-type for memory optimized
d-type, h-type, and i-type for storage optimized
f-type, g-type, p-type for accelerated computing
instance types
Key pairs - secure login information for your instances
key pairs
instance store volumes
storage volumes for temporary data that are deleted when you STOP or TERMINATE your instance, known as instance store volumes.
You can stop an EBS-backed instance but not an instance store backed instance. You can only either start or terminate an instance store backed instance
Instance store volumes
Persistent storage volumes for your data using Elastic Block Store (EBS) volumes
Persistent
Security groups
a firewall that enables you to specify the protocols, ports, and source IP ranges that can reach your instances using security groups
security groups
Elastic IP addresses
static IPv4 addresses for dynamic cloud computing
Elastic IP addresses
user-data
a script that will run on instance boot
user-data
Host recovery for EC2
automatically restarts your instances on a new host in the event of an unexpected hardware failure on a dedicated host
Host recovery for EC2
EC2 hibernation
available for on-demand and reserved instances. You can enable hibernation for your EBS-backed instances at launch. You can then hibernate and resume your instances through the AWS management console or through the AWS SDK and CLI using the existing stop-instances and start-instance commands. Hibernation requires an EC2 instance to be an encrypted EBS-backed instance
EC2 hibernation