SlideShare une entreprise Scribd logo
1  sur  94
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Build a Website & Mobile App
on AWS for Your First 10
Million Users
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Build a Website on AWS for Your First
10 Million Users11
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Who are you?
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
http://i.telegraph.co.uk/multimedia/archive/02674/CLIMBER_2674482b.jpg
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Now that’s a lot
of things to read!
This is NOT
where we
want to start!
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
It’s not the single thing that
fixes everything.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What do we need first?
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Some basics…
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Global Infrastructure
Region, # of zones
Coming Soon!
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Global Infrastructure
Region, # of zones
Coming Soon!
90+ Edge
Locations
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Global Footprint
190 countries
2,300 government agencies
7,000 educational institutions
22,000 Non profits organizations
16 regions (4 more announced)
43 availability zones
76 edge locations
AWS regions consists of multiple Availability Zones (“AZs”) isolated for failures and with low latency networks
connectivity making AWS the only provider that allows HA natively supported
Region & Number of Availability Zones
AWS GovCloud (2)
US West: Oregon (3), Northern California (3)
US East: Northern Virginia (5), Ohio (3)
Canada: Central (2)
South America: São Paulo (3)
Europe: Ireland (3), Frankfurt (3), London (2)
Asia Pacific: Singapore (2), Sydney (3), Tokyo (3), Seoul (2), Mumbai (2)
China: Beijing (2)
New Region (coming soon): Paris, Ningxia, Stockholm, Hong Kong
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ENTERPRISE
APPS
DEVELOPMENT & OPERATIONSMOBILE SERVICESAPP SERVICESANALYTICS
Data
Warehousing
Hadoop/
Spark
Streaming Data
Collection
Machine
Learning
Elastic
Search
Virtual
Desktops
Sharing &
Collaboration
Corporate
Email
Backup
Queuing &
Notifications
Workflow
Search
Email
Transcoding
One-click App
Deployment
Identity
Sync
Single Integrated
Console
Push
Notifications
DevOps Resource
Management
Application Lifecycle
Management
Containers
Triggers
Resource
Templates
TECHNICAL &
BUSINESS
SUPPORT
Account
Management
Support
Professional
Services
Training &
Certification
Security
& Pricing
Reports
Partner
Ecosystem
Solutions
Architects
MARKETPLACE
Business
Apps
Business
Intelligence
Databases
DevOps
Tools
NetworkingSecurity Storage
Regions
Availability
Zones
Points of
Presence
INFRASTRUCTURE
CORE SERVICES
Compute
VMs, Auto-scaling,
& Load Balancing
Storage
Object, Blocks,
Archival, Import/Export
Databases
Relational, NoSQL,
Caching, Migration
Networking
VPC, DX, DNS
CDN
Access
Control
Identity
Management
Key
Management
& Storage
Monitoring
& Logs
Assessment
and reporting
Resource &
Usage Auditing
SECURITY & COMPLIANCE
Configuration
Compliance
Web application
firewall
HYBRID
ARCHITECTURE
Data
Backups
Integrated
App
Deployments
Direct
Connect
Identity
Federation
Integrated
Resource
Management
Integrated
Networking
API
Gateway
IoT
Rules
Engine
Device
Shadows
Device
SDKs
Registry
Device
Gateway
Streaming Data
Analysis
Business
Intelligence
Mobile
Analytics
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Aws building blocks
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Region
Region
Production applications that are highly available
The AWS Cloud infrastructure:
• Availability Zones (43) consist of one or more discrete data
centers, each with redundant power, networking, and
connectivity, housed in separate facilities.
• A Region (16) is a physical location in the world where we
have multiple Availability Zones.
1
N
2
1
N
2 1
N
2
1
N
2
1
N
2
1
N
2 1
N
2
1
N
2 1
N
2
1
N
2 1
N
2
1
N
2 1
N
2
1
N
2 1
N
2
1
N
2 1
N
2
1
N
2 1
N
2
1
N
2 1
N
2
1
N
2 1
N
2
1
N
2
1
N
2 1
N
2
1
N
2
1
N
2 1
N
2
1
N
21
N
2 1
N
2
1
N
2
1
N
2 1
N
2
1
N
2
1
N
2 1
N
2
1
N
2
1
N
2 1
N
2
1
N
2
1
N
2 1
N
2
1
N
2
1
AZ
Availability Zones (AZs) provide the resiliency of
performing real-time data replication and the reliability of
multiple physical locations
2
Low latency
ensures real
data replication
Distance
ensures
high
availability
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
So let’s start from…
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
You
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
1 User
Amazon
EC2
instance
Elastic IP
User
Amazon
Route 53
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
“We’re gonna need a bigger box”
• Simplest approach
• Can now leverage PIOPS
• High I/O instances
• High memory instances
• High CPU instances
• High storage instances
• Easy to change instance sizes
• Will hit an endpoint eventually
c4.8xlarge
m4.2xlarge
t2.micro
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
“We’re gonna need a bigger box”
• Simplest approach
• Can now leverage PIOPS
• High I/O instances
• High memory instances
• High CPU instances
• High storage instances
• Easy to change instance sizes
• Will hit an endpoint eventually
c4.8xlarge
m4.2xlarge
t2.micro
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
1 User
• No failover
• No redundancy
• Too many eggs in one
basket
EC2
Instance
Elastic IP
User
Amazon
Route 53
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Users >1
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Users > 1
Web
Instance
Database
Instance
Elastic IP
User
Amazon
Route 53
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Self-managed Fully managed
Amazon EC2 Amazon
DynamoDB
Amazon RDS Amazon
Redshift
Database options
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• MySQL or Postgres compatible
• Automatic storage scaling (up to 64 TB)
• Up to 15 read-replicas
• Continuous (incremental) backups to
Amazon S3
• 6-way replication across 3 zones
Amazon Aurora
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
To NoSQL, or not to NoSQL?
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Start with SQL databases
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Why start with SQL?
• Established and well-worn technology.
• Lots of existing code, communities, books, and tools.
• You aren’t going to break SQL DBs in your first millions
of users. No, really, you won’t.*
• Clear patterns to scalability.
*Unless you are doing something SUPER peculiar with the data or you have MASSIVE amounts of it.
…but even then SQL will have a place in your stack.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
> 5 TB in year one?
Incredibly data intensive workload?
OK!
You might need NoSQL.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Why else might you need NoSQL?
• Super low-latency applications
• Highly nonrelational data
• Need schema-less data constructs*
• Rapid ingest of data (thousands of records/sec)
• Massive amounts of data (again, in the TB range)
*Need!= “It’s easier to do dev without schemas”
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Users >100
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Users >100
Web
instance
Elastic IP
RDS DB
instance
User
Amazon
Route 53
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Users >1000
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Users >1000
Web
Instance
RDS DB Instance
Active (Multi-AZ)
Availability Zone Availability Zone
Web
Instance
RDS DB Instance
Standby (Multi-AZ)
Load
balancer
User
Amazon
Route 53
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Elastic Load Balancing
• Highly available
• TCP/{1 – 65535}
• Health checks
• Session stickiness
• Monitoring / logging
• Secure sockets layer
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Application Load Balancer
• Highly available
• TCP/{1 – 65535}
• Health checks
• Session stickiness
• Monitoring / logging
• Content-based routing
• Container-based apps
• WebSockets
• HTTP/2
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
horizontally
vertically
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ASEAN Customer
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Users >100,000
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Users > 10,000s–100,000s
RDS DB Instance
Active (Multi-AZ)
Availability Zone Availability Zone
RDS DB Instance
Standby (Multi-AZ)
Load
balancer
RDS DB Instance
Read Replica
RDS DB Instance
Read Replica
RDS DB Instance
Read Replica
RDS DB Instance
Read Replica
Web
Instance
Web
Instance
Web
Instance
Web
Instance
Web
Instance
Web
Instance
Web
Instance
Web
Instance
Amazon
Route 53User
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What about
performance and efficiency?
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
RDS DB Instance
Active (Multi-AZ)
Availability Zone
Load
balancer
Amazon S3
Amazon
CloudFront
Amazon
Route 53
User
Shift some load around
Web Instances
Availability Zone
Web Instances
RDS DB Instance
Standby (Multi-AZ)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Load
balancer
Amazon S3
Amazon
CloudFront
Amazon
Route 53
User
Shift some load around
Availability Zone
Web Instances
RDS DB Instance
Standby (Multi-AZ)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• Object-based storage
• Highly durable
• Great for static assets
• “Infinitely scalable”
• Objects up to 5 TB in
size
• Optional encryption
Amazon Simple Storage Service (S3)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Cache content for faster delivery
• Lower load on origin
• Dynamic and static content
• Low TTLs (as short as 0
seconds)
• Streaming video
• Custom SSL certificates
• Optimized for AWS
Amazon CloudFront
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon CloudFront
Response	Time
Server	Load
Response	
Time
Server	
Load
Response	
Time
Server	
Load
No	CDN CDN	for	Static	
Content
CDN	for	Static	&	
Dynamic	Content
0
50
100
12:00AM
12:00AM
12:00AM
12:00AM
12:00AM
12:00AM
12:00AM
12:00AM
12:00AM
12:00AM
12:00AM
12:00AM
12:00AM
12:00AM
VolumeofData
Delivered(Gbps)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ASEAN Customer
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Shift some load around
RDS DB Instance
Active (Multi-AZ)
Availability Zone
Load
balancer
Amazon S3
Amazon
CloudFrontUser
ElastiCache DynamoDB
Web Instances
Amazon
Route 53
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon DynamoDB
• Managed NoSQL database
• Provisioned throughput
• Fast, predictable performance
• Fully distributed, fault tolerant
• JSON support
• Items up to 400 KB
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon ElastiCache
• Managed Memcached or Redis
• Scale from one to many nodes
• Self-healing (replaces dead instance)
• Single digit ms speeds (usually)
• Local to a single AZ for Memcache
• Multi-AZ possible with Redis
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Shift some load around
RDS DB Instance
Active (Multi-AZ)
Availability Zone
Load
balancer
Amazon S3
Amazon
CloudFront
Amazon
Route 53
User
ElastiCache DynamoDB
Web Instances
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Now that our web tier is
much more lightweight,
we can revisit the beginning
of our talk…
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Auto Scaling!
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Automatic resizing of compute clusters
Define min/max pool sizes
CloudWatch metrics drive scaling
On-Demand or Spot Instances
aws autoscaling create-auto-scaling-group
--auto-scaling-group-name MyGroup
--launch-configuration-name MyConfig
--min-size 4
--max-size 200
--availability-zones us-west-2c, us-west-2b
Auto Scaling
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Sunday Monday Tuesday Wednesday Thursday Friday Saturday
Typical weekly traffic to Amazon.com
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Sunday Monday Tuesday Wednesday Thursday Friday Saturday
Typical weekly traffic to Amazon.com
Provisioned capacity
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
November
November traffic to Amazon.com
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Provisioned capacity
November
November traffic to Amazon.com
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
November traffic to Amazon.com
76%
24%
November
Provisioned capacity
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
November traffic to Amazon.com
November
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Auto Scaling
lets you do this!
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Users > 500,000+
Availability Zone
Amazon
Route 53
User
Amazon S3
Amazon
CloudFront
Availability Zone
Load
balancer
DynamoDB
RDS DB Instance
Read Replica
Web
Instance
Web
Instance
Web
Instance
ElastiCache RDS DB Instance
Read Replica
Web
Instance
Web
Instance
Web
Instance
ElastiCacheRDS DB Instance
Standby (Multi-AZ)
RDS DB Instance
Active (Multi-AZ)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Users > 500,000+
Availability Zone
Amazon
Route 53
User
Amazon S3
Amazon
CloudFront
Availability Zone
Load
balancer
DynamoDB
RDS DB Instance
Read Replica
Web
Instance
Web
Instance
Web
Instance
ElastiCache RDS DB Instance
Read Replica
Web
Instance
Web
Instance
Web
Instance
ElastiCacheRDS DB Instance
Standby (Multi-AZ)
RDS DB Instance
Active (Multi-AZ)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Use automation
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Whoa!
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS application management solutions
Convenience Control
Higher-level services Do it yourself
AWS
Elastic Beanstalk
AWS
OpsWorks
AWS
CloudFormation
Amazon EC2
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS CodeDeploy
• Deploys your code to a “fleet” of EC2 instances
• 1 – 10,000s of instances
• Automatically schedules updates (multiple zones)
• Application and Deployment groups described in
YAML-formatted files
• Can reference Auto Scaling groups
• AWS Management Console, CLI, or APIs
• Can be used with Chef recipes or Puppet scripts
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Users >500,000+
• Monitoring, metrics, and logging
• If you can’t build it internally,
outsource it! (third-party SaaS)
• What are customers saying?
• Try to squeeze as much performance
out of each service/component
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AGGREGATE
LEVEL
METRICS
LOG
ANALYSIS
EXTERNAL
SITE
PERFORMANCE
HOST
LEVEL
METRICS
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
There are further
improvements to be made in
breaking apart our
web/app layer
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SOA
What does this mean?
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Now that’s a lot
of things to read!
This is NOT
where we
want to start!
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
This is NOT
where we
want to start!
This IS where
we want to start!
Now that’s a lot
of things to read!
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SOAing
Move services into their own tiers
• Treat them separately
• Scale them independently
It offers flexibility and greater
understanding of each component
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Loose coupling + SOA = winning
DON’T REINVENT THE WHEEL
• Email
• Queuing
• Transcoding
• Search
• Databases
• Monitoring
• Metrics
• Logging
• Compute
Amazon
CloudSearch
Amazon SQSAmazon SNS
Amazon Elastic
Transcoder
Amazon SWFAmazon SES
AWS Lambda
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• Reliable (Multi-AZ)
• Scalable (unlimited messages)
• Secure (queue authentication)
• Simple (simple APIs)
Application Services – Amazon SQS
SQS
messages
Get
message
Instance
Put
message
Instance
Amazon SNS Topic
Publish
notification
Queue is subscribed
to topic
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Compute / Platform – AWS Lambda
• Functions triggered by events
• JavaScript, Java, Python, and C#
• Managed
• Implicit scaling
S3 bucket
Lambda
Push: event
notification
DynamoDB
Pull: DynamoDB
Stream
Amazon
Kinesis
Pull:
Amazon Kinesis
stream
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Loose coupling sets you free!
The looser they're coupled, the bigger they scale
• Independent components
• Design everything as a black box
• Decouple interactions
• Favor services with built-in redundancy and scalability
• Don’t build your own!
S3 bucket
Lambda
Push: event
notification
DynamoDB
Pull: DynamoDB
Stream
Amazon
Kinesis
SQS
messages
Get
message
Instance
Put
message
Instance
Amazon SNS Topic
Publish
notification
Queue is subscribed
to topic
Pull:
Amazon Kinesis
stream
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Users >1,000,000
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Users >1 million+
Reaching a million and above is going to require some bit
of all the previous things:
• Multi-AZ
• Elastic Load Balancing between tiers
• Auto Scaling
• Service oriented architecture (SOA)
• Serving content smartly (Amazon S3/CloudFront)
• Caching off DB
• Moving state off tiers that auto scale
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Users >1 million+
RDS DB Instance
Active (Multi-AZ)
Availability Zone
Load
balancer
RDS DB Instance
Read Replica
RDS DB Instance
Read Replica
Web
Instance
Web
Instance
Web
Instance
Web
Instance
Amazon
Route 53
User
Amazon S3
Amazon
CloudFront
DynamoDB
Amazon SQS
ElastiCache
Worker
Instance
Worker
Instance
Amazon
CloudWatch
Internal App
Instance
Internal App
Instance Amazon SES
Lambda
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Global Customer
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
The next big steps
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Users >5 million - 10 million
Database Issues?
How can you solve it?
• Federation—splitting into multiple DBs based on function
• Sharding—splitting one dataset up across multiple hosts
• Moving some functionality to other types of DBs (NoSQL, Graph)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Database federation
• Split up databases by function/purpose
• Harder to do cross-function queries
• Essentially delays sharding/NoSQL
• Won’t help with single huge functions/tables
Forums DB
Users DB
Products
DB
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Sharded horizontal scaling
• More complex at the application layer
• No practical limit on scalability
• Operation complexity/sophistication
• Shard by function or key space
• RDBMS or NoSQL
User ShardID
002345 A
002346 B
002347 C
002348 B
002349 A
CBA
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Shifting functionality to NoSQL
• Similar in a sense to federation
• NoSQL vs. SQL
• Leverage managed services like
DynamoDB
Some use cases:
• Leaderboards/scoring
• Rapid ingest of clickstream/log data
• Temporary data needs (cart data)
• “Hot” tables
• Metadata/lookup tables
DynamoDB
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
A quick review
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
A quick review
• Multi-AZ your infrastructure.
• Make use of self-scaling services—ELB, Amazon S3,
Amazon SNS, Amazon SQS, Amazon SWF, Amazon SES, etc.
• Built-in redundancy at every level
• Start with what you know: SQL/NoSQL
• Cache data both inside and outside your infrastructure.
• Use automation tools in your infrastructure.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
A quick review continued
• Make sure you have good metrics/monitoring/logging
• Split tiers into individual services (SOA)
• Use Auto Scaling once you’re ready for it
• Don’t reinvent the wheel
• Move to NoSQL if and when it makes sense
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Web and Mobile Application for
11 Million Users
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Follow Us on Social Media
@AmazonWebServices
@AWSCloud @AWSCloudSEAsia
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Thank You

Contenu connexe

Tendances

Journey Towards Scaling Your API to 10 Million Users
Journey Towards Scaling Your API to 10 Million UsersJourney Towards Scaling Your API to 10 Million Users
Journey Towards Scaling Your API to 10 Million UsersAdrian Hornsby
 
Building Best Practices and the Right Foundation for your 1st Production Work...
Building Best Practices and the Right Foundation for your 1st Production Work...Building Best Practices and the Right Foundation for your 1st Production Work...
Building Best Practices and the Right Foundation for your 1st Production Work...Amazon Web Services
 
RET303_Drive Warehouse Efficiencies with the Same AWS IoT Technology that Pow...
RET303_Drive Warehouse Efficiencies with the Same AWS IoT Technology that Pow...RET303_Drive Warehouse Efficiencies with the Same AWS IoT Technology that Pow...
RET303_Drive Warehouse Efficiencies with the Same AWS IoT Technology that Pow...Amazon Web Services
 
GPSBUS205_Power to the People- Amazon Connect
GPSBUS205_Power to the People- Amazon ConnectGPSBUS205_Power to the People- Amazon Connect
GPSBUS205_Power to the People- Amazon ConnectAmazon Web Services
 
RET305-Turbo Charge Your E-Commerce Site wAmazon Cache and Search Solutions.pdf
RET305-Turbo Charge Your E-Commerce Site wAmazon Cache and Search Solutions.pdfRET305-Turbo Charge Your E-Commerce Site wAmazon Cache and Search Solutions.pdf
RET305-Turbo Charge Your E-Commerce Site wAmazon Cache and Search Solutions.pdfAmazon Web Services
 
LFS309-High-Throughput Genomics on AWS.pdf
LFS309-High-Throughput Genomics on AWS.pdfLFS309-High-Throughput Genomics on AWS.pdf
LFS309-High-Throughput Genomics on AWS.pdfAmazon Web Services
 
MCL202_Ally Bank & Cognizant Transforming Customer Experience Using Amazon Alexa
MCL202_Ally Bank & Cognizant Transforming Customer Experience Using Amazon AlexaMCL202_Ally Bank & Cognizant Transforming Customer Experience Using Amazon Alexa
MCL202_Ally Bank & Cognizant Transforming Customer Experience Using Amazon AlexaAmazon Web Services
 
ATC301-Big Data & Analytics for Manufacturing Operations
ATC301-Big Data & Analytics for Manufacturing OperationsATC301-Big Data & Analytics for Manufacturing Operations
ATC301-Big Data & Analytics for Manufacturing OperationsAmazon Web Services
 
GPSBUS202_Driving Customer Value with Big Data Analytics
GPSBUS202_Driving Customer Value with Big Data AnalyticsGPSBUS202_Driving Customer Value with Big Data Analytics
GPSBUS202_Driving Customer Value with Big Data AnalyticsAmazon Web Services
 
DVC303-Technological Accelerants for Organizational Transformation
DVC303-Technological Accelerants for Organizational TransformationDVC303-Technological Accelerants for Organizational Transformation
DVC303-Technological Accelerants for Organizational TransformationAmazon Web Services
 
GPSBUS215-Maximize Innovation and Agility by Building Your SAAS Solution on AWS
GPSBUS215-Maximize Innovation and Agility by Building Your SAAS Solution on AWSGPSBUS215-Maximize Innovation and Agility by Building Your SAAS Solution on AWS
GPSBUS215-Maximize Innovation and Agility by Building Your SAAS Solution on AWSAmazon Web Services
 
AWSome Day - Opening Keynote
AWSome Day - Opening KeynoteAWSome Day - Opening Keynote
AWSome Day - Opening KeynoteAdrian Hornsby
 
AMF302-Alexa Wheres My Car A Test Drive of the AWS Connected Car Reference.pdf
AMF302-Alexa Wheres My Car A Test Drive of the AWS Connected Car Reference.pdfAMF302-Alexa Wheres My Car A Test Drive of the AWS Connected Car Reference.pdf
AMF302-Alexa Wheres My Car A Test Drive of the AWS Connected Car Reference.pdfAmazon Web Services
 
SRV301-Optimizing Serverless Application Data Tiers with Amazon DynamoDB
SRV301-Optimizing Serverless Application Data Tiers with Amazon DynamoDBSRV301-Optimizing Serverless Application Data Tiers with Amazon DynamoDB
SRV301-Optimizing Serverless Application Data Tiers with Amazon DynamoDBAmazon Web Services
 
Xây dựng website và ứng dụng mobile đáp ứng 10 triệu người dùng
Xây dựng website và ứng dụng mobile đáp ứng 10 triệu người dùngXây dựng website và ứng dụng mobile đáp ứng 10 triệu người dùng
Xây dựng website và ứng dụng mobile đáp ứng 10 triệu người dùngAmazon Web Services
 
FSV307-Capital Markets Discovery How FINRA Runs Trade Analytics and Surveilla...
FSV307-Capital Markets Discovery How FINRA Runs Trade Analytics and Surveilla...FSV307-Capital Markets Discovery How FINRA Runs Trade Analytics and Surveilla...
FSV307-Capital Markets Discovery How FINRA Runs Trade Analytics and Surveilla...Amazon Web Services
 
Build Your Case for the Cloud: How to Engage Stakeholders Across Your Business
Build Your Case for the Cloud: How to Engage Stakeholders Across Your BusinessBuild Your Case for the Cloud: How to Engage Stakeholders Across Your Business
Build Your Case for the Cloud: How to Engage Stakeholders Across Your BusinessAmazon Web Services
 
WIN302-Deep Dive on Active Directory From One to Many AWS Regions.pdf
WIN302-Deep Dive on Active Directory From One to Many AWS Regions.pdfWIN302-Deep Dive on Active Directory From One to Many AWS Regions.pdf
WIN302-Deep Dive on Active Directory From One to Many AWS Regions.pdfAmazon Web Services
 
Best Practices cho việc lưu trữ, backup, và khôi phục dữ liệu trên AWS
Best Practices cho việc lưu trữ, backup, và khôi phục dữ liệu trên AWSBest Practices cho việc lưu trữ, backup, và khôi phục dữ liệu trên AWS
Best Practices cho việc lưu trữ, backup, và khôi phục dữ liệu trên AWSAmazon Web Services
 
Best Practices for Distributed Machine Learning and Predictive Analytics Usin...
Best Practices for Distributed Machine Learning and Predictive Analytics Usin...Best Practices for Distributed Machine Learning and Predictive Analytics Usin...
Best Practices for Distributed Machine Learning and Predictive Analytics Usin...Amazon Web Services
 

Tendances (20)

Journey Towards Scaling Your API to 10 Million Users
Journey Towards Scaling Your API to 10 Million UsersJourney Towards Scaling Your API to 10 Million Users
Journey Towards Scaling Your API to 10 Million Users
 
Building Best Practices and the Right Foundation for your 1st Production Work...
Building Best Practices and the Right Foundation for your 1st Production Work...Building Best Practices and the Right Foundation for your 1st Production Work...
Building Best Practices and the Right Foundation for your 1st Production Work...
 
RET303_Drive Warehouse Efficiencies with the Same AWS IoT Technology that Pow...
RET303_Drive Warehouse Efficiencies with the Same AWS IoT Technology that Pow...RET303_Drive Warehouse Efficiencies with the Same AWS IoT Technology that Pow...
RET303_Drive Warehouse Efficiencies with the Same AWS IoT Technology that Pow...
 
GPSBUS205_Power to the People- Amazon Connect
GPSBUS205_Power to the People- Amazon ConnectGPSBUS205_Power to the People- Amazon Connect
GPSBUS205_Power to the People- Amazon Connect
 
RET305-Turbo Charge Your E-Commerce Site wAmazon Cache and Search Solutions.pdf
RET305-Turbo Charge Your E-Commerce Site wAmazon Cache and Search Solutions.pdfRET305-Turbo Charge Your E-Commerce Site wAmazon Cache and Search Solutions.pdf
RET305-Turbo Charge Your E-Commerce Site wAmazon Cache and Search Solutions.pdf
 
LFS309-High-Throughput Genomics on AWS.pdf
LFS309-High-Throughput Genomics on AWS.pdfLFS309-High-Throughput Genomics on AWS.pdf
LFS309-High-Throughput Genomics on AWS.pdf
 
MCL202_Ally Bank & Cognizant Transforming Customer Experience Using Amazon Alexa
MCL202_Ally Bank & Cognizant Transforming Customer Experience Using Amazon AlexaMCL202_Ally Bank & Cognizant Transforming Customer Experience Using Amazon Alexa
MCL202_Ally Bank & Cognizant Transforming Customer Experience Using Amazon Alexa
 
ATC301-Big Data & Analytics for Manufacturing Operations
ATC301-Big Data & Analytics for Manufacturing OperationsATC301-Big Data & Analytics for Manufacturing Operations
ATC301-Big Data & Analytics for Manufacturing Operations
 
GPSBUS202_Driving Customer Value with Big Data Analytics
GPSBUS202_Driving Customer Value with Big Data AnalyticsGPSBUS202_Driving Customer Value with Big Data Analytics
GPSBUS202_Driving Customer Value with Big Data Analytics
 
DVC303-Technological Accelerants for Organizational Transformation
DVC303-Technological Accelerants for Organizational TransformationDVC303-Technological Accelerants for Organizational Transformation
DVC303-Technological Accelerants for Organizational Transformation
 
GPSBUS215-Maximize Innovation and Agility by Building Your SAAS Solution on AWS
GPSBUS215-Maximize Innovation and Agility by Building Your SAAS Solution on AWSGPSBUS215-Maximize Innovation and Agility by Building Your SAAS Solution on AWS
GPSBUS215-Maximize Innovation and Agility by Building Your SAAS Solution on AWS
 
AWSome Day - Opening Keynote
AWSome Day - Opening KeynoteAWSome Day - Opening Keynote
AWSome Day - Opening Keynote
 
AMF302-Alexa Wheres My Car A Test Drive of the AWS Connected Car Reference.pdf
AMF302-Alexa Wheres My Car A Test Drive of the AWS Connected Car Reference.pdfAMF302-Alexa Wheres My Car A Test Drive of the AWS Connected Car Reference.pdf
AMF302-Alexa Wheres My Car A Test Drive of the AWS Connected Car Reference.pdf
 
SRV301-Optimizing Serverless Application Data Tiers with Amazon DynamoDB
SRV301-Optimizing Serverless Application Data Tiers with Amazon DynamoDBSRV301-Optimizing Serverless Application Data Tiers with Amazon DynamoDB
SRV301-Optimizing Serverless Application Data Tiers with Amazon DynamoDB
 
Xây dựng website và ứng dụng mobile đáp ứng 10 triệu người dùng
Xây dựng website và ứng dụng mobile đáp ứng 10 triệu người dùngXây dựng website và ứng dụng mobile đáp ứng 10 triệu người dùng
Xây dựng website và ứng dụng mobile đáp ứng 10 triệu người dùng
 
FSV307-Capital Markets Discovery How FINRA Runs Trade Analytics and Surveilla...
FSV307-Capital Markets Discovery How FINRA Runs Trade Analytics and Surveilla...FSV307-Capital Markets Discovery How FINRA Runs Trade Analytics and Surveilla...
FSV307-Capital Markets Discovery How FINRA Runs Trade Analytics and Surveilla...
 
Build Your Case for the Cloud: How to Engage Stakeholders Across Your Business
Build Your Case for the Cloud: How to Engage Stakeholders Across Your BusinessBuild Your Case for the Cloud: How to Engage Stakeholders Across Your Business
Build Your Case for the Cloud: How to Engage Stakeholders Across Your Business
 
WIN302-Deep Dive on Active Directory From One to Many AWS Regions.pdf
WIN302-Deep Dive on Active Directory From One to Many AWS Regions.pdfWIN302-Deep Dive on Active Directory From One to Many AWS Regions.pdf
WIN302-Deep Dive on Active Directory From One to Many AWS Regions.pdf
 
Best Practices cho việc lưu trữ, backup, và khôi phục dữ liệu trên AWS
Best Practices cho việc lưu trữ, backup, và khôi phục dữ liệu trên AWSBest Practices cho việc lưu trữ, backup, và khôi phục dữ liệu trên AWS
Best Practices cho việc lưu trữ, backup, và khôi phục dữ liệu trên AWS
 
Best Practices for Distributed Machine Learning and Predictive Analytics Usin...
Best Practices for Distributed Machine Learning and Predictive Analytics Usin...Best Practices for Distributed Machine Learning and Predictive Analytics Usin...
Best Practices for Distributed Machine Learning and Predictive Analytics Usin...
 

Similaire à Build a Website & Mobile App for your first 10 million users

Scaling Up to Your First 10 Million Users
Scaling Up to Your First 10 Million UsersScaling Up to Your First 10 Million Users
Scaling Up to Your First 10 Million UsersAmazon Web Services
 
ARC201_Scaling Up to Your First 10 Million Users
ARC201_Scaling Up to Your First 10 Million UsersARC201_Scaling Up to Your First 10 Million Users
ARC201_Scaling Up to Your First 10 Million UsersAmazon Web Services
 
Scale Website dan Mobile Applications Anda di AWS hingga 10 juta pengguna
Scale Website dan Mobile Applications Anda di AWS hingga 10 juta penggunaScale Website dan Mobile Applications Anda di AWS hingga 10 juta pengguna
Scale Website dan Mobile Applications Anda di AWS hingga 10 juta penggunaAmazon Web Services
 
Design, Build, and Modernize Your Web Applications with AWS
 Design, Build, and Modernize Your Web Applications with AWS Design, Build, and Modernize Your Web Applications with AWS
Design, Build, and Modernize Your Web Applications with AWSDonnie Prakoso
 
ARC306_High Resiliency & Availability Of Online Entertainment Communities Usi...
ARC306_High Resiliency & Availability Of Online Entertainment Communities Usi...ARC306_High Resiliency & Availability Of Online Entertainment Communities Usi...
ARC306_High Resiliency & Availability Of Online Entertainment Communities Usi...Amazon Web Services
 
21st Century Analytics with Zopa
21st Century Analytics with Zopa21st Century Analytics with Zopa
21st Century Analytics with ZopaAmazon Web Services
 
How to Design a Multi-Region Active-Active Architecture
How to Design a Multi-Region Active-Active ArchitectureHow to Design a Multi-Region Active-Active Architecture
How to Design a Multi-Region Active-Active ArchitectureAmazon Web Services
 
STG316_Optimizing Storage for Big Data Workloads
STG316_Optimizing Storage for Big Data WorkloadsSTG316_Optimizing Storage for Big Data Workloads
STG316_Optimizing Storage for Big Data WorkloadsAmazon Web Services
 
ARC319_Multi-Region Active-Active Architecture
ARC319_Multi-Region Active-Active ArchitectureARC319_Multi-Region Active-Active Architecture
ARC319_Multi-Region Active-Active ArchitectureAmazon Web Services
 
Case Study: Ola Cabs Uses Amazon EBS and Elastic Volumes to Maximize MySQL De...
Case Study: Ola Cabs Uses Amazon EBS and Elastic Volumes to Maximize MySQL De...Case Study: Ola Cabs Uses Amazon EBS and Elastic Volumes to Maximize MySQL De...
Case Study: Ola Cabs Uses Amazon EBS and Elastic Volumes to Maximize MySQL De...Amazon Web Services
 
Amazon Relational Database Service – How is it different to what you do today ?
Amazon Relational Database Service – How is it different to what you do today ?Amazon Relational Database Service – How is it different to what you do today ?
Amazon Relational Database Service – How is it different to what you do today ?Amazon Web Services
 
Amazon Aurora (MySQL, Postgres)
Amazon Aurora (MySQL, Postgres)Amazon Aurora (MySQL, Postgres)
Amazon Aurora (MySQL, Postgres)AWS Germany
 
Running Oracle Databases on Amazon RDS - DAT313 - re:Invent 2017
Running Oracle Databases on Amazon RDS - DAT313 - re:Invent 2017Running Oracle Databases on Amazon RDS - DAT313 - re:Invent 2017
Running Oracle Databases on Amazon RDS - DAT313 - re:Invent 2017Amazon Web Services
 
I Want to Analyze and Visualize Website Access Logs, but Why Do I Need Server...
I Want to Analyze and Visualize Website Access Logs, but Why Do I Need Server...I Want to Analyze and Visualize Website Access Logs, but Why Do I Need Server...
I Want to Analyze and Visualize Website Access Logs, but Why Do I Need Server...Amazon Web Services
 
STG206_Big Data Data Lakes and Data Oceans
STG206_Big Data Data Lakes and Data OceansSTG206_Big Data Data Lakes and Data Oceans
STG206_Big Data Data Lakes and Data OceansAmazon Web Services
 
Navigating Microservice Architecture with AWS - AWS Public Sector Summit Sing...
Navigating Microservice Architecture with AWS - AWS Public Sector Summit Sing...Navigating Microservice Architecture with AWS - AWS Public Sector Summit Sing...
Navigating Microservice Architecture with AWS - AWS Public Sector Summit Sing...Amazon Web Services
 
Databases & Analytics - re:Invent Come to London 2.0
Databases & Analytics - re:Invent Come to London 2.0Databases & Analytics - re:Invent Come to London 2.0
Databases & Analytics - re:Invent Come to London 2.0Amazon Web Services
 
Building Multiregion Serverless Backends
Building Multiregion Serverless BackendsBuilding Multiregion Serverless Backends
Building Multiregion Serverless BackendsAmazon Web Services
 
Scaling up to Your First 10 Million Users
Scaling up to Your First 10 Million UsersScaling up to Your First 10 Million Users
Scaling up to Your First 10 Million UsersAmazon Web Services
 

