AWS EC2 Instance Purchasing Options
- We have already understood on-demand instances.
- Refer Here for other options.
- Other Options
- Savings Plan
- Reserved Instances: Reserved INstances will have the following payment modes
- complete upfront
- partial upfron
- No upfront
- Spot Instances: This is from the free hardware in AWS. Machine will be evicted from you if there is actual demand. Useful for secondary processing.
Azure VM Purchase Options
- Pay as you Go (On-demand)
- Azure Savings plan for compute
- Reserved Instances
- Spot Instances
- Refer Here for pricing
Impact of Disks on Virtual machines
- We have two types of disks
- ephemeral/temp
- AWS => instance store
- Azure => local/temp disk
- persistent:
- AWS => EBS Volume
- Azure => Data Disks/OS Disk
- ephemeral/temp
- OS has to be on a persistent disk
- Azure supports temp/local disks for instance sizes and defines the size of temp disk. AWS doesnot support instance storage for all instance types, only few instance types have instance stores
-
Azure defines the following based on instance size. OS disk will be the one disk extra
- number of data disks
- local disk size
-
In AWS instance storage is part of instance type spec
-
The disk with OS is called as root volume and rest of persistent disks are called as volumes
- Findout what is maximum number of volumes that can be added to an ec2 instance.
