SlideShare a Scribd company logo
1 of 22
Intro
Amazon Elastic BeanStalk
2
▪ AWS Elastic Beanstalk is an easy-to-use service for deploying and
scaling web applications and services developed with Java, .NET, PHP,
Node.js, Python, Ruby, Go, and Docker on familiar servers such as
Apache, Nginx, Passenger, and IIS.
▪ You can simply upload your code and Elastic Beanstalk automatically
handles the deployment, from capacity provisioning, load balancing,
auto-scaling to application health monitoring. At the same time, you
retain full control over the AWS resources powering your application
and can access the underlying resources at any time.
▪ There is no additional charge for Elastic Beanstalk - you pay only for
the AWS resources needed to store and run your applications.
Amazon Elastic BeanStalk
3
▪ You can also perform most deployment tasks, such as changing
the size of your fleet ofAmazon EC2 instances or monitoring
your application, directly from the Elastic Beanstalk web
interface (console).
▪ To use Elastic Beanstalk, you create an application, upload an
application version in the form of an application source bundle
(for example, a Java .war file) to Elastic Beanstalk, and then
provide some information about the application.
▪ Elastic Beanstalk automatically launches an environment and
creates and configures the AWS resources needed to run your
code. After your environment is launched, you can then manage
your environment and deploy new application versions.
Amazon Elastic BeanStalk
4
▪ The following diagram illustrates the workflow of Elastic
Beanstalk.
Amazon Elastic BeanStalk
5
▪ This following diagram illustrates an example Elastic Beanstalk
architecture for a web server environment tier and shows how the
components in that type of environment tier work together.
AWS Elastic BeanStalk Supported
Platforms
6
▪ AWS Elastic Beanstalk provides platforms for programming languages (Java,
PHP, Python, Ruby, Go), web containers (Tomcat, Passenger, Puma) and Docker
containers, with multiple configurations of each.
▪ Elastic Beanstalk provisions the resources needed to run your application,
including one or more Amazon EC2 instances.The software stack running on the
Amazon EC2 instances depends on the configuration.
▪ Platforms
PackerBuilder SingleContainerDocker
MulticontainerDocker PreconfiguredDocker
Go JavaSE
JavawithTomcat .NETonWindowsServerwithIIS
Node.js PHP
Python
AWS Elastic BeanStalk
Concepts
7
AWS Elastic Beanstalk lets you manage all of the resources that run your
application as environments. Let's take a closer look at what these terms
mean.
▪ Application
– An Elastic Beanstalk application is a logical collection of Elastic Beanstalk
components, including environments, versions, and environment configurations. In
Elastic Beanstalk an application is conceptually similar to a folder.
▪ ApplicationVersion
– In Elastic Beanstalk, an application version refers to a specific, labeled iteration of
deployable code for a web application. An application version points to an
Amazon Simple Storage Service (Amazon S3) object that contains the deployable
code such as a JavaWAR file.An application version is part of an application.
Applications can have many versions and each application version is unique. In a
running environment, you can deploy any application version you already
uploaded to the application or you can upload and immediately deploy a new
application version.You might upload multiple application versions to test
differences between one version of your web application and another.
AWS Elastic BeanStalk
Concepts
8
▪ Environment
– An environment is a version that is deployed onto AWS resources. Each
environment runs only a single application version at a time, however you can
run the same version or different versions in many environments at the same
time.When you create an environment, Elastic Beanstalk provisions the
resources needed to run the application version you specified.
▪ EnvironmentTier
– When you launch an Elastic Beanstalk environment, you first choose an
environment tier.The environment tier that you choose determines whether
Elastic Beanstalk provisions resources to support an application that handles
HTTP requests or an application that pulls tasks from a queue. An application
that serves HTTP requests runs in a web server environment.An environment
that pulls tasks from anAmazon Simple Queue Service queue runs in a worker
environment .
AWS Elastic Beanstalk
Concepts
9
▪ Environment Configuration
– An environment configuration identifies a collection of parameters and
settings that define how an environment and its associated resources behave.
When you update an environment’s configuration settings, Elastic Beanstalk
automatically applies the changes to existing resources or deletes and
deploys new resources (depending on the type of change).
▪ ConfigurationTemplate
– A configuration template is a starting point for creating unique environment
configurations.Configuration templates can be created or modified by using
the Elastic Beanstalk command line utilities or API.
▪ Web Server Environments
– Same as the web Application diagram before suggested.
AWS Elastic Beanstalk
Concepts
10
▪ Worker Environments
– AWS resources created for a worker environment tier include an Auto Scaling
group, one or more Amazon EC2 instances, and an IAM role. For the worker
environment tier, Elastic Beanstalk also creates and provisions anAmazon
SQS queue if you don’t already have one.When you launch a worker
environment tier, Elastic Beanstalk installs the necessary support files for
your programming language of choice and a daemon on each EC2 instance in
the Auto Scaling group.
▪ Design Considerations
– Because applications deployed using Elastic Beanstalk run on Amazon cloud
resources, you should keep several things in mind when designing your
application: scalability, security, persistent storage, fault tolerance, content
delivery, software updates and patching, and connectivity.
Create an Elastic Beanstalk
Environment
11
▪ AWS Elastic Beanstalk in Action (1)
▪ Create some code (index.php) Check code into Git:
– <devserver>: git init
Initialized empty Git repository in
– /PathToProjects/ebs_demo_1/.git/ <devserver>: git add .
– <devserver>: git commit -m"Initial check-in."
[master (root-commit) fc57da3] Initial check-in.
1 files changed, 8 insertions(+), 0 deletions(-) create mode 100644
index.php
Create an Elastic Beanstalk
Environment
12
▪ AWS Elastic Beanstalk in Action (2)
▪ Create Beanstalk Application
Create an Elastic Beanstalk
Environment
13
▪ AWS Elastic Beanstalk in Action (3)
▪ Sample code for php .
Create an Elastic Beanstalk
Environment
14
▪ AWS Elastic Beanstalk in Action (4)
▪ Install and configure AWS DevTools
▪ <devserver>: git aws.config
AWS Access Key: ........................
AWS Secret Key: .................................
AWS Region: us-east-1
AWS Elastic Beanstalk Application: My First Elastic Beanstalk
Application AWS Elastic Beanstalk Environment: Default-
Environment
Create an Elastic Beanstalk
Environment
15
▪ AWS Elastic Beanstalk in Action (5)
▪ Push new application code:
▪ <devserver>: git aws.push
Counting objects: 3, done.
Compressing objects: 100% (2/2), done.Writing objects: 100%
(3/3), 307 bytes, done.Total 3 (delta 0), reused 0 (delta 0)
remote:
To
https://180P9FEG65H0CMCANER2:20120601T212315Zac4b3d5b9f
887ae461b3079927762543d94a83855a2ad0beed66b2c27b3b435e@
git.elasticbeanstalk.us-east-
1.amazonaws.com/repos/4d7920466972737420456c61737469632
04265616e7374616c6b204170706c6963617469 6f6e/Default-
Environment
Create an Elastic Beanstalk
Environment
16
▪ AWS Elastic Beanstalk in Action (6)
Managing Elastic Beanstalk
Environments
17
▪ AWS Elastic Beanstalk makes it easy to create new environments for
your application.You can create and manage separate environments for
development, testing, and production use, and you can deploy any
version of your application to any environment. Environments can be
long-running or temporary.When you terminate an environment, you
can save its configuration to recreate it later.
▪ As you develop your application, you will deploy it often, possibly to
several different environments for different purposes. Elastic Beanstalk
lets you configure how deployments are performed .You can deploy to all
of the instances in your environment simultaneously, or split a
deployment into batches with rolling deployments.
▪ Configuration changes are processed separately from deployments, and
have their own scope. For example, if you change the type of the EC2
instances running your application, all of the instances must be replaced.
On the other hand, if you modify the configuration of the environment's
load balancer, that change can be made in-place without interrupting
service or lowering capacity.You can also apply configuration changes
that modify the instances in your environment in batches with rolling
configuration updates.
Managing Elastic Beanstalk
Environments
18
▪ Note
– Modify the resources in your environment only by using Elastic Beanstalk. If you
modify resources using another service's console, CLI commands, or SDKs, Elastic
Beanstalk won’t be able to accurately monitor the state of those resources, and
you won't be able to save the configuration or reliably recreate the environment.
Out-of band-changes can also cause issues when terminating an environment.
▪ When you launch an environment, you choose a platform configuration.
We update platform configurations periodically to provide performance
improvements and new features.You can update your environment to
the latest platform configuration at any time.
▪ As your application grows in complexity, you can split it into multiple
components, each running in a separate environment. For long-running
workloads, you can launch worker environments that process jobs from
an Amazon Simple Queue Service (Amazon SQS) queue.
Managing Elastic Beanstalk
Environments
19
▪ Note
– Modify the resources in your environment only by using Elastic Beanstalk. If you
modify resources using another service's console, CLI commands, or SDKs, Elastic
Beanstalk won’t be able to accurately monitor the state of those resources, and
you won't be able to save the configuration or reliably recreate the environment.
Out-of band-changes can also cause issues when terminating an environment.
▪ When you launch an environment, you choose a platform configuration.
We update platform configurations periodically to provide performance
improvements and new features.You can update your environment to
the latest platform configuration at any time.
▪ As your application grows in complexity, you can split it into multiple
components, each running in a separate environment. For long-running
workloads, you can launch worker environments that process jobs from
an Amazon Simple Queue Service (Amazon SQS) queue.
Managing Elastic Beanstalk
Environments
20
▪ Mainly managing could be done with following topics:
– Environment Dashboard - main view of the environment management
console is the dashboard
– Environment ManagementActions -The environment management console
contains an Actions menu that you can use to perform common operations
on your environment
– Configuration - The Configuration overview page shows the current
configuration of your environment and its resources, includingAmazon EC2
instances, load balancer, notifications, and health monitoring settings
– Logs -The Logs page lets you retrieve logs from the EC2 instances in your
environment
Managing Elastic Beanstalk
Environments
21
▪ Mainly managing could be done with following topics:
– Health - If enhanced health monitoring is enabled, the Enhanced Health
Overview page shows live health information about every instance in your
environment
– Monitoring -The Monitoring page shows an overview of health information
for your environment
– Alarms -The Existing Alarms page shows information about any alarms that
you have configured for your environment.
– ManagedUpdates - The Managed Updates page shows information about
upcoming and completed managed platform updates and instance
replacement
– Events -The Events page shows the event stream for your environment
– Tags -The Tags page shows the tags that you applied to the environment
when you created it
Limitations of Elastic
Beanstalk Environments
22
▪ Some of the biggest pains with Elastic Beanstalk include unreliable
deployments, lack of transparency and documentation around
stack and application upgrades, and an overall lack of clear
documentation.
– Unreliable Deployment - Deployment failure without notification and results
in further all failure on every commit (if on CICD pipeline)
– Deployment Speed - Deployments would take five minutes at least, and
sometimes stretch to 15, for a site with just two front-ends
– Stack Upgrades – Elastic beanstalk comes up with all new updates with no
release notes , no blog post, not even a forum post
– Old ApplicationVersions - With every deploy, Elastic Beanstalk archives the
old application version in an S3 bucket. However, if there are 500 old
versions, further deploys fail

More Related Content

What's hot

Building the Perfect SharePoint 2010 Farm; A Walkthrough of Best Practices fr...
Building the Perfect SharePoint 2010 Farm; A Walkthrough of Best Practices fr...Building the Perfect SharePoint 2010 Farm; A Walkthrough of Best Practices fr...
Building the Perfect SharePoint 2010 Farm; A Walkthrough of Best Practices fr...Michael Noel
 
Sqlpass The Magic Of Replication
Sqlpass   The Magic Of ReplicationSqlpass   The Magic Of Replication
Sqlpass The Magic Of Replicationsqlserver.co.il
 
configuring+oracle+rds+with+glasfish+server
configuring+oracle+rds+with+glasfish+serverconfiguring+oracle+rds+with+glasfish+server
configuring+oracle+rds+with+glasfish+serverhunghtc83
 
oracle-rest-data-service-instal-config
oracle-rest-data-service-instal-configoracle-rest-data-service-instal-config
oracle-rest-data-service-instal-confighunghtc83
 
Where did my day go?: Oracle Enterprise Manager 12c/13c Administration
Where did my day go?: Oracle Enterprise Manager 12c/13c AdministrationWhere did my day go?: Oracle Enterprise Manager 12c/13c Administration
Where did my day go?: Oracle Enterprise Manager 12c/13c AdministrationAlfredo Krieg
 
