Before deploying the cPacket cCloud appliances, they must be copied into your Azure subscription.
The ccloud-azure-images
script in this directory will copy the images specified in a file into in your Azure subscription.
It will then create the appliance images.
- Obtain the appliance URL file from cPacket (default name
ccloud-urls.txt
). - Open the Azure cloud shell.
- Upload it to the Azure cloud shell.
- Download the
ccloud-azure-images
script.- Immediately pipe it through the shell, or
- Run it specifying the name of your resource group, the storage account, the file name containing the appliance URLs.
Contact cPacket Networks to obtain the appliance URLs file. This file contains the Shared Access Signature (SAS) URLs of the appliances. (Each line of the file is a URL for an appliance that contains a Shared Access Signature (SAS).)
In the Azure portal, open the Azure cloud shell by clicking on the icon in the upper right corner of the Azure portal.
Upload this ccloud-urls.txt
file to the Azure cloud shell.
(The root directory of the cloud shell is expected, and it is the default upload location.)
The ccloud-azure-images
script will create the images in your Azure subscription using the URLs provided in ccloud-urls.txt
.
Pipe the script directly through the shell viathe following invocation:
curl -L https://raw.githubusercontent.com/cPacketNetworks/ccloud-deployment-automation/main/automations/azure/ccloud-azure-images/ccloud-azure-images | bash -s -- -g cpacket-azure -l westus2
After executing the script, you should have cPacket image resources in a resource group called cpacket-azure
in the westus2
region.
To find out about the script's options,
Download the script:
curl -s -L -O https://raw.githubusercontent.com/cPacketNetworks/ccloud-deployment-automation/main/automations/azure/ccloud-azure-images/ccloud-azure-images
Make it executable:
chmod +x ccloud-azure-images
Run it with the -h
option:
./ccloud-azure-images -h