Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 978 Bytes

README.md

File metadata and controls

34 lines (25 loc) · 978 Bytes

Single Node CDP Cluster

This script automatically sets up a CDP cluster on the public cloud on a single VM with the services preconfigured in a template file.

As this cluster is meant to be used for demos, experimenting, training, and workshops, it doesn't setup Kerberos and TLS.

Configuration and installation

  • add 2 inbound rules to the Security Group:
    • to allow your IP only, for all ports.
    • to allow the VM's own IP, for all ports.
  • ssh into VM and copy this repo.
sudo su -
yum install -y git
git clone https://github.com/fabiog1901/SingleNodeCDPCluster.git
cd SingleNodeCDPCluster

The script setup.sh takes 5 arguments:

  • the cloud provider name: aws,azure,gcp;
  • the template file;
  • the username;
  • the password;
  • OPTIONAL the Docker Device disk mount point.

Example: create cluster on AWS using base.json

./setup.sh aws templates/base.json my_user my_pass

Wait until the script finishes, check for any error.