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

Chore/update go env #1840

Merged
merged 3 commits into from
May 18, 2022
Merged

Chore/update go env #1840

merged 3 commits into from
May 18, 2022

Conversation

gweiying
Copy link
Contributor

@gweiying gweiying commented May 18, 2022

Problem

What problem are you trying to solve? What issue does this close?

Our go environment is running on deprecated AL1 machines. We want to upgrade them as they are deprecated.
Closes #1839

Solution

  • Set up new environments go-staging and go-production on AL2 instances
  • Update deployment pipeline to deploy to new environments
  • After testing new environments, swap DNS resolution to new environments

Tests

What tests should be run to confirm functionality?

Refer to deployment notes below

Deploy Notes

Note: Since the deployment pipelines will be deploying to the new environment, we will not be able to roll out any application updates to the live application.

Staging

  • Update the deployment pipeline to deploy to the new environment
  • Change Cloudflare DNS to point staging to new environment
  • Run through manual tests on new environment
  • Verify that end-to-end tests are also working fine

Master

  • Update the deployment pipeline to deploy to the new environment
  • Change Cloudflare DNS to point staging to new environment
  • Run through manual tests on new environment (no file uploads)
  • Verify that end-to-end tests are also working fine
  • Swap DNS staging to point back to staging environment
  • Swap DNS production to point to new environment
  • Post-swap test (file uploads)

@gweiying gweiying marked this pull request as ready for review May 18, 2022 03:04
@gweiying gweiying requested a review from yong-jie May 18, 2022 03:04
@gweiying gweiying merged commit 2613a34 into develop May 18, 2022
@gweiying gweiying deleted the chore/update-go-env branch May 18, 2022 07:48
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.

EB: Upgrade EB machines from Amazon Linux 1 -> Amazon Linux 2
2 participants