docs/docker-cloud/infrastructure/link-azure.md

42 lines
2.1 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
description: Link your Microsoft Azure account
keywords: Microsoft, Azure, account
redirect_from:
- /docker-cloud/getting-started/beginner/link-azure/
- /docker-cloud/getting-started/link-azure/
title: Link a Microsoft Azure account
---
You can link your Microsoft Azure account to your Docker Cloud account to deploy **nodes** and **node clusters** using Docker Cloud's Dashboard, API, or CLI. You must link your Azure account so that Docker Cloud can interact with Azure on your behalf to create and manage your **nodes** (virtual machines).
## How to create the link
Navigate to **Account info \> Cloud Providers**. You'll see a list of all the providers that you can link to Docker Cloud. Click **Add credentials** next to Microsoft Azure:
![](images/azure-link-account.png)
You'll see the following screen:
![](images/azure-link-modal.png)
First, click **Download management certificate** to download the public certificate generated for your Docker Cloud account.
Then, in another tab go to the Azure Portal at [https://manage.windowsazure.com/](https://manage.windowsazure.com/)
> **Note**: At this time, you must use the old Azure portal to upload management certificates.
Scroll to the bottom of the left navigation bar and click **Settings**. In the page that loads, click the **Management certificates** tab, then click **Upload** near the bottom of the screen:
![](images/azure-portal-subscriptions.png)
Still in Azure, in the **Upload a management certificate** dialog, select the certificate you downloaded from Docker Cloud in the **File** field, and choose the subscription you want to use with Docker Cloud:
![](images/azure-upload-certificate.png)
Once uploaded, copy the **subscription ID** (which looks like `aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee`).
Go back to Docker Cloud and enter the subscription ID in the **Azure credentials** dialog, and click **Save credentials**.
## What's next?
You're ready to start using Microsoft Azure as the infrastructure provider for Docker Cloud! If you came here from the tutorial, click here to [continue the tutorial and deploy your first node](../getting-started/your_first_node.md).