CDP CLI: You can
use the following sample CDP CLI command to create the Data Hub in an
AWS
environment:
cdp datahub create-aws-cluster \
--profile default \
--environment-name [***ENVIRONMENT NAME***] \
--cluster-name [***DATA HUB NAME***] \
--cluster-template-name "7.3.1 - Lakehouse Optimizer" \
--instance-groups nodeCount=0,instanceGroupName=compute,instanceGroupType=CORE,instanceType=r5d.xlarge,rootVolumeSize=200,attachedVolumeConfiguration=\[\{volumeSize=150,volumeCount=1,volumeType=ephemeral\}\],recoveryMode=MANUAL,volumeEncryption=\{enableEncryption=true\} nodeCount=0,instanceGroupName=gateway,instanceGroupType=CORE,instanceType=m5.2xlarge,rootVolumeSize=200,attachedVolumeConfiguration=\[\{volumeSize=100,volumeCount=1,volumeType=gp3\}\],recoveryMode=MANUAL,volumeEncryption=\{enableEncryption=true\} nodeCount=1,instanceGroupName=master,instanceGroupType=GATEWAY,instanceType=m5.4xlarge,rootVolumeSize=200,attachedVolumeConfiguration=\[\{volumeSize=100,volumeCount=1,volumeType=gp3\}\],recoveryMode=MANUAL,volumeEncryption=\{enableEncryption=true\} nodeCount=2,instanceGroupName=worker,instanceGroupType=CORE,instanceType=r5d.xlarge,rootVolumeSize=200,attachedVolumeConfiguration=\[\{volumeSize=100,volumeCount=1,volumeType=gp3\}\],recoveryMode=MANUAL,volumeEncryption=\{enableEncryption=true\} \
--cloudera-runtime-version=7.3.1-1.cdh7.3.1.p500.gbn \
--cloudera-manager-version=7.13.1.500-gbn \
--os-version-for-gbn redhat8
You can use the following sample
CDP CLI command to create the Data Hub in an Azure
environment:
cdp datahub create-azure-cluster \
--profile default \
--environment-name [***ENVIRONMENT NAME***]\
--cluster-name [***DATA HUB NAME***] \
--cluster-template-name "CLO-731-1" \
--instance-groups nodeCount=1,instanceGroupName=master,instanceGroupType=GATEWAY,instanceType=Standard_D16s_v5,rootVolumeSize=300,attachedVolumeConfiguration=\[\{volumeSize=100,volumeCount=1,volumeType=StandardSSD_LRS\}\],recoveryMode=MANUAL nodeCount=2,instanceGroupName=worker,instanceGroupType=CORE,instanceType=Standard_E8ds_v5,rootVolumeSize=200,attachedVolumeConfiguration=\[\{volumeSize=100,volumeCount=1,volumeType=StandardSSD_LRS\}\],recoveryMode=MANUAL nodeCount=0,instanceGroupName=compute,instanceGroupType=CORE,instanceType=Standard_E8ds_v5,rootVolumeSize=200,attachedVolumeConfiguration=\[\{volumeSize=100,volumeCount=1,volumeType=StandardSSD_LRS\}\],recoveryMode=MANUAL nodeCount=0,instanceGroupName=gateway,instanceGroupType=CORE,instanceType=Standard_D8ds_v5,rootVolumeSize=200,attachedVolumeConfiguration=\[\{volumeSize=100,volumeCount=1,volumeType=StandardSSD_LRS\}\],recoveryMode=MANUAL \
--cloudera-runtime-version=7.3.1-1.cdh7.3.1.p500.gbn \
--cloudera-manager-version=7.13.1.500-gbn \
--os-version-for-gbn redhat8