- Renting Virtual Machines (EC2)
- Storing data on virtual drives (EBS)
- Distibuting load across machiens (ELB)
- Scaling the servies using an auto-scaling group (ASG)
¶ EC2 sizing and configuration options
- (OS): Windows, Windows, MacOS
- CPU
- RAM
- Storage:
a. Network Attached: EBS & EFS
b. hardware: EC2 Instance Store
- Network Card: speed & public ip address
- Firewall Rules (Security Group)
- Bootstrap script (conigure at first launch): EC2 User Data
a. launching command when the instance starts/boots.
- install updates
- install software
- download common files from the internet.
- Other...
b. This script run as the root/admin user.
Hibernate reserves the in-memory RAM on an Encrypted EBS volume. Using this method will drasticaly reduce the startup time of an EC2. Great for:
- Long running processing
- Save the RAM State
- Services that take a long time to initialize (startup)
- Supported by number of Instance families (C3-5, I3, M3/4, R4, T2/3...)
- Not supported on bare metal
- AMI - Linux2, Linux AMI, Ubunut, RHEL, CentOS & Windows
- Root Volume must be EBs, encrypted, not instance store and have enough free space to hold all the memory.
- Available for On-Demand, Reserve and Spot instances.
- Lasts no more thsn 60 days.
The new virtualization technology for EC2s
Nitro provides the following benefits offers the older technology:
- Better Networking options (IPv6, HPC, enhanced networking)
- Higher Speed EBS (64K EBS IOPS, vs 32K non-Nitro)
- Enhanced security
Only offered on a number of instance types and bare metal.
¶ Understanding vCPU
A vCPU is a thread on a physical CPU.
You can remove cores from a machine, or limit the number of threads on a core. This must be done at startup time. This can be done for Licensing reasons.

- manual or planned end date for the reservation
- no need for 1 or 3-year commitment
- Capacity access is imedate. You get billed as soon as it starts.
- Reservation is by AZ. If you need capacity in multiple AZs, you need to create multiple reservations.
- Specify number of instanes and instance type, tenancy and platform/OS.
- Can be combined ith Reserved Instance and Savigns plans.
- Great to ensure you will hve enough capacity during a planned event.