This section gives detailed instructions for provisioning Service Point v4 in GCP.
Before you begin:
- You must have a valid GCP account with the correct permissions to deploy VMs. You must also first register the Service Point v4 image to GCP from the GCP public disk storage before you can provision Service Point v4 on GCP. For more information, refer to Registering the Service Point v4 image on GCP.
- You must have the configuration file from when you created the Service Point v4 instance in the Edge CI. For more information, refer to Provision Service Point v4 on cloud environments.
DNS resolver configurations
When provisioning your service point in GCP, BlueCat recommends configuring the service
point to use the default cloud DNS resolver. When the service point is provisioned in
GCP, the primary DNS resolver is 168.254.169.254
.
- Log in to your GCP account.
- In the GCP portal, select the GCP project that will be used to provision a Service Point v4 VM.
- Navigate to the GCP public disk storage. The public
disk storage contains all available versions of the Service Point v4 image that
can be provisioned.Note: You must be logged in to GCP to access the link.
- Select the version that you would like to provision and click the object to navigate to the Object Details page.
- Within the gsutil URI field, copy the name of the Service
Point v4 image that you would like to provision without the
gs://
prefix. The value of the field is in the following format:gs://bluecat-dns-edge-fleet-service-point/edge-service-point-v<VERSION>.vmdk
Where the<VERSION>
is the version of the Service Point v4 image.Note: Save the value of this field, as it will be used in a later step. - Navigate back to the GCP portal and search for Compute Engine.
- Within the Compute Engine page, select .
- Enter the name of the image. The name must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens. The name cannot end with a hyphen.
- Under Source, select Virtual disk (VMDK, VHD).
- Paste the value that was previously copied from the gsutil
URI field without the
gs://
prefix. For example, the value should look similar to the following:bluecat-dns-edge-fleet-service-point/edge-service-point-v<VERSION>.vmdk
- Select Debian Bullseye as the Operating system on virtual disk.
- Disable the Install guest packages checkbox.
- Press Create.Attention: When you provision the Service Point v4 instance in GCP, it is provisioned using the VPC named
default
. This VPC is automatically created when you create a new GCP project.If your GCP project does not contain thedefault
VPC, the image fails to be provisioned; however, you can provision the Service Point v4 instance with a custom VPC name using the following gcloud CLI command:gcloud compute images import <image-name> \ --source-file=gs://bluecat-dns-edge-fleet-service-point/edge-service-point-v<VERSION>.vmdk \ --no-guest-environment \ --os=debian-11 \ --network=<vpc-name> \ --subnet=<subnet-name>
For more information on the gcloud CLI, refer to https://cloud.google.com/sdk/gcloud.
GCP imports the selected Service Point v4 image. The import can take approximately 15 minutes.
- Once the image has been created in GCP, click the image and select Create Instance.
- Within the Basic section, enter the following
information:
- Enter the Name of the virtual machine.
- Select a Region and Zone in which the virtual machine will be deployed.
- Select the Machine Family to use for the virtual machine. BlueCat recommends selecting E2 Custom (4CPUs/8GB).
- Within the Networking section, enter the following
information:
- (Optional): If you have firewall rules based on network
tags, add them within this page.Ensure that your network is configured for the following ports and protocols to be opened on the Service Point v4 VM in GCP:
- Port 22 (TCP)—used for SSH connections.
- Port 53 (TCP and UDP)—used for DNS service.
- Port 2021 (TCP)—used for DNS resolver service diagnostics.
- Port 8083 (TCP)—used for Service Point v4 telemetry APIs.
Attention: Service Point v4 does not support changing IP addresses once the VM has been created. - (Optional): If you have firewall rules based on network
tags, add them within this page.
- Within the Management section, enter the following
information:
- Add a Metadata field with the key set as
user-data
. Within the value, paste the contents of the configuration file that you downloaded from the Service points (v4) configuration page or paste the content that was copied to the clipboard if you selected the Copy configuration to clipboard button from the Service points (v4) configuration page. - Add a Metadata field with the key set as
user-data-encoding
and value set asbase64
.Note: If you selected the Copy configuration to clipboard button after creating the service point in the Edge Cloud Instance, paste the content into theuser-data
value and do not add theuser-data-encoding
metadata field. - Add a Metadata field with the key set as
serial-port-enable
and value set asTRUE
.
- Add a Metadata field with the key set as
- Click Create.
Once you have provisioned the Service Point v4 VM, you can deploy DNS resolver service. For more information, refer to DNS resolver services.
For more information on the Service Point v4 telemetry APIs, refer to Service Point v4 Telemetry APIs.