To Publish a COBOL Service to Microsoft Azure

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:

  1. Create your Microsoft Azure account and the above items through the Microsoft Azure Portal.
  2. Run Visual Studio as administrator.
  3. Open the solution.
  4. 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.
  5. Build your solution, by clicking Build > Build Solution-name .
  6. Publish your solution, by clicking Build > Publish project-name. 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.
  7. Ensure the required Microsoft Azure subscription is selected in the Choose your subscription drop-down list, and click Next.
  8. Ensure that the settings shown are correct for the Microsoft Azure setup you want to use, and click Next.
  9. Confirm that the details shown by the publish summary are correct for the Microsoft Azure setup you want to use, and click Publish.
  10. Upload any existing data to the Microsoft Azure storage service - see To transfer files to the Azure storage for more details.