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¶
In WEKA CDM choose AWS
Fill out the required fields on the Basic page that don’t have defaults
Cluster Name
Region us-east-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.
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.
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
On the right hand side download the generated Terraform file
Create Cluster¶
Run terrafrom init and terraform apply. You should get an output simialr to the below.
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”