international Japan AWS user group
04 December 2013
SaaS business model
I manage AWS, develop our API, ...
High risk associated in a StartUp
We still don't use any reserved instance!!
HAProxy
PHP (Apache + SSL)
MySQL
NodeJS
DynamoDB
Colour green means Small instance, else means Micro instance
EC2: `haproxy`
Development
Production
Opsworks: `PHP` * 2 + `NodeJS`
Demo
EC2: `demo`
MySQL limit connections reached
PHP max CPU reached
SSL handled by Apache
No stateless (local caches)
DynamoDB with Pattern Aggregator
New MySQL table by each organization
ELB (SSL)
AngularJS
NodeJS
Redis
MySQL
Opsworks: `webpage` + `old_version`
Development
Opsworks: `API (NodeJS)` + `APP (nginx)`
EC2: `DevServices`
Production
Opsworks: `API (NodeJS)` + `APP (nginx)`
Cookbook "statsd" deployed in API machines
~80% - <10ms
(external)
Machine for asynchronous tasks (batch)
Each module has custom intervals
(office)
Predict bottlenecks
Just add more machines
(stateless)
Any questions?
sergio@languagecloud.co