Giter VIP home page Giter VIP logo

aks-k10's Introduction

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

I just want to build an AKS Cluster to play with the various Data Management capabilities e.g. Container's 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 Kasten, create a sample database, create location profile, backup policies etc.. The whole process is not that simple.

image

This script based automation allows you to build a ready-to-use Kasten K10 demo environment running on AKS in about 10 minutes. 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 to your local host, run below command
git clone https://github.com/yongkanghe/aks-k10.git
  1. Create Azure App Registration first
cd aks-k10;./createapp.sh
  1. Optionally, you can customize the clustername, vm size, location, region, containername, etc.
vi setenv.sh

Deploy based on your needs

Don't have an AKS cluster Already have an AKS cluster Have nothing
Deploy AKS only Deploy K10 only Deploy AKS and K10
./aks-deploy.sh ./k10-deploy.sh ./deploy.sh
1. Create an AKS Cluster 1. Create an AKS Cluster
1. Install Kasten K10 2. Install Kasten K10
2. Deploy a MySQL database 3. Deploy a MySQL database
3. Create an Azure Blob location 4. Create an Azure Blob location
4. Create a backup policy 5. Create a backup policy
5. Kick off on-demand backup job 6. Kick off on-demand backup job

Destroy based on your needs

Destroy AKS only Destroy K10 only Destroy AKS and K10
./aks-destroy.sh ./k10-destroy.sh ./destroy.sh
1. Remove the AKS Cluster 1. Remove the Resource Group
1. Remove MySQL database + Remove AKS Kubernetes Cluster
2. Remove Kasten K10 + Remove the disks and snapshots
3. Remove Azure Blob storage bucket + Remove the storage account etc.

To kickoff a backup job manually, run

./runonce.sh
  • Take a snapshot of Application Components
  • Take a snapshot of Application Configurations
  • Take a snapshot of Workload MySQL
  • Export the snapshot to Azure Blob Storage

Automate AKS creation & protection

IMAGE ALT TEXT HERE

Subscribe K8s Data Management Youtube Channel

AKS Backup and Restore

https://blog.kasten.io/posts/backup-and-recovery-in-microsoft-azure-with-kasten-k10/

Kasten - No. 1 Self Managed Kubernetes Backup

https://kasten.io

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

aks-k10's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.