-
Notifications
You must be signed in to change notification settings - Fork 67
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
Provide a single source of truth for wether a community's GCP cloud costs is paid by us or not #3711
Comments
@haroldcampbell, I think this one is well-specified and I see a clear definition of done, do you agree? |
paid_by_us
in cluster.yaml
as source of truth for cloud billing
Just a note on how someone can verify if a particular project if being paid for by 2i2c or not.
|
@damianavila this feels well-defined |
@yuvipanda there is a Currently, the only information about a AWS account is via a comment like this: For reference, it can look like this in cluster.yaml files: GCP clustersgcp:
key: enc-deployer-credentials.secret.json
project: hhmi-398911
cluster: hhmi-cluster
zone: us-west2
billing:
paid_by_us: true
bigquery:
project: two-eye-two-see
dataset: cloud_costs
billing_id: 0157F7-E3EA8C-25AC3C AWS clustersaws:
key: enc-deployer-credentials.secret.json
clusterType: eks
clusterName: 2i2c-aws-us
region: us-west-2 Conclusion about cluster.yaml metadata
|
If and only if they are part of our SSO - they are paid by us? Is there / could there be a account paid by someone else part of our SSO/management account? |
Great questions, @consideRatio.
Complete way to check if we're paying for an AWS account: Way 1:
Way 2:
My current understanding is that Way 1 should confirm everything. But we can do a round of way 2 as well to make 100% sure. After that, we can amend our documentation to set this information correctly when we create the initial cluster file. I'll take this as an action item for myself. A consistent way to find the AWS account id for a cluster.yaml file is:
|
I've opened #3853. |
@yuvipanda for LEAP, it said we paid for it - but the VISA card registered didn't seem like CH's - no name were provided by the final digits didn't match either of two cards tied to CH in the AWS 2i2c-sandbox project. So - I'm switching that from No other cluster's existing |
I think this just needs documentation now to be marked as complete? |
I'm not sure @yuvipanda - I've failed to figure out how to figure out the details of the last two checkboxes in the PR.
I found airtable automations that I've not before onboarded to what they are about, but I figure they maybe needs to be updated? Airtable has the following data tables:
I'm not sure for whom and where this should be documented =/ |
@consideRatio hmm, good question - I too am unaware of how to do anything in Airtable. My suggestion now is:
I think once these two are done, this can be marked as dover. |
I've opened #3959 about this
I didn't end up actionable here, and instead pivoting slightly. I'm thinking about three places where "paid by us" may be declared:
I assume a community contract is the actual source of truth, and any community having a hub in a cluster needs that cluster to have I perceive the crucial point to be that we ensure the partnership->engineering process to updated so new cluster/hub's always leads to declaring I looked at the issue templates, but they are outdated right now - where you have a WIP for the issue template to setup new cluster/hubs? I'm not sure how to ensure that the partnership->engineering is given the information about @yuvipanda could we settle for the action point of ensuring partnership's handover to engineering to setup a cluster/hub is providing info that determines paid_by_us definitively? |
What remains in this issue IMO is:
So, I figure this should be a checkbox thing for the docs/issue-template on setup a new cluster aka. phase 1. Currently, that docs/issue-template is a WIP though and I'm not sure where to patch it. |
Context
There's a
gcp.billing.paid_by_us
boolean field in ourcluster.yaml
that tells us whether a GCP project is being paid for with the 2i2c credit card or the account is provided to us by the community. While this is documented, it's not well documented. Partnerships has some automation that looks at various hubs we run and scrapes it into airtable, but that doesn't pick up this field.Proposal
gcp.billing.paid_by_us
field is accurate (see Provide a single source of truth for wether a community's GCP cloud costs is paid by us or not #3711 (comment) for broad information on how)aws.billing.paid_by_us
and initialize AWS based cluster.yaml files #3872 and leap: change cluster.yaml'sgcp.billing.paid_by_us
to false #3873paid_by_us
when creatingcluster.yaml
file #3853Edit: Added to proposal
Edit: Removed from proposal
Modify the automation that partnerships has to look for this boolean value and represent it in airtableUpdates and actions
No response
The text was updated successfully, but these errors were encountered: