Skip to content

aws-samples/eb-demo-php-simple-app

Elastic Beanstalk + Docker PHP Demo App - "Share Your Thoughts"

This demo app shows you how to run a simple PHP application inside a Docker Container on AWS Elastic Beanstalk.

Run the App

Follow the steps below to deploy the demo application to an Elastic Beanstalk Docker environment. Accept the default settings unless indicated otherwise in the steps below:

  1. Download the ZIP file from the Releases section of this repository.
  2. Login to the Elastic Beanstalk Management Console
  3. Click Create New Application and give your app a name and description
  4. Choose 'Docker' in the 'Predefined configuration' dropdown and click Next
  5. Upload the ZIP file downloaded in Step 1
  6. Choose 'Create an RDS DB Instance with this environment' in the 'Additional Resources' step
  7. Allocate 5GB of storage and provide a username and password for your database
  8. Review and launch the application