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

Reduce down time when performing avalon or avalon-docker upgrades #52

Open
1 task
cjcolvar opened this issue Jan 15, 2025 · 0 comments
Open
1 task

Reduce down time when performing avalon or avalon-docker upgrades #52

cjcolvar opened this issue Jan 15, 2025 · 0 comments

Comments

@cjcolvar
Copy link
Member

cjcolvar commented Jan 15, 2025

Description

It seems like terraform will destroy the ec2 instance when changing either of the avalon or avalon-docker branch/tag/commit variables. This could leave the system down for 10-15 minutes while a new ec2 instance is created, the codebuild build to run and deploy, and finally for the docker containers to boot.

Done Looks Like

  • Explore using terraform lifecycle properties like create_before_destroy to reduce the downtime when upgrading.
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

No branches or pull requests

1 participant