Create a new GCP project
Create a new GCP project#
Create new project under the 2i2c GCP org. This lets us do access control more easily, and makes sure 2i2c engineers always have appropriate access to the created project.
Name the project, giving it a unique id. We try to keep the word ‘2i2c’ out of the project name, in case the user decide to exercise their right to replicate at some point.
Keep it inside the 2i2c organization, and locate inside the 2i2c folder.
2i2c Billingbilling account, with id
Hit the ‘Create’ button
You should see a notification as soon as the project is created. Switch to the freshly created project
GCP requires you to explicitly enable APIs before they can be used. Enable the following APIs:
Make sure the correct project is selected while enabling these!
Setup a new cluster inside it via Terraform
Checking quotas and requesting increases#
Finally, we should check what quotas are enforced on the project and increase them as necessary.
Navigate to https://console.cloud.google.com
Select the project you created from the dropdown in the top menu bar
If you can’t find the project you’re looking for, click the “All” tab to see all projects that you have access to.
In the search bar in the top menu, search for “All quotas”
Once on the quotas page, check the checkbox next to the quota you would like to edit, e.g., CPUs, then click “Edit quotas”
In the pane that opens, enter the new limit, e.g. 128 CPUs. You will then be asked to provide some contact information. Click “Submit request” and you will receive a confirmation email.
It is not possible to provide the
firstname.lastname@example.org here, or even cc it. You have to provide then email you are signed in with.