Reputation: 12022
I am very much new to aws. I have created an environment in elastic beanstalk and deployed my application there using zipped code. The application is up and running now. Now i want to stop
and start
my elastic beanstalk instance from cli in windows. I could not find any stop button in the aws elastic beanstalk console.
I have installed awsebcli
using below command:
pip install awsebcli
Now, i want to connect to my existing environment in elastic beanstalk and stop or start the environment at my will.
How can i do that?
Upvotes: 0
Views: 1878
Reputation: 2526
The way the EBCLI (awsebcli) works is that you associate an empty directory on your computer with an EB application.
eb init --region <region name>
. When prompted for the application name, choose the application you created previously.eb terminate <environment name>
. This will terminate the environment.To create a new environment, perform eb create
.
Upvotes: 1