Step 1. Open Amazon AWS Web Services main page and Select Elastic Beanstalk under the Compute.
Step 2. Click on Create New Application.
Step 3. Specify Application name And Description(Optional) & click on Next.
Step 4. Select Create Web Server Environment & Click on Done
Step 5. Choose PHP platform on Predefined configuration and Load Balancing, Auto Scaling On Environment type & click on Next.
Step 6. Select Sample Application & Click on Next.
Step 7. Specify the name which you want to set for your Environment & Click on Next.
Step 8. Click on Next.
Note: If you want to create RDS DB Instance than Select the First option & if you want to Create your Environment inside VPC than Select the Second option.
Step 9. Specify your configuration Details & Click on Next.
Instance type : t2 micro
EC2 Key pair : Demo (Your key Pair Name)
Root Volume Type : General purpose (SSD)
Root Volume Size : 8 GB
Step 10. Specify Unique Name for your Beanstalk & Click on Next.
Step 11. Set Permissions for your AWS Elastic Beanstalk Environment & click on Next.
Step 12. Review what you have configured till now & click on launch.
Step 13. After clicking on launch a page will be displayed like this & it will takes few minutes to configure.
Step 14. Once it will get complete your Beanstalk health status will change from Pending to Ok state.
Step 15. Copy the URL and Run to your Browser.
Step 16. If your Beanstalk Configured Successfully a page will be look like this.
Finally you have Configured your beanstalk.