This section assumes that you have already completed Database Migration section .
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.
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 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 manage your environment and deploy new application versions. The following diagram illustrates the workflow of Elastic Beanstalk.
When you create an environment, AWS Elastic Beanstalk prompts you to provide two AWS Identity and Access Management (IAM) roles:
When running this workshop on your own (not attending an AWS hosted event) we assume you have the necessary IAM privileges in the AWS account to work with ElasticBeanstalk. If you experience any errors (or freeze) on launching ElasticBeanstalk service in your AWS account, check this article for the required IAM configuration.
In this module, you will perform the following actions:
You can learn more about Elastic Beanstalk by watching the video below.