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 :

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


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