© 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Gaurav Manglik: Co-Founder, CEO
October 2015
ISM319
The Three Degrees of Freedom on the Cloudand
How an Application-Defined, Model-Based Approach Can Help
Traditional Datacenter
• Manually configure
• Manually tune
• Manually maintain
For every:
• Application
• Infrastructure configuration
• Change over time
• Software-defined datacenter
Compute
Storage
Network
• Drives infrastructure efficiencies
• Still leaves gap between
infrastructure and application
APIs… SDx
Software-Defined Datacenters Are Not Sufficient
Application Workloads Are Growing200M workloads
5,000 - 10,000 applications/global 2000 enterprise
Application Rate of Change Is Increasing
Source 2013 State of DevOps Report
Puppet Labs, IT Revolution Press
Top Performers30x more frequent
code deployments
Of those with DevOps
implemented > 12 month:
More than 25% can
deploy on demand
Number of Execution Venues Is Growing
54,872*
Example:
Possible combinations to deploy
a 3-tier application on AWS
assuming 38 instance types
* Actual possible options can be much higher
Single Cloud – ApplicationFind the “knee” to optimize value
45
50
55
60
65
70
$0.00 $2.00 $4.00 $6.00
Instance Web Tier App Tier DB Tier
M1.Sm M1.Med M1.Med
M1.Med M1.Med M1.Sm
Baseline M1.Med M1.Med M1.Med
M1.XL M1.Med M1.Med
Optimal M1.Med M1.XL M1.Sm
M1.Med M2.4XL M1.Med
Cost per hour ($)
Requests
per
second
• Optimal – Smaller DB tier, larger app tier
• Is 5 requests per second worth
going from $0.5 to $1.5 per hour?
PetClinic – Three-tier web application
Single Cloud – Batch JobFind the “knee” to optimize value
Instance Size
C3.8XL
C3.4XL
Optimal C3.2XL
C3.XL
Job time minutes
Job c
ost ($
)
• Note – Optimization limited by AWS
per-hour minimum charge
Blender – 5 task rendering job
$0.00
$0.50
$1.00
$1.50
$2.00
$2.50
$3.00
20 25 30 35
Global average
use 4 cloud platforms
+
1 out of 8
use 7+ cloud platforms
Cloud Reality Check 2015Report from NTT Communications
1,600 ICT decision makers across the USA and Europe
January and February 2015
80% expect that number
to increase in next 3 years
Three Degrees of Freedom
1. Growth in applications
2. Growth and diversification in
infrastructure environments
3. Changes in either or both the
applications or infrastructure
create work and inefficiencies
Traditional automation approaches
do not scale with the increasing
complexity
Example Three-Tier Web Application
SAMPLE DEPLOYMENT WORKFLOW
1. Launch DB VM Instance
2. Mount Persistence Storage
3. Configure DB VM Security Groups
4. Launch AS VM Instance
5. Configure AS VM Security Groups
6. Launch LB VM Instance
7. Configure LB VM Security Groups
8. On DB VM, Install DB Server
9. On DB VM, Start DB
10. On DB VM, Load DB
11. Wait for Success
12. Obtain DB information
13. On AS VM, Change DB Settings
14. On AS VM Load Application
15. On AS VM, Start AS
16. Wait for Success
17. Obtain AS Information
18. On LB VM, Change LB Connection Settings
19. On LB Start LB
LB
AS
DB
Infrastructure Requirements May Change
SAMPLE DEPLOYMENT WORKFLOW
1. Launch DB VM Instance
2. Mount Persistence Storage
3. Configure DB VM Security Groups
4. Launch AS VM Instance
5. Configure AS VM Security Groups
6. Launch LB VM Instance
7. Configure LB VM Security Groups
8. On DB VM, Install DB Server
9. On DB VM, Start DB
10. On DB VM, Load DB
11. Wait for Success
12. Obtain DB information
13. On AS VM, Change DB Settings
14. On AS VM Load Application
15. On AS VM, Start AS
16. Wait for Success
17. Obtain AS Information
18. On LB VM, Change LB Connection Settings
19. On LB Start LB
LB
AS
DB
Application May Change
SAMPLE DEPLOYMENT WORKFLOW
1. Launch DB VM Instance
2. Mount Persistence Storage
3. Configure DB VM Security Groups
4. Launch AS VM Instance
5. Configure AS VM Security Groups
6. Launch LB VM Instance
7. Configure LB VM Security Groups
8. On DB VM, Install DB Server
9. On DB VM, Start DB
10. On DB VM, Load DB
11. Wait for Success
12. Obtain DB information
13. On AS VM, Change DB Settings
14. On AS VM Load Application
15. On AS VM, Start AS
16. Wait for Success
17. Obtain AS Information
18. On LB VM, Change LB Connection Settings
19. On LB Start LB
LB
AS
DB
Changes Can Get Complicated
SAMPLE DEPLOYMENT WORKFLOW
1. Launch DB VM Instance
2. Mount Persistence Storage
3. Configure DB VM Security Groups
4. Launch AS VM Instance
5. Configure AS VM Security Groups
6. Launch LB VM Instance
7. Configure LB VM Security Groups
8. On DB VM, Install DB Server
9. On DB VM, Start DB
10. On DB VM, Load DB
11. Wait for Success
12. Obtain DB information
13. On AS VM, Change DB Settings
14. On AS VM Load Application
15. On AS VM, Start AS
16. Wait for Success
17. Obtain AS Information
18. On LB VM, Change LB Connection Settings
19. On LB Start LB
LB
AS
DB
Cache
DB-2
Consider an Application Blueprint/Model-Based Approach
On
eH
yb
rid
Deploy Lifecycle
• Scripts
Everything scripted. Stage. Cloud
Infrastructure focused
Environment specific
Labor intensive
• Orchestrators/Workflows
More efficient than scripting
Infrastructure focused
Environment specific
Lifecycle management
• PaaS
Application focused, multiple clouds
But less flexibility and customization
• Application Models/Blueprints
One platform, profile portability
Manageable ManageabilityC
loud s
upport
PaaS
Scripts Orchestrators
Application-defined
Application Model–Based Approaches
• Define reusable services E.g. PaaS – Elastic Load Balancing, Amazon RDS, etc.
VM base image–based
• Services capture Service-specific requirements
Service lifecycle scripts
Parameterize infrastructure choices
Infrastructure requirements (but not choices)
• Application models become service topologies With dependency graph
Abstracted from infrastructure choices
Reusable building blocks (services)
Select Infrastructure Choices at
Deployment Time
Example Three-Tier Web Application
SAMPLE APPLICATION BLUEPRINT STEPS
1. DRAG AND DROP DB
2. POINT TO DB SETUP
3. DRAG AND DROP AS
4. POINT TO APP PACKAGE
5. Connect AS to DB
6. DRAG AND DROP LB
7. Connect LB to AS
LB
AS
DBActual workflow gets automatically generated as you
“peel” the services
Benefits
SAMPLE APPLICATION BLUEPRINT STEPS
1. DRAG AND DROP DB
2. POINT TO DB SETUP
3. DRAG AND DROP AS
4. POINT TO APP PACKAGE
5. Connect AS to DB
6. DRAG AND DROP LB
7. Connect LB to AS
1. Rapidly create new models as
number of applications
increases
2. Infrastructure options flexible
3. Change either easily
Get to AWS Faster
90 minutes
vs.
3 weeks
Granular
control
Agility vs. ControlDo IT fast vs. do IT right
Run IT like a business
- Plan and execute
- Stability value
- Maximize control Run IT like a startup
- Sense and respond
- Speed and scale value
- Well-defined guardrails
Era of
Application
Velocity
Control access
DemonstrationCliQr as an Example of Model-Based Approaches
Thank you!
www.cliqr.com
Remember to complete
your evaluations!