0
AWS Summit 2014
Deploy, Manage, and Scale Your
Apps with OpsWorks and Elastic
Beanstalk
Guy Ernest
Solutions Architect
@gu...
What you will learn in this session
•  How to choose among the AWS services that
can help you run applications more easily...
1.  Make dough
2.  Roll and cut the dough
3.  Separate donuts from holes
4.  Let the dough rise
5.  Prepare the glaze
6.  ...
It’s not just deployments…
•  How do I scale my environment?
•  What is i-dc4297f2 used for?
•  How do I know when my appl...
You need to
deliver resilient
applications with
less work
Source: http://xkcd.com/844/
AWS
Elastic Beanstalk
AWS
OpsWorks
AWS
CloudFormation
Application Container Application Automation Templated Provisioning
Jane Doe, Elastic Beanstalk developer
Jane Doe, Elastic Beanstalk developer
•  Developer
•  Builds web apps, APIs, and handles some
background processing worklo...
The demonstration
•  A Massive Voting App
using HTML, Java and
Node.js
•  Uses Elastic Load
Balancing and Amazon
DynamoDB
Elastic Beanstalk Supports…
Java PHP Python Ruby .NET Node.js
Deploy Your App for Test
Alert
Log
Mon
App
AZ
http://your-app.elasticbeanstalk.com
Deploy Your App for Scale
Alert
Log
Mon
App
AZ
ELB
http://your-app.elasticbeanstalk.com
Deploy Your Background Processing
App
Alert
Log
Mon
App
AZ
Amazon SQS queueProducers
Deploy With Tools You Know
Alert
Log
Mon
App
AZ
ELB
http://your-app.elasticbeanstalk.com
v1.1 V1.2bV1.0
John Doe, AWS OpsWorks Developer
John Doe, AWS OpsWorks Developer
•  Developer
•  Builds apps with broad architectural patterns
and software; e.g., MongoDB...
Benefits
•  Any architecture
•  Configuration as code
•  Automation to run at scale
•  Control any component
Deployments
•  Application deployment from your favorite
repositories
•  Supports patterns such as 1-box deployments
•  Ru...
Dynamic Configuration
Dynamic Configuration
Dynamic Configuration
Dynamic Configuration
Dynamic Configuration
Dynamic Configuration
Dynamic Configuration
Recipes in action
Recipe
+
Metadata
=
Command
execute “mysql-connect” do
command “/usr/bin/mysql
-u#{node[:deploy][:myphpa...
“White board you environment”
Model your application
Manage Your Instances
Deploy your Apps
Protect your environment
AWS CloudFormation: Model Your App
•  Document, version control, and share your
applications and infrastructure as a JSON
...
Elastic Beanstalk or AWS OpsWorks
Resource
AppELB
AZ
your-app.elasticbeanstalk.com
Alert
Log
Mon
Database Resources
Users Table
(DynamoDB)
MySQL Primary
(RDS)
AppELB
AZ
your-app.elasticbeanstalk.com
Alert
Log
Mon
Object Storage and Security Resources
Users Table
(DynamoDB)
MySQL Primary
(RDS)
App Storage
(S3)
IAM Instance Profile
App...
Deployed as an AWS CloudFormation
Stack
Users Table
(Amazon
DynamoDB)
MySQL Primary
(Amazon RDS)
App Storage
(Amazon S3)
I...
Modeled in a Template File
Users Table
(Amazon
DynamoDB)
MySQL Primary
(Amazon RDS)
App Storage
(Amazon S3)
IAM Instance P...
?$$0 + $0 + $0 = $0
What we discussed
•  How to choose among the AWS services that
can help you run applications more easily
•  How to get an ...
Learn More
Get started with Elastic Beanstalk
http://amzn.to/1dh8QkU
Follow us @aws_eb
Get started with AWS OpsWorks
http:...
Thank You!
AWS EXPERT?
GET CERTIFIED!
aws.amazon.com/certification
Guy Ernest
Solutions Architect
@guyernest
T3 - Deploy, manage, and scale your apps
T3 - Deploy, manage, and scale your apps
T3 - Deploy, manage, and scale your apps
T3 - Deploy, manage, and scale your apps
T3 - Deploy, manage, and scale your apps
T3 - Deploy, manage, and scale your apps
T3 - Deploy, manage, and scale your apps
T3 - Deploy, manage, and scale your apps
T3 - Deploy, manage, and scale your apps
T3 - Deploy, manage, and scale your apps
T3 - Deploy, manage, and scale your apps
T3 - Deploy, manage, and scale your apps
T3 - Deploy, manage, and scale your apps
T3 - Deploy, manage, and scale your apps
T3 - Deploy, manage, and scale your apps
T3 - Deploy, manage, and scale your apps
T3 - Deploy, manage, and scale your apps
T3 - Deploy, manage, and scale your apps
T3 - Deploy, manage, and scale your apps
T3 - Deploy, manage, and scale your apps
T3 - Deploy, manage, and scale your apps
T3 - Deploy, manage, and scale your apps
T3 - Deploy, manage, and scale your apps
T3 - Deploy, manage, and scale your apps
Upcoming SlideShare
Loading in...5
×

T3 - Deploy, manage, and scale your apps

2,666

Published on

AWS offers a number of services that help you easily deploy and run applications in the cloud. Come to this session to learn how to choose among these options. Through interactive demonstrations, this session will show you how to get an application running using AWS OpsWorks and AWS Elastic Beanstalk application management services. You will also learn how to use AWS CloudFormation templates to document, version control, and share your application configuration. This session will cover topics like application updates, customization and working with resources such as load balancers and databases.

This session is recommended for people who understand AWS and want to know more about deployment options for their applications.

Published in: Technology
0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,666
On Slideshare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
91
Comments
0
Likes
4
Embeds 0
No embeds

No notes for slide

Transcript of "T3 - Deploy, manage, and scale your apps"

  1. 1. AWS Summit 2014 Deploy, Manage, and Scale Your Apps with OpsWorks and Elastic Beanstalk Guy Ernest Solutions Architect @guyernest
  2. 2. What you will learn in this session •  How to choose among the AWS services that can help you run applications more easily •  How to get an application running using AWS Elastic Beanstalk and AWS OpsWorks •  How to use AWS CloudFormation templates to document, version control, and share your application configuration
  3. 3. 1.  Make dough 2.  Roll and cut the dough 3.  Separate donuts from holes 4.  Let the dough rise 5.  Prepare the glaze 6.  Frying time! 7.  Let them dry 8.  Apply glaze 9.  Add sprinkles (optional) flickr.com/photos/noriqnub/7127567413
  4. 4. It’s not just deployments… •  How do I scale my environment? •  What is i-dc4297f2 used for? •  How do I know when my application is unhealthy? •  Where do I get logs? •  Who has SSH access?
  5. 5. You need to deliver resilient applications with less work Source: http://xkcd.com/844/
  6. 6. AWS Elastic Beanstalk AWS OpsWorks AWS CloudFormation Application Container Application Automation Templated Provisioning
  7. 7. Jane Doe, Elastic Beanstalk developer
  8. 8. Jane Doe, Elastic Beanstalk developer •  Developer •  Builds web apps, APIs, and handles some background processing workloads •  Needs some flexibility to customize her app environments and get it fast to testing •  Wants simple API to monitor, view logs, scale, and deploy her apps
  9. 9. The demonstration •  A Massive Voting App using HTML, Java and Node.js •  Uses Elastic Load Balancing and Amazon DynamoDB
  10. 10. Elastic Beanstalk Supports… Java PHP Python Ruby .NET Node.js
  11. 11. Deploy Your App for Test Alert Log Mon App AZ http://your-app.elasticbeanstalk.com
  12. 12. Deploy Your App for Scale Alert Log Mon App AZ ELB http://your-app.elasticbeanstalk.com
  13. 13. Deploy Your Background Processing App Alert Log Mon App AZ Amazon SQS queueProducers
  14. 14. Deploy With Tools You Know Alert Log Mon App AZ ELB http://your-app.elasticbeanstalk.com v1.1 V1.2bV1.0
  15. 15. John Doe, AWS OpsWorks Developer
  16. 16. John Doe, AWS OpsWorks Developer •  Developer •  Builds apps with broad architectural patterns and software; e.g., MongoDB and Solr •  Needs a high degree of flexibility to customize app environments •  Wants APIs to control all aspects of application operations including deployments and scaling
  17. 17. Benefits •  Any architecture •  Configuration as code •  Automation to run at scale •  Control any component
  18. 18. Deployments •  Application deployment from your favorite repositories •  Supports patterns such as 1-box deployments •  Run scripts on-demand for runbook automation •  Restrict deployment and ssh access to specific users
  19. 19. Dynamic Configuration
  20. 20. Dynamic Configuration
  21. 21. Dynamic Configuration
  22. 22. Dynamic Configuration
  23. 23. Dynamic Configuration
  24. 24. Dynamic Configuration
  25. 25. Dynamic Configuration
  26. 26. Recipes in action Recipe + Metadata = Command execute “mysql-connect” do command “/usr/bin/mysql -u#{node[:deploy][:myphpapp][:database][:username]} -p#{node[:deploy][:myphpapp][:database][:password]} #{node[:deploy][:myphpapp][:database][:database]} … “deploy”: { “myphpapp”: { “database”: { “username”: “root”, “password”: “abcxyz”, … “/usr/bin/mysql -uroot –pabcxyz myphpapp …
  27. 27. “White board you environment”
  28. 28. Model your application
  29. 29. Manage Your Instances
  30. 30. Deploy your Apps
  31. 31. Protect your environment
  32. 32. AWS CloudFormation: Model Your App •  Document, version control, and share your applications and infrastructure as a JSON document •  Provision app and other AWS resources (Amazon VPC, DynamoDB, etc.) from a template •  Repeatable, reliable deployments for test/dev/ prod in any AWS region
  33. 33. Elastic Beanstalk or AWS OpsWorks Resource AppELB AZ your-app.elasticbeanstalk.com Alert Log Mon
  34. 34. Database Resources Users Table (DynamoDB) MySQL Primary (RDS) AppELB AZ your-app.elasticbeanstalk.com Alert Log Mon
  35. 35. Object Storage and Security Resources Users Table (DynamoDB) MySQL Primary (RDS) App Storage (S3) IAM Instance Profile AppELB AZ your-app.elasticbeanstalk.com Alert Log Mon
  36. 36. Deployed as an AWS CloudFormation Stack Users Table (Amazon DynamoDB) MySQL Primary (Amazon RDS) App Storage (Amazon S3) IAM Instance Profile AppELB AZ your-app.elasticbeanstalk.com Alert Log Mon
  37. 37. Modeled in a Template File Users Table (Amazon DynamoDB) MySQL Primary (Amazon RDS) App Storage (Amazon S3) IAM Instance Profile AppELB AZ your-app.elasticbeanstalk.com Alert Log Mon AWS CloudFormation Template
  38. 38. ?$$0 + $0 + $0 = $0
  39. 39. What we discussed •  How to choose among the AWS services that can help you run applications more easily •  How to get an application running using Elastic Beanstalk and AWS OpsWorks •  How to use AWS CloudFormation templates to document, version control, and share your application configuration
  40. 40. Learn More Get started with Elastic Beanstalk http://amzn.to/1dh8QkU Follow us @aws_eb Get started with AWS OpsWorks http://amzn.to/1bSHOPN Follow us @AWSOpsWorks Get started with AWS CloudFormation http://amzn.to/1m11Z3K Follow us at @AWSCloudFormer
  41. 41. Thank You! AWS EXPERT? GET CERTIFIED! aws.amazon.com/certification Guy Ernest Solutions Architect @guyernest
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×