We are deploying an application with about 200MB of files to Elastic Beanstalk. We have everything in git and have used eb init
(v. 3.0.9 with Python 2.7.6) and friends to set up deploys.
When we use eb deploy
everything deploys properly but eb
transfers all 200MB of files every time. We were assuming that since everything is set up with git, it should only transfer changes.
We have the same problem when using aws.push
with eb
version 2.
What is the best way to quickly deploy a large application like this? Depending on the Internet connection, the transfer takes 5-10 minutes. We'd like it to take less than one minute.
Edit:
We discovered that eb
v3 transfers all files by design--see this AWS Developer Forum thread. I'd be interested to know if anyone has a better way to do deploys. Maybe something that takes advantage of git changesets.