GoogleCloudPlatform / GoogleCloudPlatform/pubsec-declarative-toolkit

Demo: Automated minimal landing zone with a (hub-env and core-landing-zone) KPT based deployment on a clean GCP organization - walkthrough

Open
#611 3 comments 0 reactions 1 assignee Claimed by @fmichaelobrien View on GitHub
automation fortinet Networking
Dominant language
Shell
Stars
36
Forks
26
PR merge metrics
No merged PRs in 30d

Description

OCI/GitOps version at #766

## Minimal Landing Zone from a clean GCP organization using a single script - use for development or CI/CD

**FinOps:** PAYG + GKE + GCE costs will be $80/day above the normal $10/day for the GKE cluster alone.

This jira will document standing up a subset of the full landing zone consisting of the following 2 packages in a clean org
References
- #446
- #258
- repo diff https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/pull/612

See ongoing documentation in
https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/wiki/DevOps#landing-zone-user-procedures

- see https://cloud.google.com/architecture/managing-cloud-infrastructure-using-kpt#delete_the_resources
- see https://cloud.google.com/config-connector/docs/how-to/managing-deleting-resources
- see https://cloud.google.com/anthos-config-management/docs/tutorials/manage-resources-config-controller#delete_the_individual_resources
-
# Clean Organization
- see onboarding at https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/wiki/Onboarding
# Clean super admin

The super admin account will have the organization administrator role and be able to create projects through the project creator role on the organization (all users inherit this and we will lock it down later)

Screenshot 2023-10-24 at 13 45 00

Screenshot 2023-10-24 at 13 45 41

## Launch shell.cloud.google.com
navigate to https://shell.cloud.google.com

Screenshot 2023-10-24 at 15 27 18

By default the user is an Organization Administrator
We will add required roles to get the point of creating a bootstrap project and then let the landing zone setup script take over adding roles required for LZ bootstrap.

Screenshot 2023-10-24 at 15 29 31

For those customers on direct billing - activate your credits
Screenshot 2023-10-24 at 15 32 32
Screenshot 2023-10-24 at 15 33 29

## 5 billing projects required
Prepare for increasing billing quota above 5 projects by paying early $50 and asking for a billing quota increase 2 days later - for how use shared billing to go past 5. For the purposes of the core-landing-zone and hub-env you need 1 bootstrap project, 1 config controller project, a logging and dns project and a hub project. Therefore disable billing on "My first project" to have all 5 for now.

follow instructions to increase your billing account quota to above 10 (I asked for 10 in addition to the default 5) using our instructions below

https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/wiki/Onboarding#billing-quota
fill out
https://support.google.com/code/contact/billing_quota_increase

Usually you are approved within 60 seconds
Screenshot 2023-10-28 at 09 36 39

licence key config
https://github.com/fortinetsolutions/terraform-modules/blob/master/GCP/modules/fortigate_byol/main.tf#L33

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.