SlideShare a Scribd company logo
Amazon Web Services
Elastic Compute Cloud (EC2)
Kaivalya Shah
Presentation
Outline
 What is EC2?
 Types of Instances
 Instance Purchase Options
 AMI & AWS Marketplace
 Launching an EC2 Instance
 Elastic IPs and ENIs
 Instance Store
 What is EBS?
 Types of Volumes
 EBS Volume Pricing
 Snapshots
 References
2
WhatisEC2?
 Compute service by Amazon Web Services which
lets users create instances for their use in servers
which are physically placed at Amazon’s
datacenters.
 IaaS (Infrastructure as a Service) cloud service
model.
 Instances ~ Virtual Machines.
 Xen bare metal hypervisor.
3
Typesof EC2
Instances
Instance Type Typical Use-case
T2 Testing, Bursty Utilization
M4/M3 General Purpose
C4/C3 Compute Optimized
Clustering
G2 Graphics Intensive
3D Application Streaming
P2 General Purpose GPU
Machine Learning
R4/R3 Medium Scale Memory
Intensive Applications
X1 Large Scale Memory
SAP HANA, Spark
F1 Xilinx FPGAs
D2 Dense Storage, 48 TB HDD
MapReduce, log processing
I3/I2 High I/O (NVMe SSD)
NoSQL Databases
4
Trick to remember: Dr. Mc Gift PX
InstancePurchaseOptions
On-Demand
Spot
Reserved
Instances
All Upfront
No Upfront
Partial Upfront
Dedicated Hosts
5
AMIand
AWSMarketplace
Amazon Machine Image (AMI)
• Template with software configuration:
Operating system, applications, and
services.
• Quickly launch new instances.
• Regional.
AWS Marketplace
• Catalog of AMIs specific to a variety of
applications.
• Available while launching an EC2
instance.
6
Launchingan
EC2Instance
 To launch an EC2 instance, we can click the “Launch
Instance” button on the EC2 dashboard. Further
steps are as following:
1. AMI: Quick Start, My AMIs, AWS Marketplace. OS
and pre-installed libraries.
2. Instance Type: Depending on use case.
3. Instance Details: No. of instances, VPC, Subnet, IAM
role, Shutdown behavior, Termination Protection,
Tenancy.
4. Storage: EBS Volumes, root and additional.
5. Tags: Key-Value pairs containing information about
the instance
6. Security Group: Assign existing or new policy.
7. Review and Launch. Select or generate
authentication key-pair.
7
ElasticIPsand
ENIs
 An Elastic IP address is a public IPv4 address, which can be
attached/detached to EC2 instances.
 An Elastic Network Interface (ENI) is a virtual network
interface that can be attached to an EC2 instance in a VPC.
 ENIs have the following attributes:
i. A primary private IPv4 address
ii. One or more secondary private IPv4 addresses
iii. One Elastic IP address (IPv4) per private IPv4 address
iv. One public IPv4 address
v. One or more IPv6 addresses
vi. One or more security groups
vii. A MAC address
viii.A source/destination check flag
ix. A description
8
InstanceStore
Physically
attached to the
host server
Temporary
(Ephemeral)
storage like buffers
and caches
Available storage
depends on
instance type
Cleared if the
instance is
stopped or
terminated
Data is not
preserved while
creating AMI
Can only be
added while
launching a new
EC2 instance
Needs to be
bundled to S3 for
making an AMI
Instance cannot
be stopped if root
volume is instance
store
9
WhatisEBS?
 A storage service by Amazon Web Services which
provides block level storage volumes.
 A volume can be attached to only 1 EC2 instance
at a time.
 EBS volumes can be formatted using any file
system supported by the operating system.
 By default, root volumes are deleted on EC2
instance termination but this option can be
disabled.
10
Typesof
Volumes
Volume Type Description Volume
Size
Performance
General
Purpose SSD
(GP2)
Balance of
price and
performance
1 GB –
16 TB
IOPS: 10,000
Throughput: 160
MB/s
Provisioned
IOPS SSD
(io1)
High-
performance
SSD
4 GB – 16
TB
IOPS: 20,000
Throughput:
MB/s
Throughput
Optimized
HDD (st1)
Low cost and
high
throughput
500 GB –
16 TB
IOPS: 500
Throughput:
MB/s
Cold HDD
(sc1)
Cheapest
storage for
infrequently
accessed data
500 GB –
16 TB
IOPS: 250
Throughput:
MB/s
11
EBSVolume
Pricing
 General Purpose SSD (gp2) volumes
 $0.10 per GB-month of provisioned storage
 Provisioned IOPS SSD (io1) volumes
 $0.125 per GB-month of provisioned storage
 $0.065 per provisioned IOPS-month
 Throughput Optimized HDD (st1) volumes
 $0.045 per GB-month of provisioned storage
 Cold HDD (sc1) volumes
 $0.025 per GB-month of provisioned storage
12
Snapshots
 Point in Time backups of EBS volumes.
 Incremental.
 Stores modified blocks in S3.
 Full restore ability even after deletion of a snapshot
version.
 $0.05 per GB-month of data stored.
13
Some
Important
Points
 Recommendation: Stop instance before taking
snapshot of the root volume.
 Unencrypted snapshots can be shared across
accounts and even to the public.
 Creating an AMI also creates a snapshot of the root
volume. For deleting that snapshot, you must
deregister the AMI first.
 Maximum 5 pending snapshots per volume.
 If the volumes are configured to be part of a RAID
array, any one of the following steps has to be taken
before taking the snapshot:
 Freezing the File System
 Unmounting the RAID array
 Shutting down the EC2 instance
14
References
I. https://aws.amazon.com/documentation/ec2/
II. http://docs.aws.amazon.com/AWSEC2/latest/UserGui
de/concepts.html
III.https://aws.amazon.com/ec2/instance-types/
IV. https://aws.amazon.com/ec2/pricing/
V. http://docs.aws.amazon.com/AWSEC2/latest/UserGui
de/EBSVolumeTypes.html
VI. https://aws.amazon.com/ebs/pricing/
15
Thank You
16

More Related Content

PDF
Aws Elastic Block Storage
PDF
Amazon EC2 notes.pdf
PDF
AWS AutoScaling
PPTX
Aws Architecture Training
PPT
Auto Scaling on AWS
PPTX
AWS compute Services
PDF
AWS EC2
PDF
Auto scaling using Amazon Web Services ( AWS )
Aws Elastic Block Storage
Amazon EC2 notes.pdf
AWS AutoScaling
Aws Architecture Training
Auto Scaling on AWS
AWS compute Services
AWS EC2
Auto scaling using Amazon Web Services ( AWS )

What's hot (20)

PDF
Demystifying Data Warehousing as a Service - DFW
PPTX
Azure storage
PPTX
Azure storage
PPTX
AWS IAM and security
PPTX
Microsoft Azure Storage Basics
PDF
Introduction to Azure
PPTX
Amazon services ec2
PPTX
AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...
PPTX
Cloud computing hybrid architecture
PPTX
AWS Storage - S3 Fundamentals
PDF
Introduction to Azure Resource Manager
PPTX
Introduction to Microsoft Azure
PPTX
Snowflake essentials
PDF
AWS EMR Cost optimization
PDF
Let’s get to know Snowflake
PPTX
Azure Storage Services - Part 01
PDF
[Bespin Global 파트너 세션] 분산 데이터 통합 (Data Lake) 기반의 데이터 분석 환경 구축 사례 - 베스핀 글로벌 장익...
PPTX
Get started With Microsoft Azure Virtual Machine
PDF
Microsoft Azure Fundamentals
PDF
AWS IAM Tutorial | Identity And Access Management (IAM) | AWS Training Videos...
Demystifying Data Warehousing as a Service - DFW
Azure storage
Azure storage
AWS IAM and security
Microsoft Azure Storage Basics
Introduction to Azure
Amazon services ec2
AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...
Cloud computing hybrid architecture
AWS Storage - S3 Fundamentals
Introduction to Azure Resource Manager
Introduction to Microsoft Azure
Snowflake essentials
AWS EMR Cost optimization
Let’s get to know Snowflake
Azure Storage Services - Part 01
[Bespin Global 파트너 세션] 분산 데이터 통합 (Data Lake) 기반의 데이터 분석 환경 구축 사례 - 베스핀 글로벌 장익...
Get started With Microsoft Azure Virtual Machine
Microsoft Azure Fundamentals
AWS IAM Tutorial | Identity And Access Management (IAM) | AWS Training Videos...
Ad

Similar to Amazon Web Services (AWS) Elastic Compute Cloud (EC2) (20)

PDF
20 MUST KNOW things about Amazon EC2.pdf
PDF
Lesson_03_Amazon_Elastic_Compute_Cloud.pdf
PPTX
AWS Compute Services
PPTX
Amazon ec2
DOCX
AWS Solution Architect documents practice purpose
PPTX
Aws ec2
PPTX
Compute Services con AWS
PDF
The iot academy_awstraining_part1_aws_introduction
PDF
Amazon cloud intance launch3
PDF
Amazon cloud intance launch3
PDF
Amazon cloud intance launch
PDF
Module-2 compute (2).pdf AWS FIRST MODULE
PDF
Amazon Web Services (AWS) : Fundamentals
PPTX
Basic ppt on cloud computing on amazon web
PDF
Artem Zhurbila - 2 aws - EC2
PPTX
CloudOverviewAWS.pptx
PPTX
Diveinto AWS
PPTX
CC ppt.pptx
PPTX
Amazon EC2 Instance Types.pptx
20 MUST KNOW things about Amazon EC2.pdf
Lesson_03_Amazon_Elastic_Compute_Cloud.pdf
AWS Compute Services
Amazon ec2
AWS Solution Architect documents practice purpose
Aws ec2
Compute Services con AWS
The iot academy_awstraining_part1_aws_introduction
Amazon cloud intance launch3
Amazon cloud intance launch3
Amazon cloud intance launch
Module-2 compute (2).pdf AWS FIRST MODULE
Amazon Web Services (AWS) : Fundamentals
Basic ppt on cloud computing on amazon web
Artem Zhurbila - 2 aws - EC2
CloudOverviewAWS.pptx
Diveinto AWS
CC ppt.pptx
Amazon EC2 Instance Types.pptx
Ad

More from Kaivalya Shah (9)

PPTX
Critical Thinking Project - Knowing the world
PPTX
Paper Review: ENERGY-EFFICIENT WIRELESS COMMUNICATIONS TUTORIAL, SURVEY, AND ...
PPTX
Branch and Bound technique to solve Integer Linear Programming
PPTX
SkyViewer: An in-browser solution to fast video calling
PPTX
Import Trends of India
PPTX
An Ethical Analysis of Caste based Reservation in India
PPTX
About the Montreal Protocol
PPTX
Xerography
PPTX
Introduction to Storage technologies
Critical Thinking Project - Knowing the world
Paper Review: ENERGY-EFFICIENT WIRELESS COMMUNICATIONS TUTORIAL, SURVEY, AND ...
Branch and Bound technique to solve Integer Linear Programming
SkyViewer: An in-browser solution to fast video calling
Import Trends of India
An Ethical Analysis of Caste based Reservation in India
About the Montreal Protocol
Xerography
Introduction to Storage technologies

Recently uploaded (20)

PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
cuic standard and advanced reporting.pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
sap open course for s4hana steps from ECC to s4
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
MIND Revenue Release Quarter 2 2025 Press Release
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Approach and Philosophy of On baking technology
PDF
Machine learning based COVID-19 study performance prediction
PDF
KodekX | Application Modernization Development
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
cuic standard and advanced reporting.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
sap open course for s4hana steps from ECC to s4
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
MIND Revenue Release Quarter 2 2025 Press Release
The AUB Centre for AI in Media Proposal.docx
20250228 LYD VKU AI Blended-Learning.pptx
The Rise and Fall of 3GPP – Time for a Sabbatical?
Diabetes mellitus diagnosis method based random forest with bat algorithm
Digital-Transformation-Roadmap-for-Companies.pptx
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Encapsulation_ Review paper, used for researhc scholars
Reach Out and Touch Someone: Haptics and Empathic Computing
Approach and Philosophy of On baking technology
Machine learning based COVID-19 study performance prediction
KodekX | Application Modernization Development
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf

Amazon Web Services (AWS) Elastic Compute Cloud (EC2)

  • 1. Amazon Web Services Elastic Compute Cloud (EC2) Kaivalya Shah
  • 2. Presentation Outline  What is EC2?  Types of Instances  Instance Purchase Options  AMI & AWS Marketplace  Launching an EC2 Instance  Elastic IPs and ENIs  Instance Store  What is EBS?  Types of Volumes  EBS Volume Pricing  Snapshots  References 2
  • 3. WhatisEC2?  Compute service by Amazon Web Services which lets users create instances for their use in servers which are physically placed at Amazon’s datacenters.  IaaS (Infrastructure as a Service) cloud service model.  Instances ~ Virtual Machines.  Xen bare metal hypervisor. 3
  • 4. Typesof EC2 Instances Instance Type Typical Use-case T2 Testing, Bursty Utilization M4/M3 General Purpose C4/C3 Compute Optimized Clustering G2 Graphics Intensive 3D Application Streaming P2 General Purpose GPU Machine Learning R4/R3 Medium Scale Memory Intensive Applications X1 Large Scale Memory SAP HANA, Spark F1 Xilinx FPGAs D2 Dense Storage, 48 TB HDD MapReduce, log processing I3/I2 High I/O (NVMe SSD) NoSQL Databases 4 Trick to remember: Dr. Mc Gift PX
  • 6. AMIand AWSMarketplace Amazon Machine Image (AMI) • Template with software configuration: Operating system, applications, and services. • Quickly launch new instances. • Regional. AWS Marketplace • Catalog of AMIs specific to a variety of applications. • Available while launching an EC2 instance. 6
  • 7. Launchingan EC2Instance  To launch an EC2 instance, we can click the “Launch Instance” button on the EC2 dashboard. Further steps are as following: 1. AMI: Quick Start, My AMIs, AWS Marketplace. OS and pre-installed libraries. 2. Instance Type: Depending on use case. 3. Instance Details: No. of instances, VPC, Subnet, IAM role, Shutdown behavior, Termination Protection, Tenancy. 4. Storage: EBS Volumes, root and additional. 5. Tags: Key-Value pairs containing information about the instance 6. Security Group: Assign existing or new policy. 7. Review and Launch. Select or generate authentication key-pair. 7
  • 8. ElasticIPsand ENIs  An Elastic IP address is a public IPv4 address, which can be attached/detached to EC2 instances.  An Elastic Network Interface (ENI) is a virtual network interface that can be attached to an EC2 instance in a VPC.  ENIs have the following attributes: i. A primary private IPv4 address ii. One or more secondary private IPv4 addresses iii. One Elastic IP address (IPv4) per private IPv4 address iv. One public IPv4 address v. One or more IPv6 addresses vi. One or more security groups vii. A MAC address viii.A source/destination check flag ix. A description 8
  • 9. InstanceStore Physically attached to the host server Temporary (Ephemeral) storage like buffers and caches Available storage depends on instance type Cleared if the instance is stopped or terminated Data is not preserved while creating AMI Can only be added while launching a new EC2 instance Needs to be bundled to S3 for making an AMI Instance cannot be stopped if root volume is instance store 9
  • 10. WhatisEBS?  A storage service by Amazon Web Services which provides block level storage volumes.  A volume can be attached to only 1 EC2 instance at a time.  EBS volumes can be formatted using any file system supported by the operating system.  By default, root volumes are deleted on EC2 instance termination but this option can be disabled. 10
  • 11. Typesof Volumes Volume Type Description Volume Size Performance General Purpose SSD (GP2) Balance of price and performance 1 GB – 16 TB IOPS: 10,000 Throughput: 160 MB/s Provisioned IOPS SSD (io1) High- performance SSD 4 GB – 16 TB IOPS: 20,000 Throughput: MB/s Throughput Optimized HDD (st1) Low cost and high throughput 500 GB – 16 TB IOPS: 500 Throughput: MB/s Cold HDD (sc1) Cheapest storage for infrequently accessed data 500 GB – 16 TB IOPS: 250 Throughput: MB/s 11
  • 12. EBSVolume Pricing  General Purpose SSD (gp2) volumes  $0.10 per GB-month of provisioned storage  Provisioned IOPS SSD (io1) volumes  $0.125 per GB-month of provisioned storage  $0.065 per provisioned IOPS-month  Throughput Optimized HDD (st1) volumes  $0.045 per GB-month of provisioned storage  Cold HDD (sc1) volumes  $0.025 per GB-month of provisioned storage 12
  • 13. Snapshots  Point in Time backups of EBS volumes.  Incremental.  Stores modified blocks in S3.  Full restore ability even after deletion of a snapshot version.  $0.05 per GB-month of data stored. 13
  • 14. Some Important Points  Recommendation: Stop instance before taking snapshot of the root volume.  Unencrypted snapshots can be shared across accounts and even to the public.  Creating an AMI also creates a snapshot of the root volume. For deleting that snapshot, you must deregister the AMI first.  Maximum 5 pending snapshots per volume.  If the volumes are configured to be part of a RAID array, any one of the following steps has to be taken before taking the snapshot:  Freezing the File System  Unmounting the RAID array  Shutting down the EC2 instance 14
  • 15. References I. https://aws.amazon.com/documentation/ec2/ II. http://docs.aws.amazon.com/AWSEC2/latest/UserGui de/concepts.html III.https://aws.amazon.com/ec2/instance-types/ IV. https://aws.amazon.com/ec2/pricing/ V. http://docs.aws.amazon.com/AWSEC2/latest/UserGui de/EBSVolumeTypes.html VI. https://aws.amazon.com/ebs/pricing/ 15

Editor's Notes

  • #6: On-Demand: Spiky unpredictable Traffic. Spot: If terminated by EC2, you don’t pay for the hour Dedicated Hosts: A single host is assigned and we can create as many instances on that host. Pay per hour, price depends on host configuration. Max 2 per region per host type.
  • #7: Limit: 50 AMIs per region with max 25 from the same origin
  • #9: Masking failure of instance by remapping. Limit: 5 Elastic IPs per region. Pricing: Only if it’s not associated with an EC2 instance, instance is stopped or it is a second elastic IP of an instance.
  • #12: EBS Optimized EC2 Instances provide within 10% of the baseline performance Root volumes cannot be magnetic HDDs Magnetic Standard previous generation, deprecated by AWS, can be used as root