Applies To:Show Versions
BIG-IQ Centralized Management
Create an AWS Image of BIG-IQ Centralized Management VE
How do I create an AWS image (AMI) of a BIG-IQ VE?
If you are in a region that doesn't have access to an AWS marketplace, you can download a BIG-IQ VE image and use it to create an AWS machine image (AMI). This AMI is a BIG-IQ VE image in a Linux instance in your AWS EC2 service. You can use the AMI you create exactly as you would an AMI downloaded from the AWS to create instances of BIG-IQ virtual edition.
To create an AMI, you complete these tasks:
Create a staging Linux instance in your AWS environment, and then copy the tar file to its default volume and unzip it on the secondary volume.
Create a secondary Linux instance, and attach the staging Linux's volume to the secondary Linux instance's boot volume.
Create the AMI on the secondary Linux instance. You'll use that AMI as the source for creating BIG-IQ VE instances.
To complete these tasks, you'll need access to the AWS Management Console using SSH.
Create a Linux instance and copy the BIG-IQ tar file to it
Download the AWS BIG-IQ VE tar file from downloads.f5.com.
The file content can be as much as 5 GB compressed and includes the version number as part of its name. For example: AWS-F5_Networks-BIG-IQ-VERSION-standard-xxx.tar.gz
Log in to the AWS Management Console and launch a
new Linux staging instance (for example, the Amazon Linux AMI https://aws.amazon.com/amazon-linux-ami) with the following attributes:
- The instance's storage should have enough free space to contain the downloaded BIG-IQ image. We recommend using an i3.xlarge or larger instance.
- During configuration, choose these settings:
- Size: 32 GiB
- Volume Type: Provisioned IOPS SSD (1)
- IOPS: 1600.
- To prevent SSH timeouts, in SSH, from the SSH Connections menu, change the Seconds between keepalives setting to 90.
Using SSH, connect to the Linux staging
For the Amazon Linux AMI, the user name is ec2-user.
Type the following SSHSecure copy (SCP) command
to copy the tar file to the staging instance's default volume.
For example:scp -i <path_to_instance_ssh_key> <path_to_bigiq_tar_file> ec2-user@staging_instance_ip:/tmp
When the command finishes, stop the instance from
the AWS Console.
Warning: Do not stop the instance from SSH.
Create an empty volume and attach it to the staging Linux instance
- From the AWS Management Console, create a 500GB volume.
Attach the volume to the staging Linux instance using the device name /dev/xvdc.
When you're ready to attach the volume, your screen should look similar to this.
- Start the staging Linux instance.
From SSH, connect and run the appropriate command to unzip and copy the files
to the new volume.
Note: This process can take quite some time.
- If you have pv utility installed, type: tar -zxOf AWS-F5_Networks-BIG-IQ-VERSION-standard-xxx.tar.gz | pv =bt | sudo dd bs=1M of=/dev/xvdc
- If you do not have the pv utility installed, type: AWS-F5_Networks-BIG-IQ-VERSION-standard-xxx.tar.gz | sudo dd bs=1M of=/dev/xvdc AWS-F5_Networks-BIG-IQ-VERSION-standard-xxx.tar.gz | sudo dd bs=1M of=/dev/xvdc
When the command finishes, stop this instance from the AWS Console.
Warning: Do not stop the instance from SSH.
Detach the volume from the staging instance and
then terminate the instance.
Important: If you do not terminate the instance, you might incur unexpected costs associated with the instance.The unattached volume is now accessible under ELASTIC BLOCK STORE on the AWS EC2 Dashboard.
Create a second Linux instance and attach the staging Linux's volume to its boot volume
- From the AWS Management Console, launch a new Linux instance (HVM with at least 4 vCPUs and 8 GiB of RAM).
- When the new instance is ready, stop the instance.
Detach the root volume from this new instance.
This removes the OS boot volume. After you do this, this instance will have no available volumes.
the staging Linux instance's volume to the new instance using the device name /dev/xvda.
Warning: Do not start this instance.When you're ready to attach the volume, your screen should look similar to this.When the attach
Create the Amazon Machine Image for the BIG-IQ VE source
- From the AWS Management Console under Instances, right click .
Change all Volume Types to General Purpose SSD
This sets all of the default volume types to GP2 for future instances launched from this AMI.
You can now use this AMI to create instances of BIG-IQ virtual edition.