Skip to content

Build a ready-to-use EKS+K10 demo environment on AWS in ~20 minutes with just one command (EKS+Cassandra+K10). 3 mins to protect containers if you already have an EKS cluster up running.

License

Notifications You must be signed in to change notification settings

yongkanghe/eks-k10

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

I just want to build an EKS Cluster to play with the various Data Management capabilities e.g. Backup/Restore, Disaster Recovery and Application Mobility.

It is challenging to create an EKS cluster from AWS Cloud if you are not familiar to it. After the EKS 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 EKS in about 20 minutes with deploy.sh. For simplicity and cost optimization, the EKS cluster will have only one worker node and create a separate vpc and subnets. This is bash shell based scripts which might only work on Cloud Shell. Linux and MacOS terminal may work as well, but I haven't tested it yet.

If you already have an EKS cluster running, you only need 3 minutes to protect containers on EKS cluster by k10-deploy.sh.

Here're the prerequisities.

  1. Go to AWS Cloud Shell
  2. Clone the github repo, run below command
git clone https://github.com/yongkanghe/eks-k10.git
  1. Install the required tools (eksctl, kubectl, helm) and input AWS Access Credentials
cd eks-k10;./awsprep.sh;. ./setenv.sh
  1. Optionally, you can customize the clustername, instance-type, zone, region, bucketname
vi setenv.sh

NOTE:

If you are using AWS provided access via Event Engine, please use ee-* scripts instead.

E.g. ee-eks-deploy.sh, ee-k10-deploy.sh, ee-deploy.sh

Deploy based on your needs

Don't have an EKS cluster Already have an EKS cluster Have nothing
Deploy EKS Deploy K10 Deploy EKS and K10
./eks-deploy.sh ./k10-deploy.sh ./deploy.sh
1.Create an EKS Cluster 1.Create an EKS Cluster
1.Install Kasten K10 2.Install Kasten K10
2.Deploy a Cassandra database 3.Deploy a Cassandra database
3.Create a S3 location profile 4.Create a S3 location profile
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 EKS Destroy K10 Destroy EKS and K10
./eks-destroy.sh ./k10-destroy.sh ./destroy.sh
1.Remove the EKS Cluster 1.Remove the EKS Cluster
1.Remove Cassandra database 2.Remove all the relevant disks
2.Remove Kasten K10 3.Remove all the relevant snapshots
3.Remove the S3 storage bucket 4.Remove the S3 storage bucket

Build an EKS cluster via Web UI

IMAGE ALT TEXT HERE

Subscribe K8s Data Management Youtube Channel

Secure containers via CloudCasa

IMAGE ALT TEXT HERE

Subscribe K8s Data Management Youtube Channel

Secure your containers via Falco

IMAGE ALT TEXT HERE

Subscribe K8s Data Management Youtube Channel

Backup your containers via K10

IMAGE ALT TEXT HERE

Subscribe K8s Data Management Youtube Channel

Build an EKS + K10 via Automation

IMAGE ALT TEXT HERE

Subscribe K8s Data Management Youtube Channel

Build an EKS + K10 on AWS Event Engine

IMAGE ALT TEXT HERE

Subscribe K8s Data Management Youtube Channel

Kasten on AWS Workshop

IMAGE ALT TEXT HERE

Subscribe K8s Data Management Youtube Channel

K10 on EKS self-paced Lab Guide

Option 1, AWS provides access via Event Engine

http://aws-lg-ee.yongkang.cloud

Option 2, Use your own AWS account

http://aws-lg.yongkang.cloud

Build, Protect and Migrate Containers

IMAGE ALT TEXT HERE

Subscribe K8s Data Management Youtube Channel

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

About

Build a ready-to-use EKS+K10 demo environment on AWS in ~20 minutes with just one command (EKS+Cassandra+K10). 3 mins to protect containers if you already have an EKS cluster up running.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages