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

Masking schedules between date ranges #469

Open
Idosegal opened this issue Jul 10, 2023 · 5 comments
Open

Masking schedules between date ranges #469

Idosegal opened this issue Jul 10, 2023 · 5 comments
Labels
enhancement triaged Has been triaged by solutions team

Comments

@Idosegal
Copy link

Idosegal commented Jul 10, 2023

There are cases which environments needs to be up for a different reasons.

For example: QA needs the environment up for a specific date range because of testing before a new version release etc.

This issue opened to verify if it's possible and if not to implement an automatic way to "mask" schedules for specific date range and get back to a default value when the end date passed.

It's possible to specify 'datemonth' but there is no way to specify the year.
In case that a year can be used in period I can use the cli to update a custom period in addition to a default one.
But current behavior will run the instances every year in the date range provided.

@CrypticCabub
Copy link
Member

hi @Idosegal

I'm not sure I completely follow, could you give an example scenario and explain what you would like to be able to achieve with Instance Scheduler in that scenario?

@Idosegal
Copy link
Author

Idosegal commented Jul 11, 2023

Hi thank you for your response.

Sometimes there are exceptions and the environment should be up
for a specific date range.

So we want to do the instance scheduler like "self service" and give the qa for example the ability to change the period for a schedule in a simple way and get back to the default period when the time passed- to avoid people to forget change it back to the default manually.

For example:
I have a "default" schedule for environment staging with period sun-thu 2:00-18:00.
For some reason I need this environment to be up between: 1-30 July 2023. So want that at the end of 30 July thy the staging schedule will get back to the default period.

I hope it's more clear now.

@gockle
Copy link
Member

gockle commented Jul 12, 2023

Hi @Idosegal

Have you looked into using the feature in SSM called Resource Scheduler, Resource Scheduler creates State Manager resources for the default start/stop, Resource Scheduler also creates a change calendar, where you can temporarily override the default start and stop times.

@Idosegal
Copy link
Author

But it possible to use it within the solution, or I need to configure it outside?

@gockle
Copy link
Member

gockle commented Jul 12, 2023

Hi @Idosegal
Resource Scheduler is not part of the Instance Scheduler solution, its a QuickSetup feature in Systems Manager service.

@morjoan morjoan added the triaged Has been triaged by solutions team label Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement triaged Has been triaged by solutions team
Projects
None yet
Development

No branches or pull requests

4 participants