Building Scalable Web Applications with AWS Elastic Beanstalk

4m setup · 115m access · 59m completion
Connection Details

Warning: Do not transmit data into the AWS Console that is not related to Qwiklabs or the lab you are taking.

15 Credits

This lab costs 15 Credits to run. You can purchase credits or a subscription under My Account.


Building Scalable Web Applications with AWS Elastic Beanstalk

SPL-45 - Version 1.4.5

© 2018 Amazon Web Services, Inc. and its affiliates. All rights reserved. This work may not be reproduced or redistributed, in whole or in part, without prior written permission from Amazon Web Services, Inc. Commercial copying, lending, or selling is prohibited.

Errors or corrections? Email us at

Other questions? Contact us at


This lab leads you through the common steps of developing a web application and deploying it to production on AWS. At the start of this lab, you will deploy a functioning web application to AWS Elastic Beanstalk and learn how to deploy applications from version control using command line tools. You will expose a scalability problem with the application, and iterate over the application so that it can seamlessly scale, by externalizing server side sessions. You will verify that the issue has been solved with the second deployment. You will learn about AWS Elastic Beanstalk, Amazon ElastiCache, and managing AWS resources in an AWS Elastic Beanstalk application via configuration files.

This lab will demonstrate:

  • Putting your application code into version control.
  • Deploying the application to AWS using AWS Elastic Beanstalk.
  • Externalizing server side sessions to improve scalability.

Lab Pre-requisites

To successfully complete this lab, you should be familiar with basic Linux server administration and comfortable using the Linux command-line. You should also be familiar with web application concepts, like HTTP sessions and cookies. All required code and commands to be executed will be provided.

Other AWS Services

Other AWS Services than the ones needed for this lab are disabled by IAM policy during your access time in this lab. In addition, the capabilities of the services used in this lab are limited to what's required by the lab and in some cases are even further limited as an intentional aspect of the lab design. Expect errors when accessing other services or performing actions beyond those provided in this lab guide.

Join Qwiklabs to read the rest of this lab...and more!

  • Get temporary access to the Amazon Web Services Console.
  • Over 200 labs from beginner to advanced levels.
  • Bite-sized so you can learn at your own pace.
Join to Start This Lab