Create WEKA AWS Cluster

Overview

Creating the clusters will be done with WEKA CDM. This will generate a Terraform file that is used to create the WEKA cluster.

Prerequisites

  • Admin Access in AWS

  • WEKA CDM access

  • Experience with Terraform

CDM Generate Config

  1. In WEKA CDM choose AWS

CDM
  1. Fill out the required fields on the Basic page that don’t have defaults

    • Cluster Name

    • Region us-east-1

CDM Basic
  1. On the Network Configuration page

    • Change “Create VPC and Subnet” to Yes

    • Zone us-east-1a

    • Change “Assign Public IP” to Yes

Note

We are assigning a public IP in the lab so we can connect remotely.

CDM Network
  1. On the Security Configuration page change

    • Change “Create Security Group” to Yes

    • On “Allowable CIDR for TCP Port 22 Access” add 0.0.0.0/0

    • On “Allowable CIDR for TCP Port 14000 Access” add 0.0.0.0/0

    • Configure Key Pair to Yes

    • Key Pair Configuration Terraform auto create

Note

We are using 0.0.0.0/0 in the lab so we can connect remotely. In a production deployment these should be set to valid ranges.

CDM Security
  1. On the Clients page change

    • Change “Deploy WEKA stateless clients” to yes

    • Set “Number of Clients to 3.

    • Change :Machine Type of Clients” to C5.2xlarge

CDM Clients
  1. On the right hand side download the generated Terraform file

Terraform

Create Cluster

  1. Run terrafrom init and terraform apply. You should get an output simialr to the below.

Terraform Output
  1. Retrive your WEKA admin password from AWS Secrets Manager. Navigate to AWS Secrets Manager and find your secret which is incudled in the Terraform output and press “Retrieve Secret Value”

WEKA Secret