<?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>topic Re: Version 14.6, BYOI Bring Your Own Image, Background tasks in PAM Self-Hosted Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/version-14-6-byoi-bring-your-own-image-background-tasks/m-p/1422805#M89200</link>
    <description>&lt;P&gt;Hi @R K​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The OS comes from Azure marketplace &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will try to explain the background process&lt;/P&gt;&lt;P&gt;for an image build&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;When you run Payton script it reads component.json file which specifies details like the desired Azure OS base image, VM size, and target image name.&lt;/LI&gt;&lt;LI&gt;If you are using IaC tool, it will connect to Azure using its provider and will use your configured Azure Service Principal to authenticate with your Azure subscription.&lt;/LI&gt;&lt;LI&gt;Then it will It creates a&amp;nbsp;temporary resource group&amp;nbsp;in Azure for the build.&lt;/LI&gt;&lt;LI&gt;Afterward it pulls the specified base OS image from the Azure Marketplace.&lt;/LI&gt;&lt;LI&gt;Then it provisions a&amp;nbsp;temporary Azure Virtual Machine&amp;nbsp;using this OS image&lt;/LI&gt;&lt;LI&gt;IaC tool then connects to the temporary VM (via WinRM for Windows).&lt;/LI&gt;&lt;LI&gt;Then will runs a series of&amp;nbsp;PowerShell scripts&amp;nbsp;provided by CyberArk as part of their BYOI packages on this temporary VM.&lt;/LI&gt;&lt;LI&gt;That script will install application and it’s prerequisite, hardening on the VM&lt;/LI&gt;&lt;LI&gt;Then IaC will prepare a custom image &lt;/LI&gt;&lt;LI&gt;Then IaC tool will delete all the temporary Azure resources it created during the build.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will make your image ready, which you can deploy as a VM using Azure deployment tools or from&lt;/P&gt;&lt;P&gt;Azure console.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Jul 2025 07:57:14 GMT</pubDate>
    <dc:creator>M.Vora780263</dc:creator>
    <dc:date>2025-07-24T07:57:14Z</dc:date>
    <item>
      <title>Version 14.6, BYOI Bring Your Own Image, Background tasks</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/version-14-6-byoi-bring-your-own-image-background-tasks/m-p/1422804#M89199</link>
      <description>&lt;P&gt;Since version 14.6 CyberArk has stopped giving images for cloud deployment, instead encouraging BYOI(Bring Your Own Image)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a process of building image we got to fill in the info in a component json file as shown below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; "component": "vault",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; "managed_image_name": "CyberArk-Vault",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; "managed_image_resource_group_name": "PAMonCloudRG",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; "location": "westeurope",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; "vm_size": "Standard_D4s_v5",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; "managed_image_storage_account_type": "Premium_LRS",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; "os_disk_size_gb": 30,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; "disk_additional_size": [30],&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; "winrm_username": "packer",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; "image_publisher": "MicrosoftWindowsServer",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; "image_offer": "WindowsServer",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; "image_sku": "2019-datacenter-smalldisk-g2",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; "image_version": "latest",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; "managed_image_os_disk_snapshot_name": "",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; "managed_image_data_disk_snapshot_prefix": ""&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once a json is filled in we then need to run the python command as below&lt;/P&gt;&lt;P&gt;python3 azure-packer-build.py vault&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to understand the background process during this image build. e.g from where the OS will be picked up and packaged inside the image, from where the Vault package will be picked up and deployed in this bundled image etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 09:14:40 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/version-14-6-byoi-bring-your-own-image-background-tasks/m-p/1422804#M89199</guid>
      <dc:creator>R.Kanhere454603</dc:creator>
      <dc:date>2025-07-10T09:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Version 14.6, BYOI Bring Your Own Image, Background tasks</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/version-14-6-byoi-bring-your-own-image-background-tasks/m-p/1422805#M89200</link>
      <description>&lt;P&gt;Hi @R K​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The OS comes from Azure marketplace &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will try to explain the background process&lt;/P&gt;&lt;P&gt;for an image build&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;When you run Payton script it reads component.json file which specifies details like the desired Azure OS base image, VM size, and target image name.&lt;/LI&gt;&lt;LI&gt;If you are using IaC tool, it will connect to Azure using its provider and will use your configured Azure Service Principal to authenticate with your Azure subscription.&lt;/LI&gt;&lt;LI&gt;Then it will It creates a&amp;nbsp;temporary resource group&amp;nbsp;in Azure for the build.&lt;/LI&gt;&lt;LI&gt;Afterward it pulls the specified base OS image from the Azure Marketplace.&lt;/LI&gt;&lt;LI&gt;Then it provisions a&amp;nbsp;temporary Azure Virtual Machine&amp;nbsp;using this OS image&lt;/LI&gt;&lt;LI&gt;IaC tool then connects to the temporary VM (via WinRM for Windows).&lt;/LI&gt;&lt;LI&gt;Then will runs a series of&amp;nbsp;PowerShell scripts&amp;nbsp;provided by CyberArk as part of their BYOI packages on this temporary VM.&lt;/LI&gt;&lt;LI&gt;That script will install application and it’s prerequisite, hardening on the VM&lt;/LI&gt;&lt;LI&gt;Then IaC will prepare a custom image &lt;/LI&gt;&lt;LI&gt;Then IaC tool will delete all the temporary Azure resources it created during the build.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will make your image ready, which you can deploy as a VM using Azure deployment tools or from&lt;/P&gt;&lt;P&gt;Azure console.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2025 07:57:14 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/version-14-6-byoi-bring-your-own-image-background-tasks/m-p/1422805#M89200</guid>
      <dc:creator>M.Vora780263</dc:creator>
      <dc:date>2025-07-24T07:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Version 14.6, BYOI Bring Your Own Image, Background tasks</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/version-14-6-byoi-bring-your-own-image-background-tasks/m-p/1422806#M89201</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;A alt="https://community.cyberark.com/s/profile/00550000006F1aKAAS" href="https://community.cyberark.com/s/profile/00550000006F1aKAAS" target="_blank"&gt;@Malhar&lt;/A&gt;​&amp;nbsp;for explaining with background process details.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2025 08:08:24 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/version-14-6-byoi-bring-your-own-image-background-tasks/m-p/1422806#M89201</guid>
      <dc:creator>R.Kanhere454603</dc:creator>
      <dc:date>2025-07-24T08:08:24Z</dc:date>
    </item>
  </channel>
</rss>