Deploy, Scale and Manage your Application with AWS Elastic Beanstalk
Deploy, Scale and Manage your Application with AWS Elastic BeanstalkDeploy, Scale and Manage your Application with AWS Elastic Beanstalk
Deploy, Scale and Manage your Application with AWS Elastic BeanstalkAmazon Web Services
 
Oracle Weblogic Server 11g: System Administration I
Oracle Weblogic Server 11g: System Administration IOracle Weblogic Server 11g: System Administration I
Oracle Weblogic Server 11g: System Administration ISachin Kumar
 
Database concurrency and transactions - Tal Olier
Database concurrency and transactions - Tal OlierDatabase concurrency and transactions - Tal Olier
Database concurrency and transactions - Tal Oliersqlserver.co.il
 
Running containers in AWS
Running containers in AWSRunning containers in AWS
Running containers in AWSAndrewMay59
 
Oracle WebLogic Server 11g for IT OPS
Oracle WebLogic Server 11g for IT OPSOracle WebLogic Server 11g for IT OPS
Oracle WebLogic Server 11g for IT OPSRakesh Gujjarlapudi
 
SQL Server AlwaysOn for Dummies SQLSaturday #202 Edition
SQL Server AlwaysOn for Dummies SQLSaturday #202 EditionSQL Server AlwaysOn for Dummies SQLSaturday #202 Edition
SQL Server AlwaysOn for Dummies SQLSaturday #202 EditionMark Broadbent
 
Let's Code our Infrastructure!
Let's Code our Infrastructure!Let's Code our Infrastructure!
Let's Code our Infrastructure!continuousphp
 
SQL Server 2012 High Availability with AlwaysOn Availability Groups
SQL Server 2012 High Availability with AlwaysOn Availability GroupsSQL Server 2012 High Availability with AlwaysOn Availability Groups
SQL Server 2012 High Availability with AlwaysOn Availability GroupsEdwin M Sarmiento
 

What's hot (20)

Building the Perfect SharePoint 2010 Farm; A Walkthrough of Best Practices fr...
Building the Perfect SharePoint 2010 Farm; A Walkthrough of Best Practices fr...Building the Perfect SharePoint 2010 Farm; A Walkthrough of Best Practices fr...
Building the Perfect SharePoint 2010 Farm; A Walkthrough of Best Practices fr...
 
Weblogic12 c installation guide
Weblogic12 c installation guideWeblogic12 c installation guide
Weblogic12 c installation guide
 
Sqlpass The Magic Of Replication
Sqlpass   The Magic Of ReplicationSqlpass   The Magic Of Replication
Sqlpass The Magic Of Replication
 
configuring+oracle+rds+with+glasfish+server
configuring+oracle+rds+with+glasfish+serverconfiguring+oracle+rds+with+glasfish+server
configuring+oracle+rds+with+glasfish+server
 
TechBeats #2
TechBeats #2TechBeats #2
TechBeats #2
 
oracle-rest-data-service-instal-config
oracle-rest-data-service-instal-configoracle-rest-data-service-instal-config
oracle-rest-data-service-instal-config
 
41 Pdfsam
41 Pdfsam41 Pdfsam
41 Pdfsam
 
Where did my day go?: Oracle Enterprise Manager 12c/13c Administration
Where did my day go?: Oracle Enterprise Manager 12c/13c AdministrationWhere did my day go?: Oracle Enterprise Manager 12c/13c Administration
Where did my day go?: Oracle Enterprise Manager 12c/13c Administration
 
Deploy, Scale and Manage your Application with AWS Elastic Beanstalk
Deploy, Scale and Manage your Application with AWS Elastic BeanstalkDeploy, Scale and Manage your Application with AWS Elastic Beanstalk
Deploy, Scale and Manage your Application with AWS Elastic Beanstalk
 
Oracle Weblogic Server 11g: System Administration I
Oracle Weblogic Server 11g: System Administration IOracle Weblogic Server 11g: System Administration I
Oracle Weblogic Server 11g: System Administration I
 
Database concurrency and transactions - Tal Olier
Database concurrency and transactions - Tal OlierDatabase concurrency and transactions - Tal Olier
Database concurrency and transactions - Tal Olier
 
61 Rac
61 Rac61 Rac
61 Rac
 
21 Rac
21 Rac21 Rac
21 Rac
 
BI for the DBA
BI for the DBABI for the DBA
BI for the DBA
 
141 Rac
141 Rac141 Rac
141 Rac
 
Running containers in AWS
Running containers in AWSRunning containers in AWS
Running containers in AWS
 
Oracle WebLogic Server 11g for IT OPS
Oracle WebLogic Server 11g for IT OPSOracle WebLogic Server 11g for IT OPS
Oracle WebLogic Server 11g for IT OPS
 
SQL Server AlwaysOn for Dummies SQLSaturday #202 Edition
SQL Server AlwaysOn for Dummies SQLSaturday #202 EditionSQL Server AlwaysOn for Dummies SQLSaturday #202 Edition
SQL Server AlwaysOn for Dummies SQLSaturday #202 Edition
 
Let's Code our Infrastructure!
Let's Code our Infrastructure!Let's Code our Infrastructure!
Let's Code our Infrastructure!
 
SQL Server 2012 High Availability with AlwaysOn Availability Groups
SQL Server 2012 High Availability with AlwaysOn Availability GroupsSQL Server 2012 High Availability with AlwaysOn Availability Groups
SQL Server 2012 High Availability with AlwaysOn Availability Groups
 

Similar to Elastic beanstalk

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 BeanstalkAmazon Web Services
 
Distribua, gerencie e escale suas aplicações com o aws elastic beanstalk
Distribua, gerencie e escale suas aplicações com o aws elastic beanstalkDistribua, gerencie e escale suas aplicações com o aws elastic beanstalk
Distribua, gerencie e escale suas aplicações com o aws elastic beanstalkAmazon Web Services LATAM
 
AWS July Webinar Series-Deploying and Scaling Web Application with AWS Elasti...
AWS July Webinar Series-Deploying and Scaling Web Application with AWS Elasti...AWS July Webinar Series-Deploying and Scaling Web Application with AWS Elasti...
AWS July Webinar Series-Deploying and Scaling Web Application with AWS Elasti...Amazon Web Services
 
Introducing AWS Elastic Beanstalk
Introducing AWS Elastic BeanstalkIntroducing AWS Elastic Beanstalk
Introducing AWS Elastic BeanstalkAmazon Web Services
 
