GoogleCloudPlatform / cloudnetworking-config-solutions

Cloud Networking config solution makes it easy for you to connect your on-premises network or VPC to Google-managed services.The solution simplifies complex network configurations and takes care of that for you, so you can focus on your business. Plus, it's designed to be scalable and reliable, so you can count on it to handle your growing needs.
Apache License 2.0
10 stars 4 forks source link
alloydb automation cloudnetworking cloudsql gce google google-cloud-networking memory-redis-cluster terraform

CloudNet Config Solutions: Simplified Google Cloud Networking with Terraform 🌐

Introduction

This repository leverages pre-built Terraform templates to streamline the setup and management of Google Cloud's networking infrastructure. This project accelerates your access to managed services like AlloyDB, Cloud SQL and Memorystore for Redis Clusters while maintaining robust security boundaries between your on-premises resources and the cloud environment. By defining role-based stages, the solution ensures that only authorized users can modify specific network components, adhering to the principle of least privilege and enhancing overall security.

Project Goals

Project Structure

The project is structured into the following folders:

    cloudnetworking-config-solutions
      β”œβ”€β”€configuration
          β”œβ”€β”€ bootstrap.tfvars
          β”œβ”€β”€ organization.tfvars
          β”œβ”€β”€ networking.tfvars
          β”œβ”€β”€ networking-manual.tfvars
          └── security
              β”œβ”€β”€ alloydb.tfvars
              β”œβ”€β”€ cloudsql.tfvars
              β”œβ”€β”€ gce.tfvars
              └── mrc.tfvars
      β”œβ”€β”€execution
          β”œβ”€β”€ 00-bootstrap
          β”œβ”€β”€ 01-organization
          β”œβ”€β”€ 02-networking
          β”œβ”€β”€ 03-security
          β”œβ”€β”€ 04-producer
          β”œβ”€β”€ 05-networking-manual
          └── 06-consumer
      └──modules
          β”œβ”€β”€ net-vpc
          └── psc_forwarding_rule

Prerequisites

Getting Started πŸš€

  1. Clone the Repository:

    git clone https://github.com/googlecloudplatform/cloudnetworking-config-solutions.git
  2. Customize Configuration:

    Update the *.tfvars files in the configuration directory with your project-specific values.

  3. Navigate to a Stage:

    Start with 00-bootstrap, then proceed sequentially through the stages.

  4. Follow Stage-Specific Instructions:

    Each stage directory contains a README with detailed instructions. Typically, you will run:

    terraform init
    terraform plan
    terraform apply

Important Notes: