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

[enhancement][epic] Mac auto prune #165

Open
2 tasks
adrianriobo opened this issue Nov 24, 2023 · 0 comments
Open
2 tasks

[enhancement][epic] Mac auto prune #165

adrianriobo opened this issue Nov 24, 2023 · 0 comments

Comments

@adrianriobo
Copy link
Collaborator

adrianriobo commented Nov 24, 2023

The idea is create a one time scheduled task on Fargate 24 hours to destroy the mac dedicated host, dedicated host should be available in order to being able to destroy it.

For this feature to work we need to store the state on a remote storage (s3) otherwise fargate tasks would not be able to access the state to destroy the resources.

This feature will be implemented it 2 phases:

In this phase the user is responsible to stop creating mac machines on the dedicated host at least one hour before the destroy will be executed.

  • Scheduled fargate task to destroy mac machine

In this phase if there is an active task for destroy the dedicated host if a new macine is created a scheduled task to destroy it should be created (also any other task for other mac machine on same dedicated host should be deleted?)

@adrianriobo adrianriobo changed the title [enhancement] Mac auto prune [enhancement][epic] Mac auto prune Nov 24, 2023
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

1 participant