Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple auto stop hour configurations #66

Open
CingularIT opened this issue Apr 16, 2024 · 3 comments
Open

Support multiple auto stop hour configurations #66

CingularIT opened this issue Apr 16, 2024 · 3 comments

Comments

@CingularIT
Copy link

The current solution applies the default of 1 hour when moving workspaces to auto stop mode, requesting that this be moved to a tagged value as we have some workspaces that run tasks with no interactivity and would like them to auto stop after 8 hours, where other workspaces can auto stop at the default of 1 hour.

@G-Lenz
Copy link
Contributor

G-Lenz commented Apr 17, 2024

Hi,

Thank you for the feature request, we will add this to our backlog for further review. Just to clarify my understanding of your suggestion: The concern is the calculation of auto-stop timeout, since it is defined in the CFN parameters it uses a blanket number of hours for all workspaces, and in your accounts you have auto-stop timeouts that vary per workspace and would like a way to account for the variation.

@CingularIT
Copy link
Author

Thank you for adding this to the backlog!

Correct, the issue is with the blanket number of hours for all workspaces. I.E. I'm assuming this is the AutoStopTimeoutHours parameter I see defined in the task definition with a value of 1. The request would be to se this on a dynamic basis using a tag on the instances themselves, or based on bundle/directory ID which complicates things more in my opinion.

I.E. Workspace ID's ws-11111111 and ws-22222222 belong to bundle Developer_Bundle and an AutoStop time of 1 hours works great. Workspace ID's ws-33333333 and ws-44444444 belong to bundle Automation_Bundle are used to run some automation where users do not show as active (They login, start the task and the window sits idle), so we would want to set their AutoStop time to a longer interval such as 8 hours.

Hope this helps!

@groverlalit
Copy link
Member

Thanks for sharing more details. Much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants