- Ensure that you have setup your Azure Cloud Shell environment.
- (Optional) If you prefer to run the code on a local bash terminal, ensure that you have installed and configured Azure CLI and Terraform; and ignore step 3.
- Log in to Azure Cloud Shell and select
Bash
terminal.
Cloud Shell Timeout
The machine that provides the Cloud Shell session is temporary, and is recycled after your session is inactive for 20 minutes. Ensure that your session does not remain inactive for 20 minutes.
- Set your Azure subscription
az account set --subscription <Name or ID of subscription>
- Accept the Azure marketplace terms for the CSR1000v versions used throughout the lab
az vm image terms accept --urn cisco:cisco-csr-1000v:17_2_1-byol:latest
az vm image terms accept --urn cisco:cisco-csr-1000v:17_3_4a-byol:latest
- Ensure you have the Azure CLI extension for Virtual WAN:
az extension add --name virtual-wan
- Ensure that Azure CLI and extensions are up to date:
az upgrade --yes