SlideShare ist ein Scribd-Unternehmen logo
1 von 14
Downloaden Sie, um offline zu lesen
Deep Dive into EC2
Hiroshi Wada
Jul 24, 2013
NICTA Software Dev Tools Series #10
Many many building blocks ...
AWS resources/services are relatively low level
Pick right resources and build your app
Steep learning curve
Similar services with different nature
Non-obvious restrictions
Dependency among services/resources
Easy to understand them by going *behind* the API
Region and
Availability Zone
Region: location where a set of services are provided
Regions are completely isolated from each other
Different API endpoints, no replication across, ...
Regions may provide different services
Availability Zone: a collection of data centers
A region has ~4 AZs
Isolated to prevent outage from spreading
Resources may or may not be replicated
aws.amazon.com/about-aws/globalinfrastructure/
Region-bound and AZ-bound
resources
Resources bound to an account
DNS, Access Management, ...
Resources bound to a Region
S3, machine images, DynamoDB, Elastic IP, LB, ...
Replicated across AZs - highly available/durable
Resources bound to an AZ
Instance (VM), EBS (disk volume), ...
Building fault tolerance is your job
Architecture in AZ (guess!)
Region
AZ-"a"
Rack servers
operating VMs
(IP network)
No persistent disk
for users
(only ephemeral disks)
Storage Area
Network
provisioning
EBS
(redundancy,
RAID, ...)
Fibre
Channel
Internet
Rack servers
operating resources
shared among AZs
(S3, LB, etc)
Communication
and replication
across AZs
(internal IP network)
Internet
AZ-"b"
Architecture in AZ (guess!)
Region
AZ-"a"
Rack servers
operating VMs
(IP network)
No persistent disk
for users
(only ephemeral disks)
Storage Area
Network
provisioning
EBS
(redundancy,
RAID, ...)
Fibre
Channel
Internet
Rack servers
operating resources
shared among AZs
(S3, LB, etc)
Communication
and replication
across AZs
(internal IP network)
Internet
AZ-"b"
Architecture in AZ (guess!)
Region
AZ-"a"
Rack servers
operating VMs
(IP network)
No persistent disk
for users
(only ephemeral disks)
Storage Area
Network
provisioning
EBS
(redundancy,
RAID, ...)
Fibre
Channel
Internet
Rack servers
operating resources
shared among AZs
(S3, LB, etc)
Communication
and replication
across AZs
(internal IP network)
Internet
AZ-"b"
Architecture in AZ (guess!)
Region
AZ-"a"
Rack servers
operating VMs
(IP network)
No persistent disk
for users
(only ephemeral disks)
Storage Area
Network
provisioning
EBS
(redundancy,
RAID, ...)
Fibre
Channel
Internet
Rack servers
operating resources
shared among AZs
(S3, LB, etc)
Communication
and replication
across AZs
(internal IP network)
Internet
AZ-"b"
Two types of instances: EBS backed
Root disk is in SAN and directly attached to machine
Stop/restart to change underlying machine in an AZ
Life cycle: start <-> stop -> terminate
Charge for the use of EBS (capacity and I/O)
attach directly
EBS volume
(virtual disk)
SAN
VM
servers and hypervisors
Two types of instances:
instance store
Root disk is loaded from S3 to an ephemeral disk
No persistent storage (only ephemeral)
Life cycle: start -> terminate
Customization
Re-create image or use cloud-init on boot
Image
S3 load into ephemeral disk
VM
servers and hypervisors
Lifecycle of disks/images
A machine image is stored in S3
=> you can launch instances in any AZ in the region
An instance is running on a physical machine
=> bound to an AZ. Not highly available.
Image
S3
replicated among AZs
(not visible to users)
load into an EBS volume
attach directly
EBS volume
(virtual disk)
SAN
load into
ephemeral disk
VM
AZ
Lifecycle of disks/images
An EBS volume is in SANs
=> bound to an AZ
Only attachable to an instance in same AZ
Not durable compared to S3
Image
S3
replicated among AZs
(not visible to users)
load into an EBS volume
attach directly
EBS volume
(virtual disk)
SAN
load into
ephemeral disk
VM
AZ
Lifecycle of disks/images
Snapshot (or machine image) of an EBS volume
=> stored in S3. Bound to region. High durability
Creating instance-store images is not trivial ...
Snapshot,
image
S3
EBS volume
(virtual disk)
SAN
AZ
Create an image from VM
EBS VM
Take a snapshot of a volume
Storage options - two flavors
"Regular" disk
Pros: you're familiar with it. random access.
Cons: less available/durable (AZ bound)
Services: EBS, ephemeral disks, RDS, ...
Key-value, NoSQL
Pros: high durability via distribution
Cons: proprietary interface
Services: S3, Dynamo DB, SQS, ...

