I have taken over a project that has been deployed to elastic beanstalk. I would like to configure my eb cli to deploy to the existing environment without modifying that environment. From my research I get the impression that eb init
is the proper command, however when I started going through the interactive session it seemed like it was going to use my entries as the configuration settings (e.g. platform version). I want to make sure that I maintain the settings that are already in use (I was unable to determine what platform version my running environment is using) and I want to make sure that the running ec2 instance will not be replaced or terminated for any reason. Does anyone know the best way to go about doing this? Thanks in advance for any help.
相关问题
- How to generate 12 digit unique number in redshift
- Use awslogs with kubernetes 'natively'
- JQ: Select when attribute value exists in a bash a
- Assume/switch role in aws toolkit for eclipse 2.0
- 'no SavedModel bundles found!' on tensorfl
相关文章
- Right way to deploy Rails + Puma + Postgres app to
- how many objects are returned by aws s3api list-ob
- AWS S3 in rails - how to set the s3_signature_vers
- Passthrough input to output in AWS Step Functions
- I cannot locate production log files on Elastic Be
- ImportError: cannot import name 'joblib' f
- Static IP for Auto Scale in AWS
- Step function exceeding the maximum number of char
During
eb init
make sure select an existing application and environment. As long as you do this it will pull down the settings from the environment.However, that being said, the settings that
eb init
creates are default setting used for future environments. It will not overwrite any settings on any running environments.As far as instances, Elastic Beanstalk can terminate or create instances at anytime based on health and autoscaling. However, if we assume your instances are healthy and no autoscaling events occur, then
eb deploy
will never cause instances to be replaced.I am however a little curious as to why you are so worried about your instances being replaced.
As far as determining your current platform, you can get that information from
eb status
.Better way is to configure you aws cli using aws configure or manually create -
~/.aws/config
with~/.aws/credentials
withand then use -