/infra

Primary LanguageHCL

Geek.Zone's infrastructure

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.

Prerequisites

In an Ubuntu based Linux operating system machine, to provision or destroy the infrastructure, the following tools are required:

sudo apt-get update -y
sudo apt-get install -y gettext

Provision/destroy the infrastructure in the AWS cloud

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

Provision/destroy the infrastructure in the Azure cloud

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