Before you deploy your service to the cloud, you must create a
Microsoft Azure account. In addition, before you deploy directly from Visual Studio, you must create the following items that enable Visual
Studio to authenticate your credentials with
Microsoft Azure:
- A
Microsoft Azure subscription
- A
Microsoft Azure cloud service
- A
Microsoft Azure storage account
To publish a COBOL service to
Microsoft Azure:
-
Create your
Microsoft Azure account and the above items through the
Microsoft Azure Portal.
-
Run Visual Studio as administrator.
-
Open the solution.
-
Specify the diagnostic and storage connection information in the Cloud configuration settings in the solution, as required.
See the Microsoft
Microsoft Azure Help for details, which explain the configuration differences between a development system and a live
Microsoft Azure system.
-
Build your solution, by clicking
.
-
Publish your solution, by clicking
.
If this is the first time you have deployed anything to
Microsoft Azure, the
Choose your subscription drop-down list will not contain any entries. If this is the case, click
Sign in to download credentials to create and download a file containing your
Microsoft Azure account credentials. When you have downloaded that file, click
Import to load it, and your
Microsoft Azure subscription details will then be listed in the
Choose your subscription drop-down list.
-
Ensure the required
Microsoft Azure subscription is selected in the
Choose your subscription drop-down list, and click
Next.
-
Ensure that the settings shown are correct for the
Microsoft Azure setup you want to use, and click
Next.
-
Confirm that the details shown by the publish summary are correct for the
Microsoft Azure setup you want to use, and click
Publish.
-
Upload any
existing data to the
Microsoft Azure storage service - see
To transfer files to the Azure storage for more details.