Is it possible to automatically stop idle dev environments?

0

As per the title, is it possible for dev environments to automatically shutdown when not being used (or do they already do this and I haven't noticed)

I setup a codecatalyst space to investigate usage last week and it's showing that I've exceeded the free tier - at most I've used maybe 10-15 hours actively.

profile picture
已提問 1 年前檢視次數 338 次
5 個答案
1
已接受的答案

It looks like the Cloud9 tab was left open. We have updated our documentation to reflect what needs to be done:

A Dev Environment will not timeout if any instances including web browsers, remote shells, and IDEs remain connected, so make sure to close all connected instances to avoid incurring additional costs.

https://docs.aws.amazon.com/codecatalyst/latest/userguide/devenvironment-stop.html

已回答 1 年前
  • @rahul_aws, I've tried my earlier tests where I'd left a browser tab open in the IDE by making sure I'd closed them all down, and the environments all shutdown as expected.

  • Can we not also shut down the Cloud9 instance after a specific time of inactivity if there is no action in the browser tab?

1

You might want to check and modify the value of the Timeout field in your development environment.

As reported in the documentation:

A Dev Environment will automatically stop if it is idle for the amount of time that was selected in the Timeout fields during Dev Environment creation. You can stop the Dev Environment before it goes idle. If you chose No timeout when you created your Dev Environment, the Dev Environment will not stop automatically. Instead, it will run continuously.

https://docs.aws.amazon.com/codecatalyst/latest/userguide/devenvironment-stop.html

AWS
專家
已回答 1 年前
1

Thanks for that @MassimilianoAWS, I've looked at this and I can see this in my dev environments:

Enter image description here

So as you can see, I've not touched the dev environment for 3 hours or so, but even though it has a timeout of 15 mins, the status is still running.

profile picture
已回答 1 年前
1

Thanks for bringing the issue to our attention. We are taking steps to resolve the issue and will get back to you soon.

已回答 1 年前
0

Has this been resolved, Rahul?

profile picture
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南