dsohk / susecap-tf-eks

Deploy SUSE CAP onto AWS EKS
MIT License
3 stars 7 forks source link
aws aws-eks cloud-foundry kubernetes suse

Automated Deployment of SUSE Cloud Application Platform onto AWS EKS

Deploy EKS with terraform

This script will deploy an EKS cluster in the following region with these instance sizes.

Client PC setup (linux, mac, windows)

Setup cloudflare

Here's the example of the ~/.cloudflare/credentials file:

#! /bin/bash -e

export CF_API_KEY=<Cloudflare Global API token>
export CF_API_EMAIL=<Your Email Address for Cloudflare>

Create EKS cluster on your AWS

Run the build script to create your EKS cluster on your AWS.

git clone https://github.com/dsohk/susecap-tf-eks.git
cd susecap-tf-eks
cd eks
./01-build-eks.sh

Setup helm repo for SUSE CAP

After the above step is finished, run the following script to get your helm chart ready.

./02-config-helm.sh

Install SUSE CAP (uaa + scf + stratos)

(Working in progress)

./03-install-susecap.sh

Install metrics

(Working in progress)

./04-install-metrics.sh

Install minibrokers

(Working in progress)

./05-install-minibroker.sh

Refer to SUSE CAP doc to continue the deployment of CAP on your EKS https://www.suse.com/documentation/cloud-application-platform-1/singlehtml/book_cap_guides/book_cap_guides.html#sec.cap.install-uaa-prod

Tear down SUSE CAP and EKS cluster on AWS

To tear down the entire SUSE CAP and EKS cluster on AWS, run the following command:

./10-clean-up.sh

notes

  1. skip ssl validation when registering kubernetes endpoints in stratos
  2. enter "susecap-eks" as name of cluster