Deploy a PHP application using Elastic Beanstalk

Beginner

1734 students completed the lab in ~36m

Total available time: 1h:0m

960+ students rated this lab!

Elastic Beanstalk: deploy and manage applications in the AWS cloud

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.

Note: AWS Elastic Beanstalk is moving to a new UI. This Lab was built and tested using the legacy (older) UI. AWS supports both the legacy and newer UI. We recommend using the legacy UI for now when completing this Lab. After you click the Get Started button, you have an option to switch to the legacy UI at the bottom of the page:

Follow these steps to learn by building helpful cloud resources

Log In to the Amazon Web Service Console

Your first step to start the Lab experience

Create an Elastic Beanstalk App & Environment --

To practice controlled deployments with Elastic Beanstalk, we must first create an environment in which we can work. In this step, we build out an Elastic Beanstalk application and environment, then deploy the first version of our code onto it.

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