SlideShare ist ein Scribd-Unternehmen logo
1 von 67
CDP
CDP
“This allows builders to create advanced models with simple parts”
Example of “Cloud Design Pattern”


                      Amazon
                      Route 53
                                   “Floating IP Pattern”
                      Elastic IP




                EC2                EC2
Floating AC Adaptor
“Weighted Transition” Pattern

                                         Route 53
                                α%                   100-α%



                   Elastic Load                             ELB
                  Balancing (ELB)


         Web/AP     Web/AP           Web/AP     Web/AP    Web/AP    Web/AP


          EC2                                       EC2




                         DB                                    DB


                        EC2                                   EC2
“Job Observer” Pattern

                                  CloudWatch




                                        Auto Scaling


                Put



          EC2                              New

                      SQS                  EC2


                            Get



                                        EC2
•   Wanted to exchange servers with a shorter amount of
        down time
•   Solution (no AWS terminology)
    •   Using IP address to exchange an existing server to a
        newly launched server                                        Route 53

•   Implementation (AWS terminology)
    •   Using EIP to exchange an existing EC2 instance to a
                                                                     Elastic IP
        newly launched one
•   Diagram
•   Pros
    •   Can exchange servers regardless of DNS TTL             EC2                EC2

•   Notes
•   Others
Other Examples
 Cache Distribution                       Direct Hosting           Cache Proxy

                                                                                 Deep Health Check




                      Multi Data Center                    Stamp
Basic                  Static Contents         Batch Processing
 Snapshot               Web Storage             Queuing Chain
 Stamp                  Direct Hosting          Priority Queue
 Scale Up               Private Distribution    Job Observer
 On-Demand Disk         Cache Distribution      Scheduled Auto Scaling
                        Rename Distribution
Availability                                   Maintenance
 Multi-Server          Data Uploading           Bootstrap
 Multi Data Center      Write Proxy             Cloud DI
 Floating IP            Storage Index           Stack Deployment
 Deep Health Check      Direct Object Upload    Server Swapping
                                                Monitoring Integration
Scaling                Relational Database      Web Storage Archive
 Scale Out              DB Replication
 Clone Server           Read Replica           Networking
 NFS Sharding           In-Memory DB Cache      On-Demand NAT
 NFS Replica            Sharding Write          Backnet
 State Sharing                                  Functional Firewall
 URL Rewriting                                  Operational Firewall
 Rewrite Proxy                                  Multi Load Balancer
 Cache Proxy                                    WAF Proxy
 Scheduled Scale Out                            CloudHub
“Amazon Web Services CDP – Design Guidebook”




http://www.amazon.co.jp/dp/4822211967/
“This was a test marketing in Japan, and it worked very well!
 Now we started translating this into English!”
http://aws.clouddesignpattern.org - “sorry, Japanese only!”
•   Example of Implementation Scenario
    • Content Distribution
       • Distribute static content to large number of users
    • E-Commerce
       • Implement fault-tolerance application
    • Campaign Site
       • Deal with unpredictable massive traffic
    • and others…
       • Streaming, batch processing, monitoring, VPC migration, etc.
Content Distribution Scenario
Environments
               Amazon Linux (64bit)
               Movable Type 5.12 (MTOS)
               Apache HTTP Server 2.2.21
               MySQL 5.1.52
               Perl 5.10.1
               S3FS 1.61
                      21
Initial Design

                 Amazon       www.clouddesignpattern.org
                 Route 53



                    EIP



                   Blog
                  System

                    EC2
                  Instance
                 (t1.micro)


                                22
manseki.exblog.jp
Problem
Need to distribute photos and
videos in a cost-effective way         offload



Implementation
Host heavy files by Amazon S3                    Web
(web hosting feature) and users
                                  S3             EC2
will download them from S3
directly
Apply “Web Storage” Pattern
 data.clouddesignpattern.org    www.clouddesignpattern.org




                                  EIP

                                                    Download Link
                                Blog
                 Videos        System

                  S3              EC2
                                Instance
                               (t1.micro)


                                   25
rocketnews24.com
Problem
Need to host website in a
cost-effective way


Implementation                       upload
                                              Web
Use Amazon S3 website hosting
feature. Dynamically upload                   EC2
updated contents from Amazon    S3
EC2
Apply “Direct Hosting” Pattern
              data.clouddesignpattern.org
                                www.clouddesignpattern.org




                                        EIP




                                        Blog
                                       System




                          28
