AWS Compute Services Cheat Sheet

AWS Compute Services Cheat Sheet
Elastic Cloud Compute – EC2
Provides scalable computing capacity
FeaturesVirtual computing environments are also known as EC2 instances
Preconfigured templates for EC2 instances are known as Amazon Machine Images (AMIs) and they package the bits required for the server (including an operating system and additional programs).
There are many configurations of memory, storage, and network capacity available for your instances. These are called Instance types.
Secure login information for your instances with key pairs (public/private keys where private is kept secret)
Instance store volumes are temporary data storage volumes that are deleted when you terminate or stop an instance.
Elastic Block Store (EBS), persistent storage volumes for data
Multiple physical locations for your resources (e.g. instances and EBS volumes) are known as Regions or Availability Zones.
A firewall that specifies the protocols, ports and source IP ranges that can be reached by your instances using Security Groups
Elastic IP addresses are also known as static IP addresses
Metadata, also known as tags can be created and assigned EC2 resources
Virtual networks that are logically isolated and can optionally connect with on-premises networks, also known as Virtual private cloud (VPCs), are called Amazon Machine Image – AMI
Template from which EC2 instances are quickly launched
It does not span across regions and must be copied
Can be shared with specific AWS accounts, or made publicInstance Types
T is for general usage applications.T2 instances are Burstable performance Instances that provide a baseline level CPU performance and the ability to increase it.
T2 instances accumulate CPU credits when they are inactive and consume CPU credits when they are active.
T2 Unlimited Instances can maintain high CPU performance for as long a workload requires it at an additional cost.
R is for applications that require more RAM or Memory
C is for applications that require more Compute
M is for applications that require more medium or moderate performance on both CPU and Memory
I for applications that require more IOPS
G for applications that require more GPUInstance Purchasing Option
On-Demand Instancespay to have instances and compute capacity available at your disposal by the hour
No long-term commitments nor up-front payments
Reserved Instances offer lower hourly running expenses by offering a billing discount
Instances are subject to capacity reservation
If you have a consistent, heavy, and predictable usage, this product is a good fit.
Consolidated Billing offers many benefits
You can change the Availability Zones and the instance size within the same type of instance, provided that the instance footprint (Normalization factor), remains the same
You will be charged the full term, regardless of how you use it.
This is not a physical instance that’s launched, but a billing discount that’s applied to the use Of-Demand Instances
Scheduled Reserved Instancesenable Capacity Reservations purchase that recurs daily, weekly, or monthly with a specific start time and duration for a one year term.
Even if the instances are not used, charges will be incurred.
Good choice for those workloads that are not run continuously but run on a regular basis.
Spot Instancescost-effective choice but does NOT guarantee availability
Applications can be flexible in their timing and can also be able to handle interruptions by storing the state outside.
Gives a warning of two minutes if the instance is to end to save any unsalved work
Spot blocks can also launched with a specified duration. These are not interrupted by changes in the Spot Price
Spot Fleet is a collection or fleet of Spot Instances and optionally On Demand Instances. It attempts to launch the specified number of Spot Instances and On-Demand Instances.
Dedicated Instancesis an option in tenancy that allows instances to run on VPC on hardware that is isolated and dedicated to one customer.
Dedi

Previous post AWS CodeBuild: A fully managed build tool
Next post AWS Config