I've successfully uploaded my application to AWS Beanstalk and its environment URL is also working. But whenever I change any PHP scripts under /var/www/html/ it does not reflects changes.
I'm not sure about directory location of Beanstalk application and assuming its a /var/www/html/ am trying this.
Thanks much.
In Elastic Beanstalk, where does it store the application files and server log files? Application files are stored in S3. The server log files can only be stored in the attached EBS volumes of the EC2 instances, which were launched by AWS Elastic Beanstalk. Application files are stored in S3.
ebextensions ) to your web application's source code to configure your environment and customize the AWS resources that it contains. Configuration files are YAML- or JSON-formatted documents with a . config file extension that you place in a folder named . ebextensions and deploy in your application source bundle.
When you deploy your application to a PHP-based environment running in Elastic Beanstalk, your application code is stored in /var/www/html/
. This can be changed by changing the DocumentRoot
setting in the Elastic Beanstalk web console or via .ebextensions
settings.
When you deploy changes, it takes a few minutes for the deployment process to complete — it isn't instantaneous.
[…] whenever I change any PHP scripts under /var/www/html/ it does not reflects changes.
How are you making these changes?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With