Upadate Elastic Beanstalk environment and ebextensions files

536 Views Asked by At

I have an elastic beanstalk environment that the first upload I used with ebextensions to configure all the configurations.

Now, If I want to update the environment again (only change the code) the ebextensions stay the same, I need to insert the ebextensions into the zip file that I upload to update the beanstalk environment?

Or I can ignore the ebextensions and upload the zip as is?

I create the zip file using Visual Studio and I put the ebextensions inside the code.

Thanks

1

There are 1 best solutions below

2
Marcin On BEST ANSWER

It depends on what is in your .ebextensions. For example, if you just install some rpm packages, then they will still be installed. But generally you would always include the config files anyway, as EB can deploy your application to new instances and then entire configuration has to be re-done from scratch.