DevOps with Elastic Beanstalk - TCCC-2014
DevOps with Elastic Beanstalk - TCCC-2014DevOps with Elastic Beanstalk - TCCC-2014
DevOps with Elastic Beanstalk - TCCC-2014scolestock
 
基于Aws的持续集成、交付和部署 代闻
基于Aws的持续集成、交付和部署 代闻基于Aws的持续集成、交付和部署 代闻
基于Aws的持续集成、交付和部署 代闻Mason Mei
 
AWS Elastic Beanstalk - Running Microservices and Docker
AWS Elastic Beanstalk - Running Microservices and DockerAWS Elastic Beanstalk - Running Microservices and Docker
AWS Elastic Beanstalk - Running Microservices and DockerAmazon Web Services
 
(APP201) Going Zero to Sixty with AWS Elastic Beanstalk | AWS re:Invent 2014
(APP201) Going Zero to Sixty with AWS Elastic Beanstalk | AWS re:Invent 2014(APP201) Going Zero to Sixty with AWS Elastic Beanstalk | AWS re:Invent 2014
(APP201) Going Zero to Sixty with AWS Elastic Beanstalk | AWS re:Invent 2014Amazon Web Services
 
Running Microservices on AWS Elastic Beanstalk
Running Microservices on AWS Elastic BeanstalkRunning Microservices on AWS Elastic Beanstalk
Running Microservices on AWS Elastic BeanstalkAmazon Web Services
 
Agile Deployment using Git and AWS Elastic Beanstalk
Agile Deployment using Git and AWS Elastic BeanstalkAgile Deployment using Git and AWS Elastic Beanstalk
Agile Deployment using Git and AWS Elastic BeanstalkAmazon Web Services
 
Running Microservices and Docker on AWS Elastic Beanstalk - August 2016 Month...
Running Microservices and Docker on AWS Elastic Beanstalk - August 2016 Month...Running Microservices and Docker on AWS Elastic Beanstalk - August 2016 Month...
Running Microservices and Docker on AWS Elastic Beanstalk - August 2016 Month...Amazon Web Services
 
AWS Elastic Beanstalk運作微服務與Docker
AWS Elastic Beanstalk運作微服務與Docker AWS Elastic Beanstalk運作微服務與Docker
AWS Elastic Beanstalk運作微服務與Docker Amazon Web Services
 
AWS re:Invent 2016: Infrastructure Continuous Delivery Using AWS CloudFormati...
AWS re:Invent 2016: Infrastructure Continuous Delivery Using AWS CloudFormati...AWS re:Invent 2016: Infrastructure Continuous Delivery Using AWS CloudFormati...
AWS re:Invent 2016: Infrastructure Continuous Delivery Using AWS CloudFormati...Amazon Web Services
 
Infrastructure Continuous Delivery Using AWS CloudFormation
Infrastructure Continuous Delivery Using AWS CloudFormationInfrastructure Continuous Delivery Using AWS CloudFormation
Infrastructure Continuous Delivery Using AWS CloudFormationAmazon Web Services
 
Agile Deployment using Git and AWS Elastic Beanstalk
Agile Deployment using Git and AWS Elastic BeanstalkAgile Deployment using Git and AWS Elastic Beanstalk
Agile Deployment using Git and AWS Elastic BeanstalkAmazon Web Services
 
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 2011IndicThreads
 
ECS & ECR Deep Dive - 김기완 솔루션즈 아키텍트 :: AWS Container Day
ECS & ECR Deep Dive - 김기완 솔루션즈 아키텍트 :: AWS Container DayECS & ECR Deep Dive - 김기완 솔루션즈 아키텍트 :: AWS Container Day
ECS & ECR Deep Dive - 김기완 솔루션즈 아키텍트 :: AWS Container DayAmazon Web Services Korea
 
Application Deployment on AWS - Startup Talks June 2015
Application Deployment on AWS - Startup Talks June 2015Application Deployment on AWS - Startup Talks June 2015
Application Deployment on AWS - Startup Talks June 2015Amazon Web Services
 

Similar to Elastic beanstalk (20)

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
 
Distribua, gerencie e escale suas aplicações com o aws elastic beanstalk
Distribua, gerencie e escale suas aplicações com o aws elastic beanstalkDistribua, gerencie e escale suas aplicações com o aws elastic beanstalk
Distribua, gerencie e escale suas aplicações com o aws elastic beanstalk
 
AWS July Webinar Series-Deploying and Scaling Web Application with AWS Elasti...
AWS July Webinar Series-Deploying and Scaling Web Application with AWS Elasti...AWS July Webinar Series-Deploying and Scaling Web Application with AWS Elasti...
AWS July Webinar Series-Deploying and Scaling Web Application with AWS Elasti...
 
Introducing AWS Elastic Beanstalk
Introducing AWS Elastic BeanstalkIntroducing AWS Elastic Beanstalk
Introducing AWS 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
 
基于Aws的持续集成、交付和部署 代闻
基于Aws的持续集成、交付和部署 代闻基于Aws的持续集成、交付和部署 代闻
基于Aws的持续集成、交付和部署 代闻
 
AWS Elastic Beanstalk - Running Microservices and Docker
AWS Elastic Beanstalk - Running Microservices and DockerAWS Elastic Beanstalk - Running Microservices and Docker
AWS Elastic Beanstalk - Running Microservices and Docker
 
(APP201) Going Zero to Sixty with AWS Elastic Beanstalk | AWS re:Invent 2014
(APP201) Going Zero to Sixty with AWS Elastic Beanstalk | AWS re:Invent 2014(APP201) Going Zero to Sixty with AWS Elastic Beanstalk | AWS re:Invent 2014
(APP201) Going Zero to Sixty with AWS Elastic Beanstalk | AWS re:Invent 2014
 
AWS elastic beanstalk
AWS elastic beanstalkAWS elastic beanstalk
AWS elastic beanstalk
 
Running Microservices on AWS Elastic Beanstalk
Running Microservices on AWS Elastic BeanstalkRunning Microservices on AWS Elastic Beanstalk
Running Microservices on AWS Elastic Beanstalk
 
Agile Deployment using Git and AWS Elastic Beanstalk
Agile Deployment using Git and AWS Elastic BeanstalkAgile Deployment using Git and AWS Elastic Beanstalk
Agile Deployment using Git and AWS Elastic Beanstalk
 
Running Microservices and Docker on AWS Elastic Beanstalk - August 2016 Month...
Running Microservices and Docker on AWS Elastic Beanstalk - August 2016 Month...Running Microservices and Docker on AWS Elastic Beanstalk - August 2016 Month...
Running Microservices and Docker on AWS Elastic Beanstalk - August 2016 Month...
 
AWS Elastic Beanstalk運作微服務與Docker
AWS Elastic Beanstalk運作微服務與Docker AWS Elastic Beanstalk運作微服務與Docker
AWS Elastic Beanstalk運作微服務與Docker
 
AWS re:Invent 2016: Infrastructure Continuous Delivery Using AWS CloudFormati...
AWS re:Invent 2016: Infrastructure Continuous Delivery Using AWS CloudFormati...AWS re:Invent 2016: Infrastructure Continuous Delivery Using AWS CloudFormati...
AWS re:Invent 2016: Infrastructure Continuous Delivery Using AWS CloudFormati...
 
Infrastructure Continuous Delivery Using AWS CloudFormation
Infrastructure Continuous Delivery Using AWS CloudFormationInfrastructure Continuous Delivery Using AWS CloudFormation
Infrastructure Continuous Delivery Using AWS CloudFormation
 
Shipping logs to splunk from a container in aws howto
Shipping logs to splunk from a container in aws howtoShipping logs to splunk from a container in aws howto
Shipping logs to splunk from a container in aws howto
 
Agile Deployment using Git and AWS Elastic Beanstalk
Agile Deployment using Git and AWS Elastic BeanstalkAgile Deployment using Git and AWS Elastic Beanstalk
Agile Deployment using Git and AWS Elastic Beanstalk
 
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
 
ECS & ECR Deep Dive - 김기완 솔루션즈 아키텍트 :: AWS Container Day
ECS & ECR Deep Dive - 김기완 솔루션즈 아키텍트 :: AWS Container DayECS & ECR Deep Dive - 김기완 솔루션즈 아키텍트 :: AWS Container Day
ECS & ECR Deep Dive - 김기완 솔루션즈 아키텍트 :: AWS Container Day
 
Application Deployment on AWS - Startup Talks June 2015
Application Deployment on AWS - Startup Talks June 2015Application Deployment on AWS - Startup Talks June 2015
Application Deployment on AWS - Startup Talks June 2015
 

More from Parag Patil

Aws overview part 1(iam and storage services)
Aws overview   part 1(iam and storage services)Aws overview   part 1(iam and storage services)
Aws overview part 1(iam and storage services)Parag Patil
 
Aws overview part 2(compute services)
Aws overview   part 2(compute services)Aws overview   part 2(compute services)
Aws overview part 2(compute services)Parag Patil
 
Aws object storage and cdn(s3, glacier and cloud front) part 1
Aws object storage and cdn(s3, glacier and cloud front)   part 1Aws object storage and cdn(s3, glacier and cloud front)   part 1
Aws object storage and cdn(s3, glacier and cloud front) part 1Parag Patil
 
Billing &amp; pricing
Billing &amp; pricing Billing &amp; pricing
Billing &amp; pricing Parag Patil
 
Databases overview &amp; concepts
Databases overview &amp; conceptsDatabases overview &amp; concepts
Databases overview &amp; conceptsParag Patil
 
Databases on aws part 2
Databases on aws   part 2Databases on aws   part 2
Databases on aws part 2Parag Patil
 
Aws object storage and cdn(s3, glacier and cloud front) part 2
Aws object storage and cdn(s3, glacier and cloud front)   part 2Aws object storage and cdn(s3, glacier and cloud front)   part 2
Aws object storage and cdn(s3, glacier and cloud front) part 2Parag Patil
 
Development tools
Development toolsDevelopment tools
Development toolsParag Patil
 
Cloud concepts-and-technologies
Cloud concepts-and-technologiesCloud concepts-and-technologies
Cloud concepts-and-technologiesParag Patil
 
Aws overview part 3(databases, dns and management services)
Aws overview   part 3(databases, dns and management services)Aws overview   part 3(databases, dns and management services)
Aws overview part 3(databases, dns and management services)Parag Patil
 
Aws object storage and cdn(s3, glacier and cloud front) part 3
Aws object storage and cdn(s3, glacier and cloud front)   part 3Aws object storage and cdn(s3, glacier and cloud front)   part 3
Aws object storage and cdn(s3, glacier and cloud front) part 3Parag Patil
 
Databases on aws part 1
Databases on aws   part 1Databases on aws   part 1
Databases on aws part 1Parag Patil
 
Identity access management (iam)
Identity access management (iam)Identity access management (iam)
Identity access management (iam)Parag Patil
 

More from Parag Patil (16)

Aws overview part 1(iam and storage services)
Aws overview   part 1(iam and storage services)Aws overview   part 1(iam and storage services)
Aws overview part 1(iam and storage services)
 
Aws overview part 2(compute services)
Aws overview   part 2(compute services)Aws overview   part 2(compute services)
Aws overview part 2(compute services)
 
Aws object storage and cdn(s3, glacier and cloud front) part 1
Aws object storage and cdn(s3, glacier and cloud front)   part 1Aws object storage and cdn(s3, glacier and cloud front)   part 1
Aws object storage and cdn(s3, glacier and cloud front) part 1
 
Billing &amp; pricing
Billing &amp; pricing Billing &amp; pricing
Billing &amp; pricing
 
Databases overview &amp; concepts
Databases overview &amp; conceptsDatabases overview &amp; concepts
Databases overview &amp; concepts
 
Databases on aws part 2
Databases on aws   part 2Databases on aws   part 2
Databases on aws part 2
 
Aws object storage and cdn(s3, glacier and cloud front) part 2
Aws object storage and cdn(s3, glacier and cloud front)   part 2Aws object storage and cdn(s3, glacier and cloud front)   part 2
Aws object storage and cdn(s3, glacier and cloud front) part 2
 
Security
SecuritySecurity
Security
 
Development tools
Development toolsDevelopment tools
Development tools
 
Cloud concepts-and-technologies
Cloud concepts-and-technologiesCloud concepts-and-technologies
Cloud concepts-and-technologies
 
Aws overview part 3(databases, dns and management services)
Aws overview   part 3(databases, dns and management services)Aws overview   part 3(databases, dns and management services)
Aws overview part 3(databases, dns and management services)
 
Word press site
Word press siteWord press site
Word press site
 
Dynamo db
Dynamo dbDynamo db
Dynamo db
 
Aws object storage and cdn(s3, glacier and cloud front) part 3
Aws object storage and cdn(s3, glacier and cloud front)   part 3Aws object storage and cdn(s3, glacier and cloud front)   part 3
Aws object storage and cdn(s3, glacier and cloud front) part 3
 
Databases on aws part 1
Databases on aws   part 1Databases on aws   part 1
Databases on aws part 1
 
Identity access management (iam)
Identity access management (iam)Identity access management (iam)
Identity access management (iam)
 

Recently uploaded

BHADRAK Call Girls JAMSHEDPUR Just Call 93480*64116 Top Class Call Girl Servi...
BHADRAK Call Girls JAMSHEDPUR Just Call 93480*64116 Top Class Call Girl Servi...BHADRAK Call Girls JAMSHEDPUR Just Call 93480*64116 Top Class Call Girl Servi...
BHADRAK Call Girls JAMSHEDPUR Just Call 93480*64116 Top Class Call Girl Servi...poojas707976
 
BERHAMPUR Call Girls JAMSHEDPUR Just Call 93480*64116 Top Class Call Girl Ser...
BERHAMPUR Call Girls JAMSHEDPUR Just Call 93480*64116 Top Class Call Girl Ser...BERHAMPUR Call Girls JAMSHEDPUR Just Call 93480*64116 Top Class Call Girl Ser...
BERHAMPUR Call Girls JAMSHEDPUR Just Call 93480*64116 Top Class Call Girl Ser...poojas707976
 
Namakkal ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Namakkal ESCORT SERVICE❤CALL GIRL
Namakkal ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Namakkal ESCORT SERVICE❤CALL GIRLNamakkal ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Namakkal ESCORT SERVICE❤CALL GIRL
Namakkal ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Namakkal ESCORT SERVICE❤CALL GIRLkantirani197
 
Prince Armahs(Tinky) Brochure, for Funeral service
Prince Armahs(Tinky) Brochure, for Funeral servicePrince Armahs(Tinky) Brochure, for Funeral service
Prince Armahs(Tinky) Brochure, for Funeral serviceednyonat
 
Hosur ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Hosur ESCORT SERVICE❤CALL GIRL
Hosur ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Hosur ESCORT SERVICE❤CALL GIRLHosur ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Hosur ESCORT SERVICE❤CALL GIRL
Hosur ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Hosur ESCORT SERVICE❤CALL GIRLkantirani197
 
💊💊 OBAT PENGGUGUR KANDUNGAN JAMBI 08776558899 ATAU CARA GUGURKAN JANIN KLINIK...
💊💊 OBAT PENGGUGUR KANDUNGAN JAMBI 08776558899 ATAU CARA GUGURKAN JANIN KLINIK...💊💊 OBAT PENGGUGUR KANDUNGAN JAMBI 08776558899 ATAU CARA GUGURKAN JANIN KLINIK...
💊💊 OBAT PENGGUGUR KANDUNGAN JAMBI 08776558899 ATAU CARA GUGURKAN JANIN KLINIK...Cara Menggugurkan Kandungan 087776558899
 

Recently uploaded (10)

KENDUJHAR ODIA CALL GIRL SEIRVEC ❣️ 72051//37929❣️ CALL GIRL IN ODIA HAND TO ...
KENDUJHAR ODIA CALL GIRL SEIRVEC ❣️ 72051//37929❣️ CALL GIRL IN ODIA HAND TO ...KENDUJHAR ODIA CALL GIRL SEIRVEC ❣️ 72051//37929❣️ CALL GIRL IN ODIA HAND TO ...
KENDUJHAR ODIA CALL GIRL SEIRVEC ❣️ 72051//37929❣️ CALL GIRL IN ODIA HAND TO ...
 
BHADRAK Call Girls JAMSHEDPUR Just Call 93480*64116 Top Class Call Girl Servi...
BHADRAK Call Girls JAMSHEDPUR Just Call 93480*64116 Top Class Call Girl Servi...BHADRAK Call Girls JAMSHEDPUR Just Call 93480*64116 Top Class Call Girl Servi...
BHADRAK Call Girls JAMSHEDPUR Just Call 93480*64116 Top Class Call Girl Servi...
 
BERHAMPUR Call Girls JAMSHEDPUR Just Call 93480*64116 Top Class Call Girl Ser...
BERHAMPUR Call Girls JAMSHEDPUR Just Call 93480*64116 Top Class Call Girl Ser...BERHAMPUR Call Girls JAMSHEDPUR Just Call 93480*64116 Top Class Call Girl Ser...
BERHAMPUR Call Girls JAMSHEDPUR Just Call 93480*64116 Top Class Call Girl Ser...
 
9565589233 Whatsapp Free Nude Video Call Service Porn Girls Porn Videos
9565589233 Whatsapp Free Nude Video Call Service Porn Girls Porn Videos9565589233 Whatsapp Free Nude Video Call Service Porn Girls Porn Videos
9565589233 Whatsapp Free Nude Video Call Service Porn Girls Porn Videos
 
Namakkal ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Namakkal ESCORT SERVICE❤CALL GIRL
Namakkal ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Namakkal ESCORT SERVICE❤CALL GIRLNamakkal ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Namakkal ESCORT SERVICE❤CALL GIRL
Namakkal ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Namakkal ESCORT SERVICE❤CALL GIRL
 
BHUBANESWAR CALL GIRL IN SEIRVEC ODIA ❣️72051SIYA37929❣️ CASH PAYMENT ONLY CA...
BHUBANESWAR CALL GIRL IN SEIRVEC ODIA ❣️72051SIYA37929❣️ CASH PAYMENT ONLY CA...BHUBANESWAR CALL GIRL IN SEIRVEC ODIA ❣️72051SIYA37929❣️ CASH PAYMENT ONLY CA...
BHUBANESWAR CALL GIRL IN SEIRVEC ODIA ❣️72051SIYA37929❣️ CASH PAYMENT ONLY CA...
 
Prince Armahs(Tinky) Brochure, for Funeral service
Prince Armahs(Tinky) Brochure, for Funeral servicePrince Armahs(Tinky) Brochure, for Funeral service
Prince Armahs(Tinky) Brochure, for Funeral service
 
Hosur ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Hosur ESCORT SERVICE❤CALL GIRL
Hosur ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Hosur ESCORT SERVICE❤CALL GIRLHosur ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Hosur ESCORT SERVICE❤CALL GIRL
Hosur ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Hosur ESCORT SERVICE❤CALL GIRL
 
💊💊 OBAT PENGGUGUR KANDUNGAN JAMBI 08776558899 ATAU CARA GUGURKAN JANIN KLINIK...
💊💊 OBAT PENGGUGUR KANDUNGAN JAMBI 08776558899 ATAU CARA GUGURKAN JANIN KLINIK...💊💊 OBAT PENGGUGUR KANDUNGAN JAMBI 08776558899 ATAU CARA GUGURKAN JANIN KLINIK...
💊💊 OBAT PENGGUGUR KANDUNGAN JAMBI 08776558899 ATAU CARA GUGURKAN JANIN KLINIK...
 
KHORDHA ODIA CALL GIRL SEIRVEC ❣️ 72051//37929❣️ CALL GIRL IN ODIA HAND TO HA...
KHORDHA ODIA CALL GIRL SEIRVEC ❣️ 72051//37929❣️ CALL GIRL IN ODIA HAND TO HA...KHORDHA ODIA CALL GIRL SEIRVEC ❣️ 72051//37929❣️ CALL GIRL IN ODIA HAND TO HA...
KHORDHA ODIA CALL GIRL SEIRVEC ❣️ 72051//37929❣️ CALL GIRL IN ODIA HAND TO HA...
 

Elastic beanstalk

  • 2. Amazon Elastic BeanStalk 2 ▪ AWS Elastic Beanstalk is an easy-to-use service for deploying and scaling web applications and services developed with Java, .NET, PHP, Node.js, Python, Ruby, Go, and Docker on familiar servers such as Apache, Nginx, Passenger, and IIS. ▪ You can simply upload your code and Elastic Beanstalk automatically handles the deployment, from capacity provisioning, load balancing, auto-scaling to application health monitoring. At the same time, you retain full control over the AWS resources powering your application and can access the underlying resources at any time. ▪ There is no additional charge for Elastic Beanstalk - you pay only for the AWS resources needed to store and run your applications.
  • 3. Amazon Elastic BeanStalk 3 ▪ You can also perform most deployment tasks, such as changing the size of your fleet ofAmazon EC2 instances or monitoring your application, directly from the Elastic Beanstalk web interface (console). ▪ To use Elastic Beanstalk, you create an application, upload an application version in the form of an application source bundle (for example, a Java .war file) to Elastic Beanstalk, and then provide some information about the application. ▪ Elastic Beanstalk automatically launches an environment and creates and configures the AWS resources needed to run your code. After your environment is launched, you can then manage your environment and deploy new application versions.
  • 4. Amazon Elastic BeanStalk 4 ▪ The following diagram illustrates the workflow of Elastic Beanstalk.
  • 5. Amazon Elastic BeanStalk 5 ▪ This following diagram illustrates an example Elastic Beanstalk architecture for a web server environment tier and shows how the components in that type of environment tier work together.
  • 6. AWS Elastic BeanStalk Supported Platforms 6 ▪ AWS Elastic Beanstalk provides platforms for programming languages (Java, PHP, Python, Ruby, Go), web containers (Tomcat, Passenger, Puma) and Docker containers, with multiple configurations of each. ▪ Elastic Beanstalk provisions the resources needed to run your application, including one or more Amazon EC2 instances.The software stack running on the Amazon EC2 instances depends on the configuration. ▪ Platforms PackerBuilder SingleContainerDocker MulticontainerDocker PreconfiguredDocker Go JavaSE JavawithTomcat .NETonWindowsServerwithIIS Node.js PHP Python
  • 7. AWS Elastic BeanStalk Concepts 7 AWS Elastic Beanstalk lets you manage all of the resources that run your application as environments. Let's take a closer look at what these terms mean. ▪ Application – An Elastic Beanstalk application is a logical collection of Elastic Beanstalk components, including environments, versions, and environment configurations. In Elastic Beanstalk an application is conceptually similar to a folder. ▪ ApplicationVersion – In Elastic Beanstalk, an application version refers to a specific, labeled iteration of deployable code for a web application. An application version points to an Amazon Simple Storage Service (Amazon S3) object that contains the deployable code such as a JavaWAR file.An application version is part of an application. Applications can have many versions and each application version is unique. In a running environment, you can deploy any application version you already uploaded to the application or you can upload and immediately deploy a new application version.You might upload multiple application versions to test differences between one version of your web application and another.
  • 8. AWS Elastic BeanStalk Concepts 8 ▪ Environment – An environment is a version that is deployed onto AWS resources. Each environment runs only a single application version at a time, however you can run the same version or different versions in many environments at the same time.When you create an environment, Elastic Beanstalk provisions the resources needed to run the application version you specified. ▪ EnvironmentTier – When you launch an Elastic Beanstalk environment, you first choose an environment tier.The environment tier that you choose determines whether Elastic Beanstalk provisions resources to support an application that handles HTTP requests or an application that pulls tasks from a queue. An application that serves HTTP requests runs in a web server environment.An environment that pulls tasks from anAmazon Simple Queue Service queue runs in a worker environment .
  • 9. AWS Elastic Beanstalk Concepts 9 ▪ Environment Configuration – An environment configuration identifies a collection of parameters and settings that define how an environment and its associated resources behave. When you update an environment’s configuration settings, Elastic Beanstalk automatically applies the changes to existing resources or deletes and deploys new resources (depending on the type of change). ▪ ConfigurationTemplate – A configuration template is a starting point for creating unique environment configurations.Configuration templates can be created or modified by using the Elastic Beanstalk command line utilities or API. ▪ Web Server Environments – Same as the web Application diagram before suggested.
  • 10. AWS Elastic Beanstalk Concepts 10 ▪ Worker Environments – AWS resources created for a worker environment tier include an Auto Scaling group, one or more Amazon EC2 instances, and an IAM role. For the worker environment tier, Elastic Beanstalk also creates and provisions anAmazon SQS queue if you don’t already have one.When you launch a worker environment tier, Elastic Beanstalk installs the necessary support files for your programming language of choice and a daemon on each EC2 instance in the Auto Scaling group. ▪ Design Considerations – Because applications deployed using Elastic Beanstalk run on Amazon cloud resources, you should keep several things in mind when designing your application: scalability, security, persistent storage, fault tolerance, content delivery, software updates and patching, and connectivity.
  • 11. Create an Elastic Beanstalk Environment 11 ▪ AWS Elastic Beanstalk in Action (1) ▪ Create some code (index.php) Check code into Git: – <devserver>: git init Initialized empty Git repository in – /PathToProjects/ebs_demo_1/.git/ <devserver>: git add . – <devserver>: git commit -m"Initial check-in." [master (root-commit) fc57da3] Initial check-in. 1 files changed, 8 insertions(+), 0 deletions(-) create mode 100644 index.php
  • 12. Create an Elastic Beanstalk Environment 12 ▪ AWS Elastic Beanstalk in Action (2) ▪ Create Beanstalk Application
  • 13. Create an Elastic Beanstalk Environment 13 ▪ AWS Elastic Beanstalk in Action (3) ▪ Sample code for php .
  • 14. Create an Elastic Beanstalk Environment 14 ▪ AWS Elastic Beanstalk in Action (4) ▪ Install and configure AWS DevTools ▪ <devserver>: git aws.config AWS Access Key: ........................ AWS Secret Key: ................................. AWS Region: us-east-1 AWS Elastic Beanstalk Application: My First Elastic Beanstalk Application AWS Elastic Beanstalk Environment: Default- Environment
  • 15. Create an Elastic Beanstalk Environment 15 ▪ AWS Elastic Beanstalk in Action (5) ▪ Push new application code: ▪ <devserver>: git aws.push Counting objects: 3, done. Compressing objects: 100% (2/2), done.Writing objects: 100% (3/3), 307 bytes, done.Total 3 (delta 0), reused 0 (delta 0) remote: To https://180P9FEG65H0CMCANER2:20120601T212315Zac4b3d5b9f 887ae461b3079927762543d94a83855a2ad0beed66b2c27b3b435e@ git.elasticbeanstalk.us-east- 1.amazonaws.com/repos/4d7920466972737420456c61737469632 04265616e7374616c6b204170706c6963617469 6f6e/Default- Environment
  • 16. Create an Elastic Beanstalk Environment 16 ▪ AWS Elastic Beanstalk in Action (6)
  • 17. Managing Elastic Beanstalk Environments 17 ▪ AWS Elastic Beanstalk makes it easy to create new environments for your application.You can create and manage separate environments for development, testing, and production use, and you can deploy any version of your application to any environment. Environments can be long-running or temporary.When you terminate an environment, you can save its configuration to recreate it later. ▪ As you develop your application, you will deploy it often, possibly to several different environments for different purposes. Elastic Beanstalk lets you configure how deployments are performed .You can deploy to all of the instances in your environment simultaneously, or split a deployment into batches with rolling deployments. ▪ Configuration changes are processed separately from deployments, and have their own scope. For example, if you change the type of the EC2 instances running your application, all of the instances must be replaced. On the other hand, if you modify the configuration of the environment's load balancer, that change can be made in-place without interrupting service or lowering capacity.You can also apply configuration changes that modify the instances in your environment in batches with rolling configuration updates.
  • 18. Managing Elastic Beanstalk Environments 18 ▪ Note – Modify the resources in your environment only by using Elastic Beanstalk. If you modify resources using another service's console, CLI commands, or SDKs, Elastic Beanstalk won’t be able to accurately monitor the state of those resources, and you won't be able to save the configuration or reliably recreate the environment. Out-of band-changes can also cause issues when terminating an environment. ▪ When you launch an environment, you choose a platform configuration. We update platform configurations periodically to provide performance improvements and new features.You can update your environment to the latest platform configuration at any time. ▪ As your application grows in complexity, you can split it into multiple components, each running in a separate environment. For long-running workloads, you can launch worker environments that process jobs from an Amazon Simple Queue Service (Amazon SQS) queue.
  • 19. Managing Elastic Beanstalk Environments 19 ▪ Note – Modify the resources in your environment only by using Elastic Beanstalk. If you modify resources using another service's console, CLI commands, or SDKs, Elastic Beanstalk won’t be able to accurately monitor the state of those resources, and you won't be able to save the configuration or reliably recreate the environment. Out-of band-changes can also cause issues when terminating an environment. ▪ When you launch an environment, you choose a platform configuration. We update platform configurations periodically to provide performance improvements and new features.You can update your environment to the latest platform configuration at any time. ▪ As your application grows in complexity, you can split it into multiple components, each running in a separate environment. For long-running workloads, you can launch worker environments that process jobs from an Amazon Simple Queue Service (Amazon SQS) queue.
  • 20. Managing Elastic Beanstalk Environments 20 ▪ Mainly managing could be done with following topics: – Environment Dashboard - main view of the environment management console is the dashboard – Environment ManagementActions -The environment management console contains an Actions menu that you can use to perform common operations on your environment – Configuration - The Configuration overview page shows the current configuration of your environment and its resources, includingAmazon EC2 instances, load balancer, notifications, and health monitoring settings – Logs -The Logs page lets you retrieve logs from the EC2 instances in your environment
  • 21. Managing Elastic Beanstalk Environments 21 ▪ Mainly managing could be done with following topics: – Health - If enhanced health monitoring is enabled, the Enhanced Health Overview page shows live health information about every instance in your environment – Monitoring -The Monitoring page shows an overview of health information for your environment – Alarms -The Existing Alarms page shows information about any alarms that you have configured for your environment. – ManagedUpdates - The Managed Updates page shows information about upcoming and completed managed platform updates and instance replacement – Events -The Events page shows the event stream for your environment – Tags -The Tags page shows the tags that you applied to the environment when you created it
  • 22. Limitations of Elastic Beanstalk Environments 22 ▪ Some of the biggest pains with Elastic Beanstalk include unreliable deployments, lack of transparency and documentation around stack and application upgrades, and an overall lack of clear documentation. – Unreliable Deployment - Deployment failure without notification and results in further all failure on every commit (if on CICD pipeline) – Deployment Speed - Deployments would take five minutes at least, and sometimes stretch to 15, for a site with just two front-ends – Stack Upgrades – Elastic beanstalk comes up with all new updates with no release notes , no blog post, not even a forum post – Old ApplicationVersions - With every deploy, Elastic Beanstalk archives the old application version in an S3 bucket. However, if there are 500 old versions, further deploys fail

Editor's Notes

  1. https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/Welcome.html
  2. https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.html
  3. https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environments-create-wizard.html