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

ASG Instance Refresh Lambda #185

Merged
merged 1 commit into from
Nov 25, 2024
Merged

ASG Instance Refresh Lambda #185

merged 1 commit into from
Nov 25, 2024

Conversation

Stretch96
Copy link
Member

  • Conditionally launch a Lambda which triggers an instance refresh on the ECS AutoScaling group, on a given Schedule Expression
  • This is useful if the max_instance_lifetime causes the instances to refresh during a time that isn't optimal. The schedule expression could be set to run during out of hours
  • Arguably this could be used in place of max_instance_lifetime, but would be good to have that as a backup aswell

@Stretch96 Stretch96 force-pushed the instance-refresh-lambda branch 6 times, most recently from eb1f387 to fae1fe3 Compare November 25, 2024 17:59
* Conditionally launch a Lambda which triggers an instance refresh on
  the ECS AutoScaling group, on a given Schedule Expression
* This is useful if the `max_instance_lifetime` causes the instances to
  refresh during a time that isn't optimal. The schedule expression
  could be set to run during out of hours
* Arguably this could be used in place of `max_instance_lifetime`, but
  would be good to have that as a backup aswell
@Stretch96 Stretch96 force-pushed the instance-refresh-lambda branch from fae1fe3 to e307ca3 Compare November 25, 2024 18:03
@Stretch96 Stretch96 merged commit 83dc0be into main Nov 25, 2024
5 checks passed
@Stretch96 Stretch96 deleted the instance-refresh-lambda branch November 25, 2024 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants