Amazon EC2: Elastic Compute Cloud
Elasticity: It is the level at which a system is able to adapt to workload changes by provisioning and de-provisioning resources such that the resources meet the current demand as closely as possible.
Regions and Availability Zones: Regions are geographical locations where AWS data centers reside. Regions like US East: N. Virginia (us-east-1), Ohio (us-east-2), US West: N. California (us-west-1), Oregon (uswest-2), APAC: Mumbai (ap-south-1), Seoul (apnortheast-2), Singapore (ap-southeast-1)
For example, ‘us-east-1’ contains 6 data centers or availability zones: us-east-1a us-east-1b us-east-1c us-east-1d us-east-1e us-east-1f
EC2 Instance Types: The instance type determines the hardware of the underlying host computer on which EC2 instances are launched. General-purpose, Memory-optimized, Storage-optimized, Accelerated Computing and Compute-optimized.Launching an EC2 instance:
- Open AWS Management Console; click on Services drop-down, and choose EC2
- Click on Launch Instance, and choose an AMI (Ubuntu 18.04){Amazon Machine Image (AMI) contains the information required to launch an instance }
- Choose Instance type (Free tier eligible), and select t2-Micro
- Configure instances, and add storage and unique tags like Name, Value pait
- Configure the network group (choose Create new group), and then review once and launch
- Next, choose Create a new key pair; give a name, and download
- Click on Launch instances and wait until it initializes
Public IP vs Elastic IP:
Public IP : It is not associated
with an AWS account. No charges for the
public IP, even if it is
not being used while
the instance is running. Whenever the instance
is re-launched, the
public IP changes.
Elastic IP: It is associated with
the AWS account. Charges will be applied
if the same is done
with the elastic IP. The elastic IP is the
same and static for
every launch until we
manually release it.
Reserved and Spot Instances:
Resources and capacity is reserved until the contract period ends in case of Reserved Instances.
For Spot, unused EC2 instances are available for significant price reduction than the on-demand price. Instances are terminated if the spot price increases than the bid price.

No comments:
Post a Comment