This project contains Terraform scripts to provision Microsoft Azure Cloud infrastructure resources required to deploy SAS Viya 4 products. Here is a list of resources this project can create -
- Azure Resource Group(s): Primary Resource Group and AKS Resource Group
- Virtual Network, Network Security Groups and Network Security Rules
- Managed Azure Kubernetes Service (AKS) cluster
- System and User AKS Node pools with required Labels and Taints
- Infrastructure to deploy SAS Viya CAS in SMP or MPP mode
- Storage options for SAS Viya - AzureDisk/Files(dev) or NFS Server or Azure NetApp Files(HA)
- Azure DB for PostgreSQL, optional
- Azure Container Registry, optional
Once the cloud resources are provisioned, see the viya4-deployment repo to deploy SAS Viya 4 products. If you need more information on the SAS Viya 4 products refer to the official SAS® Viya® 4 Operations documentation for more details.
This project supports running either via terraform installed on your local machine or via a docker container.
- Access to an Azure Subscription and Identity with 'Contributor' role
Run these commands in a Terminal session:
# clone this repo
git clone https://github.com/sassoftware/viya4-iac-azure
# move to directory
cd viya4-iac-azure
See Terraform Azure Authentication for details.
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.
When using a variable definition file other than terraform.tfvars
, see Advanced Terraform Usage for additional command options.
Create and manage the cloud resources by either:
- running Terraform directly on your workstation, or
- running Docker container.
See troubleshooting page.
We welcome your contributions! Please read CONTRIBUTING.md for details on how to submit contributions to this project.
This project is licensed under the Apache 2.0 License.