2. What is an EC2?
• Full Form – Elastic Compute Cloud
• Definition - Amazon Elastic Compute Cloud (Amazon
EC2) is a web service that provides resizable
compute capacity in the cloud. It is designed to
make web-scale computing easier for developers.
• What is it really? – A Virtual Machine in the Cloud
This Photo by Unknown Author is licensed under CC BY-NC
A Techmozart - Arun Raj T.M. Presentation
3. Where do I
set-up?
Region
Physical locations around the World
where AWS clusters Data Centers.
Each Region consists of multiple,
isolated, and physically separate
AZ's within a geographic area.
20+ AWS regions total
Mumbai is a region
Availability Zone (AZ)
An Availability Zone (AZ) is one or
more discrete data centers with
redundant power, networking, and
connectivity in an AWS Region.
20Kms apart per Region.
60+ AZs
A Techmozart - Arun Raj T.M. Presentation
4. Types of EC2
On-Demand – Pay fixed rate by the hour
(or by the sec). No commitment.
Spot Instances – On a bid – For flexible
Apps
Reserved Instances –
Capacity Reservation.
1- or 3-year term
•Standard Reserved Instances
•Convertible Reserved Instances
•Scheduled Reserved Instances
Dedicated Hosts – Dedicated Physical EC2
server -can use own licenses
A Techmozart - Arun Raj T.M. Presentation
6. EBS Types
General Purpose SSD – Balanced Pricing - Most
Workloads
Provisioned IOPS SSD – Highest performance –
Databases/mission critical apps
Throughput optimized SSD – Low cost – frequent
access – Big data and Warehousing
Cold HDD – lowest cost – less frequent access – File
Servers
EBS Magnetic – Previous Generation – Workloads
where there is infrequent access of data
A Techmozart - Arun Raj T.M. Presentation
7. Other Parts/components
we will need to
understand
AMI – Amazon Machine Image – OS install ISO with
properties – EBS and Instance Store
Security Groups – Virtual Firewall – Stateful
VPC – Virtual Private Cloud – virtual network dedicated
to your AWS account.
Subnet – range of IP addresses in your VPC
Tags – For auditing and rules.
Key Pair – Used for accessing the EC2 instances.
A Techmozart - Arun Raj T.M. Presentation
8. Other Discussions during
Practical Session
ENI, EN & EFA– Elastic Network Interface, Elastic Network
(ENA & EN –VF) & Elastic Fabric Adapter
EBS Snapshots – Snapshots of volumes.
Volume Encryption – Root Volume can be encrypted during
creation of EC2 or after creating snapshot and copy.
CloudWatch – Performance monitoring – Default 5 mins –
Detailed can be set for every 1 min.
Userdata – Bootstrap a machine while startup. - #!/bin/bash
Metadata – Data about your instance -
http://169.254.169.254/latest/meta-data/
A Techmozart - Arun Raj T.M. Presentation