Create a full-stack CDP-DC pseudo distributed cluster
terraform 0.12+
$ brew install terraform
$ git clone https://github.com/amolthacker/cdp-iac.git
$ cd cdp-iac/terraform/aws
$ cd vpc
# Update terraform.tfvars
$ terraform init
$ terraform apply
$ cd ../cluster
# Update terraform.tfvars (use vpc id from above)
$ terraform init
$ terraform apply
$ ssh -i <sshkey> centos@<cluster_public_ip>
$ sudo -i
$ yum install -y git
$ git clone https://github.com/amolthacker/pseudo-distributed-cdp.git
$ cd pseudo-distributed-cdp
$ ./setup.sh aws templates/e2ai_w_o3.json /dev/nvme1n1
$ cd cdp-iac/terraform/aws/cluster
$ terraform destroy
$ cd cdp-iac/terraform/aws/vpc
$ terraform destroy