SlideShare uma empresa Scribd logo
1 de 48
Baixar para ler offline
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Eric Lam
Solutions Architect – AWS
June 2018
Architecting for The Cloud
- Best Practices
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Best Practice #1: Enable Scalability
Ensure that your architecture can
handle changes in demand.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Become Stateless
• Don’t store state in server
• Leverage services to hold
state information
• Application functions
regardless of which
application node processes
the request
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
#2: Use Disposable Resources
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Best Practice #3: Use Disposable Resources
Think of servers and other components
as temporary resources.
Job completed?
Shut the
instance down
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Availability Zone 2
RDS DB
instancestandby
(multi-AZ)
RDS DB
instance
Availability Zone 1
Elastic Load
Balancing
Elastic Load
Balancing
Auto-Scaled
EC2
Instances
Auto-Scaled
EC2
Instances
AMI, Tools &
Scripts
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Think Parallel
Hour 1 Hour 2 Hour 3 Hour 4
• One Server working for Four
hours costs the same as Four
servers working for One hour
• Combine with elasticity to
increase capacity when you
need it most
• The beauty of the cloud
shines when you combine
elasticity and parallelization
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Availability Zone 2
RDS DB
instancestandby
(multi-AZ)
RDS DB
instance
Availability Zone 1
Elastic Load
Balancing
Elastic Load
Balancing
Auto-Scaled
EC2
Instances
Auto-Scaled
EC2
Instances
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Availability Zone 2
RDS DB
instancestandby
(multi-AZ)
RDS DB
instance
Availability Zone 1
Elastic Load
Balancing
Elastic Load
Balancing
Auto-Scaled
EC2
Instances
Auto-Scaled
EC2
Instances
AWS Region 1
AWS Region 2
AWS Region 3
AWS Region 4
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
#3: Automate Your Environment
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Best Practice #2: Automate Your Environment
Removing manual processes to improve your
system's stability and consistency, and the
efficiency of your organization.
App
server
crashes
Replacement
automatically
launches
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
#4: Loosely Couple Your Components
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Best Practice #4: Loosely Couple Your Components
Reduce interdependencies so that the
change or failure of one component
does not affect other components.
Load balancer reduces
dependency between
instances
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Cloud Architecture Principles
Loose coupling sets you free
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Cloud Architecture Principles
Loose coupling sets you free
• Design architectures with
independent components
• Design every component as a
black box
• Load balance clusters
• Separate application into
independent tiers
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Cloud Architecture Principles
Loose coupling sets you free
• Use queues to pass
messages between
components
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
#5: Design Services, Not Servers
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Best Practice #5: Design Services, Not Servers
Managed services and serverless
architectures can provide greater reliability
and efficiency in your environment.
Amazon SQS
for message
queuing
AWS Lambda
for running simple
functions
Amazon SNS
for push notifications
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Simple Problem
Bucket with
photo uploaded
Bucket with
transformed
objects
• Monitor uploads
• Add watermark information
• Upload transformed photo into
bucket for wider team use
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Simple Problem
corporate data center
Proxy Servers
Monitor
Uploads
Upload
Photos
Process Servers
Enqueue
Processes
Solution:
Transform Objects
Development/Infrastructure Team:
• Infrastructure Planning
• Capacity
• Fault Tolerance
• Long-Term Utilization
• Burst Capacity
• 24/7 Monitoring:
• Capacity
• Health
• Security
• Etc.
• Over time:
• Upgrades and Migrations
• OS and Language Runtimes
Patched
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Why AWS Lambda?
AWS cloud
AWS
LambdaUpload
Photo
S3 bucket with
Raw Photo
Added Watermark
S3 bucket with
transformed Object
Put Event Transformed Photo
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
#6: Choose the Right Database Solutions
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Best Practice #6: Choose the Right Database
Solutions
Match the technology to the workload:
Choose from an array of relational database
engines, NoSQL solutions, data warehousing
options, and search-optimized data stores.
Amazon Elasticsearch
for Search
Amazon Kinesis
for Streaming Data
Amazon DynamoDB
for NoSQL
Amazon RDS
for Relational
Database
Amazon Redshift
for Data Warehousing
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Best Practice #6: Choose the Right Database
Solutions
• Don’t log clicks to RDBMS,
use NoSQL data store
• Don’t store images in
RDBMS, use object store
• Offload log files to scalable
object storage
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
#7: Removing Single Points of Failure
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Cloud Architecture Principles
“Everything fails, all the time.”
Werner Vogels, CTO, Amazon.com
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Best Practice #7: Avoid Single Points of Failure
Implement redundancy where possible so
that single failures don't bring down an
entire system.
App servers
If one instance goes down,
another is available
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Cloud Architecture Principles
App
Server
Database
Server
Goal: Applications should
continue to function even if the
underlying application component
fails, communication is lost or
physical hardware fails, is
removed/replaced.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Availability Zone 2
RDS DB
instancestandby
(multi-AZ)
RDS DB
instance
Availability Zone 1
Elastic Load
Balancing
Elastic Load
Balancing
RDS DB
instance
Auto-Scaled
EC2
Instances
Auto-Scaled
EC2
Instances
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Availability Zone 2
RDS DB
instancestandby
(multi-AZ)
RDS DB
instance
Availability Zone 1
Elastic Load
Balancing
Elastic Load
Balancing
Auto-Scaled
EC2
Instances
Auto-Scaled
EC2
Instances
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
#8: Optimize for Cost
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Best Practice #8: Optimize for Cost
Ensure that your resources are sized appropriately,
that they scale in and out based on need, and that
you're taking advantage of different pricing options.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Having decomposed into
small, loosely coupled,
stateless building blocks
You can now Scale out with ease
Having done that…
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Having decomposed into
small, loosely coupled,
stateless building blocks
We can also Scale back with ease
Having done that…
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Leveraging EC2’s Different Pricing Models
12am 6am 12pm 6pm 12am
Demand
Anticipated Weekday Demand
RI and On-Demand
Reserved Instances On-Demand Instances
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
12am 6am 12pm 6pm 12am
Demand
Anticipated Weekday Demand
RI, On-Demand, and Spot
Reserved Instances On-Demand Instances Spot Instances
Leveraging EC2’s Different Pricing Models
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon
Glacier
Lifecycle Policies
Amazon S3 lifecycle policies allow you to delete or move objects
based on age.
Amazon S3
Standard
Amazon S3
Standard -
Infrequent
Access
Delete
30 Days 60 Days 365 Days
Preview2.mp4 Preview2.mp4 Preview2.mp4
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
#9: Use Caching
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Best Practice #9: Use Caching
Use caching to minimize
redundant data retrieval
operations.
Amazon S3
bucket with data
Caching with
CloudFront
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Availability Zone 2
RDS DB
instancestandby
(multi-AZ)
RDS DB
instance
Availability Zone 1
Elastic Load
Balancing
Elastic Load
Balancing
Auto-Scaled
EC2
Instances
Auto-Scaled
EC2
Instances
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Availability Zone 2
RDS DB
instancestandby
(multi-AZ)
RDS DB
instance
Availability Zone 1
Elastic Load
Balancing
Elastic Load
Balancing
Auto-Scaled
EC2
Instances
Auto-Scaled
EC2
Instances
Amazon
CloudFront
S3 Bucket
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
#10: Secure Your Infrastructure Everywhere
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Best Practice #10: Secure Your Infrastructure
Everywhere
AWS enables you to implement
security both at the perimeter and
within/between your resources.
Security group
Security group
Security group
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Cloud Architecture Principles
Build Security into every layer
• Encrypt data in transit and
rest between application tiers
• Enforce principle of least
privilege across every service
• Automatically rotate security
keys frequently
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Cloud Architecture Principles
Build Security
into every layer
Route
Table
Route
Table
Subnet 10.1.1.0/24 Subnet 10.1.10.0/24
Internet
Gateway
Virtual
Private
Gateway
Virtual
Router
VPC 10.1.0.0/16
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Availability Zone 2
RDS DB
instancestandby
(multi-AZ)
RDS DB
instance
Availability Zone 1
Elastic Load
Balancing
Elastic Load
Balancing
Auto-Scaled
EC2
Instances
Auto-Scaled
EC2
Instances
Amazon
CloudFront
AWS WAF
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Architecting for the Cloud: AWS Best Practices
1. Enable Scalability
2. Use Disposable Resources
3. Automate Your Environment
4. Loosely Couple Your Components
5. Design Services, Not Servers
6. Choose the Right Database Solutions
7. Avoid Single Points of Failure
8. Optimize for Cost
9. Use Caching
10. Secure Your Infrastructure Everywhere
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Thank You

Mais conteúdo relacionado

Mais procurados

ServiceNow Overview
ServiceNow OverviewServiceNow Overview
ServiceNow OverviewJeremy Smith
 
Modeling TOGAF with ArchiMate
Modeling TOGAF with ArchiMateModeling TOGAF with ArchiMate
Modeling TOGAF with ArchiMateIver Band
 
Building an Effective Data Warehouse Architecture
Building an Effective Data Warehouse ArchitectureBuilding an Effective Data Warehouse Architecture
Building an Effective Data Warehouse ArchitectureJames Serra
 
Understanding and Applying The Open Group Architecture Framework (TOGAF)
Understanding and Applying The Open Group Architecture Framework (TOGAF)Understanding and Applying The Open Group Architecture Framework (TOGAF)
Understanding and Applying The Open Group Architecture Framework (TOGAF)Nathaniel Palmer
 
Value analysis with Value Stream and Capability modeling
Value analysis with Value Stream and Capability modelingValue analysis with Value Stream and Capability modeling
Value analysis with Value Stream and Capability modelingCOMPETENSIS
 
The Ideal Approach to Application Modernization; Which Way to the Cloud?
The Ideal Approach to Application Modernization; Which Way to the Cloud?The Ideal Approach to Application Modernization; Which Way to the Cloud?
The Ideal Approach to Application Modernization; Which Way to the Cloud?Codit
 
