Configure communication via private IPs on AWS
Cloudbreak uses public IP addresses when communicating with cluster nodes. On AWS, you can configure it to use private IPs instead of public IPs by setting the CB_AWS_VPC variable in the Profile.
Note | |
---|---|
This configuration is available for AWS only. Do not use it for other cloud providers. |
Steps
- Navigate to the Cloudbreak deployment directory and edit Profile.
For example:
cd /var/lib/cloudbreak-deployment/ vi Profile
- Add the following entry, setting it to the AWS VPC identifier where you have deployed
Cloudbreak:
export CB_AWS_VPC=your-VPC-ID
For example:
export CB_AWS_VPC=vpc-e261a185
- Restart Cloudbreak by using
cbd restart
.