Microsoft Azure

You can use Cloud 66 to provision and deploy your code to servers in any Azure region. We support both the classic model (Azure Legacy Cloud) and the resource model (Azure Cloud).

Generating credentials for Azure Cloud

Cloud 66 needs some credentials to authenticate our agent to provision your infrastructure. You need to specify the following credentials:

You can find those by following the step by step guide created by Microsoft.

Make sure you give your Active Directory App the right access. Check if your Active Directory Application is added to your Azure subscription and has the role Contributor.

Generating a management certificate for Azure Legacy Cloud

The Azure management certificate is a certificate used to authenticate an agent, such as Cloud 66, to your Azure account. These certificates are uploaded to Azure Legacy Cloud and stored at the subscription level.

To generate a management certificate you can use OpenSSL:

	$ openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout azure.pem -out azure.pem
	$ openssl x509 -inform pem -in azure.pem -outform der -out azure.cer

You will need azure.pem and azure.cer to use Cloud 66 with your Azure account.

Using your management certificate

Access Management portal of your Azure account and go to the Settings menu. You will need the Subscription ID which is listed in Subscriptions tab. Select the Management certificate tab and click the Upload button to upload azure.cer.

Now visit your Cloud 66 dashboard and build your first application. When adding your Azure credentials, you will be asked to input your subscription ID and upload the azure.pem file you created earlier.

Note

If you delete your application from Cloud 66, your servers will not be deleted on your cloud provider unless the physical server deletion setting is turned on.