Elastic Beanstalk - Environment properties not saving

Viewed 9

I have a load balanced EB environment, running a PHP application on an Apache server.

We have successfully deployed the identical software to a test environment in this AWS account, as a pre-production test. This went as expected, and updated the sortware with each CLI deployment.

I cloned this environment in order to deploy the production instance. Generally, deploying the application via EB CLI results in a healthy instance. I say generally because occasionally this shows as degraded - to fix this, I select the latest application version and deploy it to the instance via the admin interface. This feels like a workaround because the console already shows the correct version as the one deployed.

The problem I am having now is in changing the environment variables, to point to the production database. When I change this via the configuration>software section, no changes are stored. When I hit 'apply' the environment starts to transition. When this is complete, the instance health has degraded and the changes made to the configuration are not persisted.

I don't really see a pattern here, and it's behaving in a way that differs from the way the test instance did - I had no problems there.

Any suggestions on how to get past this?

0 Answers
Related