This presentation looks at how start-ups can use AWS to power a lean lifecycle when running, scaling, and iterating.
By Ryan Shuttleworth, AWS Technical Evangelist
3. Sprint Pivot
Just in time
Working software
MVP
Fast Fail fast; learn rapidly Stand up meeting
Flexible Continuous integration
Iterate
Code not documentation
Agility Think big; act small Last ethical point
23. Validate Define
Marketing message What to build
Potential product features Priorities
Social interest Wish lists
1x free tier instance
Zero cost
24. Validate Define
Marketing message What to build
Potential product features Priorities
Social interest Wish lists
AWS: 1x free tier instance
Zero cost
25. Idea Evolution
1 6
Deployment It breaks
2 4 5
Automation
3
Customers
26. 2
Deployment
You got some interest, defined your MVP
and built it…
33. Deploy Operate
Deliver simple things Simplify operations
Deliver them well Spend more time on your
application
Managed ‘model’ architecture
Scalability & availability from the start
34. Deploy Operate
Deliver simple things Simplify operations
Deliver them well Spend more time on your
application
AWS: Managed ‘model’ architecture
Scalability & availability from the start
35. Idea Evolution
1 6
Deployment It breaks
2 4 5
Automation
3
Customers
36. 3
Customers
People are using your product, lots of them
from all over the world
41. Buy time with instance sizes
Vertical Scaling
From $0.02/hr
Scale up with Elastic Compute Cloud (EC2)
Basic unit of compute capacity
Range of CPU, memory & local disk options
Many instance types available, from micro through cluster
compute to SSD backed
43. CloudFront
World-wide content
distribution network
Served from S3
3 Easily distribute content
/images/*
to end users with low
latency, high data
transfer speeds, and no
commitments.
London 2 Served from EC2
*.php
Paris
1 Single CNAME
www.mysite.com
NY
45. With CloudFront
Load of user requests pushed into
CloudFront, EC2 cluster can scale
down
Offload
Scale
Down
46. No CDN CDN for CDN for
Static Static &
Content Dynamic
Content
Offload
Scale
Down
Response Time
Response Time
Response Time
Server Load
Server
Server
Load
Load
53. Review Optimize Refactor
Database backups Database performance NoSQL for data hot-spots
EBS snapshots Instance sizes Caching strategies
Volume sizes Provisioned IOPS Decoupling
Ensure things Buy some time Pay down
aren’t ‘hitting the with sensible technical debt
sides’ tweaks you’ve accrued
54. Review Optimize Refactor
Database backups Database performance NoSQL for data hot-spots
EBS snapshots Instance sizes Caching strategies
Volume sizes Provisioned IOPS Decoupling
Ensure things Buy some time Pay down
aren’t ‘hitting the with sensible technical debt
sides’ tweaks you’ve accrued
55.
56.
57. Relational Database Service
Use RDS for databases Database-as-a-Service
No need to install or manage database instances
Scalable and fault tolerant configurations
DynamoDB Use DynamoDB for
Provisioned throughput NoSQL database high performance key-
Fast, predictable performance
value DB
Fully distributed, fault tolerant architecture
58. Amazon SQS Reliable message
Processing results Reliable, highly scalable, queue service
queuing without
for storing messages as they travel
Amazon SQS between instances
additional software
1
Processing
task/processing
trigger 2
Push inter-process Simple Workflow Task A
workflows into the Reliably coordinate processing steps
Task B 3
across applications
cloud with SWF (Auto-scaling)
Integrate AWS and non-AWS resources
Manage distributed state in complex
systems Task C
59. Idea Evolution
1 6
Deployment It breaks
2 4 5
Automation
3
Customers
60. 5
Automation
No-one wants to get up at 3am ever again
61. Everything is programmable
Access everything Achieve the highest levels
via CLI, API or Compute of automation
Console Security Scaling sophistication with ease
CDN Backup
DNS Database
Storage Load Balancing
Workflow Monitoring
Networking
Messaging
78. Lean meets agile
Automated testing
Continuous Integration
Infrastructure as code
Continuous Delivery
Elastic Resources Pay as you go
79. Deployments at Amazon.com:
11.6s 1,079 10,000 30,000
Mean time Max number of Mean number of Max number of
between deployments in a hosts hosts
deployments single hour simultaneously simultaneously
(weekday) receiving a receiving a
deployment deployment