This article explains how to get the vSocket image and scripts to deploy a single and high availability (HA) vSocket.
For more information about Azure vSockets, see:
Creating the Azure Blob Storage and Container
You can copy the vSocket VHD image to an existing Azure blob storage and container. Otherwise, create a new one for the VHD file. For more about creating a blob and container, see the Microsoft documentation.
Note:
Make sure that the blob storage is in the same resource group where you are deploying the vSocket VM.
Copying the Azure vSocket Image with Azure SAS Using PowerShell
You can use Azure PowerShell to copy the vSocket image from Cato to your Azure storage container. We provide a URI with an Azure Shared Access Signature (SAS) to share the image.
Generate an SAS for your storage container, and then use Azure PowerShell to copy the vSocket image to your storage container. Use the region that is physically closest to your storage container:
You can access these SAS URIs from any region, except from China.
To copy the Azure vSocket image:
Create the Azure storage container, or use an existing container, for the vSocket image.
The storage container must be in the same resource group as the vSocket virtual machine (VM).
Open the container, and from the Settings section in the navigation pane, click Shared access signature.
Assign the correct permissions for the SAS, in the Permissions section, select the following items: Read, Add, Create, and Write.
.png?sv=2026-02-06&spr=https&st=2026-07-20T04%3A56%3A24Z&se=2026-07-20T05%3A09%3A24Z&sr=c&sp=r&sig=ZvdVft1dBDc9rBLTiov9QyaEZBxY5FQMWWTn6KiY9fU%3D)
Make sure that Allowed protocols is set to HTTPS only.
Click Generate SAS token and URL.
Copy the Blob SAS URL. The URL concatenates both the container address and the SAS token.
Open Azure Cloud Shell and select PowerShell.
Run the azcopy command:
azcopy copy '<Cato blob sas url>' '<customer blob sas container url>'Note:
Make sure that you use single quotation marks in the command.
For example, the following command copies the image from the Cato EU blob:
azcopy copy 'https://catoeuimagestorage.blob.core.windows.net/vsocket/socket_AZ1500_19605_production_socket_v23.0_20250220_2025_05_13.vhd' 'https://storagecatoexample.blob.core.windows.net/storagecatocontainernonaccel?sp=racw&st=2025-6-02T11:44:51Z&se=2025-6-02T19:44:51Z&spr=https&sv=2025-6-02&sr=c&sig=ABcdefGhIJklMnop2q%3Rs45T678%9Uv0xYZ1aBcdEFghiJ%2K'
In the example above, replace the second URI (storagecatoexample.blob), with the Blob SAS URL that you generated.
Troubleshooting Copying the vSocket with SAS
If there is an issue with copying the image to your account, check and make sure that the container is set with all of these permissions:
Read
Add
Create
Write
Downloading the vSocket Scripts
Cato provides the following scripts to configure the virtual resources for Azure vSockets:
create_vm_from_vhd.sh - should be used when deploying Azure vSocket v19 and above
create_vm_from_vhd_U19.sh - should be used when deploying Azure vSocket below v19
create_ha_settings.sh - HA script that configures high availability (HA) for two deployed vSockets
For more information about getting the vSocket files, see Socket and vSocket Image Files.
Note:
After you successfully copy the image and download the scripts, continue the vSocket deployment with Deploying an Azure vSocket Site Manually.
Manually Adding the vSocket Image to Your Azure Account
For situations where you're unable to copy the image with Azure SAS, you manually download the file, untar it, and then upload it to your Azure container.
Downloading and Extracting the Image from a TAR File
Download the Azure vSocket image as a TAR file from the public Cato repository. Then extract the vSocket image from the TAR file.
To download and extract the image:
Go to the Cato repository, from the Socket and vSocket Image Files article.
Download the TAR file for the VHD image, for example
socket_AZ1500_19605_production_socket_v23.0_20250220_2025_05_13.vhd.tarUntar the file.
Uploading the VHD Image to Azure
Upload the VHD file for the vSocket image to the Azure storage blob.
To upload the VHD file to the storage blob:
Open the Storage accounts window and click the storage account, or create a new one.
From the Storage account navigation menu, scroll down to the Blob service section and click Containers.
Click the container, or create a new one.
In the Container window, click Upload.
From the right-hand Upload blob pane, select the VHD file and click Upload.