AWS EC2
- Refer Here for official docs
- EC2 (Elastic Compute Cloud) is an AWS Service to manage virtual machines
- AWS supports
- Linux
- Windows
- mac
- BSD
- Components involved in EC2
- AMI (Amazon Machine Image)
- Instance type
- EBS (Elastic Block Storage)
- VPC
- Security Group
-
Rough comparision to laptop
- AMI ==> OS
- Instance type ==> CPU/RAM configuration/specification
- EBS ==> Disk
- VPC ==> Network to which you connect your laptop
- Security Group ==> Network Firewall
-
AWS EC2 supports 2 types of disks
- EBS
- Non Ephemeral Storage: Data will remain even after ec2 instances are deleted.
- Instance Storage:
- Ephemeral storage: Temporary storage and contents will be removed once the ec2 instance is shutdown
- EBS
-
Amazon Machine Image: Amazon Machine Image is a snapshot of disk. There are 3 types of AMI’s
- OS images
- Market place
- Custom AMIs
- Disk Mounting
- AWS EBS is equivalent to your physical disk on laptop