SlideShare a Scribd company logo
1 of 61
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Module 3:
Building in the cloud
Patrick Do
Technical Trainer
AWS
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Go beyond servers and storage
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Migration and reinvention
Project
Foundation
Cloud-Native Retire
tech
debt
Reinvention
Time
Value
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Instance store
(ephemeral)
Improving your initial project
EC2
Web application EBS volume
(database files)
AWS Cloud
Instance challenges:
• Performance
• Scalability
• Utilization
Database challenges:
• Infrastructure management
• Patching
• Scalability
Internet
gateway
Management challenges:
• Monitoring
• Planning for failures
• Deployment
S3 bucket
(static content)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Monitor AWS resources
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What is Amazon CloudWatch?
• Monitors:
• AWS resources
• Applications running on AWS
• Collects and tracks:
• Standard metrics
• Custom metrics
• Alarms:
• Send notifications
• Automatically make changes
based on rules you define
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How CloudWatch works
CloudWatch
Available
statistics
Statistics
consumer
AWS Management
Console
CloudWatch metrics
CPUUtilization
StatusCheckFailed
CloudWatch
alarm
Supported
AWS resource
Custom
application-specific
metrics
PageViewCount
SNS email
notification
Amazon
EC2 Auto
Scaling
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Manage demand efficiently
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Why scaling matters
Su M T W Th F Sa
Demand Capacity
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Why scaling matters
Su M T W Th F Sa
Demand Capacity
Unused
Capacity
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Why scaling matters
Su M T W Th F Sa
Demand Capacity
Over
Capacity
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Why scaling matters
Amazon EC2 Auto Scaling
adjusts capacity as needed
• Scale out for spikes
• Scale in during off-peak
• Replace unhealthy instances
• Pay only for what you use
Su M T W Th F Sa
Demand Capacity
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Dynamic scaling with Amazon EC2 Auto Scaling
• Select a load metric for
your application
• Set as conditional and/or
scheduled
• Use with CloudWatch,
optionally
instance
instance
instanceinstance
instance instance
Follow the demand curve for your applications
Max 10
Min 2
Desired 6
Amazon EC2 Auto Scaling group
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Dynamic scaling with Amazon EC2 Auto Scaling
• Select a load metric for
your application
• Set as conditional and/or
scheduled
• Use with CloudWatch,
optionally
instance
instance
instanceinstance
instance instance
instance instance
instance instance
High Demand
Max 10
Min 2
Desired 6
Max 10
Min 2
Desired 10
Amazon EC2 Auto Scaling group
Follow the demand curve for your applications
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Dynamic scaling with Amazon EC2 Auto Scaling
• Select a load metric for
your application
• Set as conditional and/or
scheduled
• Use with CloudWatch,
optionally
instance
instance
Low Demand
Max 10
Min 2
Desired 6
Max 10
Min 2
Desired 10
Max 10
Min 2
Desired 2
Amazon EC2 Auto Scaling group
Follow the demand curve for your applications
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Fleet management with Amazon EC2 Auto Scaling
• Monitor the health of
running instances
• Replace impaired
instances automatically
• Balance capacity across
Availability Zones
Instance
Instance
InstanceInstance
Instance Instance
Instance
Instance
Instance
Instance
Replace impaired Amazon EC2 instances without intervention
Max 10
Min 2
Desired 10
Amazon EC2 Auto Scaling group
AZ1
AZ2
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Fleet management with Amazon EC2 Auto Scaling
• Monitor the health of
running instances
• Replace impaired
instances automatically
• Balance capacity across
Availability Zones
Instance
Instance
InstanceInstance
Instance Instance
Instance
Instance
Instance
Instance
O
O
Max 10
Min 2
Desired 10
Amazon EC2 Auto Scaling group
AZ1
AZ2
Replace impaired Amazon EC2 instances without intervention
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Fleet management with Amazon EC2 Auto Scaling
• Monitor the health of
running instances
• Replace impaired
instances automatically
• Balance capacity across
Availability Zones
Instance
Instance
InstanceInstance
Instance Instance
Instance
Instance
Instance
Instance
P
P
Max 10
Min 2
Desired 10
Amazon EC2 Auto Scaling group
AZ1
AZ2
Replace impaired Amazon EC2 instances without intervention
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Elastic Load Balancing
High availability
Health checks
SSL/TLS termination
Operational monitoring
Automatically distribute traffic across multiple targets
Instance Instance Instance Instance Instance
Elastic Load
Balancing
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Application Load Balancer example
Application Load
Balancer
EC2 instance
/data
/api
/images
Application 1
Application 2
Application 3
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Network Load Balancer example
Network Load
Balancer
EC2
EC2
EC2
Streaming
Data
EC2
AutoScaling
5442
5442
5442
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Deploy database services
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
DIY vs. AWS database services
• Operating system access
• Need features of specific
application
• Easy to set up, manage, maintain
• Push-button high availability
• Focus on performance
• Managed infrastructure
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What is Amazon Relational Database Service?
A database service that makes it easy to set up,
operate, and scale a relational database in the cloud
Amazon RDS Engines • Easily scalable
• Automatic software patching
• Automated backups
• Database snapshots
• Multi-AZ deployments
• Automatic host replacement
• Encryption at rest and in transit
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What is Amazon Aurora?
• Enterprise-class relational database
• MySQL- or PostgreSQL-compatible
• Up to 5X faster than standard MySQL databases
• Up to 3X faster than standard PostgreSQL databases
• Continuous backup to Amazon S3
• Up to 15 low-latency read replicas
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Relational vs key-value databases
Relational (SQL) Key-value (NoSQL)
Data storage Rows and columns Key-value, document, graph
Schemas Fixed Dynamic
Querying Using SQL
Focused on collection of
documents
Scalability Vertical Horizontal
Example
ISBN Title Author Format
3111111223439
Withering
Depths
Tark,
Frank
Paperback
3122222223439 Wily Willy
Felton,
Maria
eBook
{
ISBN: 3111111223439,
Title: “Withering
Depths”,
Author: ”Tark, Frank”,
Format: “Paperback”
}
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
• Fully managed
• Low-latency queries
• Fine-grained access control
• Regional and global options
What is Amazon DynamoDB?
Fast and flexible NoSQL database service for any scale
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon DynamoDB use cases
• Serverless web applications
• Microservices data store
• Mobile backends
• Ad tech
• Gaming
• Internet of Things (IoT)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Other purpose-built database services
Amazon Redshift
Fast, scalable data
warehouse
Amazon
DocumentDB
MongoDB-compatible
database
Amazon Neptune
Graph database
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What is AWS Database Migration Service?
Migrate databases to AWS quickly and securely
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
The right tool for the right job
What are my requirements?
Enterprise class relational database
Amazon Relational
Database Service
(Amazon RDS)
Fast and flexible NoSQL database service for any scale Amazon DynamoDB
Operating system access or application features not
supported by AWS database services
Databases on EC2
Specific case-driven requirements (Machine learning,
data warehouse, graphs)
AWS purpose-built
database services
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Automate deployment
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What is AWS CloudFormation?
Model and provision all your cloud infrastructure resources
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS CloudFormation example
Template-file
(YAML/JSON)
----- -- -- --- -- -----
-- -- --- --
----- -- -- --- --
----- -- -- --- --
CloudFormation Designer
VPC (10.1.0.0/16)
Web
server
Security group
Internet
gateway
Public Subnet 1
(10.1.11.0/24)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Putting it all together (1 of 4)
AWS Cloud
Internet
gateway
Internet
S3 bucket
(static content)
EC2
Web
application
EBS volume
(database files)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Putting it all together (2 of 4)
AWS Cloud
Internet
gateway
Internet
S3 bucket
(static content)
EC2
Web
application Amazon RDS
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Putting it all together (3 of 4)
AWS Cloud
Internet
gateway
Internet
S3 bucket
(static content)
Amazon RDS
Elastic
Load
Balancing
Auto Scaling group
EC2 Instances
CloudWatch
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Putting it all together (4 of 4)
AWS Cloud
Internet
gateway
Internet
S3 bucket
(static content)
Amazon RDS
Elastic
Load
Balancing
Auto Scaling group
EC2 Instances
CloudWatch
AWS
CloudFormation
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How can I deploy without managing infrastructure?
• Upload your application code
• The service handles:
Resource provisioning
Load balancing
Automatic scaling
Monitoring
• Support applications that scale
to serve millions of users
Quickly deploy and manage applications with AWS Elastic Beanstalk
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Connect and share data
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Challenge: hybrid cloud
Amazon EC2 Auto Scaling
group
EC2 instances EBS volumes
AWS Cloud
Corporate data center
Clients
Internet
gateway
Network challenges:
• Performance
• Reliability
Storage challenges:
• Duplication of data onsite/offsite
• Too much network traffic
• Cost inefficient
Communications challenge:
• Cloud instances cannot
route to onsite servers
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What is AWS Direct Connect?
A dedicated network connection from your premises to AWS
Reduces network costs
Creates consistent network
performance
Provides private connectivity to your
Amazon VPC
Scales easily
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Direct Connect example
Other AWS Services
AWS Cloud
Corporate data center
VPC
Virtual private
gateway
Content
router/firewall
AWS Direct
Connect location
Customer
or partner
router
AWS
Direct
Connect
endpoint
EC2 instances
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What is Amazon Route 53?
A highly available and scalable Domain Name System (DNS) web service
Register domain names
Route internet traffic to the resources for your domain
Check the health of your resources
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Routing traffic
Amazon Route 53
https://sales.example.com
ELB
EC2 instances
ELBELB
VPC
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What is Amazon Elastic File System (Amazon EFS)?
A scalable, elastic, cloud-native file system for Linux
Dynamic elasticity
Scalable performance
Shared file storage
Fully managed
Cost-effective
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Putting it all together
Amazon EC2 Auto
Scaling group
EC2 instances
Amazon
EFS
AWS Cloud
Clients
Internet
gateway
Corporate data center
Virtual
private
gateway
AWS Direct Connect
Amazon Route 53
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Deliver content faster
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Challenge: Media streaming service
Transcode
video to
multiple
formats
Ingest
encoded
video
Catalog
video
metadata
Stream
video to
clients
The architecture must meet the following requirements:
Efficient, scalable
compute resources
Fast data
access
Low latency
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Lambda: Run code without servers
Set your code to trigger
from an event source
Pay only for the
compute time
you use
AWS
SERVICES
MOBILE APPS
HTTP
ENDPOINTS
Upload your code
to AWS
Lambda
Lambda runs your code
only when triggered
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Benefits of Lambda
Supports multiple programming languages
Completely automated administration
Built-in fault tolerance
Supports orchestration of multiple functions
Pay per use pricing
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Lambda example: create thumbnails
Source
bucket
Target
bucket
1
3
JSON
Access
policy
Lambda
function
User
5
Lambda
2
AWS Cloud
4
Execution
role
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What is Amazon Simple Notification Service (Amazon SNS)?
Fully managed pub/sub messaging for distributed or serverless applications
Reliably deliver messages with durability
Automatically scale your workload
Simplify your architecture
Keep messages private and secure
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon SNS overview
SNS topics
SubscribersPublisher Message filters
Amazon Simple Notification Service AWS Lambda
Message Queues
HTTP/S
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What is Amazon CloudFront?
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
A fast, secure, and global content delivery network (CDN)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How CloudFront delivers content to users
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
S3 bucket
Edge location
cache
www.example.com/content
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What is Amazon ElastiCache?
Fully managed Redis or Memcached-compatible in-memory data store
Extreme performance
Fully Managed
Scalable
Amazon ElastiCache for Redis
Versatile in-memory data store
Amazon ElastiCache for Memcached
Scalable caching tier for data-intensive apps
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Challenge: Media streaming service
AWS Cloud
Video
encoders
CloudFront Ingest
S3 bucket
SNS topic
HQ
480p
360p
Audio only
AWS Lambda transcoding functions
Playback
S3 bucket
Clients
DynamoDB
Lambda
Video metadata
CloudFront
Streaming
Stream
ElastiCache for
Redis
Search
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Key Takeaways
Amazon CloudWatch Have complete visibility of your cloud resources and applications
Elastic Load Balancing
Application Auto Scaling
Deploy highly available applications that scale with demand
AWS Database Services Run SQL or NoSQL databases without the management overhead
AWS CloudFormation Programmatically deploy repeatable infrastructure
AWS Elastic Beanstalk Deploy your application in the simplest way possible
AWS Direct Connect Provision a dedicated network connection from your premises to AWS
Amazon Route 53 Run a highly available and scalable Domain Name System (DNS) web service
AWS Lambda Run code without managing servers
Amazon CloudFront Deliver your content across a massively scaled and globally available network
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.

