AWS Elastic Beanstalk

From Littledamien Wiki
Revision as of 13:26, 6 June 2020 by Video8 (talk | contribs)
Jump to navigation Jump to search

Configuration

Configuration is stored in [project_root]/.elasticbeanstalk/config.yml.

This file should not be included in git repo.

The Elastic Beanstalk (EBS) application and environment names are specified in this yaml file. This is determines these properties for the AWS eb cli.

Upgrading the platform of an Elastic Beanstalk instance

  • AWS Management Console > Compute > Elastic Beanstalk
  • Click on an EB instance
  • Under Platform on the left click the Change button.
  • Select the new platform from the dropdown and click Save

Troubleshooting

403 HTTP error

Receiving a 403 error when attempting to load the hosted site indicates that something unintended was uploaded to the root of the web directory.

SSH to the server to confirm the content of that directory, e.g. /var/www/html/.