Similaire à Build a Website & Mobile App for your first 10 million users (20)

Scaling Up to Your First 10 Million Users
Scaling Up to Your First 10 Million UsersScaling Up to Your First 10 Million Users
Scaling Up to Your First 10 Million Users
 
ARC201_Scaling Up to Your First 10 Million Users
ARC201_Scaling Up to Your First 10 Million UsersARC201_Scaling Up to Your First 10 Million Users
ARC201_Scaling Up to Your First 10 Million Users
 
Scale Website dan Mobile Applications Anda di AWS hingga 10 juta pengguna
Scale Website dan Mobile Applications Anda di AWS hingga 10 juta penggunaScale Website dan Mobile Applications Anda di AWS hingga 10 juta pengguna
Scale Website dan Mobile Applications Anda di AWS hingga 10 juta pengguna
 
Design, Build, and Modernize Your Web Applications with AWS
 Design, Build, and Modernize Your Web Applications with AWS Design, Build, and Modernize Your Web Applications with AWS
Design, Build, and Modernize Your Web Applications with AWS
 
ARC306_High Resiliency & Availability Of Online Entertainment Communities Usi...
ARC306_High Resiliency & Availability Of Online Entertainment Communities Usi...ARC306_High Resiliency & Availability Of Online Entertainment Communities Usi...
ARC306_High Resiliency & Availability Of Online Entertainment Communities Usi...
 
STG401_This Is My Architecture
STG401_This Is My ArchitectureSTG401_This Is My Architecture
STG401_This Is My Architecture
 
21st Century Analytics with Zopa
21st Century Analytics with Zopa21st Century Analytics with Zopa
21st Century Analytics with Zopa
 
How to Design a Multi-Region Active-Active Architecture
How to Design a Multi-Region Active-Active ArchitectureHow to Design a Multi-Region Active-Active Architecture
How to Design a Multi-Region Active-Active Architecture
 
STG316_Optimizing Storage for Big Data Workloads
STG316_Optimizing Storage for Big Data WorkloadsSTG316_Optimizing Storage for Big Data Workloads
STG316_Optimizing Storage for Big Data Workloads
 
ARC319_Multi-Region Active-Active Architecture
ARC319_Multi-Region Active-Active ArchitectureARC319_Multi-Region Active-Active Architecture
ARC319_Multi-Region Active-Active Architecture
 
Case Study: Ola Cabs Uses Amazon EBS and Elastic Volumes to Maximize MySQL De...
Case Study: Ola Cabs Uses Amazon EBS and Elastic Volumes to Maximize MySQL De...Case Study: Ola Cabs Uses Amazon EBS and Elastic Volumes to Maximize MySQL De...
Case Study: Ola Cabs Uses Amazon EBS and Elastic Volumes to Maximize MySQL De...
 
Amazon Relational Database Service – How is it different to what you do today ?
Amazon Relational Database Service – How is it different to what you do today ?Amazon Relational Database Service – How is it different to what you do today ?
Amazon Relational Database Service – How is it different to what you do today ?
 
Amazon Aurora (MySQL, Postgres)
Amazon Aurora (MySQL, Postgres)Amazon Aurora (MySQL, Postgres)
Amazon Aurora (MySQL, Postgres)
 
Running Oracle Databases on Amazon RDS - DAT313 - re:Invent 2017
Running Oracle Databases on Amazon RDS - DAT313 - re:Invent 2017Running Oracle Databases on Amazon RDS - DAT313 - re:Invent 2017
Running Oracle Databases on Amazon RDS - DAT313 - re:Invent 2017
 
I Want to Analyze and Visualize Website Access Logs, but Why Do I Need Server...
I Want to Analyze and Visualize Website Access Logs, but Why Do I Need Server...I Want to Analyze and Visualize Website Access Logs, but Why Do I Need Server...
I Want to Analyze and Visualize Website Access Logs, but Why Do I Need Server...
 
STG206_Big Data Data Lakes and Data Oceans
STG206_Big Data Data Lakes and Data OceansSTG206_Big Data Data Lakes and Data Oceans
STG206_Big Data Data Lakes and Data Oceans
 
Navigating Microservice Architecture with AWS - AWS Public Sector Summit Sing...
Navigating Microservice Architecture with AWS - AWS Public Sector Summit Sing...Navigating Microservice Architecture with AWS - AWS Public Sector Summit Sing...
Navigating Microservice Architecture with AWS - AWS Public Sector Summit Sing...
 
Databases & Analytics - re:Invent Come to London 2.0
Databases & Analytics - re:Invent Come to London 2.0Databases & Analytics - re:Invent Come to London 2.0
Databases & Analytics - re:Invent Come to London 2.0
 
Building Multiregion Serverless Backends
Building Multiregion Serverless BackendsBuilding Multiregion Serverless Backends
Building Multiregion Serverless Backends
 
Scaling up to Your First 10 Million Users
Scaling up to Your First 10 Million UsersScaling up to Your First 10 Million Users
Scaling up to Your First 10 Million Users
 

Plus 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
 

Plus 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
 