More Related Content

What's hot

Multi-Source, Multi-Speed Analytics on AWS Webinar
Multi-Source, Multi-Speed Analytics on AWS WebinarMulti-Source, Multi-Speed Analytics on AWS Webinar
Multi-Source, Multi-Speed Analytics on AWS WebinarAmazon Web Services
 
Building Data Lakes and Analytics on AWS
Building Data Lakes and Analytics on AWSBuilding Data Lakes and Analytics on AWS
Building Data Lakes and Analytics on AWSAmazon Web Services
 
AWSome Day Online Conference 2019 - Module 3 AWS Security.pdf
AWSome Day Online Conference 2019 - Module 3 AWS Security.pdfAWSome Day Online Conference 2019 - Module 3 AWS Security.pdf
AWSome Day Online Conference 2019 - Module 3 AWS Security.pdfAmazon Web Services
 
HK-AWS-Well-Architected-Workshop
HK-AWS-Well-Architected-WorkshopHK-AWS-Well-Architected-Workshop
HK-AWS-Well-Architected-WorkshopAmazon Web Services
 
AWS Purpose-Built Database Strategy: The Right Tool for The Right Job
AWS Purpose-Built Database Strategy: The Right Tool for The Right JobAWS Purpose-Built Database Strategy: The Right Tool for The Right Job
AWS Purpose-Built Database Strategy: The Right Tool for The Right JobAmazon Web Services
 
AWS Introduction & History - AWSome Day Philadelphia 2019
AWS Introduction & History - AWSome Day Philadelphia 2019AWS Introduction & History - AWSome Day Philadelphia 2019
AWS Introduction & History - AWSome Day Philadelphia 2019Amazon Web Services
 
Budget management with Cloud Economics | AWS Summit Tel Aviv 2019
Budget management with Cloud Economics | AWS Summit Tel Aviv 2019Budget management with Cloud Economics | AWS Summit Tel Aviv 2019
Budget management with Cloud Economics | AWS Summit Tel Aviv 2019Amazon Web Services
 
Control your cloud environment with AWS management tools
Control your cloud environment with AWS management toolsControl your cloud environment with AWS management tools
Control your cloud environment with AWS management toolsAmazon Web Services
 
AWSome Day Online 2020_Modul 3: Membangun di Cloud
AWSome Day Online 2020_Modul 3: Membangun di CloudAWSome Day Online 2020_Modul 3: Membangun di Cloud
AWSome Day Online 2020_Modul 3: Membangun di CloudAmazon Web Services
 
Module 1: Introduction to the AWS Cloud - AWSome Day Online Conference 2019
Module 1: Introduction to the AWS Cloud - AWSome Day Online Conference 2019Module 1: Introduction to the AWS Cloud - AWSome Day Online Conference 2019
Module 1: Introduction to the AWS Cloud - AWSome Day Online Conference 2019Amazon Web Services
 
Operationalizing Microsoft Workloads, AWS Federal Pop-Up Loft
Operationalizing Microsoft Workloads, AWS Federal Pop-Up LoftOperationalizing Microsoft Workloads, AWS Federal Pop-Up Loft
Operationalizing Microsoft Workloads, AWS Federal Pop-Up LoftAmazon Web Services
 
打造雲通路加速新零售轉型.pdf
打造雲通路加速新零售轉型.pdf打造雲通路加速新零售轉型.pdf
打造雲通路加速新零售轉型.pdfAmazon Web Services
 
Building a Better Business Case for Migrating to Cloud
Building a Better Business Case for Migrating to CloudBuilding a Better Business Case for Migrating to Cloud
Building a Better Business Case for Migrating to CloudAmazon Web Services
 
AWSome Day Online 2020_โมดูล 1: แนะนำเบื้องต้นเกี่ยวกับ AWS Cloud
AWSome Day Online 2020_โมดูล 1: แนะนำเบื้องต้นเกี่ยวกับ AWS CloudAWSome Day Online 2020_โมดูล 1: แนะนำเบื้องต้นเกี่ยวกับ AWS Cloud
AWSome Day Online 2020_โมดูล 1: แนะนำเบื้องต้นเกี่ยวกับ AWS CloudAmazon Web Services
 
A Practitioner Guide to Securing Your Cloud (Like an Expert)
A Practitioner Guide to Securing Your Cloud (Like an Expert)A Practitioner Guide to Securing Your Cloud (Like an Expert)
A Practitioner Guide to Securing Your Cloud (Like an Expert)Amazon Web Services
 
Drive Digital Transformation Using AI
Drive Digital Transformation Using AIDrive Digital Transformation Using AI
Drive Digital Transformation Using AIAmazon Web Services
 

What's hot (20)

Multi-Source, Multi-Speed Analytics on AWS Webinar
Multi-Source, Multi-Speed Analytics on AWS WebinarMulti-Source, Multi-Speed Analytics on AWS Webinar
Multi-Source, Multi-Speed Analytics on AWS Webinar
 
Building Data Lakes and Analytics on AWS
Building Data Lakes and Analytics on AWSBuilding Data Lakes and Analytics on AWS
Building Data Lakes and Analytics on AWS
 
AWSome Day Online Conference 2019 - Module 3 AWS Security.pdf
AWSome Day Online Conference 2019 - Module 3 AWS Security.pdfAWSome Day Online Conference 2019 - Module 3 AWS Security.pdf
AWSome Day Online Conference 2019 - Module 3 AWS Security.pdf
 
AWS Loves Startups
AWS Loves StartupsAWS Loves Startups
AWS Loves Startups
 
HK-AWS-Well-Architected-Workshop
HK-AWS-Well-Architected-WorkshopHK-AWS-Well-Architected-Workshop
HK-AWS-Well-Architected-Workshop
 
AWS Purpose-Built Database Strategy: The Right Tool for The Right Job
AWS Purpose-Built Database Strategy: The Right Tool for The Right JobAWS Purpose-Built Database Strategy: The Right Tool for The Right Job
AWS Purpose-Built Database Strategy: The Right Tool for The Right Job
 
AWS Introduction & History - AWSome Day Philadelphia 2019
AWS Introduction & History - AWSome Day Philadelphia 2019AWS Introduction & History - AWSome Day Philadelphia 2019
AWS Introduction & History - AWSome Day Philadelphia 2019
 
Budget management with Cloud Economics | AWS Summit Tel Aviv 2019
Budget management with Cloud Economics | AWS Summit Tel Aviv 2019Budget management with Cloud Economics | AWS Summit Tel Aviv 2019
Budget management with Cloud Economics | AWS Summit Tel Aviv 2019
 
Control your cloud environment with AWS management tools
Control your cloud environment with AWS management toolsControl your cloud environment with AWS management tools
Control your cloud environment with AWS management tools
 
AWSome Day Online 2020_Modul 3: Membangun di Cloud
AWSome Day Online 2020_Modul 3: Membangun di CloudAWSome Day Online 2020_Modul 3: Membangun di Cloud
AWSome Day Online 2020_Modul 3: Membangun di Cloud
 
Module 1: Introduction to the AWS Cloud - AWSome Day Online Conference 2019
Module 1: Introduction to the AWS Cloud - AWSome Day Online Conference 2019Module 1: Introduction to the AWS Cloud - AWSome Day Online Conference 2019
Module 1: Introduction to the AWS Cloud - AWSome Day Online Conference 2019
 
Big data johnson_public
Big data johnson_publicBig data johnson_public
Big data johnson_public
 
Cloud Economics
Cloud EconomicsCloud Economics
Cloud Economics
 
Operationalizing Microsoft Workloads, AWS Federal Pop-Up Loft
Operationalizing Microsoft Workloads, AWS Federal Pop-Up LoftOperationalizing Microsoft Workloads, AWS Federal Pop-Up Loft
Operationalizing Microsoft Workloads, AWS Federal Pop-Up Loft
 
打造雲通路加速新零售轉型.pdf
打造雲通路加速新零售轉型.pdf打造雲通路加速新零售轉型.pdf
打造雲通路加速新零售轉型.pdf
 
Building a Better Business Case for Migrating to Cloud
Building a Better Business Case for Migrating to CloudBuilding a Better Business Case for Migrating to Cloud
Building a Better Business Case for Migrating to Cloud
 
AWS & Cloud Foundations
AWS & Cloud FoundationsAWS & Cloud Foundations
AWS & Cloud Foundations
 
AWSome Day Online 2020_โมดูล 1: แนะนำเบื้องต้นเกี่ยวกับ AWS Cloud
AWSome Day Online 2020_โมดูล 1: แนะนำเบื้องต้นเกี่ยวกับ AWS CloudAWSome Day Online 2020_โมดูล 1: แนะนำเบื้องต้นเกี่ยวกับ AWS Cloud
AWSome Day Online 2020_โมดูล 1: แนะนำเบื้องต้นเกี่ยวกับ AWS Cloud
 
A Practitioner Guide to Securing Your Cloud (Like an Expert)
A Practitioner Guide to Securing Your Cloud (Like an Expert)A Practitioner Guide to Securing Your Cloud (Like an Expert)
A Practitioner Guide to Securing Your Cloud (Like an Expert)
 
Drive Digital Transformation Using AI
Drive Digital Transformation Using AIDrive Digital Transformation Using AI
Drive Digital Transformation Using AI
 

Similar to Module 3: Building in the cloud - AWSome Day Online Conference 2019

AWSome Day Online 2020_Module 3: Building in the cloud
AWSome Day Online 2020_Module 3: Building in the cloudAWSome Day Online 2020_Module 3: Building in the cloud
AWSome Day Online 2020_Module 3: Building in the cloudAmazon Web Services
 
AWSome Day Online 2020_โมดูล 3: การวางระบบบน AWS Cloud
AWSome Day Online 2020_โมดูล 3: การวางระบบบน AWS CloudAWSome Day Online 2020_โมดูล 3: การวางระบบบน AWS Cloud
AWSome Day Online 2020_โมดูล 3: การวางระบบบน AWS CloudAmazon Web Services
 
Enterprise-Database-Migration-Strategies-and-Options-on-AWS
Enterprise-Database-Migration-Strategies-and-Options-on-AWSEnterprise-Database-Migration-Strategies-and-Options-on-AWS
Enterprise-Database-Migration-Strategies-and-Options-on-AWSAmazon Web Services
 
Design, Deploy, & Optimize SQL Server Workloads - SRV209 - Chicago AWS Summit
Design, Deploy, & Optimize SQL Server Workloads - SRV209 - Chicago AWS SummitDesign, Deploy, & Optimize SQL Server Workloads - SRV209 - Chicago AWS Summit
Design, Deploy, & Optimize SQL Server Workloads - SRV209 - Chicago AWS SummitAmazon Web Services
 
Design, Deploy, Optimize SQL Server Workloads on AWS - SRV209 - Anaheim AWS S...
Design, Deploy, Optimize SQL Server Workloads on AWS - SRV209 - Anaheim AWS S...Design, Deploy, Optimize SQL Server Workloads on AWS - SRV209 - Anaheim AWS S...
Design, Deploy, Optimize SQL Server Workloads on AWS - SRV209 - Anaheim AWS S...Amazon Web Services
 
Design, Deploy, & Optimize SQL Server Workloads
Design, Deploy, & Optimize SQL Server Workloads Design, Deploy, & Optimize SQL Server Workloads
Design, Deploy, & Optimize SQL Server Workloads Amazon Web Services
 
AWS SUMMIT TEL AVIV - 2018
AWS SUMMIT TEL AVIV - 2018AWS SUMMIT TEL AVIV - 2018
AWS SUMMIT TEL AVIV - 2018Ayaz Hussain
 
saa3_wk5.pdf
saa3_wk5.pdfsaa3_wk5.pdf
saa3_wk5.pdfMichgo1
 
Amazon Aurora, funzionalità e best practice per la migrazione di database su AWS
Amazon Aurora, funzionalità e best practice per la migrazione di database su AWSAmazon Aurora, funzionalità e best practice per la migrazione di database su AWS
Amazon Aurora, funzionalità e best practice per la migrazione di database su AWSAmazon Web Services
 
India cloudsummit Bangalore - Advanced Container Use-cases on AWS Container S...
India cloudsummit Bangalore - Advanced Container Use-cases on AWS Container S...India cloudsummit Bangalore - Advanced Container Use-cases on AWS Container S...
India cloudsummit Bangalore - Advanced Container Use-cases on AWS Container S...Mani Chandrasekaran
 
Best Practices for Migrating Oracle Databases to the Cloud - AWS Online Tech ...
Best Practices for Migrating Oracle Databases to the Cloud - AWS Online Tech ...Best Practices for Migrating Oracle Databases to the Cloud - AWS Online Tech ...
Best Practices for Migrating Oracle Databases to the Cloud - AWS Online Tech ...Amazon Web Services
 
AWSome Day - Solutions Architecture Best Practices
AWSome Day - Solutions Architecture Best PracticesAWSome Day - Solutions Architecture Best Practices
AWSome Day - Solutions Architecture Best PracticesAmazon Web Services
 
Running Amazon EKS Workloads on Amazon EC2 Spot Instances (CMP403-R1) - AWS r...
Running Amazon EKS Workloads on Amazon EC2 Spot Instances (CMP403-R1) - AWS r...Running Amazon EKS Workloads on Amazon EC2 Spot Instances (CMP403-R1) - AWS r...
Running Amazon EKS Workloads on Amazon EC2 Spot Instances (CMP403-R1) - AWS r...Amazon Web Services
 
Best-Practices-for-Running-Windows-Workloads-on-AWS
Best-Practices-for-Running-Windows-Workloads-on-AWSBest-Practices-for-Running-Windows-Workloads-on-AWS
Best-Practices-for-Running-Windows-Workloads-on-AWSAmazon Web Services
 
Architecting-for-the-cloud-Best-Practices
Architecting-for-the-cloud-Best-PracticesArchitecting-for-the-cloud-Best-Practices
Architecting-for-the-cloud-Best-PracticesAmazon 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
 

Similar to Module 3: Building in the cloud - AWSome Day Online Conference 2019 (20)

AWSome Day Online 2020_Module 3: Building in the cloud
AWSome Day Online 2020_Module 3: Building in the cloudAWSome Day Online 2020_Module 3: Building in the cloud
AWSome Day Online 2020_Module 3: Building in the cloud
 
AWSome Day Online 2020_โมดูล 3: การวางระบบบน AWS Cloud
AWSome Day Online 2020_โมดูล 3: การวางระบบบน AWS CloudAWSome Day Online 2020_โมดูล 3: การวางระบบบน AWS Cloud
AWSome Day Online 2020_โมดูล 3: การวางระบบบน AWS Cloud
 
Enterprise-Database-Migration-Strategies-and-Options-on-AWS
Enterprise-Database-Migration-Strategies-and-Options-on-AWSEnterprise-Database-Migration-Strategies-and-Options-on-AWS
Enterprise-Database-Migration-Strategies-and-Options-on-AWS
 
Design, Deploy, & Optimize SQL Server Workloads - SRV209 - Chicago AWS Summit
Design, Deploy, & Optimize SQL Server Workloads - SRV209 - Chicago AWS SummitDesign, Deploy, & Optimize SQL Server Workloads - SRV209 - Chicago AWS Summit
Design, Deploy, & Optimize SQL Server Workloads - SRV209 - Chicago AWS Summit
 
Design, Deploy, Optimize SQL Server Workloads on AWS - SRV209 - Anaheim AWS S...
Design, Deploy, Optimize SQL Server Workloads on AWS - SRV209 - Anaheim AWS S...Design, Deploy, Optimize SQL Server Workloads on AWS - SRV209 - Anaheim AWS S...
Design, Deploy, Optimize SQL Server Workloads on AWS - SRV209 - Anaheim AWS S...
 
Design, Deploy, & Optimize SQL Server Workloads
Design, Deploy, & Optimize SQL Server Workloads Design, Deploy, & Optimize SQL Server Workloads
Design, Deploy, & Optimize SQL Server Workloads
 
AWS 101 - Tel Aviv Summit 2018
AWS 101 - Tel Aviv Summit 2018AWS 101 - Tel Aviv Summit 2018
AWS 101 - Tel Aviv Summit 2018
 
AWS SUMMIT TEL AVIV - 2018
AWS SUMMIT TEL AVIV - 2018AWS SUMMIT TEL AVIV - 2018
AWS SUMMIT TEL AVIV - 2018
 
saa3_wk5.pdf
saa3_wk5.pdfsaa3_wk5.pdf
saa3_wk5.pdf
 
Amazon Aurora, funzionalità e best practice per la migrazione di database su AWS
Amazon Aurora, funzionalità e best practice per la migrazione di database su AWSAmazon Aurora, funzionalità e best practice per la migrazione di database su AWS
Amazon Aurora, funzionalità e best practice per la migrazione di database su AWS
 
Compute@Scale
Compute@ScaleCompute@Scale
Compute@Scale
 
India cloudsummit Bangalore - Advanced Container Use-cases on AWS Container S...
India cloudsummit Bangalore - Advanced Container Use-cases on AWS Container S...India cloudsummit Bangalore - Advanced Container Use-cases on AWS Container S...
India cloudsummit Bangalore - Advanced Container Use-cases on AWS Container S...
 
Best Practices for Migrating Oracle Databases to the Cloud - AWS Online Tech ...
Best Practices for Migrating Oracle Databases to the Cloud - AWS Online Tech ...Best Practices for Migrating Oracle Databases to the Cloud - AWS Online Tech ...
Best Practices for Migrating Oracle Databases to the Cloud - AWS Online Tech ...
 
AWSome Day - Solutions Architecture Best Practices
AWSome Day - Solutions Architecture Best PracticesAWSome Day - Solutions Architecture Best Practices
AWSome Day - Solutions Architecture Best Practices
 
Running Amazon EKS Workloads on Amazon EC2 Spot Instances (CMP403-R1) - AWS r...
Running Amazon EKS Workloads on Amazon EC2 Spot Instances (CMP403-R1) - AWS r...Running Amazon EKS Workloads on Amazon EC2 Spot Instances (CMP403-R1) - AWS r...
Running Amazon EKS Workloads on Amazon EC2 Spot Instances (CMP403-R1) - AWS r...
 
Best-Practices-for-Running-Windows-Workloads-on-AWS
Best-Practices-for-Running-Windows-Workloads-on-AWSBest-Practices-for-Running-Windows-Workloads-on-AWS
Best-Practices-for-Running-Windows-Workloads-on-AWS
 
Architecting-for-the-cloud-Best-Practices
Architecting-for-the-cloud-Best-PracticesArchitecting-for-the-cloud-Best-Practices
Architecting-for-the-cloud-Best-Practices
 
AWSome Day Brasil - Março 2020
AWSome Day Brasil - Março 2020AWSome Day Brasil - Março 2020
AWSome Day Brasil - Março 2020
 
AWSome Day Brasil - Junho 2020
AWSome Day Brasil - Junho 2020AWSome Day Brasil - Junho 2020
AWSome Day Brasil - Junho 2020
 
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
 

More from 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
 

More from 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
 