Editor’s choice : No1 “Clouds” blog
Apply “Cache Distribution” Pattern
                                                                       Blog contents


     www.clouddesignpattern.org          www.clouddesignpattern.org.s3.amazonaws.com



                                                                      Videos/Images

      data.clouddesignpattern.org        data.clouddesignpattern.org.s3.amazonaws.com


              Blog post                                                Blog posting/
               Search                                                  Management
                                         EIP
                                                   mt.clouddesignpattern.org

                                    30
Web Storage   Direct Hosting   Cache Distribution
E-Commerce Site Scenario
Environments

               Amazon Linux (64bit)
               Apache HTTP Server 2.2.21
               EC-Cube 2.11.3
               PHP 5.3.8
               MySQL 5.1.52

                     34
Initial Design

                 Amazon       ec.clouddesignpattern.org
                 Route 53



                    EIP



                    EC
                  System

                    EC2
                  Instance
                 (t1.micro)


                               35
Apply “Floating IP”
                               Amazon
                               Route 53     ec.clouddesignpattern.org


                                 EIP
                                ④change EIP
EIP「46.51.xxx.xxx」
                        Prod                Test
                                                   ③Updating and testing
                         EC2                EC2


          ①Create AMI                        ②Launch
                                             Test environment


                                EC2 AMI

                                       37
@Studio 4Directions
Apply “Server Swapping”




          EC2          EC2




                Data     Data
                                AMI
                EBS      EBS


                         39
Apply “Multi-Server”


                              ELB



               Original                 Duplicate


                 EC2                       EC2




                          DB Instance


                               41
42
Apply “Multi-Server”


                              ELB



               Original                 Duplicate


                 EC2                       EC2




                          DB Instance


                               43
Adding EC2 instances
Apply “DB Replication”


                        ELB



             Original          Duplicate


               EC2                  EC2


                        Sync


              AZ - 1a                      AZ – 1b


                               49
@gigazine
Apply “Multi Data Center”


                            ELB



                 Original          Duplicate


                   EC2                EC2


                            Sync


                  AZ - 1a           AZ – 1b


                            51
Server Swapping   Multi Server   DB replication   Multi Data Center
Campaign Site Scenario
Environments
               Amazon Linux (32bit)
               Apache HTTP Server 2.2.21
               MySQL 5.1.52
               PHP 5.3.8
               WordPress 3.3.1


                     55
Initial Design

• Small start
• Stand-alone server
  configuration




                       56
Apply “Clone Server” Pattern




                     58
Apply “Scale Out” Pattern




                     59
Apply “NFS Sharing” Pattern




                     NFS


                    61
Apply “NFS Replica” Pattern




                     63
Apply “URL Rewriting” Pattern



• Off-load static contents to S3
• Rewrite the URLs by using
  mod_ext_filter




                                   65
http://aws.clouddesignpattern.org


• https://www.facebook.com/awscdp


  http://www.amazon.co.jp/dp/4822211967/


• Created by ARCHITYP
• http://www.archetyp.jp
We are sincerely eager to
 hear your feedback on this
presentation and on re:Invent.

 Please fill out an evaluation
   form when you have a
            chance.

Weitere ähnliche Inhalte

Was ist angesagt?

Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon Web Services
 

Was ist angesagt? (20)

AWS Landing Zone Deep Dive (ENT350-R2) - AWS re:Invent 2018
AWS Landing Zone Deep Dive (ENT350-R2) - AWS re:Invent 2018AWS Landing Zone Deep Dive (ENT350-R2) - AWS re:Invent 2018
AWS Landing Zone Deep Dive (ENT350-R2) - AWS re:Invent 2018
 
AWS Security Best Practices and Design Patterns
AWS Security Best Practices and Design PatternsAWS Security Best Practices and Design Patterns
AWS Security Best Practices and Design Patterns
 
Introduction to VMware Cloud on AWS
Introduction to VMware Cloud on AWSIntroduction to VMware Cloud on AWS
Introduction to VMware Cloud on AWS
 
Cloud Security Fundamentals Webinar
Cloud Security Fundamentals WebinarCloud Security Fundamentals Webinar
Cloud Security Fundamentals Webinar
 
[REPEAT] Microsoft Active Directory Deep Dive (WIN303-R) - AWS re:Invent 2018
[REPEAT] Microsoft Active Directory Deep Dive (WIN303-R) - AWS re:Invent 2018[REPEAT] Microsoft Active Directory Deep Dive (WIN303-R) - AWS re:Invent 2018
[REPEAT] Microsoft Active Directory Deep Dive (WIN303-R) - AWS re:Invent 2018
 
[NEW LAUNCH!] Introducti[NEW LAUNCH!] Introduction to event-driven architectu...
[NEW LAUNCH!] Introducti[NEW LAUNCH!] Introduction to event-driven architectu...[NEW LAUNCH!] Introducti[NEW LAUNCH!] Introduction to event-driven architectu...
[NEW LAUNCH!] Introducti[NEW LAUNCH!] Introduction to event-driven architectu...
 
[AWS Builders] AWS와 함께하는 클라우드 컴퓨팅
[AWS Builders] AWS와 함께하는 클라우드 컴퓨팅[AWS Builders] AWS와 함께하는 클라우드 컴퓨팅
[AWS Builders] AWS와 함께하는 클라우드 컴퓨팅
 
How AWS Minimizes the Blast Radius of Failures (ARC338) - AWS re:Invent 2018
How AWS Minimizes the Blast Radius of Failures (ARC338) - AWS re:Invent 2018How AWS Minimizes the Blast Radius of Failures (ARC338) - AWS re:Invent 2018
How AWS Minimizes the Blast Radius of Failures (ARC338) - AWS re:Invent 2018
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
AWS Customer Presentation - WeoGeo
AWS Customer Presentation - WeoGeo AWS Customer Presentation - WeoGeo
AWS Customer Presentation - WeoGeo
 
고급 클라우드 아키텍처 방법론- 양승도 솔루션즈 아키텍트:: AWS Cloud Track 2 Advanced
고급 클라우드 아키텍처 방법론- 양승도 솔루션즈 아키텍트:: AWS Cloud Track 2 Advanced고급 클라우드 아키텍처 방법론- 양승도 솔루션즈 아키텍트:: AWS Cloud Track 2 Advanced
고급 클라우드 아키텍처 방법론- 양승도 솔루션즈 아키텍트:: AWS Cloud Track 2 Advanced
 
AWS Networking Fundamentals
AWS Networking FundamentalsAWS Networking Fundamentals
AWS Networking Fundamentals
 
Top 5 Ways to Optimize for Cost Efficiency with the Cloud
Top 5 Ways to Optimize for Cost Efficiency with the CloudTop 5 Ways to Optimize for Cost Efficiency with the Cloud
Top 5 Ways to Optimize for Cost Efficiency with the Cloud
 
Amazon ECS
Amazon ECSAmazon ECS
Amazon ECS
 
AWS SAM으로 서버리스 아키텍쳐 운영하기 - 이재면(마이뮤직테이스트) :: AWS Community Day 2020
AWS SAM으로 서버리스 아키텍쳐 운영하기 - 이재면(마이뮤직테이스트) :: AWS Community Day 2020 AWS SAM으로 서버리스 아키텍쳐 운영하기 - 이재면(마이뮤직테이스트) :: AWS Community Day 2020
AWS SAM으로 서버리스 아키텍쳐 운영하기 - 이재면(마이뮤직테이스트) :: AWS Community Day 2020
 
Cloud Migration Workshop
Cloud Migration WorkshopCloud Migration Workshop
Cloud Migration Workshop
 
AWS Control Tower
AWS Control TowerAWS Control Tower
AWS Control Tower
 
Introduction to the Well-Architected Framework and Tool - SVC208 - Anaheim AW...
Introduction to the Well-Architected Framework and Tool - SVC208 - Anaheim AW...Introduction to the Well-Architected Framework and Tool - SVC208 - Anaheim AW...
Introduction to the Well-Architected Framework and Tool - SVC208 - Anaheim AW...
 
AWS Cloud9
AWS Cloud9AWS Cloud9
AWS Cloud9
 
An Introduction to Chaos Engineering
An Introduction to Chaos EngineeringAn Introduction to Chaos Engineering
An Introduction to Chaos Engineering
 

Andere mochten auch

Choosing the Right Data Storage Solution
Choosing the Right Data Storage SolutionChoosing the Right Data Storage Solution
Choosing the Right Data Storage Solution
Amazon Web Services
 
