NOTE: The option to manage cloud accounts is available to Colony Administrators only.
To allow CloudShell Colony to provision cloud infrastructure, on your behalf, in your Azure cloud account, you need to grant CloudShell Colony permission to access your Azure account. You can remove this permission at any point, directly from your Azure Portal.
Granting CloudShell Colony the permission to access your Azure account, is done through a short authentication process, during which CloudShell Colony created a slim management layer that keeps your data safe.
The authentication process is done by running a shell script, in your Azure account, which creates the following resources:
- Active Directory Application– This Active Directory application entry is configured to access the Azure CLI and will be used for all communication between CloudShell Colony and your Azure account.
- Storage Account– This storage account is used for keeping your virtual machined safe. CloudShell Colony uses it to store certificates that are required in order to access your virtual machines. The certificates are kept only in your own account.
- Cosmos DB– CloudShell Colony uses this database to keep track of all the infrastructure you create using CloudShell Colony.
NOTE: part of the following procedure is performed in Azure Portal. Azure Portal will open in a new browser tab.
To add an Azure cloud account:
- In the Administration area, open the Cloud Accounts page.
- Click +Add Another Cloud Account.
- Select Azure and click Next.
Your Microsoft Azure Portal opens in a new browser tab.
- Login with your administrator permissions.
- From the Azure top-right navigation pane, launch Cloud Shell to run Azure’s interactive shell.
The Shell pane opens.
- If this is the first time you are running Cloud Shell, follow Azure’s instruction and create a storage account.
- In the Cloud Shell, click the dropdown menu and select the Bash environment.
- Copy the following shell commands, paste it into Azure's shell, and then press Enter on your keyboard:
curl https://raw.githubusercontent.com/cloudshell-colony/setup/master/azure.sh > colony.sh && chmod +x colony.sh && ./colony.sh
The script is running. Please wait until it completes and a token is provided.
- Copy the token to your clipboard.
- Return to CloudShell Colony's browser tab and paste the copied token into the token field.
- Click Authenticate.
Deleting an Azure Cloud Account
You can remove CloudShell Colony's permission to access your Azure account, at any point in time, directly from your Azure Portal. To learn how to delete your Azure cloud account, see Deleting your Azure Cloud Account.