Cloud-Init is automatically installed when you deploy BIG-IP® VE.
You can use Cloud-Init to initiate bash scripts (including tmsh commands) to perform tasks, like creating a virtual server or pool.
In your scripts, you can also call a cloud provider's metadata service to get attributes you might need when running commands. For example, you can query the service to return the hostname, which you can then use to populate values in BIG-IP VE.
!/bin/bash hostname=$(curl http://169.254.169.254/latest/meta-data/hostname) echo $hostname
F5 provides AWS Cloud Formation Templates (CFTs), which include scripts that are run by Cloud-Init. These scripts query the metadata service to populate specific values in the CFT. For more information about CFTs provided by F5, go to https://github.com/F5Networks.
Cloud-Init version 0.7.2 is automatically installed when you use BIG-IP® VE on the following hypervisors.
The following data sources are supported in this version of BIG-IP® VE.
The following Cloud-Init modules are supported on all hypervisors and clouds in this version of BIG-IP® VE.
localhost notice 10virtual-platform.sysinit: Enabled service cloud-init-local localhost notice 10virtual-platform.sysinit: Enabled service cloud-init localhost notice 10virtual-platform.sysinit: Enabled service cloud-config localhost notice 10virtual-platform.sysinit: Enabled service cloud-final