This repo contains all the configuration to create and destroy the infrastructure where Geek.Zone's membership management app runs. This consists of a managed kubernetes cluster running either in the AWS or Azure cloud, provisioned by Terraform.
In an Ubuntu based Linux operating system machine, to provision or destroy the infrastructure, the following tools are required:
- aws cli
- az cli
- terraform cli
- kubectl
- gettext-base
sudo apt-get update -y
sudo apt-get install -y gettext
Run the following script to provision the infrastructure:
cd aws
./create-aws-infra.sh
Run the following command to destroy the infrastructure:
cd aws
./destroy-aws-infra.sh
Run the following script to provision the infrastructure:
cd azure
./create-azure-infra.sh
Run the following command to destroy the infrastructure:
cd azure
./destroy-azure-infra.sh