F5 Public Cloud Solutions > F5 in Google Cloud Platform > F5 in Google Cloud Platform Source | Edit on
Hands-on Labs¶
Google deployment templates used to deploy the F5 BIG-IPs https://bit.ly/2LDV0Nw
Replace X with the number provided to you by the proctor
Connect as ssh -i userX userX@<instance-X> (<instance-X is an IP address that will be provided to you by the proctor; each student will get his/her own IP address)
Lab 1. Deploy 3-NIC F5 BIG-IP using deployment templates¶
…and replace the license with the one provided by the proctor.
Replace X with the number provided to you by the proctor:
Example for user 35
If you get an error saying that the deployment already exists , you just need to change the deployment name (“bigipuser35lab” in the example above).
Attention
Please just keep “bigipuserX” (replace X with the number assigned to you by the proctor) as part of the name so that we can quickly identify your instances.
After 2 minutes or so, search “compute engine instances” and select “Instances – Compute Engine” as shown below.

Filter by “userX” to find your 3-NIC F5 BIG-IP instance.
Example for user 35:

Click on the instance name (“bigipuser35lab” in the example above) to find the F5 BIG-IP’s management IP.

Write down the management IP of your 3-NIC F5 BIG-IP (screenshot above).
You can now connect to F5 BIG-IP management GUI using https:<F5 BIG-IP’s public IP in GCP> as admin. The password is the one set by the Google deployment template.


Short procedure to deploy F5 active/active and active/standby (not part of the hands-on labs)
- Deploy 2 F5 BIG-IP using Google deployment templates
1a. Download the Google deployment templates
1b. Edit f5-existing-stack-byol-3nic-changedmgmt-bigip.yaml to fit your environment
1c. Deploy two F5 BIG-IPs
- Get the F5 BIG-IPs’ IP addresses
NAME ZONE MACHINE_TYPE PREEMPTIBLE INTERNAL_IP EXTERNAL_IP STATUS marcactive1 us-west1-a n1-standard-4 10.10.1.17,10.10.3.26,10.10.2.12 35.197.61.85,35.233.218.10,35.203.135.211 RUNNING marcactive2 us-west1-a n1-standard-4 10.10.1.18,10.10.3.27,10.10.2.13 35.227.174.29,35.227.157.60,104.198.105.51 RUNNING![]()
The Google deployment template we used above creates F5 BIG-IPs with NICs in the following order: external, internal and management. So, 10.10.1.x is F5 BIG-IP external, 10.10.3.x is F5 BIG-IP internal, 10.10.2.x is F5 BIG-IP management
Connect to and configure the first F5 BIG-IP
At this point, you should see: [admin@marcactive1:Active:Standalone] ~ #
Attention
In a prod env, “allow custom” specifying just the ports you need would be best. These ports are shown at https://support.f5.com/csp/article/K13946
Extract:
Device group members should be able to communicate over ports 443, 4353, 1026 (UDP), and 22 (recommended). BIG-IP ASM requires the following additional Policy Sync TCP ports: 6123-6128. 6699 is also for communication channel between peers.
- Connect to and configure the second F5 BIG-IP
At this point, you should see: [admin@marcactive2:Active:Standalone] ~ #
Create the trust domain
On the first F5 BIG-IP:
Attention
Escape any special characters in the password.
At this point, you should see:
NOTE: We use the BIG-IP management IP to create the trust domain (10.10.2.x in this example). The actual communication for failover and configsync uses the BIG-IP internal IP (10.10.3.x in this example).
Create the device group
On the first F5 BIG-IP:
Attention
The above command create a device group of type “sync-failover” as expected but doesn’t seem to set “sync type” = “automatic with incremental sync”. You can do this from the Configuration utility, navigate to Device Management > Device Groups, select the device group from the list, and change the Sync Type setting to Automatic with Incremental Sync).
At this point, you should see:
Start the initial sync
On the first F5 BIG-IP:
- On both F5 BIG-IP, run
At this point, you should see:
If you want to make this cluster active/standby :
On the first F5 BIG-IP:
- If you want to make this cluster active/active again
On the first F5 BIG-IP:
On the second F5 BIG-IP: