Deploy a PHP application using Elastic Beanstalk


2171 students completed the lab in ~36m

Total available time: 1h:0m

1388 students rated this lab!

Elastic Beanstalk: Deploy and manage applications in the AWS cloud

AWS Elastic Beanstalk is an easy way to deploy and scale applications written in Python, Ruby, Java, Node.js, Go, or PHP in familiar environments like Apache, Nginx, Passenger, and IIS, without worrying about the infrastructure that runs those applications.

In this Lab, you will learn how to upload your code and deploy it with monitoring, auto-scaling, and load-balancing. Elastic Beanstalk is also free - you only pay for the AWS resources your application needs to run. Elastic Beanstalk lets you directly control the underlying AWS resources if required.

Lab Objectives

Upon completion of this Lab, you will be able to:

  • Create Elastic Beanstalk applications and environments
  • Manage and monitor Elastic Beanstalk applications and environments
  • Understand different application update strategies in Elastic Beanstalk

Lab Prerequisites

You should be familiar with:

  • Basic Amazon EC2 and Virtual Private Cloud (VPC) concepts

Lab Environment

Before completing the Lab instructions, the environment will look as follows:

After completing the Lab instructions, the environment should look similar to:


April 12, 2018 - Complete update including easier to follow instructions and screenshots for the new Elastic Beanstalk UI


Do you have questions about this Lab? Contact our cloud experts by sending an email to

Follow these steps to learn by building helpful cloud resources

Logging in to the Amazon Web Services Console

Your first step to start the Lab experience

Creating an Elastic Beanstalk App & Environment

Create an environment to practice controlled deployments with Elastic Beanstalk

Touring the Beanstalk Console

Learn to manage Beanstalk applications

Deploying a New Version

Download new application code and deploy it

Deleting the Application

Clean up the resources created for the Lab