Skip to content

sassoftware/viya4-iac-gcp

Repository files navigation

SAS Viya 4 Infrastructure as Code (IaC) for Google Cloud Platform (GCP)

Overview

This project contains Terraform scripts to provision Google GCP infrastructure resources required to deploy SAS Viya 4 platform products. Here is a list of resources this project can create -

  • VPC Network and Network Firewalls
  • Managed Google Kubernetes Engine (GKE) cluster
  • System and User GKE Node pools with required Labels and Taints
  • Infrastructure to deploy SAS Viya platform CAS in SMP or MPP mode
  • Shared Storage options for SAS Viya platform - Google Filestore (ha) or NFS Server (standard)
  • Google Cloud SQL for PostgreSQL instance, optional

Architecture Diagram

Once the cloud resources are provisioned, see the viya4-deployment repo to deploy SAS Viya 4 platform products. If you need more information on the SAS Viya 4 platform products refer to the official SAS® Viya® platform Operations documentation for more details.

Prerequisites

Operational knowledge of

Required

Getting Started

Clone this project

Run these commands in a Terminal session:

# clone this repo
git clone https://github.com/sassoftware/viya4-iac-gcp

# move to directory
cd viya4-iac-gcp

Authenticating Terraform to access GCP

See Terraform GCP Authentication for details.

Customize Input Values

Create a file named terraform.tfvars to customize any input variable value documented in the CONFIG-VARS.md file. For starters, you can copy one of the provided example variable definition files in ./examples folder. For more details on the variables declared refer to the CONFIG-VARS.md file.

NOTE: You will need to update the cidr_blocks in the variables.tf file to allow traffic from your current network. Without these rules, access to the cluster will only be allowed via the GCP Console.

When using a variable definition file other than terraform.tfvars, see Advanced Terraform Usage for additional command options.

Creating and Managing the Cloud Resources

Create and manage the GCP cloud resources by either

Troubleshooting

See troubleshooting page.

Contributing

We welcome your contributions! Please read CONTRIBUTING.md for details on how to submit contributions to this project.

License

This project is licensed under the Apache 2.0 License.

Additional Resources

GCP

Terraform

About

This project contains Terraform configuration files to provision infrastructure components required to deploy SAS Viya platform products products on Google GCP

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published