Closed adborden closed 4 years ago
For the Django Storage option, Django allows custom storage engines. django-storages provides several backends including S3.
I split out the work for S3/Django Storage to another issue since that needs to happen regardless of this one. I think in the long term we want to store the job reports on s3 or in the database, but for the short term, emailing the report should be fine.
Another option would be to just log to the django logger, and then figure out how to pull the logs from Beanstalk which is something we should do anyway for debugging.
Instances in Elastic Beanstalk come and go. Any files stored on the instance will only survive until Beanstalk decides to replace the instance. Because of this, we need to store log files elsewhere.
Here are some options to look into: