We have resolved the issue with accessing the public volume, however the application is still not working because we are not passing in any environment variables to configure database settings. The reason for this is that when you configure a database in Elastic Beanstalk, all database settings are made available via the following environment variables:
-
RDS_HOSTNAME
-
RDS_USERNAME
- RDS_PASSWORD
- RDS_DB_NAME
- RDS_PORT
The problem for the todobackend application is that it expects database-related settings that are prefixed with MYSQL—for example, MYSQL_HOST is used to configure the database hostname. Although we could update our application to use the RDS prefixed environment variables, we might want to ...