SlideShare una empresa de Scribd logo
1 de 61
Descargar para leer sin conexión
©2015,  Amazon  Web  Services,  Inc.  or  its  affiliates.  All  rights  reserved
Scaling Up to Your First
10 Million Users
(based on ARC 301 from re:Invent 2015)
Julien Simon
Principal Technical Evangelist
Amazon Web Services
julsimon@amazon.fr
@julsimon
What do we need first?
AWS building blocks
Inherently highly available and
fault-tolerant services
Highly available with
the right
architecture
!  Amazon CloudFront
!  Amazon Route53
!  Amazon S3
!  Amazon DynamoDB
!  Elastic Load Balancing
!  Amazon SQS
!  Amazon SNS
!  Amazon SES
!  Amazon SWF
!  …
"  Amazon EC2
"  Amazon Elastic Block Store
"  Amazon RDS
"  Amazon VPC
So let’s start from
day 1, user 1 (you)
Day 1, user 1
•  A single Amazon EC2
instance
–  With full stack on this host
•  Web app
•  Database
•  Management
•  And so on…
•  A single Elastic IP address
•  Amazon Route 53 for DNS
Amazon
EC2
instance
Elastic IP
address
Amazon
Route 53
User
“We’re gonna need a bigger box”
•  “Scale up”: 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 a wall eventually
c4.8xlarge
m4.2xlarge
t2.micro
“We’re gonna need a bigger box”
•  “Scale up”: 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 a wall eventually
c4.8xlarge
m4.2xlarge
t2.micro
Day 1, user 1
•  We could potentially get
to a few hundred to a few
thousand depending on
application complexity
and traffic
•  No failover
•  No redundancy
•  Too many eggs in one
basket
EC2
instance
Elastic IP
address
Amazon
Route 53
User
Day 1, user 1
•  We could potentially get
to a few hundred to a few
thousand depending on
application complexity
and traffic
•  No failover
•  No redundancy
•  Too many eggs in one
basket
EC2
instance
Elastic IP
address
Amazon
Route 53
User
Day 2, user > 1
First, let’s separate out
our single host into
more than one
•  Web
•  Database
–  Make use of a database
service?
Web
instance
Database
instance
Elastic IP
address
Amazon
Route 53
User
Self-managed Fully managed
Database server
on Amazon EC2
Your choice of
database running on
Amazon EC2
Bring Your Own
License (BYOL)
Amazon
DynamoDB
Managed NoSQL
database service
using SSD storage
Seamless scalability
Zero administration
Amazon RDS
SQL Server, Oracle,
MySQL, MariaDB,
Aurora or
PostgreSQL as a
managed service
Flexible licensing:
BYOL or license
included
Amazon
Redshift
Massively parallel,
petabyte-scale data
warehouse service
Fast, powerful, and
easy to scale
Database options
But how do I choose the
DB technology I need?
SQL? NoSQL?
Some folks won’t like this.
But…
Start with (scalable) SQL databases
Why start with SQL?
•  Established and well-worn technology.
•  Lots of existing code, communities, books, background,
tools, and more.
•  You aren’t going to break SQL DBs in your first 10 million
users. No, really, you won’t.*
•  Clear patterns to scalability.
*Unless you are doing something SUPER weird with the data or you have MASSIVE
amounts of it, but even then SQL will have a place in your stack.
Why might you need NoSQL from day 1?
•  Super low-latency applications
•  Metadata-driven datasets
•  Highly nonrelational data
•  Need schema-less data constructs*
•  Massive amounts of data (in the multi TB range)
•  Rapid ingest of data (thousands of records/sec )
*Need != “It’s easier to do dev without schemas”
Users > 100
First, let’s separate out
our single host into
more than one:
•  Web
•  Database
–  Use Amazon RDS to make
your life easier
Web
instance
Elastic IP
address
RDS DB
instance
Amazon
Route 53
User
Users > 1000
Next, let’s address our
lack of failover and
redundancy issues:
•  Elastic Load
Balancing (ELB)
•  Another web instance
–  In another Availability
Zone
•  RDS Multi-AZ
Web
Instance
RDS DB Instance
Active (Multi-AZ)
Availability Zone Availability Zone
Web
Instance
RDS DB Instance
Standby (Multi-AZ)
ELB
Balancer
Amazon
Route 53
User
•  Create highly scalable applications
•  Distribute load across EC2 instances
in multiple Availability Zones
Feature	
   Details	
  
Available	
   Load	
  balances	
  across	
  instances	
  in	
  mul1ple	
  
Availability	
  Zones	
  
Health	
  checks	
   Automa1cally	
  checks	
  health	
  of	
  instances	
  and	
  
takes	
  them	
  in	
  or	
  out	
  of	
  service	
  
Session	
  s6ckiness	
   Routes	
  requests	
  to	
  the	
  same	
  instance	
  
Secure	
  sockets	
  layer	
   Supports	
  SSL	
  offload	
  from	
  web	
  and	
  applica1on	
  
servers	
  with	
  flexible	
  cipher	
  support	
  
Monitoring	
   Publishes	
  metrics	
  to	
  Amazon	
  CloudWatch	
  and	
  
can	
  get	
  logs	
  of	
  requests	
  processed	
  
ELB Balancer
Elastic Load Balancing
Scaling this horizontally and
vertically will get us pretty far
(tens to hundreds of
thousands)
Users > 10,000s–100,000s
RDS DB Instance
Active (Multi-AZ)
Availability Zone Availability Zone
RDS DB Instance
Standby (Multi-AZ)
ELB
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 53
User
This will take us pretty far, but
we care about performance
and efficiency, so let’s
improve further
RDS DB Instance
Active (Multi-AZ)
Availability Zone
ELB
Balancer
Amazon
Route 53
User
Let’s lighten the load on our
web and database instances:
•  Move static content from
the web instance to
Amazon S3 and Amazon
CloudFront
•  Move session/state and
DB caching to Amazon
ElastiCache or Amazon
DynamoDB
Shift some load around
Web Instances
RDS DB Instance
Active (Multi-AZ)
Availability Zone
ELB
Balancer
Amazon S3
Amazon
CloudFront
Amazon
Route 53
User
Let’s lighten the load on our
web and database instances:
•  Move static content from
the web instance to
Amazon S3 and Amazon
CloudFront
•  Move session/state and
DB caching to Amazon
ElastiCache or Amazon
DynamoDB
Shift some load around
Web Instances
Amazon S3
Amazon S3 is cloud storage for the
Internet:
•  Object-based storage
•  11 9s of durability
•  Good for things like the following:
–  Static assets (CSS, JS, images,
videos)
–  Backups
–  Logs
–  Ingest of files for processing
•  “Infinitely scalable”
•  Objects up to 5 TB in size
•  Can host static websites
•  Supports fine-grained permission control
•  Ties in well with Amazon CloudFront
•  Ties in with Amazon EMR
•  Acts as a logging endpoint for S3,
CloudFront, Billing, ELB, AWS CloudTrail,
and more
•  Supports encryption at transit and at rest
•  Reduced redundancy is 1/3 cheaper
•  Amazon Glacier for super long-term
storage at 1/3 the cost of S3
Amazon S3
Amazon CloudFront
Amazon CloudFront is a web service for scalable
content delivery:
•  Cache static content at the edge for faster delivery
•  Helps lower load on origin infrastructure
•  Dynamic and static content
•  Streaming video
•  Zone apex support
•  Custom SSL certificates
•  Low TTLs (as short as 0 seconds)
•  Lower costs for origin fetches (between Amazon
S3/Amazon EC2 and Amazon CloudFront)
•  Optimized to work with Amazon EC2, Amazon S3,
Elastic Load Balancing, and Amazon Route 53
Response	
  Time	
  
Server	
  Load	
  
Response	
  
Time	
  
Server	
  
Load	
  
Response	
  
Time	
  
Server	
  
Load	
  
No	
  CDN	
   CDN	
  for	
  Sta1c	
  
Content	
  
CDN	
  for	
  Sta1c	
  &	
  
Dynamic	
  Content	
  
0	
  
20	
  
40	
  
60	
  
80	
  
8:00	
  
AM	
  
9:00	
  
AM	
  
10:00	
  
AM	
  
11:00	
  
AM	
  
12:00	
  
PM	
  
1:00	
  
PM	
  
2:00	
  
PM	
  
3:00	
  
PM	
  
4:00	
  
PM	
  
5:00	
  
PM	
  
6:00	
  
PM	
  
7:00	
  
PM	
  
8:00	
  
PM	
  
9:00	
  
PM	
  
VolumeofData
Delivered(Gbps)
Shift some load around
Let’s lighten the load on our
web and database instances:
•  Move static content from the
web instance to Amazon S3
and Amazon CloudFront
•  Move session/state and
DB caching to Amazon
ElastiCache or Amazon
DynamoDB
RDS DB Instance
Active (Multi-AZ)
Availability Zone
ELB
Balancer
Amazon S3
Amazon
CloudFront
Amazon
Route 53
User
ElastiCache
DynamoDB
Web Instances
Amazon DynamoDB
•  Managed, provisioned throughput
NoSQL database
•  Fast, predictable performance
•  Fully distributed, fault-tolerant
architecture
•  JSON support
•  Items up to 400 KB
Feature	
   Details	
  
Provisioned	
  
throughput	
  
Dial	
  up	
  or	
  down	
  provisioned	
  
read/write	
  capacity	
  
Predictable	
  
performance	
  
Average	
  single-­‐digit	
  millisecond	
  
latencies	
  from	
  SSD-­‐backed	
  
infrastructure	
  
Strong	
  
consistency	
  
Be	
  sure	
  you	
  are	
  reading	
  the	
  
most	
  up-­‐to-­‐date	
  values	
  
Fault	
  tolerant	
   Data	
  replicated	
  across	
  
Availability	
  Zones	
  
Monitoring	
   Integrated	
  with	
  Amazon	
  
CloudWatch	
  
Secure	
   Integrates	
  with	
  AWS	
  Iden1ty	
  
and	
  Access	
  Management	
  (IAM)	
  
Amazon	
  EMR	
   Integrates	
  with	
  Amazon	
  EMR	
  for	
  
complex	
  analy1cs	
  on	
  large	
  
datasets	
  
Amazon ElastiCache
•  Hosted Memcached and Redis
–  Speaks same API as traditional open source
Memcached and Redis
•  Scale from one to many nodes
•  Self-healing (replaces dead instance)
•  Very fast ( single digit ms speeds usually (or less) )
•  Local to a single AZ for Memcache, with no persistence or
replication
•  With Redis, can put a replica in a different AZ with
persistence
•  Use the AWS Auto Discovery client to simplify clusters
growing and shrinking without affecting your application
Shift some load around
Let’s lighten the load on our
web and database instances:
•  Move static content from the
web instance to Amazon S3
and Amazon CloudFront
•  Move session/state and DB
caching to ElastiCache or
DynamoDB
•  Move dynamic content from
the ELB balancer to
Amazon CloudFront
RDS DB Instance
Active (Multi-AZ)
Availability Zone
ELB
Balancer
Amazon S3
Amazon
CloudFront
Amazon
Route 53
User
ElastiCache
DynamoDB
Web Instances
Shift some load around:
Let’s lighten the load on our
web and database instances:
•  Move static content from the
web instance to Amazon S3
and Amazon CloudFront
•  Move session/state and DB
caching to ElastiCache or
DynamoDB
•  Move dynamic content
from the ELB balancer to
Amazon CloudFront
RDS DB Instance
Active (Multi-AZ)
Availability Zone
ELB
Balancer
Amazon S3
Amazon
CloudFront
Amazon
Route 53
User
ElastiCache
DynamoDB
Web Instances
Now that our web tier is
much more lightweight…
Auto Scaling!
Automatic resizing of compute
clusters based on demand
Feature	
   Details	
  
Control	
   Define	
  minimum	
  and	
  maximum	
  instance	
  
pool	
  sizes	
  and	
  when	
  scaling	
  and	
  cool	
  
down	
  occurs.	
  
Integrated	
  with	
  
Amazon	
  
CloudWatch	
  
Use	
  metrics	
  gathered	
  by	
  CloudWatch	
  to	
  
drive	
  scaling.	
  
Instance	
  types	
   Run	
  Auto	
  Scaling	
  for	
  on-­‐demand	
  and	
  Spot	
  
Instances.	
  Compa1ble	
  with	
  VPC.	
  
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
Auto Scaling Group
EC2 EC2
Users > 500,000+
Availability Zone
Amazon
Route 53
User
Amazon S3
Amazon
CloudFront
Availability Zone
ELB
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)
Use automation
Managing your infrastructure will become an ever
increasing important part of your time. Use tools to
automate repetitive tasks:
•  Tools to manage AWS resources
•  Tools to manage software and configuration on your
instances
•  Automated data analysis of logs and user actions
AWS application management solutions
Convenience Control
Higher-level services Do it yourself
AWS
Elastic Beanstalk
AWS
OpsWorks
AWS
CloudFormation
Amazon EC2
User > 500,000+
You’ll potentially start to run into issues with speed and
performance of your applications:
•  Make sure you have monitoring, metrics, and logging in place
–  If you can’t build it internally, outsource it! (third-party SaaS)
•  Pay attention to what customers are saying works well vs.
what doesn’t, and use this direction
•  Try to squeeze as much performance out of each service/
component
HOST
LEVEL
METRICS
AGGREGATE
LEVEL
METRICS
EXTERNAL
SITE
PERFORMANCE
LOG
ANALYSIS
There are more
improvements to be made
in breaking apart our
web/app layer
SOA…what does this mean?
SOAing
•  Move services into their own tiers/modules. Treat each
of these as 100% separate pieces of your
infrastructure, and scale them independently.
•  Amazon.com and AWS do this extensively! It offers
flexibility and better understanding of each component.
Loose coupling + SOA = winning
DON’T REINVENT THE WHEEL.
Examples:
•  Email
•  Queuing
•  Transcoding
•  Search
•  Databases
•  Monitoring
•  Metrics
•  Logging
•  Compute
Amazon
CloudSearch
Amazon SQSAmazon SNS
Amazon Elastic
Transcoder
Amazon SWFAmazon SES
In the early days, if someone has a service for it already,
opt to use that instead of building it yourself.
AWS Lambda
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 rather than
building your own
S3 Bucket
Lambda
Push: Event
Notification
DynamoDB
Pull: DynamoDB
Stream
Amazon
Kinesis
Pull: 
DynamoDB Stream
SQS
messages
Get
Message
Instance
Put
Message
Instance
Amazon SNS
 Topic
Publish
Notification
Queue Is Subscribed
to Topic
User > 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
•  Serving content smartly (Amazon S3/CloudFront )
•  Caching off DB
•  Moving state off tiers that auto scale
User > 1 million +
RDS DB Instance
Active (Multi-AZ)
Availability Zone
ELB
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
The next big steps
User > 5 million–10 million
You’ll potentially start to run into issues with your database
around contention on the write master.
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)
Database federation
•  Split up databases by function/
purpose
•  Harder to do cross-function
queries
•  Essentially delaying the need
for something like sharding/
NoSQL until much further down
the line
•  Won’t help with single huge
functions/tables
Forums DB
Users DB
Products
DB
Sharded horizontal scaling
•  More complex at the
application layer
•  ORM support can help
•  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
A
B
B
C
Shifting functionality to NoSQL
•  Similar in a sense to federation
•  Again, think about the earlier points for NoSQL vs. SQL
•  Leverage hosted 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
A quick review
A quick review
•  Multi-AZ your infrastructure.
•  Make use of self-scaling services—ELB, Amazon S3,
Amazon SNS, Amazon SQS, Amazon SWF, Amazon SES, and more.
•  Build in redundancy at every level.
•  Start with SQL. Seriously.
•  Cache data both inside and outside your
infrastructure.
•  Use automation tools in your infrastructure.
A quick review continued
•  Make sure you have good metrics/monitoring/
logging tools in place
•  Split tiers into individual services (SOA)
•  Use Auto Scaling as soon as you’re ready for it
•  Don’t reinvent the wheel
•  Move to NoSQL if and when it makes sense
Putting all this together
means we should now
easily be able to handle
10+ million users!
To infinity...
Next steps?
READ!
•  aws.amazon.com/documentation
•  aws.amazon.com/architecture
•  aws.amazon.com/start-ups
START USING AWS
•  aws.amazon.com/free/
Next steps?
ASK FOR HELP!
•  forums.aws.amazon.com
•  aws.amazon.com/premiumsupport/
•  Your Account Manager
•  A Solutions Architect
©2015,  Amazon  Web  Services,  Inc.  or  its  affiliates.  All  rights  reserved
Julien Simon
Principal Technical Evangelist
Amazon Web Services
julsimon@amazon.fr
@julsimon

Más contenido relacionado

La actualidad más candente

Ceate a Scalable Cloud Architecture
Ceate a Scalable Cloud ArchitectureCeate a Scalable Cloud Architecture
Ceate a Scalable Cloud ArchitectureAmazon Web Services
 
An introduction to AWS CloudFormation - Pop-up Loft Tel Aviv
An introduction to AWS CloudFormation - Pop-up Loft Tel AvivAn introduction to AWS CloudFormation - Pop-up Loft Tel Aviv
An introduction to AWS CloudFormation - Pop-up Loft Tel AvivAmazon Web Services
 
Hack-Proof Your Cloud: Responding to 2016 Threats
Hack-Proof Your Cloud: Responding to 2016 ThreatsHack-Proof Your Cloud: Responding to 2016 Threats
Hack-Proof Your Cloud: Responding to 2016 ThreatsAmazon Web Services
 
Getting Started with Docker on AWS
Getting Started with Docker on AWSGetting Started with Docker on AWS
Getting Started with Docker on AWSAmazon Web Services
 
ENT309 Scaling Up to Your First 10 Million Users
ENT309 Scaling Up to Your First 10 Million UsersENT309 Scaling Up to Your First 10 Million Users
ENT309 Scaling Up to Your First 10 Million UsersAmazon Web Services
 
Simple, Scalable and Highly Durable NAS in the Cloud – Amazon EFS
Simple, Scalable and Highly Durable NAS in the Cloud – Amazon EFSSimple, Scalable and Highly Durable NAS in the Cloud – Amazon EFS
Simple, Scalable and Highly Durable NAS in the Cloud – Amazon EFSAmazon Web Services
 
Amazon Ec2 Application Design
Amazon Ec2 Application DesignAmazon Ec2 Application Design
Amazon Ec2 Application Designguestd0b61e
 
Advanced Security Masterclass - Tel Aviv Loft
Advanced Security Masterclass - Tel Aviv LoftAdvanced Security Masterclass - Tel Aviv Loft
Advanced Security Masterclass - Tel Aviv LoftIan Massingham
 
Deep Dive: Amazon Relational Database Service (March 2017)
Deep Dive: Amazon Relational Database Service (March 2017)Deep Dive: Amazon Relational Database Service (March 2017)
Deep Dive: Amazon Relational Database Service (March 2017)Julien SIMON
 
Deep Dive on Elastic Load Balancing
Deep Dive on Elastic Load BalancingDeep Dive on Elastic Load Balancing
Deep Dive on Elastic Load BalancingAmazon Web Services
 
AWS Webcast - Website Hosting in the Cloud
AWS Webcast - Website Hosting in the CloudAWS Webcast - Website Hosting in the Cloud
AWS Webcast - Website Hosting in the CloudAmazon Web Services
 
Enterprise Grade SQL Server Deployments in AWS
Enterprise Grade SQL Server Deployments in AWSEnterprise Grade SQL Server Deployments in AWS
Enterprise Grade SQL Server Deployments in AWSAmazon Web Services
 
AWS: Scaling With Elastic Beanstalk
AWS: Scaling With Elastic BeanstalkAWS: Scaling With Elastic Beanstalk
AWS: Scaling With Elastic BeanstalkKMS Technology
 
Scaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million UsersScaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million UsersAmazon Web Services
 
T1 – Architecting highly available applications on aws
T1 – Architecting highly available applications on awsT1 – Architecting highly available applications on aws
T1 – Architecting highly available applications on awsAmazon Web Services
 

La actualidad más candente (20)

Amazon EC2 Masterclass
Amazon EC2 MasterclassAmazon EC2 Masterclass
Amazon EC2 Masterclass
 
Ceate a Scalable Cloud Architecture
Ceate a Scalable Cloud ArchitectureCeate a Scalable Cloud Architecture
Ceate a Scalable Cloud Architecture
 
An introduction to AWS CloudFormation - Pop-up Loft Tel Aviv
An introduction to AWS CloudFormation - Pop-up Loft Tel AvivAn introduction to AWS CloudFormation - Pop-up Loft Tel Aviv
An introduction to AWS CloudFormation - Pop-up Loft Tel Aviv
 
Hack-Proof Your Cloud: Responding to 2016 Threats
Hack-Proof Your Cloud: Responding to 2016 ThreatsHack-Proof Your Cloud: Responding to 2016 Threats
Hack-Proof Your Cloud: Responding to 2016 Threats
 
Getting Started with Docker on AWS
Getting Started with Docker on AWSGetting Started with Docker on AWS
Getting Started with Docker on AWS
 
ENT309 Scaling Up to Your First 10 Million Users
ENT309 Scaling Up to Your First 10 Million UsersENT309 Scaling Up to Your First 10 Million Users
ENT309 Scaling Up to Your First 10 Million Users
 
Simple, Scalable and Highly Durable NAS in the Cloud – Amazon EFS
Simple, Scalable and Highly Durable NAS in the Cloud – Amazon EFSSimple, Scalable and Highly Durable NAS in the Cloud – Amazon EFS
Simple, Scalable and Highly Durable NAS in the Cloud – Amazon EFS
 
Amazon Ec2 Application Design
Amazon Ec2 Application DesignAmazon Ec2 Application Design
Amazon Ec2 Application Design
 
Advanced Security Masterclass - Tel Aviv Loft
Advanced Security Masterclass - Tel Aviv LoftAdvanced Security Masterclass - Tel Aviv Loft
Advanced Security Masterclass - Tel Aviv Loft
 
Amazon ECS
Amazon ECSAmazon ECS
Amazon ECS
 
Deep Dive: Amazon Relational Database Service (March 2017)
Deep Dive: Amazon Relational Database Service (March 2017)Deep Dive: Amazon Relational Database Service (March 2017)
Deep Dive: Amazon Relational Database Service (March 2017)
 
Deep Dive on Elastic Load Balancing
Deep Dive on Elastic Load BalancingDeep Dive on Elastic Load Balancing
Deep Dive on Elastic Load Balancing
 
Architecting for Resiliency
Architecting for ResiliencyArchitecting for Resiliency
Architecting for Resiliency
 
AWS Webcast - Website Hosting in the Cloud
AWS Webcast - Website Hosting in the CloudAWS Webcast - Website Hosting in the Cloud
AWS Webcast - Website Hosting in the Cloud
 
Enterprise Grade SQL Server Deployments in AWS
Enterprise Grade SQL Server Deployments in AWSEnterprise Grade SQL Server Deployments in AWS
Enterprise Grade SQL Server Deployments in AWS
 
AWS: Scaling With Elastic Beanstalk
AWS: Scaling With Elastic BeanstalkAWS: Scaling With Elastic Beanstalk
AWS: Scaling With Elastic Beanstalk
 
Comenzando com la nube hibrida
Comenzando com la nube hibrida Comenzando com la nube hibrida
Comenzando com la nube hibrida
 
Scaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million UsersScaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million Users
 
T1 – Architecting highly available applications on aws
T1 – Architecting highly available applications on awsT1 – Architecting highly available applications on aws
T1 – Architecting highly available applications on aws
 
AWS Black Belt Tips
AWS Black Belt TipsAWS Black Belt Tips
AWS Black Belt Tips
 

Similar a Scaling up to your first 10 million users - Pop-up Loft Tel Aviv

Deep Dive: Scaling Up to Your First 10 Million Users
Deep Dive: Scaling Up to Your First 10 Million UsersDeep Dive: Scaling Up to Your First 10 Million Users
Deep Dive: Scaling Up to Your First 10 Million UsersAmazon Web Services
 
Scaling on AWS for the First 10 Million Users (ARC206) | AWS re:Invent 2013
Scaling on AWS for the First 10 Million Users (ARC206) | AWS re:Invent 2013Scaling on AWS for the First 10 Million Users (ARC206) | AWS re:Invent 2013
Scaling on AWS for the First 10 Million Users (ARC206) | AWS re:Invent 2013Amazon Web Services
 
AWS Summit London 2014 | Scaling on AWS for the First 10 Million Users (200)
AWS Summit London 2014 | Scaling on AWS for the First 10 Million Users (200)AWS Summit London 2014 | Scaling on AWS for the First 10 Million Users (200)
AWS Summit London 2014 | Scaling on AWS for the First 10 Million Users (200)Amazon Web Services
 
AWS Summit Stockholm 2014 – T1 – Architecting highly available applications o...
AWS Summit Stockholm 2014 – T1 – Architecting highly available applications o...AWS Summit Stockholm 2014 – T1 – Architecting highly available applications o...
AWS Summit Stockholm 2014 – T1 – Architecting highly available applications o...Amazon Web Services
 
Aplicaciones a gran escala: Cómo servir a millones de usuarios
Aplicaciones a gran escala: Cómo servir a millones de usuariosAplicaciones a gran escala: Cómo servir a millones de usuarios
Aplicaciones a gran escala: Cómo servir a millones de usuariosAmazon Web Services
 
Aws webcast - Scaling on AWS 13 08-20
Aws webcast - Scaling on AWS 13 08-20Aws webcast - Scaling on AWS 13 08-20
Aws webcast - Scaling on AWS 13 08-20Amazon Web Services
 
AWS Summit Sydney 2014 | Scaling on AWS for the First 10 Million Users
AWS Summit Sydney 2014 | Scaling on AWS for the First 10 Million UsersAWS Summit Sydney 2014 | Scaling on AWS for the First 10 Million Users
AWS Summit Sydney 2014 | Scaling on AWS for the First 10 Million UsersAmazon Web Services
 
Scaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million UsersScaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million UsersAmazon Web Services
 
Aws for Startups Building Cloud Enabled Apps
Aws for Startups Building Cloud Enabled AppsAws for Startups Building Cloud Enabled Apps
Aws for Startups Building Cloud Enabled AppsAmazon Web Services
 
AWS Summit Auckland 2014 | Scaling on AWS for the First 10 Million Users
 AWS Summit Auckland 2014 | Scaling on AWS for the First 10 Million Users AWS Summit Auckland 2014 | Scaling on AWS for the First 10 Million Users
AWS Summit Auckland 2014 | Scaling on AWS for the First 10 Million UsersAmazon Web Services
 
Scaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million Users Scaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million Users Amazon Web Services
 
Scaling on AWS for the First 10 Million Users at Websummit Dublin
Scaling on AWS for the First 10 Million Users at Websummit DublinScaling on AWS for the First 10 Million Users at Websummit Dublin
Scaling on AWS for the First 10 Million Users at Websummit DublinAmazon Web Services
 
Scaling on AWS for the First 10 Million Users at Websummit Dublin
Scaling on AWS for the First 10 Million Users at Websummit DublinScaling on AWS for the First 10 Million Users at Websummit Dublin
Scaling on AWS for the First 10 Million Users at Websummit DublinIan Massingham
 
Building and Managing Scalable Applications on AWS: 1 to 500K users
Building and Managing Scalable Applications on AWS: 1 to 500K usersBuilding and Managing Scalable Applications on AWS: 1 to 500K users
Building and Managing Scalable Applications on AWS: 1 to 500K usersAmazon Web Services
 
ENT309 scaling up to your first 10 million users
ENT309 scaling up to your first 10 million usersENT309 scaling up to your first 10 million users
ENT309 scaling up to your first 10 million usersAmazon Web Services
 
Scaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million UsersScaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million UsersAmazon Web Services
 
Scaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million UsersScaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million UsersAmazon Web Services
 
ENT309 Scaling Up to Your First 10 Million Users
ENT309 Scaling Up to Your First 10 Million UsersENT309 Scaling Up to Your First 10 Million Users
ENT309 Scaling Up to Your First 10 Million UsersAmazon Web Services
 
ENT309 Scaling Up to Your First 10 Million Users
ENT309 Scaling Up to Your First 10 Million UsersENT309 Scaling Up to Your First 10 Million Users
ENT309 Scaling Up to Your First 10 Million UsersAmazon 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
 

Similar a Scaling up to your first 10 million users - Pop-up Loft Tel Aviv (20)

Deep Dive: Scaling Up to Your First 10 Million Users
Deep Dive: Scaling Up to Your First 10 Million UsersDeep Dive: Scaling Up to Your First 10 Million Users
Deep Dive: Scaling Up to Your First 10 Million Users
 
Scaling on AWS for the First 10 Million Users (ARC206) | AWS re:Invent 2013
Scaling on AWS for the First 10 Million Users (ARC206) | AWS re:Invent 2013Scaling on AWS for the First 10 Million Users (ARC206) | AWS re:Invent 2013
Scaling on AWS for the First 10 Million Users (ARC206) | AWS re:Invent 2013
 
AWS Summit London 2014 | Scaling on AWS for the First 10 Million Users (200)
AWS Summit London 2014 | Scaling on AWS for the First 10 Million Users (200)AWS Summit London 2014 | Scaling on AWS for the First 10 Million Users (200)
AWS Summit London 2014 | Scaling on AWS for the First 10 Million Users (200)
 
AWS Summit Stockholm 2014 – T1 – Architecting highly available applications o...
AWS Summit Stockholm 2014 – T1 – Architecting highly available applications o...AWS Summit Stockholm 2014 – T1 – Architecting highly available applications o...
AWS Summit Stockholm 2014 – T1 – Architecting highly available applications o...
 
Aplicaciones a gran escala: Cómo servir a millones de usuarios
Aplicaciones a gran escala: Cómo servir a millones de usuariosAplicaciones a gran escala: Cómo servir a millones de usuarios
Aplicaciones a gran escala: Cómo servir a millones de usuarios
 
Aws webcast - Scaling on AWS 13 08-20
Aws webcast - Scaling on AWS 13 08-20Aws webcast - Scaling on AWS 13 08-20
Aws webcast - Scaling on AWS 13 08-20
 
AWS Summit Sydney 2014 | Scaling on AWS for the First 10 Million Users
AWS Summit Sydney 2014 | Scaling on AWS for the First 10 Million UsersAWS Summit Sydney 2014 | Scaling on AWS for the First 10 Million Users
AWS Summit Sydney 2014 | Scaling on AWS for the First 10 Million Users
 
Scaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million UsersScaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million Users
 
Aws for Startups Building Cloud Enabled Apps
Aws for Startups Building Cloud Enabled AppsAws for Startups Building Cloud Enabled Apps
Aws for Startups Building Cloud Enabled Apps
 
AWS Summit Auckland 2014 | Scaling on AWS for the First 10 Million Users
 AWS Summit Auckland 2014 | Scaling on AWS for the First 10 Million Users AWS Summit Auckland 2014 | Scaling on AWS for the First 10 Million Users
AWS Summit Auckland 2014 | Scaling on AWS for the First 10 Million Users
 
Scaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million Users Scaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million Users
 
Scaling on AWS for the First 10 Million Users at Websummit Dublin
Scaling on AWS for the First 10 Million Users at Websummit DublinScaling on AWS for the First 10 Million Users at Websummit Dublin
Scaling on AWS for the First 10 Million Users at Websummit Dublin
 
Scaling on AWS for the First 10 Million Users at Websummit Dublin
Scaling on AWS for the First 10 Million Users at Websummit DublinScaling on AWS for the First 10 Million Users at Websummit Dublin
Scaling on AWS for the First 10 Million Users at Websummit Dublin
 
Building and Managing Scalable Applications on AWS: 1 to 500K users
Building and Managing Scalable Applications on AWS: 1 to 500K usersBuilding and Managing Scalable Applications on AWS: 1 to 500K users
Building and Managing Scalable Applications on AWS: 1 to 500K users
 
ENT309 scaling up to your first 10 million users
ENT309 scaling up to your first 10 million usersENT309 scaling up to your first 10 million users
ENT309 scaling up to your first 10 million users
 
Scaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million UsersScaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million Users
 
Scaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million UsersScaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million Users
 
ENT309 Scaling Up to Your First 10 Million Users
ENT309 Scaling Up to Your First 10 Million UsersENT309 Scaling Up to Your First 10 Million Users
ENT309 Scaling Up to Your First 10 Million Users
 
ENT309 Scaling Up to Your First 10 Million Users
ENT309 Scaling Up to Your First 10 Million UsersENT309 Scaling Up to Your First 10 Million Users
ENT309 Scaling Up to 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 Users
 

Más 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
 

Más 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
 

Último

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 

Último (20)

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 

