Você está na página 1de 8

Applying Cloud Architecture Lessons

© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
A Classic Web Architecture
MyWebSite.com
Exterior Firewall Hardware
or Software Solution to open
standard Ports (80, 443)

Web Load Balancer


Hardware or Software solution
to distribute traffic over web LB
servers

Web Tier
Fleet of machines handling Web Web
HTTP requests.
Server Server
Backend Firewall Limits
access to application tier from
web tier

App Load Balancer LB


Hardware or Software solution to Backups on
spread traffic over app servers Tapes Periodic
backups stored on
App Server Tier Tapes usually
Fleet of machines handling App App App managed by 3rd
Application specific workloads Server Server server party at their site
Caching server machines can
be implemented at this layer

Data Tier
Database Server machines with Tapes
master and local running MySQL MySQL
separately, Network storage for Master (Slave)
Static objects

© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
A Scalable Web Architecture on AWS
www.mywebsite.com

Auto Scaling Group (Web Tier) Auto Scaling Group (Web Tier)
Legend
Web Server Web Server Web Server Web Server
EC2 Instance +
CloudWatch

Security
Group
Elastic Load
Balancer
SLB SLB Route 53 Hosted
Zone

CloudFront
Auto Scaling Group (App Tier) Auto Scaling Group (App Tier)

App Server App Server S3 Bucket


App Server App Server

Static Content RDS


Instance

Master Slave Slave

Backups

Availability Zone 1 Availability Zone 2


Availability Zone n
© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
A Scalable Web Architecture on AWS
Design for failure and nothing fails
www.mywebsite.com

Auto Scaling Group (Web Tier) Auto Scaling Group (Web Tier)
Legend
Web Server Web Server Web Server Web Server
EC2 Instance +
CloudWatch

Security
Group
Elastic Load
Balancer
SLB SLB Route 53 Hosted
Zone

CloudFront
Auto Scaling Group (App Tier) Auto Scaling Group (App Tier)

App Server App Server S3 Bucket


App Server App Server

Static Content RDS


Instance

Master Slave Slave

Backups

Availability Zone 1 Availability Zone 2


Availability Zone n
© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
A Scalable Web Architecture on AWS
Loose coupling sets you free
www.mywebsite.com

Auto Scaling Group (Web Tier) Auto Scaling Group (Web Tier)
Legend
Web Server Web Server Web Server Web Server
EC2 Instance +
CloudWatch

Security
Group
Elastic Load
Balancer
SLB SLB Route 53 Hosted
Zone

CloudFront
Auto Scaling Group (App Tier) Auto Scaling Group (App Tier)

App Server App Server S3 Bucket


App Server App Server

Static Content RDS


Instance

Master Slave Slave

Backups

Availability Zone 1 Availability Zone 2


Availability Zone n
© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
A Scalable Web Architecture on AWS
Implement elasticity
www.mywebsite.com

Auto Scaling Group (Web Tier) Auto Scaling Group (Web Tier)
Legend
Web Server Web Server Web Server Web Server
EC2 Instance +
CloudWatch

Security
Group
Elastic Load
Balancer
SLB SLB Route 53 Hosted
Zone

CloudFront
Auto Scaling Group (App Tier) Auto Scaling Group (App Tier)

App Server App Server S3 Bucket


App Server App Server

Static Content RDS


Instance

Master Slave Slave

Backups

Availability Zone 1 Availability Zone 2


Availability Zone n
© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
A Scalable Web Architecture on AWS
Build security in every layer
www.mywebsite.com

Auto Scaling Group (Web Tier) Auto Scaling Group (Web Tier)
Legend
Web Server Web Server Web Server Web Server
EC2 Instance +
CloudWatch

Security
Group
Elastic Load
Balancer
SLB SLB Route 53 Hosted
Zone

CloudFront
Auto Scaling Group (App Tier) Auto Scaling Group (App Tier)

App Server App Server S3 Bucket


App Server App Server

Static Content RDS


Instance

Master Slave Slave

Backups

Availability Zone 1 Availability Zone 2


Availability Zone n
© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
A Scalable Web Architecture on AWS
Leverage many storage options
www.mywebsite.com

Auto Scaling Group (Web Tier) Auto Scaling Group (Web Tier)
Legend
Web Server Web Server Web Server Web Server
EC2 Instance +
CloudWatch

Security
Group
Elastic Load
Balancer
SLB SLB Route 53 Hosted
Zone

CloudFront
Auto Scaling Group (App Tier) Auto Scaling Group (App Tier)

App Server App Server S3 Bucket


App Server App Server

Static Content RDS


Instance

Master Slave Slave

Backups

Availability Zone 1 Availability Zone 2


Availability Zone n
© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.

Você também pode gostar