Reputation: 43
With AWS Beanstalk (load balancing auto-scaling mode) I can deploy my application from a git repository. But if I want to make modifications on some files, I find no solutions ... I must deploy all again.
My first question is how I can upload only some modified files without deploying all again ?
My second question is : if I manually change the permissions of a folder directly on the EC2 server created by beanstalk, this change will be replicated to other futures instances (auto-scaling created automatically by beanstalk) ?
Upvotes: 4
Views: 2386
Reputation: 36073
Elastic Beanstalk does not provide a way to update some files and not others. When EB does an update, it will update all the files.
You should avoid making changes directly to the EC2 instances:
If you want to make changes to the EC2 instances, the you should use the .ebextensions
folder config files to make those changes. Please see http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/ebextensions.html for more information on that.
Upvotes: 4