AWS Customer Presentation: 6Wunderkind - Berlin Summit 2012
AWS Customer Presentation: 6Wunderkind - Berlin Summit 2012AWS Customer Presentation: 6Wunderkind - Berlin Summit 2012
AWS Customer Presentation: 6Wunderkind - Berlin Summit 2012
Amazon Web Services
 
SEC202 Federal Government Compliance Best Practices in the Cloud - AWS re: …
SEC202 Federal Government Compliance Best Practices in the Cloud - AWS re: …SEC202 Federal Government Compliance Best Practices in the Cloud - AWS re: …
SEC202 Federal Government Compliance Best Practices in the Cloud - AWS re: …
Amazon Web Services
 
AWS Procuring Services for Public Sector - Peterson
AWS Procuring Services for Public Sector - PetersonAWS Procuring Services for Public Sector - Peterson
AWS Procuring Services for Public Sector - Peterson
Amazon Web Services
 
Etendez votre datacenter avec aws v4
Etendez votre datacenter avec aws v4Etendez votre datacenter avec aws v4
Etendez votre datacenter avec aws v4
Amazon Web Services
 
Utility Supercomputing on AWS - Stowe
Utility Supercomputing on AWS - StoweUtility Supercomputing on AWS - Stowe
Utility Supercomputing on AWS - Stowe
Amazon Web Services
 

Andere mochten auch (20)

AWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh Varia
AWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh VariaAWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh Varia
AWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh Varia
 
Cloud Design Pattern
Cloud Design PatternCloud Design Pattern
Cloud Design Pattern
 
Cloud friendly Enterprise Architecture
Cloud friendly Enterprise ArchitectureCloud friendly Enterprise Architecture
Cloud friendly Enterprise Architecture
 
AWS re:Invent 2016: Design Patterns for High Availability: Lessons from Amazo...
AWS re:Invent 2016: Design Patterns for High Availability: Lessons from Amazo...AWS re:Invent 2016: Design Patterns for High Availability: Lessons from Amazo...
AWS re:Invent 2016: Design Patterns for High Availability: Lessons from Amazo...
 
Architecting for the Cloud: Best Practices
Architecting for the Cloud: Best PracticesArchitecting for the Cloud: Best Practices
Architecting for the Cloud: Best Practices
 
Think Big Analytics Corporate Deck Hadoop Summit June 2011
Think Big Analytics Corporate Deck Hadoop Summit June 2011Think Big Analytics Corporate Deck Hadoop Summit June 2011
Think Big Analytics Corporate Deck Hadoop Summit June 2011
 
AWS November Webinar Series - Architectural Patterns & Best Practices for Big...
AWS November Webinar Series - Architectural Patterns & Best Practices for Big...AWS November Webinar Series - Architectural Patterns & Best Practices for Big...
AWS November Webinar Series - Architectural Patterns & Best Practices for Big...
 
무한 확장 능력!!
무한 확장 능력!!무한 확장 능력!!
무한 확장 능력!!
 
Application Refactoring With Design Patterns
Application Refactoring With Design PatternsApplication Refactoring With Design Patterns
Application Refactoring With Design Patterns
 
Choosing the Right Data Storage Solution
Choosing the Right Data Storage SolutionChoosing the Right Data Storage Solution
Choosing the Right Data Storage Solution
 
AWS Update | London - Reserved Instance Marketplace
AWS Update | London - Reserved Instance MarketplaceAWS Update | London - Reserved Instance Marketplace
AWS Update | London - Reserved Instance Marketplace
 
AWS Customer Presentation: 6Wunderkind - Berlin Summit 2012
AWS Customer Presentation: 6Wunderkind - Berlin Summit 2012AWS Customer Presentation: 6Wunderkind - Berlin Summit 2012
AWS Customer Presentation: 6Wunderkind - Berlin Summit 2012
 
SEC202 Federal Government Compliance Best Practices in the Cloud - AWS re: …
SEC202 Federal Government Compliance Best Practices in the Cloud - AWS re: …SEC202 Federal Government Compliance Best Practices in the Cloud - AWS re: …
SEC202 Federal Government Compliance Best Practices in the Cloud - AWS re: …
 
CPN204 Windows on Amazon EC2 – Top ten things - AWS re: Invent 2012
CPN204 Windows on Amazon EC2 – Top ten things - AWS re: Invent 2012CPN204 Windows on Amazon EC2 – Top ten things - AWS re: Invent 2012
CPN204 Windows on Amazon EC2 – Top ten things - AWS re: Invent 2012
 