Build a Website & Mobile App for your first 10 million users

  • 1. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Build a Website & Mobile App on AWS for Your First 10 Million Users
  • 2. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Build a Website on AWS for Your First 10 Million Users11
  • 3. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Who are you?
  • 4. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. http://i.telegraph.co.uk/multimedia/archive/02674/CLIMBER_2674482b.jpg
  • 5. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 6. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Now that’s a lot of things to read! This is NOT where we want to start!
  • 7. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. It’s not the single thing that fixes everything.
  • 8. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What do we need first?
  • 9. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Some basics…
  • 10. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Global Infrastructure Region, # of zones Coming Soon!
  • 11. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Global Infrastructure Region, # of zones Coming Soon! 90+ Edge Locations
  • 12. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Global Footprint 190 countries 2,300 government agencies 7,000 educational institutions 22,000 Non profits organizations 16 regions (4 more announced) 43 availability zones 76 edge locations AWS regions consists of multiple Availability Zones (“AZs”) isolated for failures and with low latency networks connectivity making AWS the only provider that allows HA natively supported Region & Number of Availability Zones AWS GovCloud (2) US West: Oregon (3), Northern California (3) US East: Northern Virginia (5), Ohio (3) Canada: Central (2) South America: São Paulo (3) Europe: Ireland (3), Frankfurt (3), London (2) Asia Pacific: Singapore (2), Sydney (3), Tokyo (3), Seoul (2), Mumbai (2) China: Beijing (2) New Region (coming soon): Paris, Ningxia, Stockholm, Hong Kong
  • 13. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ENTERPRISE APPS DEVELOPMENT & OPERATIONSMOBILE SERVICESAPP SERVICESANALYTICS Data Warehousing Hadoop/ Spark Streaming Data Collection Machine Learning Elastic Search Virtual Desktops Sharing & Collaboration Corporate Email Backup Queuing & Notifications Workflow Search Email Transcoding One-click App Deployment Identity Sync Single Integrated Console Push Notifications DevOps Resource Management Application Lifecycle Management Containers Triggers Resource Templates TECHNICAL & BUSINESS SUPPORT Account Management Support Professional Services Training & Certification Security & Pricing Reports Partner Ecosystem Solutions Architects MARKETPLACE Business Apps Business Intelligence Databases DevOps Tools NetworkingSecurity Storage Regions Availability Zones Points of Presence INFRASTRUCTURE CORE SERVICES Compute VMs, Auto-scaling, & Load Balancing Storage Object, Blocks, Archival, Import/Export Databases Relational, NoSQL, Caching, Migration Networking VPC, DX, DNS CDN Access Control Identity Management Key Management & Storage Monitoring & Logs Assessment and reporting Resource & Usage Auditing SECURITY & COMPLIANCE Configuration Compliance Web application firewall HYBRID ARCHITECTURE Data Backups Integrated App Deployments Direct Connect Identity Federation Integrated Resource Management Integrated Networking API Gateway IoT Rules Engine Device Shadows Device SDKs Registry Device Gateway Streaming Data Analysis Business Intelligence Mobile Analytics
  • 14. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Aws building blocks
  • 15. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Region Region Production applications that are highly available The AWS Cloud infrastructure: • Availability Zones (43) consist of one or more discrete data centers, each with redundant power, networking, and connectivity, housed in separate facilities. • A Region (16) is a physical location in the world where we have multiple Availability Zones. 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 21 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 N 2 1 AZ Availability Zones (AZs) provide the resiliency of performing real-time data replication and the reliability of multiple physical locations 2 Low latency ensures real data replication Distance ensures high availability
  • 16. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. So let’s start from…
  • 17. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. You
  • 18. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 1 User Amazon EC2 instance Elastic IP User Amazon Route 53
  • 19. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. “We’re gonna need a bigger box” • Simplest approach • Can now leverage PIOPS • High I/O instances • High memory instances • High CPU instances • High storage instances • Easy to change instance sizes • Will hit an endpoint eventually c4.8xlarge m4.2xlarge t2.micro
  • 20. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. “We’re gonna need a bigger box” • Simplest approach • Can now leverage PIOPS • High I/O instances • High memory instances • High CPU instances • High storage instances • Easy to change instance sizes • Will hit an endpoint eventually c4.8xlarge m4.2xlarge t2.micro
  • 21. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 1 User • No failover • No redundancy • Too many eggs in one basket EC2 Instance Elastic IP User Amazon Route 53
  • 22. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Users >1
  • 23. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Users > 1 Web Instance Database Instance Elastic IP User Amazon Route 53
  • 24. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Self-managed Fully managed Amazon EC2 Amazon DynamoDB Amazon RDS Amazon Redshift Database options
  • 25. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • MySQL or Postgres compatible • Automatic storage scaling (up to 64 TB) • Up to 15 read-replicas • Continuous (incremental) backups to Amazon S3 • 6-way replication across 3 zones Amazon Aurora
  • 26. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. To NoSQL, or not to NoSQL?
  • 27. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Start with SQL databases
  • 28. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Why start with SQL? • Established and well-worn technology. • Lots of existing code, communities, books, and tools. • You aren’t going to break SQL DBs in your first millions of users. No, really, you won’t.* • Clear patterns to scalability. *Unless you are doing something SUPER peculiar with the data or you have MASSIVE amounts of it. …but even then SQL will have a place in your stack.
  • 29. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. > 5 TB in year one? Incredibly data intensive workload? OK! You might need NoSQL.
  • 30. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Why else might you need NoSQL? • Super low-latency applications • Highly nonrelational data • Need schema-less data constructs* • Rapid ingest of data (thousands of records/sec) • Massive amounts of data (again, in the TB range) *Need!= “It’s easier to do dev without schemas”
  • 31. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Users >100
  • 32. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Users >100 Web instance Elastic IP RDS DB instance User Amazon Route 53
  • 33. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Users >1000
  • 34. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Users >1000 Web Instance RDS DB Instance Active (Multi-AZ) Availability Zone Availability Zone Web Instance RDS DB Instance Standby (Multi-AZ) Load balancer User Amazon Route 53
  • 35. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Elastic Load Balancing • Highly available • TCP/{1 – 65535} • Health checks • Session stickiness • Monitoring / logging • Secure sockets layer
  • 36. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Application Load Balancer • Highly available • TCP/{1 – 65535} • Health checks • Session stickiness • Monitoring / logging • Content-based routing • Container-based apps • WebSockets • HTTP/2
  • 37. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. horizontally vertically
  • 38. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ASEAN Customer
  • 39. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Users >100,000
  • 40. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Users > 10,000s–100,000s RDS DB Instance Active (Multi-AZ) Availability Zone Availability Zone RDS DB Instance Standby (Multi-AZ) Load balancer RDS DB Instance Read Replica RDS DB Instance Read Replica RDS DB Instance Read Replica RDS DB Instance Read Replica Web Instance Web Instance Web Instance Web Instance Web Instance Web Instance Web Instance Web Instance Amazon Route 53User
  • 41. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What about performance and efficiency?
  • 42. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. RDS DB Instance Active (Multi-AZ) Availability Zone Load balancer Amazon S3 Amazon CloudFront Amazon Route 53 User Shift some load around Web Instances Availability Zone Web Instances RDS DB Instance Standby (Multi-AZ)
  • 43. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Load balancer Amazon S3 Amazon CloudFront Amazon Route 53 User Shift some load around Availability Zone Web Instances RDS DB Instance Standby (Multi-AZ)
  • 44. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • Object-based storage • Highly durable • Great for static assets • “Infinitely scalable” • Objects up to 5 TB in size • Optional encryption Amazon Simple Storage Service (S3)
  • 45. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Cache content for faster delivery • Lower load on origin • Dynamic and static content • Low TTLs (as short as 0 seconds) • Streaming video • Custom SSL certificates • Optimized for AWS Amazon CloudFront
  • 46. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon CloudFront Response Time Server Load Response Time Server Load Response Time Server Load No CDN CDN for Static Content CDN for Static & Dynamic Content 0 50 100 12:00AM 12:00AM 12:00AM 12:00AM 12:00AM 12:00AM 12:00AM 12:00AM 12:00AM 12:00AM 12:00AM 12:00AM 12:00AM 12:00AM VolumeofData Delivered(Gbps)
  • 47. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ASEAN Customer
  • 48. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Shift some load around RDS DB Instance Active (Multi-AZ) Availability Zone Load balancer Amazon S3 Amazon CloudFrontUser ElastiCache DynamoDB Web Instances Amazon Route 53
  • 49. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon DynamoDB • Managed NoSQL database • Provisioned throughput • Fast, predictable performance • Fully distributed, fault tolerant • JSON support • Items up to 400 KB
  • 50. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon ElastiCache • Managed Memcached or Redis • Scale from one to many nodes • Self-healing (replaces dead instance) • Single digit ms speeds (usually) • Local to a single AZ for Memcache • Multi-AZ possible with Redis
  • 51. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Shift some load around RDS DB Instance Active (Multi-AZ) Availability Zone Load balancer Amazon S3 Amazon CloudFront Amazon Route 53 User ElastiCache DynamoDB Web Instances
  • 52. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Now that our web tier is much more lightweight, we can revisit the beginning of our talk…
  • 53. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Auto Scaling!
  • 54. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Automatic resizing of compute clusters Define min/max pool sizes CloudWatch metrics drive scaling On-Demand or Spot Instances aws autoscaling create-auto-scaling-group --auto-scaling-group-name MyGroup --launch-configuration-name MyConfig --min-size 4 --max-size 200 --availability-zones us-west-2c, us-west-2b Auto Scaling
  • 55. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Sunday Monday Tuesday Wednesday Thursday Friday Saturday Typical weekly traffic to Amazon.com
  • 56. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Sunday Monday Tuesday Wednesday Thursday Friday Saturday Typical weekly traffic to Amazon.com Provisioned capacity
  • 57. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. November November traffic to Amazon.com
  • 58. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Provisioned capacity November November traffic to Amazon.com
  • 59. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. November traffic to Amazon.com 76% 24% November Provisioned capacity
  • 60. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. November traffic to Amazon.com November
  • 61. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Auto Scaling lets you do this!
  • 62. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Users > 500,000+ Availability Zone Amazon Route 53 User Amazon S3 Amazon CloudFront Availability Zone Load balancer DynamoDB RDS DB Instance Read Replica Web Instance Web Instance Web Instance ElastiCache RDS DB Instance Read Replica Web Instance Web Instance Web Instance ElastiCacheRDS DB Instance Standby (Multi-AZ) RDS DB Instance Active (Multi-AZ)
  • 63. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Users > 500,000+ Availability Zone Amazon Route 53 User Amazon S3 Amazon CloudFront Availability Zone Load balancer DynamoDB RDS DB Instance Read Replica Web Instance Web Instance Web Instance ElastiCache RDS DB Instance Read Replica Web Instance Web Instance Web Instance ElastiCacheRDS DB Instance Standby (Multi-AZ) RDS DB Instance Active (Multi-AZ)
  • 64. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Use automation
  • 65. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Whoa!
  • 66. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS application management solutions Convenience Control Higher-level services Do it yourself AWS Elastic Beanstalk AWS OpsWorks AWS CloudFormation Amazon EC2
  • 67. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS CodeDeploy • Deploys your code to a “fleet” of EC2 instances • 1 – 10,000s of instances • Automatically schedules updates (multiple zones) • Application and Deployment groups described in YAML-formatted files • Can reference Auto Scaling groups • AWS Management Console, CLI, or APIs • Can be used with Chef recipes or Puppet scripts
  • 68. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Users >500,000+ • Monitoring, metrics, and logging • If you can’t build it internally, outsource it! (third-party SaaS) • What are customers saying? • Try to squeeze as much performance out of each service/component
  • 69. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AGGREGATE LEVEL METRICS LOG ANALYSIS EXTERNAL SITE PERFORMANCE HOST LEVEL METRICS
  • 70. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. There are further improvements to be made in breaking apart our web/app layer
  • 71. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SOA What does this mean?
  • 72. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 73. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Now that’s a lot of things to read! This is NOT where we want to start!
  • 74. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. This is NOT where we want to start! This IS where we want to start! Now that’s a lot of things to read!
  • 75. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SOAing Move services into their own tiers • Treat them separately • Scale them independently It offers flexibility and greater understanding of each component
  • 76. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Loose coupling + SOA = winning DON’T REINVENT THE WHEEL • Email • Queuing • Transcoding • Search • Databases • Monitoring • Metrics • Logging • Compute Amazon CloudSearch Amazon SQSAmazon SNS Amazon Elastic Transcoder Amazon SWFAmazon SES AWS Lambda
  • 77. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • Reliable (Multi-AZ) • Scalable (unlimited messages) • Secure (queue authentication) • Simple (simple APIs) Application Services – Amazon SQS SQS messages Get message Instance Put message Instance Amazon SNS Topic Publish notification Queue is subscribed to topic
  • 78. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Compute / Platform – AWS Lambda • Functions triggered by events • JavaScript, Java, Python, and C# • Managed • Implicit scaling S3 bucket Lambda Push: event notification DynamoDB Pull: DynamoDB Stream Amazon Kinesis Pull: Amazon Kinesis stream
  • 79. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Loose coupling sets you free! The looser they're coupled, the bigger they scale • Independent components • Design everything as a black box • Decouple interactions • Favor services with built-in redundancy and scalability • Don’t build your own! S3 bucket Lambda Push: event notification DynamoDB Pull: DynamoDB Stream Amazon Kinesis SQS messages Get message Instance Put message Instance Amazon SNS Topic Publish notification Queue is subscribed to topic Pull: Amazon Kinesis stream
  • 80. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Users >1,000,000
  • 81. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Users >1 million+ Reaching a million and above is going to require some bit of all the previous things: • Multi-AZ • Elastic Load Balancing between tiers • Auto Scaling • Service oriented architecture (SOA) • Serving content smartly (Amazon S3/CloudFront) • Caching off DB • Moving state off tiers that auto scale
  • 82. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Users >1 million+ RDS DB Instance Active (Multi-AZ) Availability Zone Load balancer RDS DB Instance Read Replica RDS DB Instance Read Replica Web Instance Web Instance Web Instance Web Instance Amazon Route 53 User Amazon S3 Amazon CloudFront DynamoDB Amazon SQS ElastiCache Worker Instance Worker Instance Amazon CloudWatch Internal App Instance Internal App Instance Amazon SES Lambda
  • 83. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Global Customer
  • 84. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. The next big steps
  • 85. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Users >5 million - 10 million Database Issues? How can you solve it? • Federation—splitting into multiple DBs based on function • Sharding—splitting one dataset up across multiple hosts • Moving some functionality to other types of DBs (NoSQL, Graph)
  • 86. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Database federation • Split up databases by function/purpose • Harder to do cross-function queries • Essentially delays sharding/NoSQL • Won’t help with single huge functions/tables Forums DB Users DB Products DB
  • 87. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Sharded horizontal scaling • More complex at the application layer • No practical limit on scalability • Operation complexity/sophistication • Shard by function or key space • RDBMS or NoSQL User ShardID 002345 A 002346 B 002347 C 002348 B 002349 A CBA
  • 88. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Shifting functionality to NoSQL • Similar in a sense to federation • NoSQL vs. SQL • Leverage managed services like DynamoDB Some use cases: • Leaderboards/scoring • Rapid ingest of clickstream/log data • Temporary data needs (cart data) • “Hot” tables • Metadata/lookup tables DynamoDB
  • 89. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. A quick review
  • 90. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. A quick review • Multi-AZ your infrastructure. • Make use of self-scaling services—ELB, Amazon S3, Amazon SNS, Amazon SQS, Amazon SWF, Amazon SES, etc. • Built-in redundancy at every level • Start with what you know: SQL/NoSQL • Cache data both inside and outside your infrastructure. • Use automation tools in your infrastructure.
  • 91. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. A quick review continued • Make sure you have good metrics/monitoring/logging • Split tiers into individual services (SOA) • Use Auto Scaling once you’re ready for it • Don’t reinvent the wheel • Move to NoSQL if and when it makes sense
  • 92. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Web and Mobile Application for 11 Million Users
  • 93. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Follow Us on Social Media @AmazonWebServices @AWSCloud @AWSCloudSEAsia
  • 94. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Thank You