SlideShare una empresa de Scribd logo
1 de 38
AWS Elastic Beanstalk is an easy way to quickly
 deploy and manage your applications on AWS
• Build your application and let Elastic Beanstalk do the rest
• Use Elastic Beanstalk if you are building a:
• Use Elastic Beanstalk if you are building a:
• Use Elastic Beanstalk if you are building a:
• Use Elastic Beanstalk if you are building a:
• Use Elastic Beanstalk if you are building a:
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
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
• Choose your runtime
     Java




 Tomcat 6 or 7
   Apache
 Amazon Linux
• Choose your runtime
     Java            PHP




 Tomcat 6 or 7     PHP 5.3
   Apache          Apache
 Amazon Linux    Amazon Linux
• 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
• 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
• 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
• Choose your tool
Choose your runtime


You
                             Elastic
                            Beanstalk
•   Provisions resources:



                                                                 Elastic Load
                                                                  Balancer




                                                                Amazon Elastic
                                                                Compute Cloud
                 Choose your runtime                               (EC2)
                                                   Availability Zone A




           You
                                        Elastic
                                       Beanstalk                Amazon Simple
                                                                Storage Service
                                                                     (S3)
•   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)
•   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)
•   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)
CloudWatch Metrics Configuration File
# place this file inside a .ebextensions folder in the root of app

sources:
 /aws-scripts-mon: http://ec2-downloads.s3.amazonaws.com/cloudwatch-
samples/CloudWatchMonitoringScripts.zip

container_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
•   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)
•   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)
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;
Thu (10:30AM-11:20AM)

Thu (3:00PM-3:50PM)


Wed (10:30AM-11:20AM)


Wed (10:30AM-11:20AM)
We are sincerely eager to
 hear your feedback on this
presentation and on re:Invent.

 Please fill out an evaluation
   form when you have a
            chance.
https://console.aws.amazon.com/elasticbeanstalk/

http://aws.amazon.com/code/AWS-Elastic-Beanstalk/6752709412171743

http://aws.amazon.com/documentation/elasticbeanstalk/

http://aws.amazon.com/eclipse/

http://aws.amazon.com/visualstudio/

https://forums.aws.amazon.com/forum.jspa?forumID=86

Más contenido relacionado

La actualidad más candente

Managing Docker & ECS Based Applications with AWS Elastic Beanstalk - DevDay ...
Managing Docker & ECS Based Applications with AWS Elastic Beanstalk - DevDay ...Managing Docker & ECS Based Applications with AWS Elastic Beanstalk - DevDay ...
Managing Docker & ECS Based Applications with AWS Elastic Beanstalk - DevDay ...
Amazon Web Services
 
如何無痛上雲端? 以Elastic Beanstalk Java Container為例
如何無痛上雲端? 以Elastic Beanstalk Java Container為例如何無痛上雲端? 以Elastic Beanstalk Java Container為例
如何無痛上雲端? 以Elastic Beanstalk Java Container為例
Yuen-Kuei Hsueh
 
Amazon Elastic Beanstalk
Amazon Elastic BeanstalkAmazon Elastic Beanstalk
Amazon Elastic Beanstalk
Eberhard Wolff
 
Deploy PHP Apps on AWS Beanstalk & Deploy with Git
Deploy PHP Apps on AWS Beanstalk & Deploy with GitDeploy PHP Apps on AWS Beanstalk & Deploy with Git
Deploy PHP Apps on AWS Beanstalk & Deploy with Git
Amazon Web Services
 
TLS303 How to Deploy Python Applications on AWS Elastic Beanstalk - AWS re:In...
TLS303 How to Deploy Python Applications on AWS Elastic Beanstalk - AWS re:In...TLS303 How to Deploy Python Applications on AWS Elastic Beanstalk - AWS re:In...
TLS303 How to Deploy Python Applications on AWS Elastic Beanstalk - AWS re:In...
Amazon Web Services
 

La actualidad más candente (20)

AWS Elastic Beanstalk: Running Multi-Container Docker Applications - DevDay L...
AWS Elastic Beanstalk: Running Multi-Container Docker Applications - DevDay L...AWS Elastic Beanstalk: Running Multi-Container Docker Applications - DevDay L...
AWS Elastic Beanstalk: Running Multi-Container Docker Applications - DevDay L...
 
Managing Docker & ECS Based Applications with AWS Elastic Beanstalk - DevDay ...
Managing Docker & ECS Based Applications with AWS Elastic Beanstalk - DevDay ...Managing Docker & ECS Based Applications with AWS Elastic Beanstalk - DevDay ...
Managing Docker & ECS Based Applications with AWS Elastic Beanstalk - DevDay ...
 
Deploy, Manage, and Scale your Apps with AWS Elastic Beanstalk
Deploy, Manage, and Scale your Apps with AWS Elastic BeanstalkDeploy, Manage, and Scale your Apps with AWS Elastic Beanstalk
Deploy, Manage, and Scale your Apps with AWS Elastic Beanstalk
 
AWS January 2016 Webinar Series - Introduction to Deploying Applications on AWS
AWS January 2016 Webinar Series - Introduction to Deploying Applications on AWSAWS January 2016 Webinar Series - Introduction to Deploying Applications on AWS
AWS January 2016 Webinar Series - Introduction to Deploying Applications on AWS
 
AWS re:Invent 2016: Scaling Your Web Applications with AWS Elastic Beanstalk ...
AWS re:Invent 2016: Scaling Your Web Applications with AWS Elastic Beanstalk ...AWS re:Invent 2016: Scaling Your Web Applications with AWS Elastic Beanstalk ...
AWS re:Invent 2016: Scaling Your Web Applications with AWS Elastic Beanstalk ...
 
(DVO312) Sony: Building At-Scale Services with AWS Elastic Beanstalk
(DVO312) Sony: Building At-Scale Services with AWS Elastic Beanstalk(DVO312) Sony: Building At-Scale Services with AWS Elastic Beanstalk
(DVO312) Sony: Building At-Scale Services with AWS Elastic Beanstalk
 
如何無痛上雲端? 以Elastic Beanstalk Java Container為例
如何無痛上雲端? 以Elastic Beanstalk Java Container為例如何無痛上雲端? 以Elastic Beanstalk Java Container為例
如何無痛上雲端? 以Elastic Beanstalk Java Container為例
 
Amazon Elastic Beanstalk
Amazon Elastic BeanstalkAmazon Elastic Beanstalk
Amazon Elastic Beanstalk
 
(DVO201) Scaling Your Web Applications with AWS Elastic Beanstalk
(DVO201) Scaling Your Web Applications with AWS Elastic Beanstalk(DVO201) Scaling Your Web Applications with AWS Elastic Beanstalk
(DVO201) Scaling Your Web Applications with AWS Elastic Beanstalk
 
AWS: Scaling With Elastic Beanstalk
AWS: Scaling With Elastic BeanstalkAWS: Scaling With Elastic Beanstalk
AWS: Scaling With Elastic Beanstalk
 
DevOps with Elastic Beanstalk - TCCC-2014
DevOps with Elastic Beanstalk - TCCC-2014DevOps with Elastic Beanstalk - TCCC-2014
DevOps with Elastic Beanstalk - TCCC-2014
 
Running Microservices and Docker with AWS Elastic Beanstalk
Running Microservices and Docker with AWS Elastic BeanstalkRunning Microservices and Docker with AWS Elastic Beanstalk
Running Microservices and Docker with AWS Elastic Beanstalk
 
AWS July Webinar Series: Introducing AWS OpsWorks for Windows Server
AWS July Webinar Series: Introducing AWS OpsWorks for Windows ServerAWS July Webinar Series: Introducing AWS OpsWorks for Windows Server
AWS July Webinar Series: Introducing AWS OpsWorks for Windows Server
 
McrUmbMeetup 22 May 14: Umbraco and Amazon
McrUmbMeetup 22 May 14: Umbraco and AmazonMcrUmbMeetup 22 May 14: Umbraco and Amazon
McrUmbMeetup 22 May 14: Umbraco and Amazon
 
Building CI-CD Pipelines for Serverless Applications
Building CI-CD Pipelines for Serverless ApplicationsBuilding CI-CD Pipelines for Serverless Applications
Building CI-CD Pipelines for Serverless Applications
 
Amazon EC2 and AWS Elastic Beanstalk Introduction
Amazon EC2 and AWS Elastic Beanstalk IntroductionAmazon EC2 and AWS Elastic Beanstalk Introduction
Amazon EC2 and AWS Elastic Beanstalk Introduction
 
Deploying your web application with AWS ElasticBeanstalk
Deploying your web application with AWS ElasticBeanstalkDeploying your web application with AWS ElasticBeanstalk
Deploying your web application with AWS ElasticBeanstalk
 
Deploy PHP Apps on AWS Beanstalk & Deploy with Git
Deploy PHP Apps on AWS Beanstalk & Deploy with GitDeploy PHP Apps on AWS Beanstalk & Deploy with Git
Deploy PHP Apps on AWS Beanstalk & Deploy with Git
 
TLS303 How to Deploy Python Applications on AWS Elastic Beanstalk - AWS re:In...
TLS303 How to Deploy Python Applications on AWS Elastic Beanstalk - AWS re:In...TLS303 How to Deploy Python Applications on AWS Elastic Beanstalk - AWS re:In...
TLS303 How to Deploy Python Applications on AWS Elastic Beanstalk - AWS re:In...
 
Docker on AWS
Docker on AWSDocker on AWS
Docker on AWS
 

Destacado

AWS Procuring Services for Public Sector - Peterson
AWS Procuring Services for Public Sector - PetersonAWS Procuring Services for Public Sector - Peterson
AWS Procuring Services for Public Sector - Peterson
Amazon Web Services
 
SEC202 Federal Government Compliance Best Practices in the Cloud - AWS re: …
SEC202 Federal Government Compliance Best Practices in the Cloud - AWS re: …SEC202 Federal Government Compliance Best Practices in the Cloud - AWS re: …
SEC202 Federal Government Compliance Best Practices in the Cloud - AWS re: …
Amazon Web Services
 
AWS Customer Presentation: 6Wunderkind - Berlin Summit 2012
AWS Customer Presentation: 6Wunderkind - Berlin Summit 2012AWS Customer Presentation: 6Wunderkind - Berlin Summit 2012
AWS Customer Presentation: 6Wunderkind - Berlin Summit 2012
Amazon Web Services
 
Etendez votre datacenter avec aws v4
Etendez votre datacenter avec aws v4Etendez votre datacenter avec aws v4
Etendez votre datacenter avec aws v4
Amazon Web Services
 
Choosing the Right Data Storage Solution
Choosing the Right Data Storage SolutionChoosing the Right Data Storage Solution
Choosing the Right Data Storage Solution
Amazon Web Services
 
Utility Supercomputing on AWS - Stowe
Utility Supercomputing on AWS - StoweUtility Supercomputing on AWS - Stowe
Utility Supercomputing on AWS - Stowe
Amazon Web Services
 

Destacado (16)

AWS Procuring Services for Public Sector - Peterson
AWS Procuring Services for Public Sector - PetersonAWS Procuring Services for Public Sector - Peterson
AWS Procuring Services for Public Sector - Peterson
 
AWS Update | London - Reserved Instance Marketplace
AWS Update | London - Reserved Instance MarketplaceAWS Update | London - Reserved Instance Marketplace
AWS Update | London - Reserved Instance Marketplace
 
SEC202 Federal Government Compliance Best Practices in the Cloud - AWS re: …
SEC202 Federal Government Compliance Best Practices in the Cloud - AWS re: …SEC202 Federal Government Compliance Best Practices in the Cloud - AWS re: …
SEC202 Federal Government Compliance Best Practices in the Cloud - AWS re: …
 
AWS Customer Presentation: 6Wunderkind - Berlin Summit 2012
AWS Customer Presentation: 6Wunderkind - Berlin Summit 2012AWS Customer Presentation: 6Wunderkind - Berlin Summit 2012
AWS Customer Presentation: 6Wunderkind - Berlin Summit 2012
 
News Limited Keynote - Craige Prendleton-Browne - AWS Summit 2012 Australia
News Limited Keynote - Craige Prendleton-Browne - AWS Summit 2012 AustraliaNews Limited Keynote - Craige Prendleton-Browne - AWS Summit 2012 Australia
News Limited Keynote - Craige Prendleton-Browne - AWS Summit 2012 Australia
 
Etendez votre datacenter avec aws v4
Etendez votre datacenter avec aws v4Etendez votre datacenter avec aws v4
Etendez votre datacenter avec aws v4
 
CPN204 Windows on Amazon EC2 – Top ten things - AWS re: Invent 2012
CPN204 Windows on Amazon EC2 – Top ten things - AWS re: Invent 2012CPN204 Windows on Amazon EC2 – Top ten things - AWS re: Invent 2012
CPN204 Windows on Amazon EC2 – Top ten things - AWS re: Invent 2012
 
Choosing the Right Data Storage Solution
Choosing the Right Data Storage SolutionChoosing the Right Data Storage Solution
Choosing the Right Data Storage Solution
 
Utility Supercomputing on AWS - Stowe
Utility Supercomputing on AWS - StoweUtility Supercomputing on AWS - Stowe
Utility Supercomputing on AWS - Stowe
 
Developing for Your Target Market - Social, Games & Mobile - AWS India Summit...
Developing for Your Target Market - Social, Games & Mobile - AWS India Summit...Developing for Your Target Market - Social, Games & Mobile - AWS India Summit...
Developing for Your Target Market - Social, Games & Mobile - AWS India Summit...
 
Managing Your Cloud Assets with AWS
Managing Your Cloud Assets with AWSManaging Your Cloud Assets with AWS
Managing Your Cloud Assets with AWS
 
STP204 Pinterest Pins AWS! Running Lean on AWS Once You've Made It - AWS re: ...
STP204 Pinterest Pins AWS! Running Lean on AWS Once You've Made It - AWS re: ...STP204 Pinterest Pins AWS! Running Lean on AWS Once You've Made It - AWS re: ...
STP204 Pinterest Pins AWS! Running Lean on AWS Once You've Made It - AWS re: ...
 
STG303 Building Scalable Applications on Amazon S3 - AWS re: Invent 2012
STG303 Building Scalable Applications on Amazon S3 - AWS re: Invent 2012STG303 Building Scalable Applications on Amazon S3 - AWS re: Invent 2012
STG303 Building Scalable Applications on Amazon S3 - AWS re: Invent 2012
 
RMG207 Introduction to AWS CloudFormation - AWS re: Invent 2012
RMG207 Introduction to AWS CloudFormation - AWS re: Invent 2012RMG207 Introduction to AWS CloudFormation - AWS re: Invent 2012
RMG207 Introduction to AWS CloudFormation - AWS re: Invent 2012
 
ARC302 AWS Cloud Design Patterns - AWS re: Invent 2012
ARC302 AWS Cloud Design Patterns - AWS re: Invent 2012ARC302 AWS Cloud Design Patterns - AWS re: Invent 2012
ARC302 AWS Cloud Design Patterns - AWS re: Invent 2012
 
AWS Partner Presentation – Panzura – AWS Cloud Storage for the Enterprise 2012
AWS Partner Presentation – Panzura – AWS Cloud Storage for the Enterprise 2012AWS Partner Presentation – Panzura – AWS Cloud Storage for the Enterprise 2012
AWS Partner Presentation – Panzura – AWS Cloud Storage for the Enterprise 2012
 

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

Ram chinta hug-20120922-v1
Ram chinta hug-20120922-v1Ram chinta hug-20120922-v1
Ram chinta hug-20120922-v1
Ram Chinta
 
Optimising Productivity with AWS Developer Tools
Optimising Productivity with AWS Developer ToolsOptimising Productivity with AWS Developer Tools
Optimising Productivity with AWS Developer Tools
Amazon Web Services
 
Getting Started in the AWS Cloud, Glen Robinson, Solutions Architect, AWS
Getting Started in the AWS Cloud, Glen Robinson, Solutions Architect, AWSGetting Started in the AWS Cloud, Glen Robinson, Solutions Architect, AWS
Getting Started in the AWS Cloud, Glen Robinson, Solutions Architect, AWS
Amazon Web Services
 
Getting started in the AWS Cloud, Glen Robinson, Solutions Architect, AWS
Getting started in the AWS Cloud, Glen Robinson, Solutions Architect, AWSGetting started in the AWS Cloud, Glen Robinson, Solutions Architect, AWS
Getting started in the AWS Cloud, Glen Robinson, Solutions Architect, AWS
Amazon Web Services
 
AWS Cloud School - London April 2012
AWS Cloud School - London April 2012AWS Cloud School - London April 2012
AWS Cloud School - London April 2012
Amazon Web Services
 

Similar a RMG206 Introduction to Amazon Elastic Beanstalk - AWS re: Invent 2012 (20)

Amazon Elastic Beanstalk - Indicthreads.com cloud computing conference 2011
Amazon Elastic Beanstalk  - Indicthreads.com cloud computing conference 2011Amazon Elastic Beanstalk  - Indicthreads.com cloud computing conference 2011
Amazon Elastic Beanstalk - Indicthreads.com cloud computing conference 2011
 
Ram chinta hug-20120922-v1
Ram chinta hug-20120922-v1Ram chinta hug-20120922-v1
Ram chinta hug-20120922-v1
 
Optimising Productivity with AWS Developer Tools
Optimising Productivity with AWS Developer ToolsOptimising Productivity with AWS Developer Tools
Optimising Productivity with AWS Developer Tools
 
Aws elastic beanstalk
Aws elastic beanstalkAws elastic beanstalk
Aws elastic beanstalk
 
Getting Started in the AWS Cloud, Glen Robinson, Solutions Architect, AWS
Getting Started in the AWS Cloud, Glen Robinson, Solutions Architect, AWSGetting Started in the AWS Cloud, Glen Robinson, Solutions Architect, AWS
Getting Started in the AWS Cloud, Glen Robinson, Solutions Architect, AWS
 
Getting started in the AWS Cloud, Glen Robinson, Solutions Architect, AWS
Getting started in the AWS Cloud, Glen Robinson, Solutions Architect, AWSGetting started in the AWS Cloud, Glen Robinson, Solutions Architect, AWS
Getting started in the AWS Cloud, Glen Robinson, Solutions Architect, AWS
 
From Docker Straight to AWS
From Docker Straight to AWSFrom Docker Straight to AWS
From Docker Straight to AWS
 
Compute@Scale
Compute@ScaleCompute@Scale
Compute@Scale
 
Elastic beanstalk
Elastic beanstalkElastic beanstalk
Elastic beanstalk
 
SRV313 Introduction to Building Web Apps on AWS
 SRV313 Introduction to Building Web Apps on AWS SRV313 Introduction to Building Web Apps on AWS
SRV313 Introduction to Building Web Apps on AWS
 
CloudStack-Development-Story
CloudStack-Development-StoryCloudStack-Development-Story
CloudStack-Development-Story
 
Getting Started with Containers on AWS: Collision 2018
Getting Started with Containers on AWS: Collision 2018Getting Started with Containers on AWS: Collision 2018
Getting Started with Containers on AWS: Collision 2018
 
HSBC and AWS Day - AWS foundations
HSBC and AWS Day - AWS foundationsHSBC and AWS Day - AWS foundations
HSBC and AWS Day - AWS foundations
 
Jeff barr Seattle_interactive_2011_q4
Jeff barr Seattle_interactive_2011_q4Jeff barr Seattle_interactive_2011_q4
Jeff barr Seattle_interactive_2011_q4
 
AWSome Day Leeds
AWSome Day Leeds AWSome Day Leeds
AWSome Day Leeds
 
Deploying Applications on AWS - Carlos Conde - AWS Summit Paris
Deploying Applications on AWS - Carlos Conde - AWS Summit ParisDeploying Applications on AWS - Carlos Conde - AWS Summit Paris
Deploying Applications on AWS - Carlos Conde - AWS Summit Paris
 
Building Fault Tolerant, Highly Available and Secured Architectures - Simon E...
Building Fault Tolerant, Highly Available and Secured Architectures - Simon E...Building Fault Tolerant, Highly Available and Secured Architectures - Simon E...
Building Fault Tolerant, Highly Available and Secured Architectures - Simon E...
 
AWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh Varia
AWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh VariaAWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh Varia
AWS Architecting Cloud Apps - Best Practices and Design Patterns By Jinesh Varia
 
Architecting for the Cloud: Best Practices
Architecting for the Cloud: Best PracticesArchitecting for the Cloud: Best Practices
Architecting for the Cloud: Best Practices
 
AWS Cloud School - London April 2012
AWS Cloud School - London April 2012AWS Cloud School - London April 2012
AWS Cloud School - London April 2012
 

Más de Amazon Web Services

Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
Amazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
Amazon Web Services
 

Más de Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

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

  • 1.
  • 2.
  • 3.
  • 4.
  • 5. AWS Elastic Beanstalk is an easy way to quickly deploy and manage your applications on AWS
  • 6. • Build your application and let Elastic Beanstalk do the rest
  • 7. • Use Elastic Beanstalk if you are building a:
  • 8. • Use Elastic Beanstalk if you are building a:
  • 9. • Use Elastic Beanstalk if you are building a:
  • 10. • Use Elastic Beanstalk if you are building a:
  • 11. • Use Elastic Beanstalk if you are building a:
  • 12. 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
  • 13. 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
  • 14.
  • 15. • Choose your runtime Java Tomcat 6 or 7 Apache Amazon Linux
  • 16. • Choose your runtime Java PHP Tomcat 6 or 7 PHP 5.3 Apache Apache Amazon Linux Amazon Linux
  • 17. • 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
  • 18. • 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
  • 19. • 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
  • 21.
  • 22. Choose your runtime You Elastic Beanstalk
  • 23. Provisions resources: Elastic Load Balancer Amazon Elastic Compute Cloud Choose your runtime (EC2) Availability Zone A You Elastic Beanstalk Amazon Simple Storage Service (S3)
  • 24. 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)
  • 25. 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)
  • 26. 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)
  • 27. CloudWatch Metrics Configuration File # place this file inside a .ebextensions folder in the root of app sources: /aws-scripts-mon: http://ec2-downloads.s3.amazonaws.com/cloudwatch- samples/CloudWatchMonitoringScripts.zip container_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
  • 28.
  • 29. 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)
  • 30.
  • 31. 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)
  • 32. 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;
  • 33.
  • 34.
  • 35.
  • 36. Thu (10:30AM-11:20AM) Thu (3:00PM-3:50PM) Wed (10:30AM-11:20AM) Wed (10:30AM-11:20AM)
  • 37. We are sincerely eager to hear your feedback on this presentation and on re:Invent. Please fill out an evaluation form when you have a chance.