This demo app shows you how to run a simple PHP application on AWS Elastic Beanstalk.
Follow the steps below to deploy the demo application to an Elastic Beanstalk PHP environment. Accept the default settings unless indicated otherwise in the steps below:
- Download the ZIP file from the Releases section of this repository.
- Login to the Elastic Beanstalk Management Console
- Click
Create New Application
and give your app a name and description - Choose 'PHP' in the 'Predefined configuration' dropdown and click
Next
- Upload the ZIP file downloaded in Step 1
- Choose 'Create an RDS DB Instance with this environment' in the 'Additional Resources' step
- Allocate 5GB of storage and provide a username and password for your database
- Review and launch the application
https://docs.amazonaws.cn/en_us/elasticbeanstalk/latest/dg/php-ha-tutorial.html