4. Cloud is Good
Elasticity, scale-out
Commodity Infrastructure
x86, «small» machines
«low» performance per machine
No «security» concerns
Security is a state of mind
Technical proficiency
5. Cloud is Bad
Constant or very low/high needs
Specialized infrastructure
Sparc, PowerPC, GPUs
Huge amounts of RAM
Low latency network (Infiniband, 10 GbE,…)
Regulatory guidelines (LOPD, SOX, etc..)
Solution-in-a-Box
6. Hills (not peaks)
Wordpress with 180.000 followers
Crashing at every Tweet
1 GB Ram, ½ core, 32 GB HD, 400 GB BW
A “bit” of tuning:
Nginx vs. Apache
FastCGI PHP vs. mod_php
Caching 30s HTML
7. Elasticity
Show info to users when primary is down
Send a 503 so is not indexed by Google
Impossible to do Capacity Planning
1 instance during valleys
Auto configuring instances
Load Balancing + Auto-scaling
Replicating data, snapshots, multi-DC
8. Disaster Recovery
Code + assets on Object or Persistent Storage
DB transaction logs to Object Storage
Every X days consolidate logs
Every Y days test DR
Beware of SPOF (DNS, VPN, IPs on FW)
9. It’s all about money
Leverage Economies of Scale
Rule of thumb
Cloud Bandwidth «Expensive»
Cloud Storage «Expensive»
Cloud Processing Cheap
Elasticity Priceless