Skip to content

Latest commit

 

History

History
65 lines (42 loc) · 2.44 KB

File metadata and controls

65 lines (42 loc) · 2.44 KB

Copy the appliances into your Azure subscription

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.

  1. Obtain the appliance URL file from cPacket (default name ccloud-urls.txt).
  2. Open the Azure cloud shell.
  3. Upload it to the Azure cloud shell.
  4. Download the ccloud-azure-images script.
    1. Immediately pipe it through the shell, or
    2. Run it specifying the name of your resource group, the storage account, the file name containing the appliance URLs.

Obtain the appliance URLs file

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).)

Open the Azure cloud shell

In the Azure portal, open the Azure cloud shell by clicking on the icon in the upper right corner of the Azure portal.

Open the shell

Upload the file containing the appliance URLs

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.)

Upload file

Create the images

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.

New resources

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