AWS Lambda: Start EC2 instances for scheduled time

5 pts.
Tags:
AWS
AWS Lambda
Java
Python
Hi,
I'm using Java war file, which is deploying in elasticbeanstalk. I want to stop and start EC2 instances for scheduled time. Where I used AWS lambda, under this on process of creating function. I have chose Python2.7, and I have written code for stop EC2 instances. It is working fine, but the issue is after EC2 instances has went to stopped state, it automatically going to terminating and restarting my ec2 instances. How can I stop and start EC2 instances for scheduled time in AWS? Can anyone help me regarding this issue?


Software/Hardware used:
software issuse
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

Check out the write up on the AWS support page. If you still have an issue come back with any errors and more details. 

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: