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

Access to Cloudflare #3220

Closed
ovflowd opened this issue Mar 13, 2023 · 11 comments
Closed

Access to Cloudflare #3220

ovflowd opened this issue Mar 13, 2023 · 11 comments

Comments

@ovflowd
Copy link
Member

ovflowd commented Mar 13, 2023

Requesting access to Cloudflare, as I would like to be around to support with times the cache for Nodejs.org becomes havoc, and also for the incoming changes we're going to do with nodejs.dev, nodejs.org, vercel, etc

cc @nodejs/build

@ovflowd
Copy link
Member Author

ovflowd commented Mar 16, 2023

Note.: The kind of access I'm requesting (because of CF ACLs) is to have enough "power/authorisation" to do these actions:

  • Monitor/Analysis of Traffic
  • Purge Cache / Create/Delete cache rules
  • Enabling/Disabling features (useful for when we want to test things such as Static File CDN)
  • Or anything useful for allowing me to solve incidents that we might have with CF.

In general, these privileges would also be helpful for the incoming Vercel work.

@tniessen
Copy link
Member

If the number of people with access to CF grows, we should probably start making use of CF "members" so that we can manage access in more detail. Right now we just use a single set of credentials (with 2FA) as far as I know.

@nschonni
Copy link
Member

Might make sense to look at something like https://developers.cloudflare.com/terraform/ to pull the actual config changes into this repo. I didn't see any first party Ansible tasks with a very quick search

@mhdawson
Copy link
Member

@nschonni the terraform suggestion looks interesting. That would address one concern related to growing the number of people with cloudflare access.

@MattIPv4
Copy link
Member

+1 to having the Cloudflare config defined in terraform in the repo. Would make it much easier for folks to understand what's currently configured and propose edits etc.

@UlisesGascon
Copy link
Member

+1 to manage Cloudflare using Terraform, also I agree to provide access to Cloudflare for @ovflowd as some tasks will require it like the Monitor/Analysis of Traffic.

@UlisesGascon
Copy link
Member

@ovflowd we agreed in #3299 that we will grant you access, but first we will need to change the way we access to Cloudflare from a single account to an individual accounts (organization approach).

@ovflowd
Copy link
Member Author

ovflowd commented Apr 11, 2023

Thanks for the update!

@richardlau
Copy link
Member

If the number of people with access to CF grows, we should probably start making use of CF "members" so that we can manage access in more detail. Right now we just use a single set of credentials (with 2FA) as far as I know.

I've just invited myself to the build account (which has resulted in a confirmation to the build email address FYI @nodejs/build-infra ). For people in the build-infra team, who already have access to the existing build account, I'm comfortable giving their individual accounts "Super Administrator" which should mean they would not normally need to log in directly as the build account.

For anyone outside of the build-infra team we'd need to work out which of the account-scoped roles we would want to grant
Refs: https://developers.cloudflare.com/fundamentals/account-and-billing/members/roles/#account-scoped-roles

@targos
Copy link
Member

targos commented Jul 10, 2023

I've tried to add myself to the account but I get:

Error when processing member: Cannot add existing user that is participating in an incompatible authorization system(Code: 1005)

Note that I do have 2FA enabled.

I opened a support ticket.

@ovflowd
Copy link
Member Author

ovflowd commented Jul 11, 2023

Got access so closing this :)

@ovflowd ovflowd closed this as completed Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants