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

Migrate Infrastructure #306

Open
9 of 12 tasks
timonmasberg opened this issue Jul 28, 2023 · 1 comment · Fixed by #303
Open
9 of 12 tasks

Migrate Infrastructure #306

timonmasberg opened this issue Jul 28, 2023 · 1 comment · Fixed by #303
Labels
priority:critical Something that needs immediate attention status:confirmed type:epic A theme of work that contains sub-tasks

Comments

@timonmasberg
Copy link
Member

timonmasberg commented Jul 28, 2023

Due to Microsoft reducing the annual grant in the Azure Sponsorship program, we cannot fully host our application stack on Azure anymore. We need to immediately migrate to a self-hosted solution...

  • evaluate which solution we want to use for our cluster (microk8s, k3s, k0s are popular solutions)
  • setup k8s on the server
  • setup infra repo @JSPRH
  • Build, tag and publish image in pipeline @JSPRH
  • migrate CI/CD towards server new infra (next and prod deployment, next E2Es, fix /deploy-preview deploys with wrong github.sha #329) @timonmasberg
  • ensure that our infrastructure is easily maintainable and described in a way that we can easily spin it up somewhere else (IaC  #138, thus we probably need to set up Create private repo for internal documentation #176 for our k8s configs) @JSPRH
  • setup next and prod environments, ensure option for dynamic environment creation (preview environments)
  • set the auth strategy in the AuthModule to aadb2c
  • update documentation, especially the landscape, write ADR on why we had to move to a bare-metal solution
  • spin down every azure resource we are not going to need anymore
  • Backup strategy (kubernetes volumes snapshot)
  • harden server
@timonmasberg timonmasberg added status:confirmed priority:critical Something that needs immediate attention type:epic A theme of work that contains sub-tasks labels Jul 28, 2023
@timonmasberg timonmasberg linked a pull request Jul 28, 2023 that will close this issue
10 tasks
@JSPRH
Copy link
Contributor

JSPRH commented Aug 8, 2023

Our new infrastructure repo (private) is here! https://github.com/kordis-leitstelle/infrastructure

@JSPRH JSPRH closed this as completed in #303 Aug 9, 2023
@timonmasberg timonmasberg reopened this Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority:critical Something that needs immediate attention status:confirmed type:epic A theme of work that contains sub-tasks
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants