<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Identify and Deploy Specific PAN-OS Versions of VM-Series on Google Cloud in General Articles</title>
    <link>https://live.paloaltonetworks.com/t5/general-articles/identify-and-deploy-specific-pan-os-versions-of-vm-series-on/ta-p/560078</link>
    <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="LIVEcommunity_PAN-OS-Versions_palo-alto-networks.jpg" style="width: 960px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/54126i60799709FEC66043/image-size/large?v=v2&amp;amp;px=999" role="button" title="LIVEcommunity_PAN-OS-Versions_palo-alto-networks.jpg" alt="LIVEcommunity_PAN-OS-Versions_palo-alto-networks.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;There are a fair few ways to deploy the Palo Alto Networks &lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;VM-Series Next Generation Firewall&lt;/FONT&gt; &lt;/STRONG&gt;appliances on &lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;Google Cloud&lt;/FONT&gt;&lt;/STRONG&gt;, the recommended method to do the same is described in detail on the Palo Alto Networks official documentation &lt;/SPAN&gt;&lt;A href="https://docs.paloaltonetworks.com/vm-series/11-0/vm-series-deployment/set-up-the-vm-series-firewall-on-google-cloud-platform/create-a-custom-vm-series-firewall-image-for-google-cloud-platform" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;here&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;. There are a couple of restrictions with the official documentation, which are there only to ensure that only the qualified stable versions of VM-Series can be deployed, over which the user can upgrade to the desired version.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This article will provide an alternative method to identify exact versions of the VM-Series NGFW directly without having to either upgrade or create a new base image. In this article, we will look at how to identify the VM-Series versions based on the PAN-OS version and licensing model, how to deploy a specific version of VM-Series and then also how we can deploy the same through automation.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;Finding Your Desired VM-Series Image Version&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;All the official VM-Series images on Google Cloud can be found in the public Palo Alto Networks project, “&lt;EM&gt;paloaltonetworksgcp-public&lt;/EM&gt;”. We can list the images by running the below command;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;gcloud compute images list --project paloaltonetworksgcp-public --filter "name=vmseries-flex-"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Now, this command will list all the public images that have “vmseries”in their names, and that is a lot of images. So in order to identify what we are looking for, let us break down one of the image names, “vmseries-flex-byol-1022h2”, by splitting the name on the ‘-’;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;STRONG&gt;vmseries&lt;/STRONG&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;This is, of course, the prefix that denotes the appliance itself.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;STRONG&gt;flex&lt;/STRONG&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;This denotes the images that were created after Palo Alto Networks migrated to the Flex Licensing model. Any VM-Series image that does not have “flex” on it is now rendered deprecated and not supported. Please read the &lt;/SPAN&gt;&lt;A href="https://docs.paloaltonetworks.com/vm-series/11-0/vm-series-deployment/license-the-vm-series-firewall/software-ngfw" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;Software NGFW Credits official documentation&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt; for more details.&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;STRONG&gt;byol&lt;/STRONG&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;This denotes the type of licensing for the VM-Series appliance. This can have 4 values;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;UL&gt;
&lt;LI style="font-weight: 400;" aria-level="2"&gt;&lt;SPAN&gt;byol – This denotes the &lt;/SPAN&gt;&lt;A href="https://console.cloud.google.com/marketplace/product/paloaltonetworksgcp-public/vmseries-flex-byol" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;BYOL&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt; (Bring Your Own License) type of licensing, one where you will need to have the Software NGFW Flex Credits to be able to license the firewalls deployed with this image.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="2"&gt;&lt;SPAN&gt;bundle1 – &lt;/SPAN&gt;&lt;A href="https://console.cloud.google.com/marketplace/product/paloaltonetworksgcp-public/vmseries-flex-bundle1" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;Bundle1&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt; includes the standard NGFW PAYG license, subscription to Threat Prevention and Premium Support&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="2"&gt;&lt;SPAN&gt;bundle2 – &lt;/SPAN&gt;&lt;A href="https://console.cloud.google.com/marketplace/product/paloaltonetworksgcp-public/vmseries-flex-bundle2" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;Bundle2&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt; includes the standard NGFW PAYG license, subscriptions to Threat Prevention, DNS Security, WildFire, URL Filtering (PAN-DB), GlobalProtect and Premium Support&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="2"&gt;&lt;SPAN&gt;bundle3 – &lt;/SPAN&gt;&lt;A href="https://console.cloud.google.com/marketplace/product/paloaltonetworksgcp-public/vmseries-payg-bundle3" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;Bundle3&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt; includes the standard NGFW PAYG license, subscriptions to Advanced Threat Prevention, WildFire, Advanced URL Filtering (PAN-DB), GlobalProtect and Premium Support.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;STRONG&gt;1022h2&lt;/STRONG&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;SPAN&gt;This is the PAN-OS version. This version specifically is the “10.2.2-h2” PAN-OS version. Some more examples of the versions are;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;UL&gt;
&lt;LI style="font-weight: 400;" aria-level="2"&gt;&lt;SPAN&gt;1100 – 11.0.0&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="2"&gt;&lt;SPAN&gt;9114h4 – 9.1.14-h4&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;So, now if I want to find the BYOL image for VM-Series version 11.0.2, I would use the command as shown below;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;shv@cloudshell:~ (tme-demo-sandbox)$ gcloud compute images list --project paloaltonetworksgcp-public --sort-by "~creationTimestamp" --filter "name='vmseries-flex-byol-1102'" --format "value(NAME)"
vmseries-flex-byol-1102&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You could list all the images for a specific version as well.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;shv@cloudshell:~ (tme-demo-sandbox)$ gcloud compute images list --project paloaltonetworksgcp-public --sort-by "~creationTimestamp" --filter "name~'vmseries-flex-.*-1102'" --format "value(NAME)"
vmseries-flex-bundle3-1102
vmseries-flex-bundle2-1102
vmseries-flex-bundle1-1102
vmseries-flex-byol-1102&lt;/LI-CODE&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;H2&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;Deploying VM-Series With Your Desired PAN-OS Version&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Now that we can identify the right image, all the remains to be done is deploy. You can do that through gcloud CLI, for example,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;gcloud compute images create vmseries-flex-byol-1102 \
-–image-project=paloaltonetworksgcp-public \ --image=vmseries-flex-byol-1022 \
--zone=us-central1-a 
--network-interface \
--network=mgmt-vpc,--subnet=mgmt-subnet, address=’’ \
…
--network-interface \
--network=untrust-vpc,--subnet=untrust-subnet, address=’’ \
…
--network-interface \
--network=trust-vpc,--subnet=trust-subnet, address=’’ \
…&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, If you would like to deploy VM-Series using the GCP console, then you would first need to copy the image to your project, so that it can then be used to deploy the VM-Series instance. You can copy the image using the below gcloud CLI.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;gcloud compute images create vmseries-flex-byol-1102 --project=my-google-project --source-image=vmseries-flex-byol-1022 --source-image-project=paloaltonetworksgcp-public&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;Deploy VM-Series Through Terraform Automation&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;There are two ways to identify the image to use as the source for the VM-Series compute instance to be deployed.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;Using Data Source&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;&lt;SPAN&gt;You could fetch the image details using the “google_compute_image” data source in Terraform.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;data "google_compute_image" "vmseries" {
  name    = “vmseries-flex-byol-1102”
  project = "paloaltonetworksgcp-public"
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Then use the data source to provide the image URI to the “boot_disk” section of “google_compute_instance” resource block.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;resource "google_compute_instance" "this" {
  … # All the other compute instance configuration

  boot_disk {
    initialize_params {
      image = data.google_compute_image.vmseries[0].self_link
      type  = var.disk_type
    }
  }
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;Using Image URI&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;&lt;SPAN&gt;You could also fetch the image URI directly using the gcloud command as shown below.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;gcloud compute images list --project paloaltonetworksgcp-public --filter "name='vmseries-flex-byol-1102'" --uri&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You will get the whole URI link as shown below.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;shv@cloudshell:~ (tme-demo-sandbox)$ gcloud compute images list --project paloaltonetworksgcp-public --filter "name='vmseries-flex-byol-1102'" --uri
https://www.googleapis.com/compute/v1/projects/paloaltonetworksgcp-public/global/images/vmseries-flex-byol-1102&lt;/LI-CODE&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This URI can then be used directly for the value for “image” under “boot_disk” params as shown below.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;resource "google_compute_instance" "this" {
  … # All the other compute instance configuration

  boot_disk {
    initialize_params {
      image = “https://www.googleapis.com/compute/v1/projects/paloaltonetworksgcp-public/global/images/vmseries-flex-byol-1102”
      type  = var.disk_type
    }
  }
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;&lt;STRONG&gt;&lt;FONT size="5" color="#FF6600"&gt;Conclusion&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In this document, we saw how you can identify the exact images for the VM-Series version that you need from the public Palo Alto Networks GCP Image repository. We also saw how we could then use that information to deploy VM-Series on your Google Cloud environments. I hope that this was informative for you, Thank you for reading!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Wed, 04 Oct 2023 16:54:18 GMT</pubDate>
    <dc:creator>shv</dc:creator>
    <dc:date>2023-10-04T16:54:18Z</dc:date>
    <item>
      <title>Identify and Deploy Specific PAN-OS Versions of VM-Series on Google Cloud</title>
      <link>https://live.paloaltonetworks.com/t5/general-articles/identify-and-deploy-specific-pan-os-versions-of-vm-series-on/ta-p/560078</link>
      <description>&lt;P&gt;&lt;SPAN&gt;In this article, we will look at how to identify the VM-Series versions based on the PAN-OS version and licensing model, how to deploy a specific version of VM-Series and then also how we can deploy the same through automation.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LIVEcommunity_PAN-OS-Versions_palo-alto-networks.jpg" style="width: 960px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/54127i818CE878B1332215/image-size/large?v=v2&amp;amp;px=999" role="button" title="LIVEcommunity_PAN-OS-Versions_palo-alto-networks.jpg" alt="LIVEcommunity_PAN-OS-Versions_palo-alto-networks.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 16:54:18 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-articles/identify-and-deploy-specific-pan-os-versions-of-vm-series-on/ta-p/560078</guid>
      <dc:creator>shv</dc:creator>
      <dc:date>2023-10-04T16:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Identify and Deploy Specific PAN-OS Versions of VM-Series on Google Cloud</title>
      <link>https://live.paloaltonetworks.com/t5/general-articles/identify-and-deploy-specific-pan-os-versions-of-vm-series-on/tac-p/561181#M676</link>
      <description>&lt;P&gt;Very helpful guide, really cool!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 02:24:22 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-articles/identify-and-deploy-specific-pan-os-versions-of-vm-series-on/tac-p/561181#M676</guid>
      <dc:creator>Danielma911</dc:creator>
      <dc:date>2023-10-11T02:24:22Z</dc:date>
    </item>
  </channel>
</rss>

