As discussed in the previous section, we need to add an ebextension, which is simply a configuration file that can be used to customize your Elastic Beanstalk environment to our existing Elastic Beanstalk application. This is an important concept to understand, as we will ultimately use this same approach to resolve all of the issues that our application currently has.
To configure ebextensions, you first need to create a folder called .ebextensions in the eb folder where you are currently storing your Dockerrun.aws.json file (note that you will need to disconnect from the SSH session, go to your Elastic Beanstalk EC2 instance, and perform this in your local environment):
todobackend/eb> mkdir .ebextensions
todobackend/eb> touch .ebextensions/init.config
Each file with a .config extension in the .ebextensions folder will be...