5. Controlled Meticulous
chaos management
Prototype an app
Deploy to an instance
Test and develop cycles
Go to production
Deploy more instances
Deploy RDS
Add load balancers
Add autoscaling
Audit what you have?
6. Controlled Meticulous
chaos management
Prototype an app Prototype an app
Deploy to an instance Plan infrastructure
Test and develop cycles Build standards
Go to production Deploy environment
Deploy more instances Manage through change control
Deploy RDS Formal processes
Add load balancers Formal tools
Add autoscaling Embed configuration in
Audit what you have? chef/puppet
7. Controlled Meticulous
chaos management
People
Prototype an app Prototype an app
Deploy to an instance
Processes Plan infrastructure
Build standards
Test and develop cycles Controls Deploy environment
Go to production
Deploy more instances
Deploy RDS
Tools Manage through change control
Formal processes
Add load balancers Formal tools
Add autoscaling Embed configuration in
Audit what you have? chef/puppet
8. High level, Fine grained,
shrink declarative
wrapped control
Tools
“I just want my app to “I want to source control
run, and I only want my entire datacenter
access to machines if I deployment like I would
really need to” my apache config”
9. High level, Fine grained,
shrink declarative
wrapped control
Elastic Beanstalk Tools CloudFormation
“I just want my app to “I want to source control
run, and I only want my entire datacenter
access to machines if I deployment like I would
really need to” my apache config”
10. High level, Fine grained,
shrink declarative
wrapped control
Elastic Beanstalk Tools CloudFormation
“I just want my app to “I want to source control
run, and I only want my entire datacenter
access to machines if I deployment like I would
really need to” my apache config”
11. Elastic Beanstalk Tools CloudFormation
Quickly deploy and manage apps in AWS…
12. Elastic Beanstalk Tools CloudFormation
…into a range of containers
.Net Java
PHP Python
13. Elastic Beanstalk Tools CloudFormation
…into a range of containers
Keep updated on new
containers:
http://aws.typepad.com
14. Elastic Beanstalk Tools CloudFormation
Application package is deployed into Beanstalk
15. Elastic Beanstalk Tools CloudFormation
Which creates the container in EC2
User Application
Application Service
HTTP Service
Language Interpreter
Operating System
Host
16. Elastic Beanstalk Tools CloudFormation
Beanstalk takes care of the environment…
25. Elastic Beanstalk Tools CloudFormation
No dependencies on AWS inherent for Beanstalk deployment
Source
uploaded and
executed in
AWS
Source
downloaded
and executed
locally
26. Elastic Beanstalk Tools CloudFormation
Package up as normal…
Java .war file PHP .zip file
IDE plugins Git integration
Microsoft Web
Python .zip file
Deploy package
27. Elastic Beanstalk Tools CloudFormation
Console deployments and version updates
28. Elastic Beanstalk Tools CloudFormation
Command line tools and wizards
CheckDNSAvailability eb init
elastic-beanstalk-check-dns-availability wizard to initialize an application
CreateApplication eb start/stop
elastic-beanstalk-create-application start/stop an application
CreateApplicationVersion eb update
elastic-beanstalk-create-application-version update application version
CreateEnvironment eb status
elastic-beanstalk-create-environment get status of a running application
43. Company launching product into new geography
Online application & marketing site deployed to support launch
Site crashed under exceptional demand - DoS existing datacenter
Needed fast deployment mechanism with no interest in underlying infrastructure
44. Company launching product into new geography
Online application & marketing site deployed to support launch
Site crashed under exceptional demand - DoS existing datacenter
Needed fast deployment mechanism with no interest in underlying infrastructure
Turned to Beanstalk - deployed & scaled seamlessly, restoring website
45. High level, Fine grained,
shrink declarative
wrapped control
Elastic Beanstalk Tools CloudFormation
“I just want my app to “I want to source control
run, and I only want my entire datacenter
access to machines if I deployment like I would
really need to” my apache config”
46. Elastic Beanstalk Tools CloudFormation
What happens under the covers of Beanstalk?
AWS
Create security group
Create auto-scaling policy
Create elastic load balancer
Elastic
Beanstalk Add instance
Install software
Consolidate logs
47. Elastic Beanstalk Tools CloudFormation
What happens under the covers of Beanstalk?
AWS
Create security group
Create auto-scaling policy
A series of calls into AWS
to marshal resource Create elastic load balancer
creation/configuration Add instance
Install software
Consolidate logs
54. Elastic Beanstalk Tools CloudFormation
The benefit of templated environments
Procedural definition
Create it programmatically
Template
55. Elastic Beanstalk Tools CloudFormation
The benefit of templated environments
Procedural definition
Create it programmatically
Template
Parameter driven
Dynamic and user-driven
templates
56. Elastic Beanstalk Tools CloudFormation
The benefit of templated environments
Procedural definition
Create it programmatically
Template
Parameter driven Collaboration
Dynamic and user-driven Share templates with ease as
templates just files
57. Elastic Beanstalk Tools CloudFormation
The benefit of templated environments
Procedural definition Known configuration
Create it programmatically Store stack configuration in
Template source control
Parameter driven Collaboration
Dynamic and user-driven Share templates with ease as
templates just files
58. NASA TV & Curiosity Route 53 DNS
Multi-region & AZ
Elastic Loadbalancing
Amazon Live Streaming
Cloud Front
Cloud Formation
59. NASA TV & Curiosity CloudFormation 53 DNS
Route template
Multi-region & AZ
defined video caching
infrastructure
Elastic Loadbalancing
Stack
Amazon Live Streaming
Cloud Front
Template
Cloud ELBs to front
Formation
secondary cache
~100 Nginx
secondary cache
servers
2-3 Nginx mid-tier
cache servers
60. NASA TV & Curiosity As demand increasedDNS
Route 53 new
Multi-region & AZ
stacks added to an availability
zone using template
Elastic Loadbalancing
Amazon Live Streaming
Cloud Front
Cloud Formation
One-click
complex
rollout Availability Zone
61. Elastic Beanstalk Tools CloudFormation
Where to get more information?
Server templates
High availability configurations
RDS configurations
Open source stacks
Snippets
+ Cloud Former (prototype)
http://aws.amazon.com/cloudformation/aws-cloudformation-templates/
62. Elastic Beanstalk Tools CloudFormation
Where to get more information?
Server templates
High availability configurations
RDS configurations
Open source stacks
Snippets
+ Cloud Former (prototype)
http://aws.amazon.com/cloudformation/aws-cloudformation-templates/
63. Elastic Beanstalk Tools CloudFormation
Comprehensive service support
Amazon EC2 Instances Amazon CloudWatch Alarms
(On-Demand Instances, Spot Instances, and Reserved Instances) Amazon Simple Storage Service (S3) Buckets
Amazon Elastic Block Store (EBS) Volumes Amazon Simple DB Domains
Elastic Load Balancers Amazon Simple Queue Service (SQS) Queues
Elastic IP Addresses Amazon Simple Notification Service (SNS) Topics
Amazon EC2 Security Groups Amazon SNS Subscriptions
Auto Scaling Groups Amazon Route 53 DNS Records
Amazon Relational Database Service (RDS) Instances Amazon CloudFront Distributions and Multi-Origin support
Amazon RDS Security Groups AWS Identity and Access Management users and groups
Amazon ElastiCache Clusters AWS Identify and Access Management policies
Amazon ElastiCache Security Groups Amazon Virtual Private Cloud VPCs, Subnets, Gateways
Amazon ElastiCache Parameter Groups Amazon DynamoDB Tables
64. Elastic Beanstalk Tools CloudFormation
Comprehensive service support
Amazon EC2 Instances Amazon CloudWatch Alarms
(On-Demand Instances, Spot Instances, and Reserved Instances) Amazon Simple Storage Service (S3) Buckets
Amazon Elastic Block Store (EBS) Volumes Amazon Simple DB Domains
Elastic Load Balancers Amazon Simple Queue Service (SQS) Queues
Elastic IP Addresses Amazon Simple Notification Service (SNS) Topics
Amazon EC2 Security Groups Amazon SNS Subscriptions
Auto Scaling Groups Amazon Route 53 DNS Records
Amazon Relational Database Service (RDS) Instances Amazon CloudFront Distributions and Multi-Origin support
Amazon RDS Security Groups AWS Identity and Access Management users and groups
Amazon ElastiCache Clusters AWS Identify and Access Management policies
Amazon ElastiCache Security Groups Amazon Virtual Private Cloud VPCs, Subnets, Gateways
Amazon ElastiCache Parameter Groups Amazon DynamoDB Tables
+
AWS Elastic Beanstalk
65. High level, Fine grained,
shrink declarative
wrapped control
Elastic Beanstalk Tools CloudFormation
“I just want my app to “I want to source control
run, and I only want my entire datacenter
access to machines if I deployment like I would
really need to” my apache config”
66. High level, Fine grained,
shrink + declarative
wrapped control
Elastic Beanstalk + CloudFormation
67. High level, Fine grained,
shrink + declarative
wrapped control
Elastic Beanstalk + CloudFormation
Developer sandboxes Comprehensive control
with production ready of all aspects of
infrastructure infrastructure
68. High level, Fine grained,
shrink + declarative
wrapped control
Elastic Beanstalk + CloudFormation
Cookie cutter environments
Less time and effort
Lower cost of ownership
69. Get started fast with Beanstalk
(control the chaos)
Take fine grained control with
CloudFormation
(auditable environment specs)