Create a new GCP project#

  1. 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.

  2. 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.

  3. Keep it inside the 2i2c organization, and locate inside the 2i2c folder.

  4. Use the 2i2c Billing billing account, with id 0157F7-E3EA8C-25AC3C.

  5. Hit the ‘Create’ button

  6. You should see a notification as soon as the project is created. Switch to the freshly created project

  7. GCP requires you to explicitly enable APIs before they can be used. Enable the following APIs:

    1. GKE

    2. Compute Engine

    3. Artifact Registry

    4. Filestore

    Note

    Make sure the correct project is selected while enabling these!

  8. 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.

  1. Navigate to https://console.cloud.google.com

  2. Select the project you created from the dropdown in the top menu bar

    Tip

    If you can’t find the project you’re looking for, click the “All” tab to see all projects that you have access to.

  3. In the search bar in the top menu, search for “All quotas”

  4. Once on the quotas page, check the checkbox next to the quota you would like to edit, e.g., CPUs, then click “Edit quotas”

  5. 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.

    Warning

    It is not possible to provide the support@2i2c.org email here, or even cc it. You have to provide then email you are signed in with.