Weitere ähnliche Inhalte

Was ist angesagt?

Running on Elastic Beanstalk
Running on Elastic BeanstalkRunning on Elastic Beanstalk
Running on Elastic Beanstalk
Alex Verdyan
 
AWS Public Cloud solution for ABC Corporation
AWS Public Cloud solution for ABC CorporationAWS Public Cloud solution for ABC Corporation
AWS Public Cloud solution for ABC Corporation
Manpreet Sidhu
 
Media Content Ingest, Storage, and Archiving with AWS - John Downey, Amazon W...
Media Content Ingest, Storage, and Archiving with AWS - John Downey, Amazon W...Media Content Ingest, Storage, and Archiving with AWS - John Downey, Amazon W...
Media Content Ingest, Storage, and Archiving with AWS - John Downey, Amazon W...
Amazon Web Services
 

Was ist angesagt? (20)

Aws ops works
Aws ops worksAws ops works
Aws ops works
 
Running on Elastic Beanstalk
Running on Elastic BeanstalkRunning on Elastic Beanstalk
Running on Elastic Beanstalk
 
Amazon elastic compute cloud
Amazon elastic compute cloudAmazon elastic compute cloud
Amazon elastic compute cloud
 
Amazon Clouds in Action
Amazon Clouds in ActionAmazon Clouds in Action
Amazon Clouds in Action
 
Hands-On With Amazon Web Services (AWS) - part 3
Hands-On With Amazon Web Services (AWS) - part 3Hands-On With Amazon Web Services (AWS) - part 3
Hands-On With Amazon Web Services (AWS) - part 3
 
AWS Webcast - Explore the AWS Cloud for Government
AWS Webcast - Explore the AWS Cloud for GovernmentAWS Webcast - Explore the AWS Cloud for Government
AWS Webcast - Explore the AWS Cloud for Government
 
Resource Management in the Enterprise Data Center
Resource Management in the Enterprise Data CenterResource Management in the Enterprise Data Center
Resource Management in the Enterprise Data Center
 
Introduction to Amazon Web Services (AWS)
Introduction to Amazon Web Services (AWS)Introduction to Amazon Web Services (AWS)
Introduction to Amazon Web Services (AWS)
 
AWS Webcast - Explore the AWS Cloud
AWS Webcast - Explore the AWS CloudAWS Webcast - Explore the AWS Cloud
AWS Webcast - Explore the AWS Cloud
 
Projektowanie systemów IT w chmurach obliczeniowych (AMG.net Tech Cafe)
Projektowanie systemów IT w chmurach obliczeniowych (AMG.net Tech Cafe)Projektowanie systemów IT w chmurach obliczeniowych (AMG.net Tech Cafe)
Projektowanie systemów IT w chmurach obliczeniowych (AMG.net Tech Cafe)
 
AWS 101 Guide
AWS 101 GuideAWS 101 Guide
AWS 101 Guide
 
Chugalug
ChugalugChugalug
Chugalug
 
Reducing Database Costs via Shard Consolidation
Reducing Database Costs via Shard ConsolidationReducing Database Costs via Shard Consolidation
Reducing Database Costs via Shard Consolidation
 
Eucalyptus: Our Story. Presented at LCA2011
Eucalyptus: Our Story. Presented at LCA2011Eucalyptus: Our Story. Presented at LCA2011
Eucalyptus: Our Story. Presented at LCA2011
 
Nuts and bolts of running a popular site in the aws cloud
Nuts and bolts of running a popular site in the aws cloudNuts and bolts of running a popular site in the aws cloud
Nuts and bolts of running a popular site in the aws cloud
 
Aws, an intro to startups
Aws, an intro to startupsAws, an intro to startups
Aws, an intro to startups
 
Barcamp Macau 2014 - Introduction to AWS
Barcamp Macau 2014 - Introduction to AWSBarcamp Macau 2014 - Introduction to AWS
Barcamp Macau 2014 - Introduction to AWS
 
AWS Webcast - Webinar Series for State and Local Government #2: Discover the ...
AWS Webcast - Webinar Series for State and Local Government #2: Discover the ...AWS Webcast - Webinar Series for State and Local Government #2: Discover the ...
AWS Webcast - Webinar Series for State and Local Government #2: Discover the ...
 
AWS Public Cloud solution for ABC Corporation
AWS Public Cloud solution for ABC CorporationAWS Public Cloud solution for ABC Corporation
AWS Public Cloud solution for ABC Corporation
 
Media Content Ingest, Storage, and Archiving with AWS - John Downey, Amazon W...
Media Content Ingest, Storage, and Archiving with AWS - John Downey, Amazon W...Media Content Ingest, Storage, and Archiving with AWS - John Downey, Amazon W...
Media Content Ingest, Storage, and Archiving with AWS - John Downey, Amazon W...
 

Ähnlich wie Deep Dive into EC2

Disaster recovery webinar - oct.7
Disaster recovery   webinar - oct.7Disaster recovery   webinar - oct.7
Disaster recovery webinar - oct.7
Amazon Web Services
 
Scaling web application in the Cloud
Scaling web application in the CloudScaling web application in the Cloud
Scaling web application in the Cloud
Federico Feroldi
 

Ähnlich wie Deep Dive into EC2 (20)

AWS Storage Options
AWS Storage OptionsAWS Storage Options
AWS Storage Options
 
Scalable Web Architecture
Scalable Web ArchitectureScalable Web Architecture
Scalable Web Architecture
 
AWS Webcast - Using the AWS Cloud for Disaster recovery_Public Sector
AWS Webcast - Using the AWS Cloud for Disaster recovery_Public SectorAWS Webcast - Using the AWS Cloud for Disaster recovery_Public Sector
AWS Webcast - Using the AWS Cloud for Disaster recovery_Public Sector
 
Disaster recovery webinar - oct.7
Disaster recovery   webinar - oct.7Disaster recovery   webinar - oct.7
Disaster recovery webinar - oct.7
 
AWS Accelerated Program - Session 2 - Storage Services.pptx
AWS Accelerated Program - Session 2 - Storage Services.pptxAWS Accelerated Program - Session 2 - Storage Services.pptx
AWS Accelerated Program - Session 2 - Storage Services.pptx
 
Aws storage
Aws storageAws storage
Aws storage
 
AWS Webcast - Disaster Recovery
AWS Webcast - Disaster RecoveryAWS Webcast - Disaster Recovery
AWS Webcast - Disaster Recovery
 
AWS vs. Azure
AWS vs. AzureAWS vs. Azure
AWS vs. Azure
 
Aws101
Aws101Aws101
Aws101
 
Dallas Breakfast Seminar
Dallas Breakfast SeminarDallas Breakfast Seminar
Dallas Breakfast Seminar
 
Scaling web application in the Cloud
Scaling web application in the CloudScaling web application in the Cloud
Scaling web application in the Cloud
 
AWS Primer and Quickstart
AWS Primer and QuickstartAWS Primer and Quickstart
AWS Primer and Quickstart
 
AWS Webcast - Discover Disaster Recovery Solutions in the Cloud
AWS Webcast - Discover Disaster Recovery Solutions in the CloudAWS Webcast - Discover Disaster Recovery Solutions in the Cloud
AWS Webcast - Discover Disaster Recovery Solutions in the Cloud
 
AWS Architecting In The Cloud
AWS Architecting In The CloudAWS Architecting In The Cloud
AWS Architecting In The Cloud
 
AWS Session.pptx
AWS Session.pptxAWS Session.pptx
AWS Session.pptx
 
AWS Webcast - Best Practices in Architecting for the Cloud
AWS Webcast - Best Practices in Architecting for the CloudAWS Webcast - Best Practices in Architecting for the Cloud
AWS Webcast - Best Practices in Architecting for the Cloud
 
Amazon Aurora
Amazon AuroraAmazon Aurora
Amazon Aurora
 
AWS Webcast - Business Continuity in the AWS Cloud
AWS Webcast - Business Continuity in the AWS CloudAWS Webcast - Business Continuity in the AWS Cloud
AWS Webcast - Business Continuity in the AWS Cloud
 
Aws day1
Aws day1Aws day1
Aws day1
 
Architecting Multi-Cloud Environments
Architecting Multi-Cloud EnvironmentsArchitecting Multi-Cloud Environments
Architecting Multi-Cloud Environments
 

Kürzlich hochgeladen

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Kürzlich hochgeladen (20)

Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 

Deep Dive into EC2

  • 1. Deep Dive into EC2 Hiroshi Wada Jul 24, 2013 NICTA Software Dev Tools Series #10
  • 2. Many many building blocks ... AWS resources/services are relatively low level Pick right resources and build your app Steep learning curve Similar services with different nature Non-obvious restrictions Dependency among services/resources Easy to understand them by going *behind* the API
  • 3. Region and Availability Zone Region: location where a set of services are provided Regions are completely isolated from each other Different API endpoints, no replication across, ... Regions may provide different services Availability Zone: a collection of data centers A region has ~4 AZs Isolated to prevent outage from spreading Resources may or may not be replicated aws.amazon.com/about-aws/globalinfrastructure/
  • 4. Region-bound and AZ-bound resources Resources bound to an account DNS, Access Management, ... Resources bound to a Region S3, machine images, DynamoDB, Elastic IP, LB, ... Replicated across AZs - highly available/durable Resources bound to an AZ Instance (VM), EBS (disk volume), ... Building fault tolerance is your job
  • 5. Architecture in AZ (guess!) Region AZ-"a" Rack servers operating VMs (IP network) No persistent disk for users (only ephemeral disks) Storage Area Network provisioning EBS (redundancy, RAID, ...) Fibre Channel Internet Rack servers operating resources shared among AZs (S3, LB, etc) Communication and replication across AZs (internal IP network) Internet AZ-"b"
  • 6. Architecture in AZ (guess!) Region AZ-"a" Rack servers operating VMs (IP network) No persistent disk for users (only ephemeral disks) Storage Area Network provisioning EBS (redundancy, RAID, ...) Fibre Channel Internet Rack servers operating resources shared among AZs (S3, LB, etc) Communication and replication across AZs (internal IP network) Internet AZ-"b"
  • 7. Architecture in AZ (guess!) Region AZ-"a" Rack servers operating VMs (IP network) No persistent disk for users (only ephemeral disks) Storage Area Network provisioning EBS (redundancy, RAID, ...) Fibre Channel Internet Rack servers operating resources shared among AZs (S3, LB, etc) Communication and replication across AZs (internal IP network) Internet AZ-"b"
  • 8. Architecture in AZ (guess!) Region AZ-"a" Rack servers operating VMs (IP network) No persistent disk for users (only ephemeral disks) Storage Area Network provisioning EBS (redundancy, RAID, ...) Fibre Channel Internet Rack servers operating resources shared among AZs (S3, LB, etc) Communication and replication across AZs (internal IP network) Internet AZ-"b"
  • 9. Two types of instances: EBS backed Root disk is in SAN and directly attached to machine Stop/restart to change underlying machine in an AZ Life cycle: start <-> stop -> terminate Charge for the use of EBS (capacity and I/O) attach directly EBS volume (virtual disk) SAN VM servers and hypervisors
  • 10. Two types of instances: instance store Root disk is loaded from S3 to an ephemeral disk No persistent storage (only ephemeral) Life cycle: start -> terminate Customization Re-create image or use cloud-init on boot Image S3 load into ephemeral disk VM servers and hypervisors
  • 11. Lifecycle of disks/images A machine image is stored in S3 => you can launch instances in any AZ in the region An instance is running on a physical machine => bound to an AZ. Not highly available. Image S3 replicated among AZs (not visible to users) load into an EBS volume attach directly EBS volume (virtual disk) SAN load into ephemeral disk VM AZ
  • 12. Lifecycle of disks/images An EBS volume is in SANs => bound to an AZ Only attachable to an instance in same AZ Not durable compared to S3 Image S3 replicated among AZs (not visible to users) load into an EBS volume attach directly EBS volume (virtual disk) SAN load into ephemeral disk VM AZ
  • 13. Lifecycle of disks/images Snapshot (or machine image) of an EBS volume => stored in S3. Bound to region. High durability Creating instance-store images is not trivial ... Snapshot, image S3 EBS volume (virtual disk) SAN AZ Create an image from VM EBS VM Take a snapshot of a volume
  • 14. Storage options - two flavors "Regular" disk Pros: you're familiar with it. random access. Cons: less available/durable (AZ bound) Services: EBS, ephemeral disks, RDS, ... Key-value, NoSQL Pros: high durability via distribution Cons: proprietary interface Services: S3, Dynamo DB, SQS, ...