Skip to content

ARO Automation, 1 CMD in 40 mins to build a ready-to-use ARO + Kasten demo environment on Azure Cloud (ARO+Postgresql+K10). 3 minutes to protect containers on an ARO cluster (Postgresql+K10+Policy+Backup).

License

Notifications You must be signed in to change notification settings

yongkanghe/aro-k10

Repository files navigation

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

I just want to build an Azure Red Hat OpenShift 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 an ARO cluster from Azure Cloud if you are not familiar to it. After the ARO Cluster is up running, we still need to install Kasten, create a sample DB, create 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 ARO Cluster on Azure in about 35 minutes. In order to demonstrate Container Backup capabilities, an Azure Blob Storage account will be created. And this will be built in a new vnet with new subnets etc.. This is bash shell based scripts which has been tested on Azure Cloud Shell in the West US region.

Here're the prerequisities.

  1. Log in to https://portal.azure.com, then open Azure Cloud Shell
  2. Clone the github repo to your local host, run below command
git clone https://github.com/yongkanghe/ocp-k10.git
  1. Complete the preparation tasks first
cd ocp-k10/aro-k10;./aroprep.sh
  1. Optionally, you can customize the clustername, worker flavor, zone, region, bucketname etc.
vim setenv.sh

Deploy based on your needs

Don't have an ARO cluster Already have an ARO cluster Have nothing
Deploy ARO only Deploy K10 only Deploy ARO and K10
./aro-deploy.sh ./k10-deploy.sh ./deploy.sh
1. Create an ARO Cluster 1. Create an ARO Cluster
1. Install Kasten K10 2. Install Kasten K10
2. Deploy a PostgreSQL database 3. Deploy a PostgreSQL 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 ARO only Destroy K10 only Destroy ARO and K10
./aro-destroy.sh ./k10-destroy.sh ./destroy.sh
1. Remove the ARO Cluster 1. Remove the Resource Group
1. Remove PostgreSQL database + Remove ARO Kubernetes Cluster
2. Remove Kasten K10 + Remove the disks and snapshots
3. Remove Azure Blob storage bucket + Remove the storage account etc.

Learn how to automate OCP, OCS, MongoDB and K10.

IMAGE ALT TEXT HERE

Subscribe K8s Data Management Youtube Channel

Learn how to build an OCP cluster via Web Console

IMAGE ALT TEXT HERE

Subscribe K8s Data Management Youtube Channel

Learn how to backup/restore containers on OCP Cluster

IMAGE ALT TEXT HERE

Subscribe K8s Data Management Youtube Channel

Learn how to migrate containers on OCP Cluster

IMAGE ALT TEXT HERE

Subscribe K8s Data Management Youtube Channel

For more details about OCP Backup and Restore

https://blog.kasten.io/kubernetes-backup-with-openshift-container-storage

https://blog.kasten.io/kasten-and-red-hat-migration-and-backup-for-openshift

Kasten - No. 1 Kubernetes Backup

https://kasten.io

Free Kubernetes Learning

https://lnkd.in/gstxxkBU

Contributors

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

About

ARO Automation, 1 CMD in 40 mins to build a ready-to-use ARO + Kasten demo environment on Azure Cloud (ARO+Postgresql+K10). 3 minutes to protect containers on an ARO cluster (Postgresql+K10+Policy+Backup).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages