AWS Training
Track - 2 -
EC2
A Techmozart - Arun Raj T.M. Presentation
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
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
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
Instance Types
FIGHT DR MC PXZ AU
A Techmozart - Arun Raj T.M. Presentation
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
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
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

AWS Training Track - 2 - EC2.pptx

  • 1.
    AWS Training Track -2 - EC2 A Techmozart - Arun Raj T.M. Presentation
  • 2.
    What is anEC2? • 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 Physicallocations 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
  • 5.
    Instance Types FIGHT DRMC PXZ AU A Techmozart - Arun Raj T.M. Presentation
  • 6.
    EBS Types General PurposeSSD – 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 willneed 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 PracticalSession 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