Install Panorama on Google Cloud Platform

How to deploy a Panorama™ virtual appliance and a virtual Dedicated Log Collector on Google Cloud Platform (GCP).
You can now deploy Panorama™ and a Dedicated Log Collector on Google Cloud Platform (GCP). Panorama deployed on GCP is Bring Your Own License (BYOL), supports all deployment modes (Panorama, Log Collector, and Management Only), and shares the same processes and functionality as the M-Series hardware appliances. For more information on Panorama modes, see Panorama Models.
To deploy the Panorama virtual appliance on GCP, you need to build a custom image. To begin this process, you must download the Panorama tar.gz from the Palo Alto Networks Customer Support portal and upload it to a GCP storage bucket. You can then create the custom image and use the image to deploy the Panorama virtual appliance on GCP.
  1. Download the Panorama virtual appliance image.
    1. Log in to the Palo Alto Networks Support Portal.
    2. Select UpdatesSoftware Updates and filter by Panorama Base Images.
    3. Download the latest version of the Panorama on GCP tar.gz image.
  2. Upload the Panorama virtual appliance image to the Google Cloud Platform.
    1. Log in to the Google Cloud Console.
    2. From the Products and Services menu, select Storage.
    3. Click Create Bucket, configure the new storage bucket and click Create.
      gcp-create-bucket.png
    4. Select the storage bucket you created in the previous step, click Upload files, and select the Panorama virtual appliance image you downloaded.
      gcp-upload-image-bucket.png
    5. From the Products and Services menu, select Compute EngineImages.
    6. Click Create Image and create the Panorama virtual appliance image:
      1. Name the Panorama virtual appliance image.
      2. In the Source field, select Cloud Storage file from the drop-down menu.
      3. Click Browse and navigate to the storage bucket where you uploaded the Panorama virtual appliance image, and Select the uploaded image.
      4. Create the Panorama virtual appliance image.
      gcp-create-image.png
  3. Configure the Panorama virtual appliance.
    1. From the Products and Services menu and select the Compute Engine.
    2. Click Create Instance to begin deploying the Panorama virtual appliance.
    3. Add a descriptive Name to easily identify the Panorama virtual appliance.
    4. Select the Region and Zone where you want to deploy the Panorama virtual appliance.
    5. Allocate the Machine Type and Customize the CPU cores, memory and CPU platform. Review the Setup Prerequisites for the Panorama Virtual Appliance for minimum resource requirements.
      If you plan to use the Panorama virtual appliance as a Dedicated Log Collector, ensure that you configure the appliance with the required resources during initial deployment. The Panorama virtual appliance does not remain in Log Collector mode if you resize the virtual machine after you deploy it, and this results in a loss of log data.
      The GCP zone selection determines the CPU platforms available to you. For more information, refer to Regions and Zones for details.
      gcp-config-vm.png
    6. For the Boot Disk, click ChangeCustom image, select the Panorama image file you uploaded in Step 2, and click Select.
    7. Under Identity and API access, select Allow full access to all Cloud APIs.
      gcp-enable-api.png
    8. Under Firewall, select Allow HTTPS traffic.
      gcp-allow-https.png
  4. Expand Management, security, disks, networking, sole tenancy gcp-management-disks-networking-sshkeys.png .
  5. Enable access to the serial port so you can manage the Panorama virtual appliance.
    1. Select Management.
    2. Enter the following name-value pair as Metadata:
      serial-port-enable true
    gcp-metadata.png
  6. Reserve a static IP address for the management interface.
    Reserve static internal and external IP addresses for the management interface in the event that if the Panorama virtual appliance is rebooted, your managed devices do not lose connection to the Panorama virtual appliance when the IP addresses are reassigned.
    For more information on how to reserve IP addresses, refer to Reserving a Static Internal IP Address and Reserving a Static External IP Address.
    Only the single management interface is supported for log collection and device management.
    1. Select Networking.
    2. Edit the network interface.
      gcp-edit-network-interface.png
    3. Select the Panorama virtual appliance Network.
    4. Select the Panorama virtual appliance Subnetwork. Instances in the same subnetwork will communicate with each other using their internal IP addresses.
    5. Set the Primary internal IP address.
      • Ephemeral (Automatic)— Automatically assign a primary internal IP address.
      • Ephemeral (Custom)—Configure a custom IP range that GCP uses to assign a primary internal IP address.
      • Reserve a static internal IP address—Manually configure a static primary internal IP address.
    6. Set the External IP address.
      • Ephemeral—Automatically assign an external IP address from a shared IP pool.
      • Select an existing reserved external IP address.
      • Create IP address—Reserve an external IP address.
    7. Set IP forwarding to On to allow the Panorama virtual appliance to receive packets from non-matching destinations or source IP addresses.
    gcp-network-interface.png
  7. Configure the SSH key. You need an SSH key to access the Panorama virtual appliance CLI to configure the administrative user password after the initial deployment.
    1. Select Security.
    2. Select the Block project-wide SSH keys box. Only instance keys are currently supported for logging in to the Panorama virtual appliance after initial deployment.
    3. Paste the SSH key in the comment box. For information on the correct SSH key format and how to generate SSH keys for GCP, refer to Managing SSH keys in Metadata.
      When generating the SSH key, save the private key in .ppk format. The private key is required to log in to the Panorama virtual appliance after the initial deployment before you can configure the administrative password.
      gcp-ssh-key.png
  8. (Panorama and Log Collector mode) Add additional storage for log collection. Repeat this step as needed to add additional virtual logging disks.
    If you intend to use the Panorama virtual appliance in Panorama mode or as a Dedicated Log Collector, add the virtual logging disks during initial deployment. By default, the Panorama virtual appliance is in Panorama mode for the initial deployment when you meet the Panorama mode resource requirements and have added at least one virtual logging disk. Otherwise, the Panorama virtual appliance defaults to Management Only mode in which you can manage devices and Dedicated Log Collectors, and cannot collect logs locally.
    The Panorama virtual appliance on GCP only supports 2TB logging disks, and in total supports up to 24TB of log storage. You are unable to add a logging disk smaller than 2TB, or a logging disk with a size not divisible by the 2TB logging disk requirement. The Panorama virtual appliance partitions logging disks larger than 2TB into 2TB partitions.
    1. Select DisksAdd new disk.
      gcp-create-disk.png
    2. Enter the Name.
    3. Expand the Type drop-down menu and select the desired type.
    4. For the Source type, select Blank disk.
    5. For the Mode, select Read/write.
    6. Select the Deletion rule to configure whether to delete the virtual logging disk if the Panorama virtual appliance instance is deleted. To
    7. Set the Size (GB) of the virtual logging disk.
    8. Set your preferred Encryption solution for the data on the virtual logging disk.
    9. Click Done.
      gcp-config-disk.png
  9. Create the Panorama virtual appliance. The Panorama virtual appliances takes roughly 10 minutes to boot up after initial deployment.
  10. Configure a new administrative password for the Panorama virtual appliance.
    You must configure a unique administrative password before you can access the web interface of the Panorama virtual appliance. To access the CLI, use the private key to launch the Panorama virtual appliance.
    • If you have an SSH service installed on your computer:
    1. Enter the following command to log into the Panorama virtual appliance:
      ssh -i <private_key.ppk> admin@<public-ip_address>
    2. Configure a new password using the following commands and follow the onscreen prompts:
      admin> configure
      admin# set mgt-config users admin password
    3. If you have a BYOL that you need to, set the DNS server IP address so that the Panorama virtual appliance can access the Palo Alto Networks licensing server. Enter the following command to set the DNS server IP address:
      admin# set deviceconfig system dns-setting servers primary <ip_address>
    4. Commit your changes:
      admin# commit
    5. Terminate the SSH session.
    • If you are using PuTTY to SSH into the Panorama virtual appliance:
    1. If you are using an existing key pair and have the .ppk file available, continue to Step 11.3. If you created a new key pair or only have the .pem file of the existing key pair, open PuTTYgen and Load the .pem file.
    2. Save the private key to a local accessible destination.
    3. Open PuTTY and select SSHAuth and Browse for the .ppk file saved in the previous step.
      browse-ppk.png
    4. Select Sessions and enter the public IP address of the Panorama virtual appliance. Then Open and click Yes when the security prompt appears.
    5. Login as admin when prompted.
    6. Configure a new password using the following commands and follow the on screen prompts:
      admin> configure
      admin# set mgt-config users admin password
    7. Set the DNS server IP address so that the Panorama virtual appliance can access the Palo Alto Networks licensing server. Enter the following command to set the DNS server IP address:
      admin# set deviceconfig system dns-setting servers primary <ip_address>
    8. Commit your changes with the command:
      admin# commit
    9. Terminate the SSH session.
  11. Activate the device management license and support license on the Panorama virtual appliance.
  12. Complete configuring the Panorama virtual appliance for your deployment needs.

Related Documentation