...

/

Deploy Symfony Application to AWS Elastic Beanstalk

Deploy Symfony Application to AWS Elastic Beanstalk

Learn how to create an AWS Elastic Beanstalk service and deploy the Symfony application to EB.

Now that we have installed the EB command, we can test deploying the Symfony application we built previously to AWS Elastic Beanstalk.

Create EB application

First, we must create an EB application. We need an EB application before creating an EB environment. The EB environment is where we will deploy our PHP/Symfony code.

In the terminal below, go through the following steps. The previous code we created in this course has been pulled into the educative-symfony folder.

  1. Run the EB initialize command.
Press + to interact
eb init
  1. For the “Select a default region” prompt, refer below:
Select `1` for `us-east-1 : US East (N. Virginia)` region.
...