Scaling up to your first 10 million users - Pop-up Loft Tel Aviv

  • 1. ©2015,  Amazon  Web  Services,  Inc.  or  its  affiliates.  All  rights  reserved Scaling Up to Your First 10 Million Users (based on ARC 301 from re:Invent 2015) Julien Simon Principal Technical Evangelist Amazon Web Services julsimon@amazon.fr @julsimon
  • 2. What do we need first?
  • 3. AWS building blocks Inherently highly available and fault-tolerant services Highly available with the right architecture !  Amazon CloudFront !  Amazon Route53 !  Amazon S3 !  Amazon DynamoDB !  Elastic Load Balancing !  Amazon SQS !  Amazon SNS !  Amazon SES !  Amazon SWF !  … "  Amazon EC2 "  Amazon Elastic Block Store "  Amazon RDS "  Amazon VPC
  • 4. So let’s start from day 1, user 1 (you)
  • 5. Day 1, user 1 •  A single Amazon EC2 instance –  With full stack on this host •  Web app •  Database •  Management •  And so on… •  A single Elastic IP address •  Amazon Route 53 for DNS Amazon EC2 instance Elastic IP address Amazon Route 53 User
  • 6. “We’re gonna need a bigger box” •  “Scale up”: 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 a wall eventually c4.8xlarge m4.2xlarge t2.micro
  • 7. “We’re gonna need a bigger box” •  “Scale up”: 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 a wall eventually c4.8xlarge m4.2xlarge t2.micro
  • 8. Day 1, user 1 •  We could potentially get to a few hundred to a few thousand depending on application complexity and traffic •  No failover •  No redundancy •  Too many eggs in one basket EC2 instance Elastic IP address Amazon Route 53 User
  • 9. Day 1, user 1 •  We could potentially get to a few hundred to a few thousand depending on application complexity and traffic •  No failover •  No redundancy •  Too many eggs in one basket EC2 instance Elastic IP address Amazon Route 53 User
  • 10. Day 2, user > 1 First, let’s separate out our single host into more than one •  Web •  Database –  Make use of a database service? Web instance Database instance Elastic IP address Amazon Route 53 User
  • 11. Self-managed Fully managed Database server on Amazon EC2 Your choice of database running on Amazon EC2 Bring Your Own License (BYOL) Amazon DynamoDB Managed NoSQL database service using SSD storage Seamless scalability Zero administration Amazon RDS SQL Server, Oracle, MySQL, MariaDB, Aurora or PostgreSQL as a managed service Flexible licensing: BYOL or license included Amazon Redshift Massively parallel, petabyte-scale data warehouse service Fast, powerful, and easy to scale Database options
  • 12. But how do I choose the DB technology I need? SQL? NoSQL?
  • 13. Some folks won’t like this. But…
  • 14. Start with (scalable) SQL databases
  • 15. Why start with SQL? •  Established and well-worn technology. •  Lots of existing code, communities, books, background, tools, and more. •  You aren’t going to break SQL DBs in your first 10 million users. No, really, you won’t.* •  Clear patterns to scalability. *Unless you are doing something SUPER weird with the data or you have MASSIVE amounts of it, but even then SQL will have a place in your stack.
  • 16. Why might you need NoSQL from day 1? •  Super low-latency applications •  Metadata-driven datasets •  Highly nonrelational data •  Need schema-less data constructs* •  Massive amounts of data (in the multi TB range) •  Rapid ingest of data (thousands of records/sec ) *Need != “It’s easier to do dev without schemas”
  • 17. Users > 100 First, let’s separate out our single host into more than one: •  Web •  Database –  Use Amazon RDS to make your life easier Web instance Elastic IP address RDS DB instance Amazon Route 53 User
  • 18. Users > 1000 Next, let’s address our lack of failover and redundancy issues: •  Elastic Load Balancing (ELB) •  Another web instance –  In another Availability Zone •  RDS Multi-AZ Web Instance RDS DB Instance Active (Multi-AZ) Availability Zone Availability Zone Web Instance RDS DB Instance Standby (Multi-AZ) ELB Balancer Amazon Route 53 User
  • 19. •  Create highly scalable applications •  Distribute load across EC2 instances in multiple Availability Zones Feature   Details   Available   Load  balances  across  instances  in  mul1ple   Availability  Zones   Health  checks   Automa1cally  checks  health  of  instances  and   takes  them  in  or  out  of  service   Session  s6ckiness   Routes  requests  to  the  same  instance   Secure  sockets  layer   Supports  SSL  offload  from  web  and  applica1on   servers  with  flexible  cipher  support   Monitoring   Publishes  metrics  to  Amazon  CloudWatch  and   can  get  logs  of  requests  processed   ELB Balancer Elastic Load Balancing
  • 20. Scaling this horizontally and vertically will get us pretty far (tens to hundreds of thousands)
  • 21. Users > 10,000s–100,000s RDS DB Instance Active (Multi-AZ) Availability Zone Availability Zone RDS DB Instance Standby (Multi-AZ) ELB 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 53 User
  • 22. This will take us pretty far, but we care about performance and efficiency, so let’s improve further
  • 23. RDS DB Instance Active (Multi-AZ) Availability Zone ELB Balancer Amazon Route 53 User Let’s lighten the load on our web and database instances: •  Move static content from the web instance to Amazon S3 and Amazon CloudFront •  Move session/state and DB caching to Amazon ElastiCache or Amazon DynamoDB Shift some load around Web Instances
  • 24. RDS DB Instance Active (Multi-AZ) Availability Zone ELB Balancer Amazon S3 Amazon CloudFront Amazon Route 53 User Let’s lighten the load on our web and database instances: •  Move static content from the web instance to Amazon S3 and Amazon CloudFront •  Move session/state and DB caching to Amazon ElastiCache or Amazon DynamoDB Shift some load around Web Instances
  • 25. Amazon S3 Amazon S3 is cloud storage for the Internet: •  Object-based storage •  11 9s of durability •  Good for things like the following: –  Static assets (CSS, JS, images, videos) –  Backups –  Logs –  Ingest of files for processing •  “Infinitely scalable” •  Objects up to 5 TB in size •  Can host static websites •  Supports fine-grained permission control •  Ties in well with Amazon CloudFront •  Ties in with Amazon EMR •  Acts as a logging endpoint for S3, CloudFront, Billing, ELB, AWS CloudTrail, and more •  Supports encryption at transit and at rest •  Reduced redundancy is 1/3 cheaper •  Amazon Glacier for super long-term storage at 1/3 the cost of S3 Amazon S3
  • 26. Amazon CloudFront Amazon CloudFront is a web service for scalable content delivery: •  Cache static content at the edge for faster delivery •  Helps lower load on origin infrastructure •  Dynamic and static content •  Streaming video •  Zone apex support •  Custom SSL certificates •  Low TTLs (as short as 0 seconds) •  Lower costs for origin fetches (between Amazon S3/Amazon EC2 and Amazon CloudFront) •  Optimized to work with Amazon EC2, Amazon S3, Elastic Load Balancing, and Amazon Route 53 Response  Time   Server  Load   Response   Time   Server   Load   Response   Time   Server   Load   No  CDN   CDN  for  Sta1c   Content   CDN  for  Sta1c  &   Dynamic  Content   0   20   40   60   80   8:00   AM   9:00   AM   10:00   AM   11:00   AM   12:00   PM   1:00   PM   2:00   PM   3:00   PM   4:00   PM   5:00   PM   6:00   PM   7:00   PM   8:00   PM   9:00   PM   VolumeofData Delivered(Gbps)
  • 27. Shift some load around Let’s lighten the load on our web and database instances: •  Move static content from the web instance to Amazon S3 and Amazon CloudFront •  Move session/state and DB caching to Amazon ElastiCache or Amazon DynamoDB RDS DB Instance Active (Multi-AZ) Availability Zone ELB Balancer Amazon S3 Amazon CloudFront Amazon Route 53 User ElastiCache DynamoDB Web Instances
  • 28. Amazon DynamoDB •  Managed, provisioned throughput NoSQL database •  Fast, predictable performance •  Fully distributed, fault-tolerant architecture •  JSON support •  Items up to 400 KB Feature   Details   Provisioned   throughput   Dial  up  or  down  provisioned   read/write  capacity   Predictable   performance   Average  single-­‐digit  millisecond   latencies  from  SSD-­‐backed   infrastructure   Strong   consistency   Be  sure  you  are  reading  the   most  up-­‐to-­‐date  values   Fault  tolerant   Data  replicated  across   Availability  Zones   Monitoring   Integrated  with  Amazon   CloudWatch   Secure   Integrates  with  AWS  Iden1ty   and  Access  Management  (IAM)   Amazon  EMR   Integrates  with  Amazon  EMR  for   complex  analy1cs  on  large   datasets  
  • 29. Amazon ElastiCache •  Hosted Memcached and Redis –  Speaks same API as traditional open source Memcached and Redis •  Scale from one to many nodes •  Self-healing (replaces dead instance) •  Very fast ( single digit ms speeds usually (or less) ) •  Local to a single AZ for Memcache, with no persistence or replication •  With Redis, can put a replica in a different AZ with persistence •  Use the AWS Auto Discovery client to simplify clusters growing and shrinking without affecting your application
  • 30. Shift some load around Let’s lighten the load on our web and database instances: •  Move static content from the web instance to Amazon S3 and Amazon CloudFront •  Move session/state and DB caching to ElastiCache or DynamoDB •  Move dynamic content from the ELB balancer to Amazon CloudFront RDS DB Instance Active (Multi-AZ) Availability Zone ELB Balancer Amazon S3 Amazon CloudFront Amazon Route 53 User ElastiCache DynamoDB Web Instances
  • 31. Shift some load around: Let’s lighten the load on our web and database instances: •  Move static content from the web instance to Amazon S3 and Amazon CloudFront •  Move session/state and DB caching to ElastiCache or DynamoDB •  Move dynamic content from the ELB balancer to Amazon CloudFront RDS DB Instance Active (Multi-AZ) Availability Zone ELB Balancer Amazon S3 Amazon CloudFront Amazon Route 53 User ElastiCache DynamoDB Web Instances
  • 32. Now that our web tier is much more lightweight…
  • 34. Automatic resizing of compute clusters based on demand Feature   Details   Control   Define  minimum  and  maximum  instance   pool  sizes  and  when  scaling  and  cool   down  occurs.   Integrated  with   Amazon   CloudWatch   Use  metrics  gathered  by  CloudWatch  to   drive  scaling.   Instance  types   Run  Auto  Scaling  for  on-­‐demand  and  Spot   Instances.  Compa1ble  with  VPC.   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 Auto Scaling Group EC2 EC2
  • 35. Users > 500,000+ Availability Zone Amazon Route 53 User Amazon S3 Amazon CloudFront Availability Zone ELB 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)
  • 36.
  • 37. Use automation Managing your infrastructure will become an ever increasing important part of your time. Use tools to automate repetitive tasks: •  Tools to manage AWS resources •  Tools to manage software and configuration on your instances •  Automated data analysis of logs and user actions
  • 38. AWS application management solutions Convenience Control Higher-level services Do it yourself AWS Elastic Beanstalk AWS OpsWorks AWS CloudFormation Amazon EC2
  • 39. User > 500,000+ You’ll potentially start to run into issues with speed and performance of your applications: •  Make sure you have monitoring, metrics, and logging in place –  If you can’t build it internally, outsource it! (third-party SaaS) •  Pay attention to what customers are saying works well vs. what doesn’t, and use this direction •  Try to squeeze as much performance out of each service/ component
  • 41. There are more improvements to be made in breaking apart our web/app layer
  • 42.
  • 44. SOAing •  Move services into their own tiers/modules. Treat each of these as 100% separate pieces of your infrastructure, and scale them independently. •  Amazon.com and AWS do this extensively! It offers flexibility and better understanding of each component.
  • 45. Loose coupling + SOA = winning DON’T REINVENT THE WHEEL. Examples: •  Email •  Queuing •  Transcoding •  Search •  Databases •  Monitoring •  Metrics •  Logging •  Compute Amazon CloudSearch Amazon SQSAmazon SNS Amazon Elastic Transcoder Amazon SWFAmazon SES In the early days, if someone has a service for it already, opt to use that instead of building it yourself. AWS Lambda
  • 46. 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 rather than building your own S3 Bucket Lambda Push: Event Notification DynamoDB Pull: DynamoDB Stream Amazon Kinesis Pull: DynamoDB Stream SQS messages Get Message Instance Put Message Instance Amazon SNS Topic Publish Notification Queue Is Subscribed to Topic
  • 47. User > 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 •  Serving content smartly (Amazon S3/CloudFront ) •  Caching off DB •  Moving state off tiers that auto scale
  • 48. User > 1 million + RDS DB Instance Active (Multi-AZ) Availability Zone ELB 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
  • 49. The next big steps
  • 50. User > 5 million–10 million You’ll potentially start to run into issues with your database around contention on the write master. 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)
  • 51. Database federation •  Split up databases by function/ purpose •  Harder to do cross-function queries •  Essentially delaying the need for something like sharding/ NoSQL until much further down the line •  Won’t help with single huge functions/tables Forums DB Users DB Products DB
  • 52. Sharded horizontal scaling •  More complex at the application layer •  ORM support can help •  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 A B B C
  • 53. Shifting functionality to NoSQL •  Similar in a sense to federation •  Again, think about the earlier points for NoSQL vs. SQL •  Leverage hosted 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
  • 55. A quick review •  Multi-AZ your infrastructure. •  Make use of self-scaling services—ELB, Amazon S3, Amazon SNS, Amazon SQS, Amazon SWF, Amazon SES, and more. •  Build in redundancy at every level. •  Start with SQL. Seriously. •  Cache data both inside and outside your infrastructure. •  Use automation tools in your infrastructure.
  • 56. A quick review continued •  Make sure you have good metrics/monitoring/ logging tools in place •  Split tiers into individual services (SOA) •  Use Auto Scaling as soon as you’re ready for it •  Don’t reinvent the wheel •  Move to NoSQL if and when it makes sense
  • 57. Putting all this together means we should now easily be able to handle 10+ million users!
  • 59. Next steps? READ! •  aws.amazon.com/documentation •  aws.amazon.com/architecture •  aws.amazon.com/start-ups START USING AWS •  aws.amazon.com/free/
  • 60. Next steps? ASK FOR HELP! •  forums.aws.amazon.com •  aws.amazon.com/premiumsupport/ •  Your Account Manager •  A Solutions Architect
  • 61. ©2015,  Amazon  Web  Services,  Inc.  or  its  affiliates.  All  rights  reserved Julien Simon Principal Technical Evangelist Amazon Web Services julsimon@amazon.fr @julsimon