bcgov / cloud-pathfinder

This is the technology and UX backend repo for the cloud pathfinder ZenHub task board
https://app.zenhub.com/workspaces/cloud-pathfinder-5e4dbb426c3c6af8dcbf06a7/board?repos=241742911
Creative Commons Zero v1.0 Universal
2 stars 8 forks source link

Tagging model for Cloud Resources #5

Closed lukegonis closed 3 years ago

lukegonis commented 4 years ago

Here is the meta data we add to an openshift namespace: In the background we use the GAL codes for the org structure, notably missing is the standard GL coding from iStore orders because we wanted to force the conversation of rolling up quota to the IMB level as a single "digital investment" instead of a chargeback. Labels:
bus_org_code=CITZ bus_org_unit_code=BCDEV category=venture environment=prod mcio=CITZ-IM miso=CITZ-IMBSPC mpo=CITZ-IMBSPC name=devhub product=devhub project_type=user team=DevOps Annotations:
openshift.io/description=The home and supporting services for the BC Government Developer program (developer.gov.bc.ca) (prod) openshift.io/display-name=BC Developer Hub (prod) product-lead=Patrick.Simonian@gov.bc.ca product-owner=todd.wilson@gov.bc.ca

mumit commented 4 years ago

One hour workshop as first iteration to gather the metadata, with three possible sources:

Question for the team: cost accounting is just one aspect, so can we take that out of the title? We'll likely capture most of what we need, including for cost accounting, in the workshop.

mumit commented 4 years ago

BC Gov Azure base tags (cf. Sec 2.5.1 in BC Gov's Azure Foundation v0.9):

Note that tag naming convention needs to be take into account multiple providers (GCP mandates lower-case only for example).

mumit commented 4 years ago

Three things to consider:

mumit commented 4 years ago

Whiteboard from meeting on Tue Mar 3. Next step is to break down the pieces -- metadata store, provisioning, etc. metadata model whiteboard resized.jpg

kelpisland commented 4 years ago

https://github.com/BCDevOps/openshift-tools/tree/master/provisioning/environment/playbook

Here is the Ansible script for provisioning in OpenShift withe the proper tags.