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 BeanstalkAlex Verdyan
 
Amazon elastic compute cloud
Amazon elastic compute cloudAmazon elastic compute cloud
Amazon elastic compute cloudkavyagaur3
 
Amazon Clouds in Action
Amazon Clouds in ActionAmazon Clouds in Action
Amazon Clouds in Actionzenyk
 
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 GovernmentAmazon Web Services
 
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 CenterRaghvender Arni
 
Introduction to Amazon Web Services (AWS)
Introduction to Amazon Web Services (AWS)Introduction to Amazon Web Services (AWS)
Introduction to Amazon Web Services (AWS)Jason "JP" Pomerleau
 
AWS Webcast - Explore the AWS Cloud
AWS Webcast - Explore the AWS CloudAWS Webcast - Explore the AWS Cloud
AWS Webcast - Explore the AWS CloudAmazon Web Services
 
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)Michal Balinski
 
Reducing Database Costs via Shard Consolidation
Reducing Database Costs via Shard ConsolidationReducing Database Costs via Shard Consolidation
Reducing Database Costs via Shard ConsolidationAmazon Web Services
 
Eucalyptus: Our Story. Presented at LCA2011
Eucalyptus: Our Story. Presented at LCA2011Eucalyptus: Our Story. Presented at LCA2011
Eucalyptus: Our Story. Presented at LCA2011Mark Atwood
 
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 cloudDavid Veksler
 
Barcamp Macau 2014 - Introduction to AWS
Barcamp Macau 2014 - Introduction to AWSBarcamp Macau 2014 - Introduction to AWS
Barcamp Macau 2014 - Introduction to AWSWong Hoi Sing Edison
 
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 ...Amazon Web Services
 
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 CorporationManpreet 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

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 SectorAmazon Web Services
 
Disaster recovery webinar - oct.7
Disaster recovery   webinar - oct.7Disaster recovery   webinar - oct.7
Disaster recovery webinar - oct.7Amazon Web Services
 
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.pptxDipaliKulshrestha2
 
Dallas Breakfast Seminar
Dallas Breakfast SeminarDallas Breakfast Seminar
Dallas Breakfast SeminarNuoDB
 
Scaling web application in the Cloud
Scaling web application in the CloudScaling web application in the Cloud
Scaling web application in the CloudFederico Feroldi
 
AWS Primer and Quickstart
AWS Primer and QuickstartAWS Primer and Quickstart
AWS Primer and QuickstartManish Pandit
 
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 CloudAmazon Web Services
 
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 CloudAmazon Web Services
 
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 CloudAmazon Web Services
 
Architecting Multi-Cloud Environments
Architecting Multi-Cloud EnvironmentsArchitecting Multi-Cloud Environments
Architecting Multi-Cloud EnvironmentsRightScale
 

Ä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

Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfFIDO Alliance
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...FIDO Alliance
 
Microsoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - QuestionnaireMicrosoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - QuestionnaireExakis Nelite
 
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024Lorenzo Miniero
 
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The InsideCollecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The InsideStefan Dietze
 
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?Paolo Missier
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessUXDXConf
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptxFIDO Alliance
 
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...ScyllaDB
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfFIDO Alliance
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfFIDO Alliance
 
Your enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4jYour enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4jNeo4j
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGDSC PJATK
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfFIDO Alliance
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...ScyllaDB
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch TuesdayIvanti
 
Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024Hiroshi SHIBATA
 
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxFIDO Alliance
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsLeah Henrickson
 

Kürzlich hochgeladen (20)

Overview of Hyperledger Foundation
Overview of Hyperledger FoundationOverview of Hyperledger Foundation
Overview of Hyperledger Foundation
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
 
Microsoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - QuestionnaireMicrosoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - Questionnaire
 
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024
 
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The InsideCollecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
 
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
 
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
Your enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4jYour enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4j
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch Tuesday
 
Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024
 
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
 

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, ...