Digestion Tracker

Deploying Dygestr to ElasticBeanstalk on AWS

Today I’m attempting to deploy the Dygestr app to Amazon Web Services (AWS) ElasticBeanstalk service.

I am following this tutorial :

https://realpython.com/deploying-a-django-app-and-postgresql-to-aws-elastic-beanstalk/

ran into a few issues, after deploying in the logs i could see the error :

ModuleNotFoundError: No module named 'application'

The fix was to create the file .elasticbeanstalk/config.yml with the following config :

option_settings:
  aws:elasticbeanstalk:container:python:
    WSGIPath: dygestr.wsgi:application

The dygestr application is now available at the following endpoint :

https://www.dygestr.com/

If the application gains any traction I will buy a short and friendly .com address.

Word Count: 102