Set Up Panorama on Oracle Cloud Infrastructure (OCI)
Focus
Focus
Panorama

Set Up Panorama on Oracle Cloud Infrastructure (OCI)

Table of Contents

Set Up Panorama on Oracle Cloud Infrastructure (OCI)

Set up and install a Panorama™ virtual appliance on Oracle Cloud Infrastructure (OCI).
Where Can I Use This?What Do I Need?
  • NGFW (Managed by Panorama)
  • Device management licence
  • Support license
  • Panorama Virtual Appliance license (serial number)
  • Customer Support Portal (CSP) Account
Set up a Panorama™ virtual appliance on Oracle Cloud Infrastructure (OCI) to centrally managed the configuration of physical and VM-Series firewalls.

Upload the Panorama Virtual Appliance Image to OCI

Complete the following procedure to upload a Panorama qcow2 file for KVM and create a custom image that you need to launch the Panorama virtual appliance. Uploading and creating the image is required only once. You can use the same image for all subsequent deployments of the Panorama virtual appliance.
  1. Download the Panorama qcow2 file for KVM from the Palo Alto Networks Customer Support Portal (CSP).
    1. Log in to the Palo Alto Networks CSP.
    2. Select UpdatesSoftware Updates and select Panorama Base Images from the software updates filter drop-down.
    3. Download the latest version of the Panorama-KVM qcow2 image.
  2. Log in to the Oracle Cloud Infrastructure console.
  3. Create a storage bucket for the qcow2 file.
    1. Select Object StorageObject Storage and Create Bucket.
    2. Enter a descriptive Bucket Name.
    3. For the Storage Tier, select Standard.
    4. Create Bucket.
  4. Upload the qcow2 image to the OCI storage bucket.
    1. Click the storage bucket you created in the previous step to view the bucket details.
    2. Click Upload and select the qcow2 image you downloaded from the Palo Alto Networks CSP.
    3. Upload the image.
  5. Create a pre-authenticated request for the qcow2 file.
    This is required to create the object URL used in the creation of the custom image for the Panorama virtual appliance.
    1. Select Object StorageObject Storage and click the storage bucket you created in the previous step.
    2. Select Pre-Authenticated RequestsCreate Pre-Authenticated Request.
    3. Enter a descriptive Name for your Pre-Authenticated Request.
    4. Select Object and enter the qcow2 image name for the Object Name.
    5. Create Pre-Authenticated Request.
    6. For the Access Type, select Permit object reads and writes.
    7. Enter an Expiration date and time.
    8. Create Pre-Authenticated Request.
    9. In the Pre-Authenticated Request Details, copy the Pre-Authenticated Request URL.
      The Pre-Authenticated Request URL is required to create the custom image and must be copied when displayed to you.
      The Pre-Authenticated Request URL is only displayed after the request is created and is not shown again.
    10. Close the Pre-Authenticated Request Details after you copy the URL.
  6. Import the qcow2 file and create a custom Panorama virtual appliance image.
    1. Select ComputeCustom Images and Import Image.
    2. Enter a descriptive Name for your image.
    3. Select Import from an Object Storage URL and paste the object storage URL.
    4. For the Image type, select QCOW2.
    5. For the Launch Mode, select Paravirtualized Mode.
    6. Import Image.

Install Panorama on Oracle Cloud Infrastructure (OCI)

Create a Panorama™ virtual appliance instance on Oracle Cloud Infrastructure (OCI). An OCI instance supports a single NIC by default. You must manually upload a Panorama virtual appliance qcow2 image downloaded from the Palo Alto Networks Customer Supported Portal (CSP) to OCI to successfully install the Panorama virtual appliance on OCI.
A Panorama virtual appliance deployed on OCI 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.
A machine running a Linux operating system is required successfully install the Panorama on OCI. To successfully install Panorama on OCI, you must generate a .pub key using OpenSSH. Additionally, you can only use a Linux machine to log into the Panorama CLI for the initial network configuration.
Review the Setup Prerequisites for the Panorama Virtual Appliance to determine the virtual resources required for your needs. The virtual resources requirement for the Panorama virtual appliance is based on the total number of firewalls managed by the Panorama virtual appliance and the required Logs Per Second (LPS) for forwarding logs from your managed firewalls to your Log Collector.
Under-provisioning the Panorama virtual appliance will impact management performance. This includes the Panorama virtual appliance becoming slow or unresponsive depending on how under-provisioning the Panorama virtual appliance is.
  1. Log in to the Oracle Cloud Infrastructure console.
  2. Set up the Virtual Cloud Network (VCN) for your network needs.
    Whether you launch the Panorama virtual appliance in an existing VCN or you create a new VCN, the Panorama virtual appliance must be able to receive traffic from other instances in the VCN and perform inbound and outbound communication between the VCN and the internet as needed.
    Refer to the OCI VCN documentation for more information.
    1. Configure a VCN or use an existing VCN.
    2. Verify that the network and security components are appropriately defined.
      • Create an internet gateway to enable internet access to the subnet of your Panorama virtual appliance. Internet access is required to install software and content updates, activate licenses, and leverage Palo Alto Networks cloud services. Otherwise, you must manually install updates and activate licenses.
        If the Panorama virtual appliance instance is part of a private subnet, you can configure a NAT gateway to enable only outbound internet access for the subnet.
      • Create subnets. Subnets are segments of the IP address range assigned to the VCN in which you can launch OCI instances. It is recommended that the Panorama virtual appliance belong to the management subnet so that you can configure it to access the internet if needed.
      • Add routes to the route table for a private subnet to ensure traffic can be routed across subnets in the VCN and from the internet if applicable.
        Ensure you create routes between subnets to allow communication between:
        • Panorama, managed firewalls, and Log Collectors.
        • (Optional) Panorama and the internet.
      • Ensure that the following ingress security rules are allowed for the VCN to manage VCN traffic. The ingress traffic source for each rule is unique to your deployment topology.
        See Ports Used for Panorama for more information.
        • Allow SSH (port 22) traffic to enable access to the Panorama CLI.
        • Allow HTTPS (port 443 and 28270) traffic to enable access to the Panorama web interface.
        • Allow traffic on port 3978 to enable communication between Panorama, manage firewalls, and managed Log Collectors. This port is also used by Log Collectors to forward logs to Panorama.
        • Allow traffic on port 28443 to enable managed firewalls to get software and content updates from Panorama.
  3. Select ComputeInstances and Create Instance.
  4. Enter a descriptive Name for the Panorama virtual appliance image.
  5. Select the Availability domain.
  6. Select the Palo Alto Networks Panorama image.
    See Upload the Panorama Virtual Appliance Image to OCI to upload and maintain your own Panorama virtual appliance Custom Image on OCI.
    1. Under Image and shape, select Change Image.
    2. For the Image Source, select Partner Image.
      If you maintain your own Panorama virtual appliance image, select Custom Image instead and select the Panorama virtual appliance image you uploaded to OCI.
    3. Search for Palo Alto Networks Panorama and select (check) the image.
      Skip this step if you selected Custom Image in the previous step.
      PAN-OS 10.2.0 is the default PAN-OS version.
    4. Select Image.
  7. Configure the instance resources.
    Refer to the Setup Prerequisites for the Panorama Virtual Appliance for more information for the minimum resources required based on your Panorama usage needs.
    1. Under Image and shape, select Change Shape.
    2. Select the shape with number of CPUs, amount of RAM, and number of interfaces you require.
    3. Select Shape.
  8. Configure the instance Networking settings.
    1. For the Network, Select existing virtual cloud network and select the VCN.
    2. For the Subnet, Select existing subnet and select the subnet.
      It is recommended to deploy the Panorama virtual appliance instance in a management subnet to safely allow internet access if needed.
    3. (Optional) For the Public IP Address, select Assign a public IPv4 address if you want to make the Panorama virtual appliance accessible from outside the VCN.
  9. Configure the Panorama virtual appliance instance boot volume.
    1. For the Boot volume, specify a custom boot volume size.
    2. For the Boot volume size, enter 81.
  10. Create the Panorama virtual appliance image.
  11. Log in to the Panorama virtual appliance CLI from the OCI console.
    1. In the OCI console, select Instances and select the Panorama virtual appliance instance.
    2. Select Console Connection and Create Console Connection.
    3. Select Upload public key files (.pub) and upload the public SSH key you generated to Create Console Connection.
    4. In the Instance Details screen, expand the Console Connection options and Copy Serial Connection for Linux/Mac.
    5. On your Linux machine, open a terminal and paste the serial connection.
  12. Configure a new administrative password for the Panorama virtual appliance.
    You must configure a unique administrative password before you can access the web interface or CLI of the Panorama virtual appliance. The new password must be a minimum of eight characters and include a minimum of one lowercase character, one uppercase character, and one number or special character.
    When you first log in to the Panorama CLI, you are prompted to enter the Old Password and the New Password for the admin user before you can continue.
  13. Configure the system IP address settings for the Panorama virtual appliance.
    1. Configure the initial network settings for the Panorama virtual appliance.
      admin> configure
      admin# set deviceconfig system type static
      admin# set deviceconfig system ip-address <instance-private-IP address> netmask <netmask> default-gateway <default-gateway-IP>
      admin# set deviceconfig system dns-setting servers primary <primary-dns-IP>
      admin# set deviceconfig system dns-setting servers secondary <secondary-dns-IP>
      admin# commit
    2. Verify you can log in to the Panorama web interface.
      If you cannot log in to the Panorama web interface, review your route table and VCN security rules to ensure the correct routes and security rules are created.
  14. Register the Panorama virtual appliance and activate the device management license and support licenses.
    1. (VM Flex Licensing Only) Provisioning the Panorama Virtual Appliance Serial Number.
      When leveraging VM Flex licensing, this step is required to generate the Panorama virtual appliance serial number needed to register the Panorama virtual appliance with the Palo Alto Networks Customer Support Portal (CSP).
    2. Register Panorama.
      You must register the Panorama virtual appliance using the serial number provided by Palo Alto Networks in the order fulfillment email.
      This step is not required when leveraging VM Flex licensing as the serial number is automatically registered with the CSP when generated.
  15. Complete configuring the Panorama virtual appliance for your deployment needs.

Generate a SSH Key for Panorama on OCI

To connect to the Panorama™ virtual appliance installed on Oracle Cloud Infrastructure (OCI), you must generate a public and private SSH key on a Linux machine. You use the generated SSH key to log in to the Panorama CLI to set up a new administrative password and configure the Panorama network settings.
A Linux machine is required to generate the SSH key and access the Panorama CLI for the initial configuration. Generating a SSH from OCI or third-party applications such as PuTTygen is not supported.
  1. Open the terminal on your Linux machine.
  2. Navigate to the hidden .ssh directory.
    admin:~$ cd ~/.ssh
  3. Generate an SSH key in the .ssh directory.
    admin:~/.ssh$ ssh-keygen
    When prompted, save the key in the default .ssh directory. A password for the key is optional.
    The default name for the private key is id_rsa and the default name for the public key is id_rsa.pub.
  4. Copy the public key from the .ssh directory to your home directory.
    This step is required to upload the public key to OCI.
    admin: ~/.ssh$ cp id_rsa.pub ~