Your SlideShare is downloading. ×
RMG206 Introduction to Amazon Elastic Beanstalk - AWS re: Invent 2012
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

RMG206 Introduction to Amazon Elastic Beanstalk - AWS re: Invent 2012

2,355
views

Published on

Are you looking to build the next viral Facebook application or mobile game? Are you worried about the viral growth of your web application? Are you tired of managing servers and installing software? …

Are you looking to build the next viral Facebook application or mobile game? Are you worried about the viral growth of your web application? Are you tired of managing servers and installing software? This session introduces AWS Elastic Beanstalk, the easiest way to deploy and manage web applications on AWS. We’ll show you how you can write your application and let Elastic Beanstalk do the rest.


0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

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

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. AWS Elastic Beanstalk is an easy way to quickly deploy and manage your applications on AWS
  • 2. • Build your application and let Elastic Beanstalk do the rest
  • 3. • Use Elastic Beanstalk if you are building a:
  • 4. • Use Elastic Beanstalk if you are building a:
  • 5. • Use Elastic Beanstalk if you are building a:
  • 6. • Use Elastic Beanstalk if you are building a:
  • 7. • Use Elastic Beanstalk if you are building a:
  • 8. Twitter Average Twitter Peak 25,000 20,000 15,000 10,000 5,000 0(1) Twitter Engineering, Bolstering our infrastructure, http://engineering.twitter.com/2012/11/bolstering-our-infrastructure.html
  • 9. Requests/sec Twitter Average Twitter Peak 25,000 20,000 15,000 10,000 5,000 0(1) Twitter Engineering, Bolstering our infrastructure, http://engineering.twitter.com/2012/11/bolstering-our-infrastructure.html
  • 10. • Choose your runtime Java Tomcat 6 or 7 Apache Amazon Linux
  • 11. • Choose your runtime Java PHP Tomcat 6 or 7 PHP 5.3 Apache Apache Amazon Linux Amazon Linux
  • 12. • Choose your runtime Java PHP Python Tomcat 6 or 7 PHP 5.3 Python 2.6 Apache Apache Apache Amazon Linux Amazon Linux Amazon Linux
  • 13. • Choose your runtime Java PHP Python Ruby Tomcat 6 or 7 PHP 5.3 Python 2.6 Ruby 1.8 or 1.9 Apache Apache Apache Passenger Amazon Linux Amazon Linux Amazon Linux Amazon Linux
  • 14. • Choose your runtime Java PHP Python Ruby .NET Tomcat 6 or 7 PHP 5.3 Python 2.6 Ruby 1.8 or 1.9 .NET 2.0 - .NET 4.5 Apache Apache Apache Passenger IIS 7.5 or IIS 8 Amazon Linux Amazon Linux Amazon Linux Amazon Linux Windows Server 2008 R2 - or - Windows Server 2012
  • 15. • Choose your tool
  • 16. Choose your runtimeYou Elastic Beanstalk
  • 17. • Provisions resources: Elastic Load Balancer Amazon Elastic Compute Cloud Choose your runtime (EC2) Availability Zone A You Elastic Beanstalk Amazon Simple Storage Service (S3)
  • 18. • Provisions resources:• Installs and configures software. Elastic Load Balancer Amazon Elastic Compute Cloud Choose your runtime (EC2) Availability Zone A You Elastic Beanstalk Amazon Simple Storage Service (S3)
  • 19. • Provisions resources: User www.myapp.com• Installs and configures software. Elastic Load• Balancer Automatically scales. Amazon Elastic Compute Cloud Choose your runtime (EC2) Availability Zone A You Elastic Beanstalk Amazon Simple Storage Service (S3)
  • 20. • Provisions resources: User www.myapp.com• Installs and configures software. Elastic Load• Balancer Automatically scales.• Deploys your application. Amazon Elastic Compute Cloud Upload your app (EC2) Availability Zone A You Elastic Beanstalk Amazon Simple Storage Service (S3)
  • 21. CloudWatch Metrics Configuration File# place this file inside a .ebextensions folder in the root of appsources: /aws-scripts-mon: http://ec2-downloads.s3.amazonaws.com/cloudwatch-samples/CloudWatchMonitoringScripts.zipcontainer_commands: 01-setupcron: command: echo "* * * * * root perl /aws-scripts-mon/mon-put-instance-data.pl --mem-util --mem-used --mem-avail --aws-access-key-id $AWS_ACCESS_KEY_ID--aws-secret-key $AWS_SECRET_KEY > /dev/null" > /etc/cron.d/cwpump 02-changeperm: command: chmod 644 /etc/cron.d/cwpump
  • 22. • Provisions resources: User www.myapp.com• Installs and configures software. Elastic Load• Balancer Automatically scales.• Deploys your application. ……• Easily reliable. Amazon Elastic Compute Cloud (EC2) Availability Zone A Availability Zone B You Elastic Beanstalk Amazon Simple Storage Service (S3)
  • 23. • Provisions resources: User www.myapp.com• Installs and configures software. Elastic Load• Balancer Automatically scales.• Deploys your application. ……• Easily reliable. Amazon Elastic Compute Cloud (EC2) Availability Zone A Availability Zone B You Elastic Beanstalk Amazon Simple Storage Service Amazon Relational (S3) Database Service (RDS)
  • 24. Accessing a Database Programatically… String dbName = System.getProperty("RDS_DB_NAME"); String userName = System.getProperty("RDS_USERNAME"); String password = System.getProperty("RDS_PASSWORD"); String hostname = System.getProperty("RDS_HOSTNAME"); String port = System.getProperty("RDS_PORT"); String jdbcUrl = "jdbc:mysql://" + hostname + ":" + port + "/" + dbName + "?user=" + userName + "&password=" + password;
  • 25. Thu (10:30AM-11:20AM)Thu (3:00PM-3:50PM)Wed (10:30AM-11:20AM)Wed (10:30AM-11:20AM)
  • 26. We are sincerely eager to hear your feedback on thispresentation and on re:Invent. Please fill out an evaluation form when you have a chance.
  • 27. https://console.aws.amazon.com/elasticbeanstalk/http://aws.amazon.com/code/AWS-Elastic-Beanstalk/6752709412171743http://aws.amazon.com/documentation/elasticbeanstalk/http://aws.amazon.com/eclipse/http://aws.amazon.com/visualstudio/https://forums.aws.amazon.com/forum.jspa?forumID=86

×