News Limited Keynote - Craige Prendleton-Browne - AWS Summit 2012 Australia
News Limited Keynote - Craige Prendleton-Browne - AWS Summit 2012 AustraliaNews Limited Keynote - Craige Prendleton-Browne - AWS Summit 2012 Australia
News Limited Keynote - Craige Prendleton-Browne - AWS Summit 2012 Australia
 
AWS Procuring Services for Public Sector - Peterson
AWS Procuring Services for Public Sector - PetersonAWS Procuring Services for Public Sector - Peterson
AWS Procuring Services for Public Sector - Peterson
 
RMG206 Introduction to Amazon Elastic Beanstalk - AWS re: Invent 2012
RMG206 Introduction to Amazon Elastic Beanstalk - AWS re: Invent 2012RMG206 Introduction to Amazon Elastic Beanstalk - AWS re: Invent 2012
RMG206 Introduction to Amazon Elastic Beanstalk - AWS re: Invent 2012
 
Etendez votre datacenter avec aws v4
Etendez votre datacenter avec aws v4Etendez votre datacenter avec aws v4
Etendez votre datacenter avec aws v4
 
Utility Supercomputing on AWS - Stowe
Utility Supercomputing on AWS - StoweUtility Supercomputing on AWS - Stowe
Utility Supercomputing on AWS - Stowe
 
Design Patterns for Developers - Technical 201
Design Patterns for Developers - Technical 201Design Patterns for Developers - Technical 201
Design Patterns for Developers - Technical 201
 

Ähnlich wie ARC302 AWS Cloud Design Patterns - AWS re: Invent 2012

Optimising Productivity with AWS Developer Tools
Optimising Productivity with AWS Developer ToolsOptimising Productivity with AWS Developer Tools
Optimising Productivity with AWS Developer Tools
Amazon Web Services
 
Designing Fault Tolerant Applications on AWS - Janakiram MSV
Designing Fault Tolerant Applications on AWS - Janakiram MSVDesigning Fault Tolerant Applications on AWS - Janakiram MSV
Designing Fault Tolerant Applications on AWS - Janakiram MSV
Amazon Web Services
 
Best Practices for Hosting Web Applications on AWS
Best Practices for Hosting Web Applications on AWSBest Practices for Hosting Web Applications on AWS
Best Practices for Hosting Web Applications on AWS
Amazon Web Services
 

Ähnlich wie ARC302 AWS Cloud Design Patterns - AWS re: Invent 2012 (20)

Amazon Web Services - Elastic Beanstalk
Amazon Web Services - Elastic BeanstalkAmazon Web Services - Elastic Beanstalk
Amazon Web Services - Elastic Beanstalk
 
[Jun AWS 201] Technical Workshop
[Jun AWS 201] Technical Workshop[Jun AWS 201] Technical Workshop
[Jun AWS 201] Technical Workshop
 
AWS Quick Intro
AWS Quick IntroAWS Quick Intro
AWS Quick Intro
 
Gaming across multiple devices
Gaming across multiple devicesGaming across multiple devices
Gaming across multiple devices
 
Cloud Architectures - Jinesh Varia - GrepTheWeb
Cloud Architectures - Jinesh Varia - GrepTheWebCloud Architectures - Jinesh Varia - GrepTheWeb
Cloud Architectures - Jinesh Varia - GrepTheWeb
 
Architecting Cloud Apps
Architecting Cloud AppsArchitecting Cloud Apps
Architecting Cloud Apps
 
Games + Amazon = Love - Presentation quo vadis 2011
Games + Amazon = Love - Presentation quo vadis 2011Games + Amazon = Love - Presentation quo vadis 2011
Games + Amazon = Love - Presentation quo vadis 2011
 
NWCloud Cloud Track - Best Practices for Architecting in the Cloud
NWCloud Cloud Track - Best Practices for Architecting in the CloudNWCloud Cloud Track - Best Practices for Architecting in the Cloud
NWCloud Cloud Track - Best Practices for Architecting in the Cloud
 
Optimising Productivity with AWS Developer Tools
Optimising Productivity with AWS Developer ToolsOptimising Productivity with AWS Developer Tools
Optimising Productivity with AWS Developer Tools
 
Designing Fault Tolerant Applications on AWS - Janakiram MSV
Designing Fault Tolerant Applications on AWS - Janakiram MSVDesigning Fault Tolerant Applications on AWS - Janakiram MSV
Designing Fault Tolerant Applications on AWS - Janakiram MSV
 
Amazon Ec2 Application Design
Amazon Ec2 Application DesignAmazon Ec2 Application Design
Amazon Ec2 Application Design
 
Jeff barr Seattle_interactive_2011_q4
Jeff barr Seattle_interactive_2011_q4Jeff barr Seattle_interactive_2011_q4
Jeff barr Seattle_interactive_2011_q4
 
Whole Site Delivery with Amazon CloudFront
Whole Site Delivery with Amazon CloudFrontWhole Site Delivery with Amazon CloudFront
Whole Site Delivery with Amazon CloudFront
 
PHP Office Hours
PHP Office HoursPHP Office Hours
PHP Office Hours
 
Best Practices for Hosting Web Applications on AWS
Best Practices for Hosting Web Applications on AWSBest Practices for Hosting Web Applications on AWS
Best Practices for Hosting Web Applications on AWS
 
ARC205 Building Web-scale Applications Architectures with AWS - AWS re: Inven...
ARC205 Building Web-scale Applications Architectures with AWS - AWS re: Inven...ARC205 Building Web-scale Applications Architectures with AWS - AWS re: Inven...
ARC205 Building Web-scale Applications Architectures with AWS - AWS re: Inven...
 
Day of Cloud: Amazon EC2
Day of Cloud: Amazon EC2Day of Cloud: Amazon EC2
Day of Cloud: Amazon EC2
 
Aws-What You Need to Know_Simon Elisha
Aws-What You Need to Know_Simon ElishaAws-What You Need to Know_Simon Elisha
Aws-What You Need to Know_Simon Elisha
 
AMAZON CLOUD Course Content
AMAZON CLOUD Course ContentAMAZON CLOUD Course Content
AMAZON CLOUD Course Content
 
4K Media Workflows on AWS
4K Media Workflows on AWS4K Media Workflows on AWS
4K Media Workflows on AWS
 

Mehr von Amazon Web Services

Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
Amazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
Amazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
Amazon Web Services
 

Mehr von Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 
Come costruire un'architettura Serverless nel Cloud AWS
Come costruire un'architettura Serverless nel Cloud AWSCome costruire un'architettura Serverless nel Cloud AWS
Come costruire un'architettura Serverless nel Cloud AWS
 

ARC302 AWS Cloud Design Patterns - AWS re: Invent 2012

  • 1.
  • 2. CDP
  • 3.
  • 4.
  • 5. CDP
  • 6. “This allows builders to create advanced models with simple parts”
  • 7. Example of “Cloud Design Pattern” Amazon Route 53 “Floating IP Pattern” Elastic IP EC2 EC2
  • 9.
  • 10. “Weighted Transition” Pattern Route 53 α% 100-α% Elastic Load ELB Balancing (ELB) Web/AP Web/AP Web/AP Web/AP Web/AP Web/AP EC2 EC2 DB DB EC2 EC2
  • 11. “Job Observer” Pattern CloudWatch Auto Scaling Put EC2 New SQS EC2 Get EC2
  • 12. Wanted to exchange servers with a shorter amount of down time • Solution (no AWS terminology) • Using IP address to exchange an existing server to a newly launched server Route 53 • Implementation (AWS terminology) • Using EIP to exchange an existing EC2 instance to a Elastic IP newly launched one • Diagram • Pros • Can exchange servers regardless of DNS TTL EC2 EC2 • Notes • Others
  • 13. Other Examples Cache Distribution Direct Hosting Cache Proxy Deep Health Check Multi Data Center Stamp
  • 14. Basic Static Contents Batch Processing Snapshot Web Storage Queuing Chain Stamp Direct Hosting Priority Queue Scale Up Private Distribution Job Observer On-Demand Disk Cache Distribution Scheduled Auto Scaling Rename Distribution Availability Maintenance Multi-Server Data Uploading Bootstrap Multi Data Center Write Proxy Cloud DI Floating IP Storage Index Stack Deployment Deep Health Check Direct Object Upload Server Swapping Monitoring Integration Scaling Relational Database Web Storage Archive Scale Out DB Replication Clone Server Read Replica Networking NFS Sharding In-Memory DB Cache On-Demand NAT NFS Replica Sharding Write Backnet State Sharing Functional Firewall URL Rewriting Operational Firewall Rewrite Proxy Multi Load Balancer Cache Proxy WAF Proxy Scheduled Scale Out CloudHub
  • 15. “Amazon Web Services CDP – Design Guidebook” http://www.amazon.co.jp/dp/4822211967/ “This was a test marketing in Japan, and it worked very well! Now we started translating this into English!”
  • 17.
  • 18. Example of Implementation Scenario • Content Distribution • Distribute static content to large number of users • E-Commerce • Implement fault-tolerance application • Campaign Site • Deal with unpredictable massive traffic • and others… • Streaming, batch processing, monitoring, VPC migration, etc.
  • 20.
  • 21. Environments Amazon Linux (64bit) Movable Type 5.12 (MTOS) Apache HTTP Server 2.2.21 MySQL 5.1.52 Perl 5.10.1 S3FS 1.61 21
  • 22. Initial Design Amazon www.clouddesignpattern.org Route 53 EIP Blog System EC2 Instance (t1.micro) 22
  • 24. Problem Need to distribute photos and videos in a cost-effective way offload Implementation Host heavy files by Amazon S3 Web (web hosting feature) and users S3 EC2 will download them from S3 directly
  • 25. Apply “Web Storage” Pattern data.clouddesignpattern.org www.clouddesignpattern.org EIP Download Link Blog Videos System S3 EC2 Instance (t1.micro) 25
  • 27. Problem Need to host website in a cost-effective way Implementation upload Web Use Amazon S3 website hosting feature. Dynamically upload EC2 updated contents from Amazon S3 EC2
  • 28. Apply “Direct Hosting” Pattern data.clouddesignpattern.org www.clouddesignpattern.org EIP Blog System 28
  • 29. Editor’s choice : No1 “Clouds” blog
  • 30. Apply “Cache Distribution” Pattern Blog contents www.clouddesignpattern.org www.clouddesignpattern.org.s3.amazonaws.com Videos/Images data.clouddesignpattern.org data.clouddesignpattern.org.s3.amazonaws.com Blog post Blog posting/ Search Management EIP mt.clouddesignpattern.org 30
  • 31. Web Storage Direct Hosting Cache Distribution
  • 33.
  • 34. Environments Amazon Linux (64bit) Apache HTTP Server 2.2.21 EC-Cube 2.11.3 PHP 5.3.8 MySQL 5.1.52 34
  • 35. Initial Design Amazon ec.clouddesignpattern.org Route 53 EIP EC System EC2 Instance (t1.micro) 35
  • 36.
  • 37. Apply “Floating IP” Amazon Route 53 ec.clouddesignpattern.org EIP ④change EIP EIP「46.51.xxx.xxx」 Prod Test ③Updating and testing EC2 EC2 ①Create AMI ②Launch Test environment EC2 AMI 37
  • 39. Apply “Server Swapping” EC2 EC2 Data Data AMI EBS EBS 39
  • 40.
  • 41. Apply “Multi-Server” ELB Original Duplicate EC2 EC2 DB Instance 41
  • 42. 42
  • 43. Apply “Multi-Server” ELB Original Duplicate EC2 EC2 DB Instance 43
  • 44.
  • 45.
  • 47.
  • 48.
  • 49. Apply “DB Replication” ELB Original Duplicate EC2 EC2 Sync AZ - 1a AZ – 1b 49
  • 51. Apply “Multi Data Center” ELB Original Duplicate EC2 EC2 Sync AZ - 1a AZ – 1b 51
  • 52. Server Swapping Multi Server DB replication Multi Data Center
  • 54.
  • 55. Environments Amazon Linux (32bit) Apache HTTP Server 2.2.21 MySQL 5.1.52 PHP 5.3.8 WordPress 3.3.1 55
  • 56. Initial Design • Small start • Stand-alone server configuration 56
  • 57.
  • 59. Apply “Scale Out” Pattern 59
  • 60.
  • 61. Apply “NFS Sharing” Pattern NFS 61
  • 62.
  • 64.
  • 65. Apply “URL Rewriting” Pattern • Off-load static contents to S3 • Rewrite the URLs by using mod_ext_filter 65
  • 66. http://aws.clouddesignpattern.org • https://www.facebook.com/awscdp http://www.amazon.co.jp/dp/4822211967/ • Created by ARCHITYP • http://www.archetyp.jp
  • 67. We are sincerely eager to hear your feedback on this presentation and on re:Invent. Please fill out an evaluation form when you have a chance.