Module 3: Building in the cloud - AWSome Day Online Conference 2019

  • 1. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Module 3: Building in the cloud Patrick Do Technical Trainer AWS
  • 2. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Go beyond servers and storage
  • 3. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Migration and reinvention Project Foundation Cloud-Native Retire tech debt Reinvention Time Value
  • 4. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Instance store (ephemeral) Improving your initial project EC2 Web application EBS volume (database files) AWS Cloud Instance challenges: • Performance • Scalability • Utilization Database challenges: • Infrastructure management • Patching • Scalability Internet gateway Management challenges: • Monitoring • Planning for failures • Deployment S3 bucket (static content)
  • 5. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Monitor AWS resources
  • 6. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. What is Amazon CloudWatch? • Monitors: • AWS resources • Applications running on AWS • Collects and tracks: • Standard metrics • Custom metrics • Alarms: • Send notifications • Automatically make changes based on rules you define
  • 7. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. How CloudWatch works CloudWatch Available statistics Statistics consumer AWS Management Console CloudWatch metrics CPUUtilization StatusCheckFailed CloudWatch alarm Supported AWS resource Custom application-specific metrics PageViewCount SNS email notification Amazon EC2 Auto Scaling
  • 8. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Manage demand efficiently
  • 9. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Why scaling matters Su M T W Th F Sa Demand Capacity
  • 10. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Why scaling matters Su M T W Th F Sa Demand Capacity Unused Capacity
  • 11. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Why scaling matters Su M T W Th F Sa Demand Capacity Over Capacity
  • 12. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Why scaling matters Amazon EC2 Auto Scaling adjusts capacity as needed • Scale out for spikes • Scale in during off-peak • Replace unhealthy instances • Pay only for what you use Su M T W Th F Sa Demand Capacity
  • 13. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Dynamic scaling with Amazon EC2 Auto Scaling • Select a load metric for your application • Set as conditional and/or scheduled • Use with CloudWatch, optionally instance instance instanceinstance instance instance Follow the demand curve for your applications Max 10 Min 2 Desired 6 Amazon EC2 Auto Scaling group
  • 14. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Dynamic scaling with Amazon EC2 Auto Scaling • Select a load metric for your application • Set as conditional and/or scheduled • Use with CloudWatch, optionally instance instance instanceinstance instance instance instance instance instance instance High Demand Max 10 Min 2 Desired 6 Max 10 Min 2 Desired 10 Amazon EC2 Auto Scaling group Follow the demand curve for your applications
  • 15. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Dynamic scaling with Amazon EC2 Auto Scaling • Select a load metric for your application • Set as conditional and/or scheduled • Use with CloudWatch, optionally instance instance Low Demand Max 10 Min 2 Desired 6 Max 10 Min 2 Desired 10 Max 10 Min 2 Desired 2 Amazon EC2 Auto Scaling group Follow the demand curve for your applications
  • 16. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Fleet management with Amazon EC2 Auto Scaling • Monitor the health of running instances • Replace impaired instances automatically • Balance capacity across Availability Zones Instance Instance InstanceInstance Instance Instance Instance Instance Instance Instance Replace impaired Amazon EC2 instances without intervention Max 10 Min 2 Desired 10 Amazon EC2 Auto Scaling group AZ1 AZ2
  • 17. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Fleet management with Amazon EC2 Auto Scaling • Monitor the health of running instances • Replace impaired instances automatically • Balance capacity across Availability Zones Instance Instance InstanceInstance Instance Instance Instance Instance Instance Instance O O Max 10 Min 2 Desired 10 Amazon EC2 Auto Scaling group AZ1 AZ2 Replace impaired Amazon EC2 instances without intervention
  • 18. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Fleet management with Amazon EC2 Auto Scaling • Monitor the health of running instances • Replace impaired instances automatically • Balance capacity across Availability Zones Instance Instance InstanceInstance Instance Instance Instance Instance Instance Instance P P Max 10 Min 2 Desired 10 Amazon EC2 Auto Scaling group AZ1 AZ2 Replace impaired Amazon EC2 instances without intervention
  • 19. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Elastic Load Balancing High availability Health checks SSL/TLS termination Operational monitoring Automatically distribute traffic across multiple targets Instance Instance Instance Instance Instance Elastic Load Balancing
  • 20. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Application Load Balancer example Application Load Balancer EC2 instance /data /api /images Application 1 Application 2 Application 3
  • 21. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Network Load Balancer example Network Load Balancer EC2 EC2 EC2 Streaming Data EC2 AutoScaling 5442 5442 5442
  • 22. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Deploy database services
  • 23. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. DIY vs. AWS database services • Operating system access • Need features of specific application • Easy to set up, manage, maintain • Push-button high availability • Focus on performance • Managed infrastructure
  • 24. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. What is Amazon Relational Database Service? A database service that makes it easy to set up, operate, and scale a relational database in the cloud Amazon RDS Engines • Easily scalable • Automatic software patching • Automated backups • Database snapshots • Multi-AZ deployments • Automatic host replacement • Encryption at rest and in transit
  • 25. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. What is Amazon Aurora? • Enterprise-class relational database • MySQL- or PostgreSQL-compatible • Up to 5X faster than standard MySQL databases • Up to 3X faster than standard PostgreSQL databases • Continuous backup to Amazon S3 • Up to 15 low-latency read replicas
  • 26. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Relational vs key-value databases Relational (SQL) Key-value (NoSQL) Data storage Rows and columns Key-value, document, graph Schemas Fixed Dynamic Querying Using SQL Focused on collection of documents Scalability Vertical Horizontal Example ISBN Title Author Format 3111111223439 Withering Depths Tark, Frank Paperback 3122222223439 Wily Willy Felton, Maria eBook { ISBN: 3111111223439, Title: “Withering Depths”, Author: ”Tark, Frank”, Format: “Paperback” }
  • 27. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. • Fully managed • Low-latency queries • Fine-grained access control • Regional and global options What is Amazon DynamoDB? Fast and flexible NoSQL database service for any scale
  • 28. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon DynamoDB use cases • Serverless web applications • Microservices data store • Mobile backends • Ad tech • Gaming • Internet of Things (IoT)
  • 29. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Other purpose-built database services Amazon Redshift Fast, scalable data warehouse Amazon DocumentDB MongoDB-compatible database Amazon Neptune Graph database
  • 30. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. What is AWS Database Migration Service? Migrate databases to AWS quickly and securely
  • 31. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. The right tool for the right job What are my requirements? Enterprise class relational database Amazon Relational Database Service (Amazon RDS) Fast and flexible NoSQL database service for any scale Amazon DynamoDB Operating system access or application features not supported by AWS database services Databases on EC2 Specific case-driven requirements (Machine learning, data warehouse, graphs) AWS purpose-built database services
  • 32. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Automate deployment
  • 33. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. What is AWS CloudFormation? Model and provision all your cloud infrastructure resources
  • 34. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS CloudFormation example Template-file (YAML/JSON) ----- -- -- --- -- ----- -- -- --- -- ----- -- -- --- -- ----- -- -- --- -- CloudFormation Designer VPC (10.1.0.0/16) Web server Security group Internet gateway Public Subnet 1 (10.1.11.0/24)
  • 35. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Putting it all together (1 of 4) AWS Cloud Internet gateway Internet S3 bucket (static content) EC2 Web application EBS volume (database files)
  • 36. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Putting it all together (2 of 4) AWS Cloud Internet gateway Internet S3 bucket (static content) EC2 Web application Amazon RDS
  • 37. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Putting it all together (3 of 4) AWS Cloud Internet gateway Internet S3 bucket (static content) Amazon RDS Elastic Load Balancing Auto Scaling group EC2 Instances CloudWatch
  • 38. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Putting it all together (4 of 4) AWS Cloud Internet gateway Internet S3 bucket (static content) Amazon RDS Elastic Load Balancing Auto Scaling group EC2 Instances CloudWatch AWS CloudFormation
  • 39. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. How can I deploy without managing infrastructure? • Upload your application code • The service handles: Resource provisioning Load balancing Automatic scaling Monitoring • Support applications that scale to serve millions of users Quickly deploy and manage applications with AWS Elastic Beanstalk
  • 40. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Connect and share data
  • 41. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Challenge: hybrid cloud Amazon EC2 Auto Scaling group EC2 instances EBS volumes AWS Cloud Corporate data center Clients Internet gateway Network challenges: • Performance • Reliability Storage challenges: • Duplication of data onsite/offsite • Too much network traffic • Cost inefficient Communications challenge: • Cloud instances cannot route to onsite servers
  • 42. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. What is AWS Direct Connect? A dedicated network connection from your premises to AWS Reduces network costs Creates consistent network performance Provides private connectivity to your Amazon VPC Scales easily
  • 43. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Direct Connect example Other AWS Services AWS Cloud Corporate data center VPC Virtual private gateway Content router/firewall AWS Direct Connect location Customer or partner router AWS Direct Connect endpoint EC2 instances
  • 44. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. What is Amazon Route 53? A highly available and scalable Domain Name System (DNS) web service Register domain names Route internet traffic to the resources for your domain Check the health of your resources
  • 45. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Routing traffic Amazon Route 53 https://sales.example.com ELB EC2 instances ELBELB VPC
  • 46. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. What is Amazon Elastic File System (Amazon EFS)? A scalable, elastic, cloud-native file system for Linux Dynamic elasticity Scalable performance Shared file storage Fully managed Cost-effective
  • 47. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Putting it all together Amazon EC2 Auto Scaling group EC2 instances Amazon EFS AWS Cloud Clients Internet gateway Corporate data center Virtual private gateway AWS Direct Connect Amazon Route 53
  • 48. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Deliver content faster
  • 49. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Challenge: Media streaming service Transcode video to multiple formats Ingest encoded video Catalog video metadata Stream video to clients The architecture must meet the following requirements: Efficient, scalable compute resources Fast data access Low latency
  • 50. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Lambda: Run code without servers Set your code to trigger from an event source Pay only for the compute time you use AWS SERVICES MOBILE APPS HTTP ENDPOINTS Upload your code to AWS Lambda Lambda runs your code only when triggered
  • 51. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Benefits of Lambda Supports multiple programming languages Completely automated administration Built-in fault tolerance Supports orchestration of multiple functions Pay per use pricing
  • 52. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Lambda example: create thumbnails Source bucket Target bucket 1 3 JSON Access policy Lambda function User 5 Lambda 2 AWS Cloud 4 Execution role
  • 53. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. What is Amazon Simple Notification Service (Amazon SNS)? Fully managed pub/sub messaging for distributed or serverless applications Reliably deliver messages with durability Automatically scale your workload Simplify your architecture Keep messages private and secure
  • 54. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon SNS overview SNS topics SubscribersPublisher Message filters Amazon Simple Notification Service AWS Lambda Message Queues HTTP/S
  • 55. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. What is Amazon CloudFront? © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. A fast, secure, and global content delivery network (CDN)
  • 56. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. How CloudFront delivers content to users © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. S3 bucket Edge location cache www.example.com/content
  • 57. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 58. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. What is Amazon ElastiCache? Fully managed Redis or Memcached-compatible in-memory data store Extreme performance Fully Managed Scalable Amazon ElastiCache for Redis Versatile in-memory data store Amazon ElastiCache for Memcached Scalable caching tier for data-intensive apps
  • 59. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Challenge: Media streaming service AWS Cloud Video encoders CloudFront Ingest S3 bucket SNS topic HQ 480p 360p Audio only AWS Lambda transcoding functions Playback S3 bucket Clients DynamoDB Lambda Video metadata CloudFront Streaming Stream ElastiCache for Redis Search
  • 60. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Key Takeaways Amazon CloudWatch Have complete visibility of your cloud resources and applications Elastic Load Balancing Application Auto Scaling Deploy highly available applications that scale with demand AWS Database Services Run SQL or NoSQL databases without the management overhead AWS CloudFormation Programmatically deploy repeatable infrastructure AWS Elastic Beanstalk Deploy your application in the simplest way possible AWS Direct Connect Provision a dedicated network connection from your premises to AWS Amazon Route 53 Run a highly available and scalable Domain Name System (DNS) web service AWS Lambda Run code without managing servers Amazon CloudFront Deliver your content across a massively scaled and globally available network
  • 61. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.