AcademyCloudArchitecting Module 02
AcademyCloudArchitecting Module 02
Architecting
AWS Academy Cloud Architecting
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Module overview
Sections
1. What is cloud architecting?
2. The Amazon Web Services (AWS) Well-Architected
Framework
3. Best practices for building solutions on AWS
4. AWS global infrastructure
Knowledge check
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 2
Module objectives
At the end of this module, you should be able to:
• Define cloud architecture
• Describe how to design and evaluate architectures using the AWS Well-
Architected Framework
• Explain best practices for building solutions on AWS
• Describe how to make informed decisions on where to place AWS
resources
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 3
A large architecture
Region VPC
Public Private subnet Private subnet
subnet
Availability
Zone 2
Amazon
CloudFron
t NAT EC2 ElastiCach Amazon Amazon
gateway instances e for RDS EFS
Interne Memcache standby mount
t d instance target
gatewa Application Amazon Amazon
y EC2 Auto EFS
Load
Amazon Scaling
Balancer
Public Private subnet Private subnet
Route subnet
Availability
53
Zone 1
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserve
Architectural need
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 6
Origins of AWS
• According to AWS CEO Andy Jassy, at the time, Amazon
ecommerce tools were “a jumbled mess”
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 7
Problems persisted
• Amazon still struggled to build applications quickly.
• Each team built their own resources, with no planning for scalability or
re-usability.
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 10
Section 2: The AWS Well-
Architected Framework
Module 2: Introducing Cloud Architecture
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserve
Pillars of the AWS Well-Architected Framework
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 12
Security pillar
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 13
Operational Excellence pillar
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 14
Reliability pillar
• Recover quickly from infrastructure or service disruptions
• Misconfigurations
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 15
Performance Efficiency pillar
• Choose efficient resources and maintain their efficiency as
demand changes
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 16
Cost Optimization pillar
• Measure efficiency
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 17
Sustainability pillar
• Understand your impact
• Maximize utilization
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 19
• The AWS Well-Architected Framework
Section 2 key provides a consistent approach to evaluate
takeaways cloud architectures and guidance to help
implement designs
• The AWS Well-Architected Framework is
organized into six pillars
• Each pillar documents a set of foundational
questions that enable you to understand if a
specific architecture aligns well with cloud
best practices
• The AWS Well-Architected Tool helps you
review the state of your workloads and
compares them to the latest AWS
architectural best practices
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 20
Section 3: Best practices for
building solutions on AWS
Module 2: Introducing Cloud Architecting
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserve
Design tradeoffs
• Evaluate tradeoffs so you can select an optimal approach
• Examples of tradeoffs include:
• Trade consistency, durability, and space for time and latency to deliver
higher performance
• Prioritize speed to market of new features over cost
• Base design decisions on empirical data
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 22
1. Enable scalability (1 of 2)
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 23
1. Enable scalability (2 of 2)
Application
servers at
alarm threshold Best practice
Users never
experience a Amazon EC2
service Auto Scaling
interruption is alerted
New server is and scales
ready before out
capacity is
reached
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 24
2. Automate your environment
Anti-pattern Best
Web practice Web
servers servers
Elastic Load
Balancing
Applicatio Applicatio
n servers n servers
Web servers tightly
coupled to application Decoupled with a load
servers balancer
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 27
5. Design services, not servers
Anti-pattern Best
• Simple applications run on persistent
practice
• When appropriate, consider using containers
servers or a serverless solution
• Message queues handle communication
• Applications communicate directly with
between applications
one another
• Static web assets are stored externally, such
• Static web assets are stored locally on as on Amazon Simple Storage Service
instances (Amazon S3)
• Backend servers handle user • User authentication and user state storage
authentication and user state storage are handled by managed AWS services
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 28
6. Choose the right database solution
Things to consider:
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 29
7. Avoid single points of failure (1 of 2)
Assume everything
fails. Then, design Where possible, use
backward. redundancy to prevent single
points from bringing down an
entire system.
Anti-pattern
Best practice
Create a secondary
(standby) database
Replication server and replicate the
Database Database data.
server server
Applicatio (primary) (secondary
n servers )
Things to consider:
Things to consider:
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 34
• As you design solutions, evaluate tradeoffs
Section 3 key and base your decisions on empirical data
takeaways • Follow these best practices when building
solutions on AWS –
• Enable scalability
• Automate your environment
• Treat resources as disposable
• Use loosely-coupled components
• Design services, not servers
• Choose the right database solution
• Avoid single points of failure
• Optimize for cost
• Use caching
• Secure your entire infrastructure
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 35
Section 4: AWS global
infrastructure
Module 2: Introducing Cloud Architecting
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserve
AWS Regions
• An AWS Region is a geographical
area
• Each AWS Region consists of two or
more Availability Zones
• Communication between Regions
uses AWS backbone network
infrastructure
• You enable and control data
replication across Regions
Example: London Region
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 37
AWS Availability Zones
• Each Availability Zone is –
AWS Cloud
• Made up of one or more data centers
Region eu-west-1
• Designed for fault isolation Availability Zone eu-west-1a
• Interconnected with other Availability Data center
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 39
AWS data centers
• Data centers are where the data
resides and data processing occurs
• A data center typically has tens of
thousands of servers
• All data centers are online and
serving customers
• AWS custom network equipment –
• Is sourced from multiple ODMs
• Has a customized network protocol stack
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 40
AWS Points of Presence
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 41
Section 4 key • The AWS global infrastructure consists of
Regions, Availability Zones, and edge
takeaways locations
• Your choice of a Region is typically based
on compliance requirements or to reduce
latency
• Each Availability Zone is physically
separate from other Availability Zones
and has redundant power, networking,
and connectivity
• Edge locations and Regional edge caches
improve performance by caching content
closer to users
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 42
Module wrap-up
Module 2: Introducing Cloud Architecting
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserve
Module summary
In summary, in this module, you learned how to:
• Define cloud architecture
• Describe how to design and evaluate architectures using the AWS Well-
Architected Framework
• Explain best practices for building solutions on AWS
• Describe how to make informed decisions on where to place AWS
resources
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 45
Complete the knowledge check
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 46
Additional resources
• AWS Global Infrastructure page
• Interactive AWS Global Infrastructure map
• AWS Well-Architected Framework whitepaper
• Security Pillar whitepaper
• Operational Excellence Pillar whitepaper
• Reliability Pillar whitepaper
• Performance Efficiency Pillar whitepaper
• Cost Optimization Pillar whitepaper
• Sustainability Pillar whitepaper
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. 47
Thank you
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.