bcgov / DITP-DevOps

Digital Identity and Trust Program Team's DevOps Documentation Repository
Apache License 2.0
2 stars 5 forks source link

Decommission existing Traction instances, set-up new production-ready instances #78

Closed esune closed 1 year ago

esune commented 1 year ago

Current Traction instances need to be decommissioned and a new DITP-maintained and production-ready set of DEV/TEST/PROD instances deployed.

Acceptance Criteria:

Use a separate repository to store the deployment-specific configurations. The main Traction repo should - as much as possible - be used only for product changes and settings that are not use-case specific. Remove existing references from main traction repo.

Note: the BC Wallet showcase is using the DTS sandbox instance - coordinate with the the decommissioning so that they can request new tenants in the new instances.

esune commented 1 year ago

@krobinsonca just confirming, one last time, that the Traction instances in the bc0192-* namespaces can be safely decommissioned. Is there anything we should keep (i.e.: wallet backups)?

krobinsonca commented 1 year ago

Correct, they can be decommissioned. No backups are needed.

swcurran commented 1 year ago

How soon is this happening? We said that the Workshop instance would stay around for at least a week or so.

WadeBarnes commented 1 year ago

I'll monitor the Workshop instance for use daily and report usage, then we can look at decommissioning when usage drops off. We'll be using the Workshop instance to do some other debugging as well so it's not going any soon.

Workshop Traction Instance Usage 2023.06.01 - 07:56:

2023.06.02 - 07:23:

2023.06.12 - 04:47:

2023.06.20 - 05:29

esune commented 1 year ago

How soon is this happening? We said that the Workshop instance would stay around for at least a week or so.

This is not slated to happen for at least the next couple of weeks - looking to further improve the Helm charts and CI/CD before then.

esune commented 1 year ago

@cvarjao @wadeking98 the new instances of Traction are up and running. @i5okie will add details (URLs) to request new tenants to this ticket (dev/test/prod): once migrated to the new instances please give us a heads up so we can decommission the current DTS deployment.

@swcurran we are also finally going to remove the Anoncreds workshop instance: any objections?

swcurran commented 1 year ago

Yes. There is more interest in building documentation around this type of thing for the Delivery team, so for now, I’d like to just keep it around. No maintenance needed on this, and if we decide that this type of thing is needed, we do a proper deployment.

i5okie commented 1 year ago

The following instances have been deployed and are ready to be used:

dev: https://tenant-ui-dev.apps.silver.devops.gov.bc.ca/ https://traction-acapy-dev.apps.silver.devops.gov.bc.ca/ https://traction-acapy-admin-dev.apps.silver.devops.gov.bc.ca/api/doc

test: https://tenant-ui-test.apps.silver.devops.gov.bc.ca/ https://traction-acapy-test.apps.silver.devops.gov.bc.ca/ https://traction-acapy-admin-test.apps.silver.devops.gov.bc.ca/api/doc

prod: https://tenant-ui.apps.silver.devops.gov.bc.ca/ https://traction-acapy.apps.silver.devops.gov.bc.ca/ https://traction-acapy-admin.apps.silver.devops.gov.bc.ca/api/doc

cvarjao commented 1 year ago

@esune, which ledger each instance is pointing at? I am assuming multi r/w ledger is not yet supported, right?

esune commented 1 year ago

@esune, which ledger each instance is pointing at? I am assuming multi r/w ledger is not yet supported, right?

Correct, this is a work in progress. Currently they use BCovrin Test for both read and write. This will change in the future as we implement the multi-ledger features, as well as the changes to the endorser service that are required to auto-approve new authors from known multi-tenant deployments (such as out Traction instances).

i5okie commented 1 year ago

Production instance has been uninstalled for the time being.

i5okie commented 1 year ago

Traction DTS has been uninstalled.