A Roadmap to Cloud Center of Excellence Adoption
A Roadmap to Cloud Center of Excellence AdoptionA Roadmap to Cloud Center of Excellence Adoption
A Roadmap to Cloud Center of Excellence AdoptionAmazon Web Services
 
Why Solutions Fail and the Business Value of Solution Architecture
Why Solutions Fail and the Business Value of Solution ArchitectureWhy Solutions Fail and the Business Value of Solution Architecture
Why Solutions Fail and the Business Value of Solution ArchitectureAlan McSweeney
 
Lecture about "Enterprise Architecture @ ING" given at Solvay Brussels School...
Lecture about "Enterprise Architecture @ ING" given at Solvay Brussels School...Lecture about "Enterprise Architecture @ ING" given at Solvay Brussels School...
Lecture about "Enterprise Architecture @ ING" given at Solvay Brussels School...Alain Heremans
 
Cloud architecture with the ArchiMate Language
Cloud architecture with the ArchiMate LanguageCloud architecture with the ArchiMate Language
Cloud architecture with the ArchiMate LanguageIver Band
 
Migrating to the SAP Cloud
Migrating to the SAP Cloud Migrating to the SAP Cloud
Migrating to the SAP Cloud Capgemini
 
Introduction to Enterprise architecture and the steps to perform an Enterpris...
Introduction to Enterprise architecture and the steps to perform an Enterpris...Introduction to Enterprise architecture and the steps to perform an Enterpris...
Introduction to Enterprise architecture and the steps to perform an Enterpris...Prashanth Panduranga
 
ServiceNow ITSM Overview
ServiceNow ITSM OverviewServiceNow ITSM Overview
ServiceNow ITSM OverviewJade Global
 

Mais procurados (20)

ServiceNow Overview
ServiceNow OverviewServiceNow Overview
ServiceNow Overview
 
Cloud Migration: A How-To Guide
Cloud Migration: A How-To GuideCloud Migration: A How-To Guide
Cloud Migration: A How-To Guide
 
Modeling TOGAF with ArchiMate
Modeling TOGAF with ArchiMateModeling TOGAF with ArchiMate
Modeling TOGAF with ArchiMate
 
Building an Effective Data Warehouse Architecture
Building an Effective Data Warehouse ArchitectureBuilding an Effective Data Warehouse Architecture
Building an Effective Data Warehouse Architecture
 
Understanding and Applying The Open Group Architecture Framework (TOGAF)
Understanding and Applying The Open Group Architecture Framework (TOGAF)Understanding and Applying The Open Group Architecture Framework (TOGAF)
Understanding and Applying The Open Group Architecture Framework (TOGAF)
 
Value analysis with Value Stream and Capability modeling
Value analysis with Value Stream and Capability modelingValue analysis with Value Stream and Capability modeling
Value analysis with Value Stream and Capability modeling
 
The Ideal Approach to Application Modernization; Which Way to the Cloud?
The Ideal Approach to Application Modernization; Which Way to the Cloud?The Ideal Approach to Application Modernization; Which Way to the Cloud?
The Ideal Approach to Application Modernization; Which Way to the Cloud?
 
A Roadmap to Cloud Center of Excellence Adoption
A Roadmap to Cloud Center of Excellence AdoptionA Roadmap to Cloud Center of Excellence Adoption
A Roadmap to Cloud Center of Excellence Adoption
 
Why Solutions Fail and the Business Value of Solution Architecture
Why Solutions Fail and the Business Value of Solution ArchitectureWhy Solutions Fail and the Business Value of Solution Architecture
Why Solutions Fail and the Business Value of Solution Architecture
 
Sharepoint overview
Sharepoint overviewSharepoint overview
Sharepoint overview
 
Lecture about "Enterprise Architecture @ ING" given at Solvay Brussels School...
Lecture about "Enterprise Architecture @ ING" given at Solvay Brussels School...Lecture about "Enterprise Architecture @ ING" given at Solvay Brussels School...
Lecture about "Enterprise Architecture @ ING" given at Solvay Brussels School...
 
ITIL Foundation ITIL 4 Edition
ITIL Foundation ITIL 4 EditionITIL Foundation ITIL 4 Edition
ITIL Foundation ITIL 4 Edition
 
Cloud architecture with the ArchiMate Language
Cloud architecture with the ArchiMate LanguageCloud architecture with the ArchiMate Language
Cloud architecture with the ArchiMate Language
 
Solution Architecture
Solution ArchitectureSolution Architecture
Solution Architecture
 
Migration Planning
Migration PlanningMigration Planning
Migration Planning
 
Migrating to the SAP Cloud
Migrating to the SAP Cloud Migrating to the SAP Cloud
Migrating to the SAP Cloud
 
Introduction to Enterprise architecture and the steps to perform an Enterpris...
Introduction to Enterprise architecture and the steps to perform an Enterpris...Introduction to Enterprise architecture and the steps to perform an Enterpris...
Introduction to Enterprise architecture and the steps to perform an Enterpris...
 
App Modernization
App ModernizationApp Modernization
App Modernization
 
ServiceNow ITSM Overview
ServiceNow ITSM OverviewServiceNow ITSM Overview
ServiceNow ITSM Overview
 
Archimate Meta Model
Archimate   Meta ModelArchimate   Meta Model
Archimate Meta Model
 

Semelhante a AWSome Day - Solutions Architecture Best Practices

AWS Lambda use cases and best practices - Builders Day Israel
AWS Lambda use cases and best practices - Builders Day IsraelAWS Lambda use cases and best practices - Builders Day Israel
AWS Lambda use cases and best practices - Builders Day IsraelAmazon Web Services
 
Scaling from zero to millions of users
Scaling from zero to millions of usersScaling from zero to millions of users
Scaling from zero to millions of usersAmazon Web Services
 
How UCSD Simplified Data Protection with Rubrik and AWS (STG207-S) - AWS re:I...
How UCSD Simplified Data Protection with Rubrik and AWS (STG207-S) - AWS re:I...How UCSD Simplified Data Protection with Rubrik and AWS (STG207-S) - AWS re:I...
How UCSD Simplified Data Protection with Rubrik and AWS (STG207-S) - AWS re:I...Amazon Web Services
 
Scaling Up to Your First 10 Million Users (ARC205-R1) - AWS re:Invent 2018
Scaling Up to Your First 10 Million Users (ARC205-R1) - AWS re:Invent 2018Scaling Up to Your First 10 Million Users (ARC205-R1) - AWS re:Invent 2018
Scaling Up to Your First 10 Million Users (ARC205-R1) - AWS re:Invent 2018Amazon Web Services
 
Running Lean Architectures: How to Optimize for Cost Efficiency (ARC202-R2) -...
Running Lean Architectures: How to Optimize for Cost Efficiency (ARC202-R2) -...Running Lean Architectures: How to Optimize for Cost Efficiency (ARC202-R2) -...
Running Lean Architectures: How to Optimize for Cost Efficiency (ARC202-R2) -...Amazon Web Services
 
Una introduzione alle differenti risorse computazionali disponibili con AWS
Una introduzione alle differenti risorse computazionali disponibili con AWSUna introduzione alle differenti risorse computazionali disponibili con AWS
Una introduzione alle differenti risorse computazionali disponibili con AWSAmazon Web Services
 
Deep Dive into AWS X-Ray: Monitor Modern Applications (DEV324) - AWS re:Inven...
Deep Dive into AWS X-Ray: Monitor Modern Applications (DEV324) - AWS re:Inven...Deep Dive into AWS X-Ray: Monitor Modern Applications (DEV324) - AWS re:Inven...
Deep Dive into AWS X-Ray: Monitor Modern Applications (DEV324) - AWS re:Inven...Amazon Web Services
 
How a Biotech Firm Streamlined Data Protection on AWS
 How a Biotech Firm Streamlined Data Protection on AWS How a Biotech Firm Streamlined Data Protection on AWS
How a Biotech Firm Streamlined Data Protection on AWSAmazon Web Services
 
Serverless Architectural Patterns and Best Practices
Serverless Architectural Patterns and Best PracticesServerless Architectural Patterns and Best Practices
Serverless Architectural Patterns and Best PracticesAmazon Web Services
 
Capacity Management Made Easy with Amazon EC2 Auto Scaling (CMP377) - AWS re:...
Capacity Management Made Easy with Amazon EC2 Auto Scaling (CMP377) - AWS re:...Capacity Management Made Easy with Amazon EC2 Auto Scaling (CMP377) - AWS re:...
Capacity Management Made Easy with Amazon EC2 Auto Scaling (CMP377) - AWS re:...Amazon Web Services
 
Back Up and Manage On-Premises and Cloud-Native Workloads with Rubrik on AWS ...
Back Up and Manage On-Premises and Cloud-Native Workloads with Rubrik on AWS ...Back Up and Manage On-Premises and Cloud-Native Workloads with Rubrik on AWS ...
Back Up and Manage On-Premises and Cloud-Native Workloads with Rubrik on AWS ...Amazon Web Services
 
The Serverless Tidal Wave - SwampUP 2018 Keynote
The Serverless Tidal Wave - SwampUP 2018 KeynoteThe Serverless Tidal Wave - SwampUP 2018 Keynote
The Serverless Tidal Wave - SwampUP 2018 KeynoteArun Gupta
 
Operational Excellence with Containerized Workloads Using AWS Fargate (CON320...
Operational Excellence with Containerized Workloads Using AWS Fargate (CON320...Operational Excellence with Containerized Workloads Using AWS Fargate (CON320...
Operational Excellence with Containerized Workloads Using AWS Fargate (CON320...Amazon Web Services
 
Set Up a CI/CD Pipeline for Deploying Containers Using the AWS Developer Tool...
Set Up a CI/CD Pipeline for Deploying Containers Using the AWS Developer Tool...Set Up a CI/CD Pipeline for Deploying Containers Using the AWS Developer Tool...
Set Up a CI/CD Pipeline for Deploying Containers Using the AWS Developer Tool...Amazon Web Services
 
Come scalare da zero ai tuoi primi 10 milioni di utenti.pdf
Come scalare da zero ai tuoi primi 10 milioni di utenti.pdfCome scalare da zero ai tuoi primi 10 milioni di utenti.pdf
Come scalare da zero ai tuoi primi 10 milioni di utenti.pdfAmazon Web Services
 
How Different Large Organizations are Approaching Cloud Adoption
How Different Large Organizations are Approaching Cloud AdoptionHow Different Large Organizations are Approaching Cloud Adoption
How Different Large Organizations are Approaching Cloud AdoptionAmazon Web Services
 
Česko-Slovenský AWS Webinář 07 - Optimalizace nákladů v AWS
Česko-Slovenský AWS Webinář 07 - Optimalizace nákladů v AWSČesko-Slovenský AWS Webinář 07 - Optimalizace nákladů v AWS
Česko-Slovenský AWS Webinář 07 - Optimalizace nákladů v AWSVladimir Simek
 
Application Modernization using the Strangler Pattern
Application Modernization using the Strangler PatternApplication Modernization using the Strangler Pattern
Application Modernization using the Strangler PatternTom Laszewski
 
11p_what_is_cloud_computing.pptx
11p_what_is_cloud_computing.pptx11p_what_is_cloud_computing.pptx
11p_what_is_cloud_computing.pptxssuser53e623
 
Building a Hybrid Architecture: Enterprise Backup & Recovery (ENT212-S) - AWS...
Building a Hybrid Architecture: Enterprise Backup & Recovery (ENT212-S) - AWS...Building a Hybrid Architecture: Enterprise Backup & Recovery (ENT212-S) - AWS...
Building a Hybrid Architecture: Enterprise Backup & Recovery (ENT212-S) - AWS...Amazon Web Services
 

Semelhante a AWSome Day - Solutions Architecture Best Practices (20)

AWS Lambda use cases and best practices - Builders Day Israel
AWS Lambda use cases and best practices - Builders Day IsraelAWS Lambda use cases and best practices - Builders Day Israel
AWS Lambda use cases and best practices - Builders Day Israel
 
Scaling from zero to millions of users
Scaling from zero to millions of usersScaling from zero to millions of users
Scaling from zero to millions of users
 
How UCSD Simplified Data Protection with Rubrik and AWS (STG207-S) - AWS re:I...
How UCSD Simplified Data Protection with Rubrik and AWS (STG207-S) - AWS re:I...How UCSD Simplified Data Protection with Rubrik and AWS (STG207-S) - AWS re:I...
How UCSD Simplified Data Protection with Rubrik and AWS (STG207-S) - AWS re:I...
 
Scaling Up to Your First 10 Million Users (ARC205-R1) - AWS re:Invent 2018
Scaling Up to Your First 10 Million Users (ARC205-R1) - AWS re:Invent 2018Scaling Up to Your First 10 Million Users (ARC205-R1) - AWS re:Invent 2018
Scaling Up to Your First 10 Million Users (ARC205-R1) - AWS re:Invent 2018
 
Running Lean Architectures: How to Optimize for Cost Efficiency (ARC202-R2) -...
Running Lean Architectures: How to Optimize for Cost Efficiency (ARC202-R2) -...Running Lean Architectures: How to Optimize for Cost Efficiency (ARC202-R2) -...
Running Lean Architectures: How to Optimize for Cost Efficiency (ARC202-R2) -...
 
Una introduzione alle differenti risorse computazionali disponibili con AWS
Una introduzione alle differenti risorse computazionali disponibili con AWSUna introduzione alle differenti risorse computazionali disponibili con AWS
Una introduzione alle differenti risorse computazionali disponibili con AWS
 
Deep Dive into AWS X-Ray: Monitor Modern Applications (DEV324) - AWS re:Inven...
Deep Dive into AWS X-Ray: Monitor Modern Applications (DEV324) - AWS re:Inven...Deep Dive into AWS X-Ray: Monitor Modern Applications (DEV324) - AWS re:Inven...
Deep Dive into AWS X-Ray: Monitor Modern Applications (DEV324) - AWS re:Inven...
 
How a Biotech Firm Streamlined Data Protection on AWS
 How a Biotech Firm Streamlined Data Protection on AWS How a Biotech Firm Streamlined Data Protection on AWS
How a Biotech Firm Streamlined Data Protection on AWS
 
Serverless Architectural Patterns and Best Practices
Serverless Architectural Patterns and Best PracticesServerless Architectural Patterns and Best Practices
Serverless Architectural Patterns and Best Practices
 
Capacity Management Made Easy with Amazon EC2 Auto Scaling (CMP377) - AWS re:...
Capacity Management Made Easy with Amazon EC2 Auto Scaling (CMP377) - AWS re:...Capacity Management Made Easy with Amazon EC2 Auto Scaling (CMP377) - AWS re:...
Capacity Management Made Easy with Amazon EC2 Auto Scaling (CMP377) - AWS re:...
 
Back Up and Manage On-Premises and Cloud-Native Workloads with Rubrik on AWS ...
Back Up and Manage On-Premises and Cloud-Native Workloads with Rubrik on AWS ...Back Up and Manage On-Premises and Cloud-Native Workloads with Rubrik on AWS ...
Back Up and Manage On-Premises and Cloud-Native Workloads with Rubrik on AWS ...
 
The Serverless Tidal Wave - SwampUP 2018 Keynote
The Serverless Tidal Wave - SwampUP 2018 KeynoteThe Serverless Tidal Wave - SwampUP 2018 Keynote
The Serverless Tidal Wave - SwampUP 2018 Keynote
 
Operational Excellence with Containerized Workloads Using AWS Fargate (CON320...
Operational Excellence with Containerized Workloads Using AWS Fargate (CON320...Operational Excellence with Containerized Workloads Using AWS Fargate (CON320...
Operational Excellence with Containerized Workloads Using AWS Fargate (CON320...
 
Set Up a CI/CD Pipeline for Deploying Containers Using the AWS Developer Tool...
Set Up a CI/CD Pipeline for Deploying Containers Using the AWS Developer Tool...Set Up a CI/CD Pipeline for Deploying Containers Using the AWS Developer Tool...
Set Up a CI/CD Pipeline for Deploying Containers Using the AWS Developer Tool...
 
Come scalare da zero ai tuoi primi 10 milioni di utenti.pdf
Come scalare da zero ai tuoi primi 10 milioni di utenti.pdfCome scalare da zero ai tuoi primi 10 milioni di utenti.pdf
Come scalare da zero ai tuoi primi 10 milioni di utenti.pdf
 
How Different Large Organizations are Approaching Cloud Adoption
How Different Large Organizations are Approaching Cloud AdoptionHow Different Large Organizations are Approaching Cloud Adoption
How Different Large Organizations are Approaching Cloud Adoption
 
Česko-Slovenský AWS Webinář 07 - Optimalizace nákladů v AWS
Česko-Slovenský AWS Webinář 07 - Optimalizace nákladů v AWSČesko-Slovenský AWS Webinář 07 - Optimalizace nákladů v AWS
Česko-Slovenský AWS Webinář 07 - Optimalizace nákladů v AWS
 
Application Modernization using the Strangler Pattern
Application Modernization using the Strangler PatternApplication Modernization using the Strangler Pattern
Application Modernization using the Strangler Pattern
 
11p_what_is_cloud_computing.pptx
11p_what_is_cloud_computing.pptx11p_what_is_cloud_computing.pptx
11p_what_is_cloud_computing.pptx
 
Building a Hybrid Architecture: Enterprise Backup & Recovery (ENT212-S) - AWS...
Building a Hybrid Architecture: Enterprise Backup & Recovery (ENT212-S) - AWS...Building a Hybrid Architecture: Enterprise Backup & Recovery (ENT212-S) - AWS...
Building a Hybrid Architecture: Enterprise Backup & Recovery (ENT212-S) - AWS...
 

Mais de Amazon Web Services

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...Amazon Web Services
 
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...Amazon Web Services
 
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 FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
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 Amazon Web Services
 
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...Amazon Web Services
 
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...Amazon Web Services
 
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 WorkloadsAmazon Web Services
 
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 sfatareAmazon Web Services
 
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 NodeJSAmazon Web Services
 
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 webAmazon Web Services
 
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 sfatareAmazon 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 AWSAmazon 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 DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon 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
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 

Mais de 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
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
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
 

AWSome Day - Solutions Architecture Best Practices

  • 1. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Eric Lam Solutions Architect – AWS June 2018 Architecting for The Cloud - Best Practices
  • 2. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Best Practice #1: Enable Scalability Ensure that your architecture can handle changes in demand.
  • 3. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Become Stateless • Don’t store state in server • Leverage services to hold state information • Application functions regardless of which application node processes the request
  • 4. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. #2: Use Disposable Resources
  • 5. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Best Practice #3: Use Disposable Resources Think of servers and other components as temporary resources. Job completed? Shut the instance down
  • 6. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Availability Zone 2 RDS DB instancestandby (multi-AZ) RDS DB instance Availability Zone 1 Elastic Load Balancing Elastic Load Balancing Auto-Scaled EC2 Instances Auto-Scaled EC2 Instances AMI, Tools & Scripts
  • 7. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Think Parallel Hour 1 Hour 2 Hour 3 Hour 4 • One Server working for Four hours costs the same as Four servers working for One hour • Combine with elasticity to increase capacity when you need it most • The beauty of the cloud shines when you combine elasticity and parallelization
  • 8. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Availability Zone 2 RDS DB instancestandby (multi-AZ) RDS DB instance Availability Zone 1 Elastic Load Balancing Elastic Load Balancing Auto-Scaled EC2 Instances Auto-Scaled EC2 Instances
  • 9. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Availability Zone 2 RDS DB instancestandby (multi-AZ) RDS DB instance Availability Zone 1 Elastic Load Balancing Elastic Load Balancing Auto-Scaled EC2 Instances Auto-Scaled EC2 Instances AWS Region 1 AWS Region 2 AWS Region 3 AWS Region 4
  • 10. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. #3: Automate Your Environment
  • 11. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Best Practice #2: Automate Your Environment Removing manual processes to improve your system's stability and consistency, and the efficiency of your organization. App server crashes Replacement automatically launches
  • 12. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. #4: Loosely Couple Your Components
  • 13. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Best Practice #4: Loosely Couple Your Components Reduce interdependencies so that the change or failure of one component does not affect other components. Load balancer reduces dependency between instances
  • 14. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Cloud Architecture Principles Loose coupling sets you free
  • 15. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Cloud Architecture Principles Loose coupling sets you free • Design architectures with independent components • Design every component as a black box • Load balance clusters • Separate application into independent tiers
  • 16. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Cloud Architecture Principles Loose coupling sets you free • Use queues to pass messages between components
  • 17. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. #5: Design Services, Not Servers
  • 18. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Best Practice #5: Design Services, Not Servers Managed services and serverless architectures can provide greater reliability and efficiency in your environment. Amazon SQS for message queuing AWS Lambda for running simple functions Amazon SNS for push notifications
  • 19. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Simple Problem Bucket with photo uploaded Bucket with transformed objects • Monitor uploads • Add watermark information • Upload transformed photo into bucket for wider team use
  • 20. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Simple Problem corporate data center Proxy Servers Monitor Uploads Upload Photos Process Servers Enqueue Processes Solution: Transform Objects Development/Infrastructure Team: • Infrastructure Planning • Capacity • Fault Tolerance • Long-Term Utilization • Burst Capacity • 24/7 Monitoring: • Capacity • Health • Security • Etc. • Over time: • Upgrades and Migrations • OS and Language Runtimes Patched
  • 21. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Why AWS Lambda? AWS cloud AWS LambdaUpload Photo S3 bucket with Raw Photo Added Watermark S3 bucket with transformed Object Put Event Transformed Photo
  • 22. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. #6: Choose the Right Database Solutions
  • 23. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Best Practice #6: Choose the Right Database Solutions Match the technology to the workload: Choose from an array of relational database engines, NoSQL solutions, data warehousing options, and search-optimized data stores. Amazon Elasticsearch for Search Amazon Kinesis for Streaming Data Amazon DynamoDB for NoSQL Amazon RDS for Relational Database Amazon Redshift for Data Warehousing
  • 24. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Best Practice #6: Choose the Right Database Solutions • Don’t log clicks to RDBMS, use NoSQL data store • Don’t store images in RDBMS, use object store • Offload log files to scalable object storage
  • 25. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. #7: Removing Single Points of Failure
  • 26. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Cloud Architecture Principles “Everything fails, all the time.” Werner Vogels, CTO, Amazon.com
  • 27. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Best Practice #7: Avoid Single Points of Failure Implement redundancy where possible so that single failures don't bring down an entire system. App servers If one instance goes down, another is available
  • 28. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Cloud Architecture Principles App Server Database Server Goal: Applications should continue to function even if the underlying application component fails, communication is lost or physical hardware fails, is removed/replaced.
  • 29. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Availability Zone 2 RDS DB instancestandby (multi-AZ) RDS DB instance Availability Zone 1 Elastic Load Balancing Elastic Load Balancing RDS DB instance Auto-Scaled EC2 Instances Auto-Scaled EC2 Instances
  • 30. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Availability Zone 2 RDS DB instancestandby (multi-AZ) RDS DB instance Availability Zone 1 Elastic Load Balancing Elastic Load Balancing Auto-Scaled EC2 Instances Auto-Scaled EC2 Instances
  • 31. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. #8: Optimize for Cost
  • 32. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Best Practice #8: Optimize for Cost Ensure that your resources are sized appropriately, that they scale in and out based on need, and that you're taking advantage of different pricing options.
  • 33. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Having decomposed into small, loosely coupled, stateless building blocks You can now Scale out with ease Having done that…
  • 34. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Having decomposed into small, loosely coupled, stateless building blocks We can also Scale back with ease Having done that…
  • 35. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Leveraging EC2’s Different Pricing Models 12am 6am 12pm 6pm 12am Demand Anticipated Weekday Demand RI and On-Demand Reserved Instances On-Demand Instances
  • 36. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 12am 6am 12pm 6pm 12am Demand Anticipated Weekday Demand RI, On-Demand, and Spot Reserved Instances On-Demand Instances Spot Instances Leveraging EC2’s Different Pricing Models
  • 37. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Glacier Lifecycle Policies Amazon S3 lifecycle policies allow you to delete or move objects based on age. Amazon S3 Standard Amazon S3 Standard - Infrequent Access Delete 30 Days 60 Days 365 Days Preview2.mp4 Preview2.mp4 Preview2.mp4
  • 38. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. #9: Use Caching
  • 39. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Best Practice #9: Use Caching Use caching to minimize redundant data retrieval operations. Amazon S3 bucket with data Caching with CloudFront
  • 40. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Availability Zone 2 RDS DB instancestandby (multi-AZ) RDS DB instance Availability Zone 1 Elastic Load Balancing Elastic Load Balancing Auto-Scaled EC2 Instances Auto-Scaled EC2 Instances
  • 41. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Availability Zone 2 RDS DB instancestandby (multi-AZ) RDS DB instance Availability Zone 1 Elastic Load Balancing Elastic Load Balancing Auto-Scaled EC2 Instances Auto-Scaled EC2 Instances Amazon CloudFront S3 Bucket
  • 42. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. #10: Secure Your Infrastructure Everywhere
  • 43. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Best Practice #10: Secure Your Infrastructure Everywhere AWS enables you to implement security both at the perimeter and within/between your resources. Security group Security group Security group
  • 44. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Cloud Architecture Principles Build Security into every layer • Encrypt data in transit and rest between application tiers • Enforce principle of least privilege across every service • Automatically rotate security keys frequently
  • 45. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Cloud Architecture Principles Build Security into every layer Route Table Route Table Subnet 10.1.1.0/24 Subnet 10.1.10.0/24 Internet Gateway Virtual Private Gateway Virtual Router VPC 10.1.0.0/16
  • 46. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Availability Zone 2 RDS DB instancestandby (multi-AZ) RDS DB instance Availability Zone 1 Elastic Load Balancing Elastic Load Balancing Auto-Scaled EC2 Instances Auto-Scaled EC2 Instances Amazon CloudFront AWS WAF
  • 47. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Architecting for the Cloud: AWS Best Practices 1. Enable Scalability 2. Use Disposable Resources 3. Automate Your Environment 4. Loosely Couple Your Components 5. Design Services, Not Servers 6. Choose the Right Database Solutions 7. Avoid Single Points of Failure 8. Optimize for Cost 9. Use Caching 10. Secure Your Infrastructure Everywhere
  • 48. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Thank You