Instances not being stopped correctly
See original GitHub issueI’m seeing some pretty odd behaviour with my EC2 scheduler. My first thought is that it’s because I’m trying to schedule OpsWorks EC2 instances, as the RDS schedule is working fine.
Below are logs showing the desired state is stopped, and that the Scheduler is not stopping the instances.
2018-02-18 - 06:00:23.248 - DEBUG : No running periods at this time found in schedule "instance-schedule-opsworks" for this time, desired state is stopped 2018-02-18 - 06:00:23.248 - DEBUG : Desired state for instance from schedule "instance-schedule-opsworks" is stopped, last desired state was stopped, actual state is running 2018-02-18 - 06:00:23.248 - INFO : Scheduler result {'752691938387': {'started': {}, 'resized': {}, 'stopped': {}}}
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (1 by maintainers)
Top Results From Across the Web
Instances not being stopped correctly · Issue #9 - GitHub
I'm seeing some pretty odd behaviour with my EC2 scheduler. My first thought is that it's because I'm trying to schedule OpsWorks EC2 ......
Read more >Troubleshoot stopping your instance - AWS Documentation
If you have stopped your Amazon EBS-backed instance and it appears stuck in the stopping state, there may be an issue with the...
Read more >Amazon - EC2 stop instances not working properly - Server Fault
Your EC2 instances are most likely being created by an Auto Scaling group. If you used Elastic Beanstalk, then this is highly likely....
Read more >AWS - EC2 stop instances not working properly - Stack Overflow
I have decide keep just one project so I terminate eb-flask-demo-dev and stop swipe-dev instance. After few minutes instace state was stoped and ......
Read more >What is the difference between terminating and stopping an ...
When you stop an EC2 instance, the instance will be shutdown and the virtual machine that was provisioned for you will be permanently...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello, I believe I found the issue with instance startup. My EBS volumes are encrypted, I added “kms:CreateGrant” to the instanceSchduler role and now the instances are starting as per the schedule
Fixed in v1.2.0