-
Notifications
You must be signed in to change notification settings - Fork 2
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
☂️ Shut down production service #1550
Comments
For the rest of this week, I'll be planning and implementing a shutdown of our production services, which means making changes to Terraform that someone forking and re-deploying won't want to use. So others have our normal production configurations as a guide, I've made a copy of all the current files in `terraform/deprecated/`. This is part of #1550.
Schedule all loaders so they automatically stop running as of 11pm UTC (4pm Pacific) on June 15. Part of #1550.
Schedule all loaders so they automatically stop running as of 11pm UTC (4pm Pacific) on June 15. Part of #1550.
This adds source for a documentation site to go with archives.getmyvax.org in the `archives/` folder. It's build with MkDocs, which unfortunately makes things slightly messy because it's Python and the rest of this project is JS. But it works fairly well. Part of #1550.
The previous change did not take when Terraform applied it. Hopefully changing the resource name (so we delete the previous record and create a new one) works. Part of #1550.
Replace apex DNS record with A records for GitHub pages (docs: https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site). This should fix things after #1571 and #1572. Part of #1550.
Replace apex DNS record with A records for GitHub pages (docs: https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site). This should fix things after #1571 and #1572. Part of #1550.
The service is no longer operational, so we don't need any more scheduled jobs to run. Part of #1550.
The service is no longer operational, so we don't need any more scheduled jobs to run. Part of #1550.
The `getmyvax.org` and `www.getmyvax.org` domains no longer point to CloudFront, so we can get rid of it and the old `ecs.` subdomain. Part of #1550.
There are no longer any API resources to deploy code to, so this removes the docker image publishing Terraform deploy steps from our CI workflow. Part of #1550.
The API server is no longer reachable, so it can safely no longer exist. Part of #1550.
The API server is no longer reachable, so it can safely no longer exist. This also stops auto-deploying in our CI workflow and auto-publishing docker images to ECR. Part of #1550.
Dumped a final copy of the DB to PG SQL and SQLite and uploaded to S3. Still need to add info to the archives PR: #1570 |
All the running services in AWS have been torn down, but there are some other lightweight things to get rid of:
Then I need to clean up the Terraform files. Finally, there is some more general docs and repo cleanup to do, including finishing out docs for the archives (#1570). I might do a bit more today, but will probably leave most of that for next week. |
This adds some statistics about overall performance and results of UNIVAF to the tombstone page. Part of #1550.
This adds some statistics about overall performance and results of UNIVAF to the tombstone page. Part of #1550.
This adds source for a documentation site to go with archives.getmyvax.org in the `archives/` folder. It's build with MkDocs, which unfortunately makes things slightly messy because it's Python and the rest of this project is JS. But it works fairly well. Part of #1550.
We’ve needed to have some docs around https://archives.getmyvax.org for a while and never gotten around to it. Now that the API and its accompanying docs are disappearing, This adds some docs that live directly on `archives.getmyvax.org` (so whatever else happens to other sites, the docs stay alongside the archive data). The docs page got quite long once I’d pasted in all the schemas and sources and ID systems and so on, so I split it up into a few pages and used MkDocs to generate a site from the markdown files. All the source for the docs site is in the `archives` directory. There’s a workflow to build the site and upload it to the `/docs` folder in the `univaf-data-snapshots` S3 bucket where we serve the archives site from. Part of #1550.
This drops the ECS cluster and ECR image repositories. Since the service has shut down for several days, it's clear we don't need these around to run any remaining tasks or code. This is part of #1550.
This drops the ECS cluster and ECR image repositories. Since the service has been shut down for several days, it's clear we don't need these around to run any remaining tasks or code. This is part of #1550.
We've archived final dumps of the database in S3 at archives.getmyvax.org, and all the services and resources that touch the database been been removed. It's time to drop the database, too. Part of #1550.
We've archived final dumps of the database in S3 at archives.getmyvax.org, and all the services and resources that touch the database been been removed. It's time to drop the database, too. Part of #1550.
We've archived final dumps of the database in S3 at archives.getmyvax.org, and all the services and resources that touch the database been been removed. It's time to drop the database, too. That leaves us without any reason for having the bastion server, so this also removes it. Part of #1550.
This cleans up some of the lingering messy bits in Terraform since we've removed so many resources. It also drops the subnets and VPC while we're at it, since they are no longer needed. Part of #1550.
Add a notice about the maintenance status of this project to the README. Fixes #1550.
On June 15, 2023, well be shutting down the production service, but will be keeping the source code available here, as well as the archived data at archives.getmyvax.org and a placeholder page at getmyvax.org.
What needs to be done to wrap things up?
ui-deploy.yml
actions workflow.ui
folder; I don’t think there’s a real reason to keep that code around and it hasn’t been well maintained anyway./terraform/deprecated
(similar to what we did during the failed switch to Render; see Make Render the production deployment! 🎉 #930) and add a README there that describes the fact that those files represent a production deployment, while the top-level/terraform
directory is the archived/shut-down deployment. (Shutdown: Archive clean copy of Terraform configs #1565)2023-06-16T00:00:00Z
. (e.g. a schedule likecron(1/15 * * * ? *)
should becomecron(1/15 * 1-15 6 ? *)
). (Shutdown: Stop loaders before 2023-06-16 #1566)getmyvax.org
to point to tombstone page on GitHub pages. (Shutdown: Replace the API with a tombstone #1571)availability_log
table) in PGSQL and post to the archives. See https://github.com/usdigitalresponse/univaf/blob/main/docs/runbook/postgres.md#copying-the-databaseThe text was updated successfully, but these errors were encountered: