Deploy a PHP application using Elastic Beanstalk

Beginner

2059 students completed the lab in ~36m

Total available time: 1h:0m

1327 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'll learn how to upload your code and deploy it with monitoring, autoscaling, 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 you require that.

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:

Updates

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

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

Create an Elastic Beanstalk App & Environment

Create an environment to practice controlled deployments with Elastic Beanstalk

Tour of the Beanstalk Console

Learn to manage Beanstalk applications

Deploy a New Version

Download new application code and deploy it

Delete the Application

Clean up the resources created for the Lab