How to deploy a symfony 3 project on Aws elasticbeanstalk

I’m new to AWS and in web application deploying in general, and I’m trying to deploy my Symfony 3.4 application using Elastic Beanstalk.
So i tried to follow these instructions :
https://docs.aws.amazon.com/fr_fr/elasticbeanstalk/latest/dg/php-symfony-tutorial.html

the problem that i have always this message when i click to the url :

Forbidden

You don't have permission to access / on this server.

My server specs:

64bit Amazon Linux running PHP 7.3 and 2.9.6 plateforme version.

I also followed this publication but I couldn’t solve the problem :

aws beanstalk 403 error while deploying

and when i add /public in the document root i have this error and the application couldn’t deploy:

Following services are not running: proxy.

enter image description here

Thank you.

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *