Skip to content

1 CMD in 5 mins to build a ready-to-use AKS 1.30 cluster with PostgreSQL installed. 1 min to enable AKS Container backups via Velero.

License

Notifications You must be signed in to change notification settings

yongkanghe/aks-casa

Repository files navigation

Follow @YongkangHe on Twitter, Subscribe K8s Data Management Youtube Channel

I just want to build an AKS Cluster to play with the various Security and Data Management capabilities e.g. Security Scans, Backup/Restore, Disaster Recovery and Application Mobility. It is challenging to create AKS Cluster from Azure Cloud if you are not familiar to it. After the AKS Cluster is up running, we still need to install a sample database, create policies etc.. The whole process is not that simple.

This script based automation allows you to build a ready-to-use AKS demo environment with PostgreSQL deployed in ~5 minutes. And you can enable AKS Container backups via Velero in ~1 minute. For simplicity and cost optimization, the AKS cluster will have only one worker node in the newly created vnet and subnet. This is bash shell based scripts which has been tested on Cloud Shell. Linux or MacOS terminal has not been tested though it might work as well. If you don't have an Azure account, please watch the video by Louisa below to sign up a free trial account in 5 minutes.

Sign up an Azure trial account

IMAGE ALT TEXT HERE

Subscribe K8s Data Management Youtube Channel

Here're the prerequisities.

  1. Go to open Azure Cloud Shell
  2. Clone the github repo, run below command
git clone https://github.com/yongkanghe/aks-casa.git;cd aks-casa
  1. Optionally, you can customize the clustername, vm size, location, region, containername, etc.
vi setenv.sh

AKS Cluster Automation

  1. To deploy an AKS cluster
./aks-deploy.sh
  1. To destroy the AKS cluster after testing
./aks-destroy.sh

AKS 1.26 Automation video

IMAGE ALT TEXT HERE

Subscribe K8s Data Management Youtube Channel

Velero for AKS Automation

  1. 1 min to enable AKS Backup via Velero
./velero-deploy.sh
  1. To clean up Velero for GKE
./velero-destroy.sh

Build an AKS creation via Portal

IMAGE ALT TEXT HERE

Subscribe K8s Data Management Youtube Channel

Build, Protect and Migrate Containers

IMAGE ALT TEXT HERE

Subscribe K8s Data Management Youtube Channel

CloudCasa - Best Kubernetes Backup as a Service

https://cloudcasa.io

Contributors

Follow Yongkang He on LinkedIn, Join Kubernetes Data Management LinkedIn Group

Follow Louisa He on LinkedIn, Join Kubernetes Data Management Telegram Group

About

1 CMD in 5 mins to build a ready-to-use AKS 1.30 cluster with PostgreSQL installed. 1 min to enable AKS Container backups via Velero.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages