cloud-foundation-fabric/examples/data-solutions/data-playground
Ludovico Magnocavallo b20ab65756
GKE hub module refactor (#760)
GKE hub module refactor 
Co-authored-by: Daniel Marzini <danielmarzini@users.noreply.github.com>
Co-authored-by: Miren Esnaola <mirene@google.com>
2022-07-29 08:39:25 +02:00
..
README.md New example for a data playground Terraform setup (#655) 2022-07-10 09:27:18 +02:00
diagram.png New example for a data playground Terraform setup (#655) 2022-07-10 09:27:18 +02:00
main.tf New example for a data playground Terraform setup (#655) 2022-07-10 09:27:18 +02:00
outputs.tf New example for a data playground Terraform setup (#655) 2022-07-10 09:27:18 +02:00
variables.tf New example for a data playground Terraform setup (#655) 2022-07-10 09:27:18 +02:00
versions.tf GKE hub module refactor (#760) 2022-07-29 08:39:25 +02:00

README.md

Data Playground

This example creates a minimum viable template for a data experimentation project with the needed APIs enabled, basic VPC and Firewall set in place, GCS bucket and an AI notebook to get started.

This is the high level diagram:

High-level diagram

Managed resources and services

This sample creates several distinct groups of resources:

  • projects
    • Service Project configured for GCE instances and GCS buckets
  • networking
    • VPC network
    • One default subnet
    • Firewall rules for SSH access via IAP and open communication within the VPC
  • Vertex AI notebook
    • One Jupyter lab notebook instance with public access
  • GCS
    • One bucket initial bucket

Variables

name description type required default
project_id Project id, references existing project if `project_create` is null. string
location The location where resources will be deployed string europe
region The region where resources will be deployed. string europe-west1
project_create Provide values if project creation is needed, uses existing project if null. Parent format: folders/folder_id or organizations/org_id object({…}) null
prefix Unique prefix used for resource names. Not used for project if 'project_create' is null. string dp
service_encryption_keys Cloud KMS to use to encrypt different services. Key location should match service region. object({…}) null
vpc_config Parameters to create a simple VPC for the Data Playground object({…}) {...}

Outputs

Name Description
bucket GCS Bucket URL.
project Project id
vpc VPC Network name
notebook Vertex AI notebook name