Skip to content

Commit

Permalink
docs: add outputs to guide user better
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Privitere <[email protected]>
  • Loading branch information
cprivitere committed Oct 2, 2024
1 parent 85963a7 commit 180e214
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
19 changes: 13 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,21 +104,28 @@ The output will be the string you need to use in the `esxi_password` variable ne
### Deployment

* Deploy this Terraform module by running `terraform init -upgrade` and `terraform apply`.
* Note the following values that you'll need later:
* The public IP address of the bastion host: `terraform output -raw bastion_public_ip`
* The private IP address of the bastion host: `terraform output -raw bastion_private_ip`
* The public IP address of the management host: `terraform output -raw management_public_ip`
* The password for the management host: `terraform output -raw management_password`
* The DNS address of the ESX01 host: `terraform output -raw esx01_address`
* The following steps should be run on the management host.
* RDP to the management host, you can get its IP with `terraform output -raw management_public_ip`.
* RDP to the public IP of management host you noted earlier.
* Username: `SYSTEM\Admin`
* Password: provided in the terraform output `terraform output -raw management_password`.
* Password: Use the password you noted earlier.
* Download the Cloudbuilder OVA from VMware
* Log in to one of the ESXi hosts
* Run `terraform output -raw esx01_address` and go to the address in a browser.
* Our example uses: <https://sfo01-m01-esx01.sfo.rainpole.io>
* Use the DNS address of the ESX01 host you noted earlier. (Our example uses: <https://sfo01-m01-esx01.sfo.rainpole.io>)
* Username: `root`
* Password: the custom root password you used to generate the hash earlier.
* Deploy Cloudbuilder OVA on ESXi
* Deploy Cloudbuilder OVA on ESXi, we recommend following VMware's documentation for this. <https://docs.vmware.com/en/VMware-Cloud-Foundation/5.1/vcf-deploy/GUID-78EEF782-CF21-4228-97E0-37B8D2165B81.html>
* You will need to use the bastion host private IP as the DNS and NTP server during the OVA deployment.
* Use the private IP address of the bastion host you noted earlier.
* Login to cloudbuilder at the address you installed it at using the username/password you chose during the OVA deployment.
* Upload the vcf-ems-deployment-parameter spreadsheet to cloudbuilder when it asks for it.
* Fix issues cloudbuilder finds.
* Push deploy button and wait an hour or two as VCF deploys.
* Push deploy button and wait while VCF deploys.

## Examples

Expand Down
4 changes: 4 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ output "bastion_public_ip" {
description = "The public IP address of the bastion host."
value = equinix_metal_device.bastion.access_public_ipv4
}
output "bastion_private_ip" {
description = "The private IP address of the bastion host."
value = "This is the IP to use for the DNS and NTP server during the cloudbuilder OVA deployment: ${cidrhost(var.vcf_vrf_networks["bastion"].subnet, 2)}"
}
output "management_public_ip" {
description = "The public IP address of the windows management host."
value = equinix_metal_device.management.access_public_ipv4
Expand Down

0 comments on commit 180e214

Please sign in to comment.