I'm deploying a flask app through AWS Elastic Beanstalk, and when I try and push my app for deployment, i get an error that the contents are too big. Apparently, there is a hard maximum upload of 512 mb. However, I have some pickle files and a whoosh index that take up more than 1gb of space.
How should I go about giving my flask app access to those large files?
As i understand it, if i were to scp them into the ec2 instance of the elastic beanstalk, it could be lost at any time if the instance is unmounted and replaced.
Thanks in advance for any answers!