Create and deploy a cloud service

  1. Home
  2. Create and deploy a cloud service

This tutorial will help to explain how to use the Quick Create method to create a new cloud service and then use Upload to upload and deploy a cloud service package in Azure. When you use this method, the Azure portal makes available convenient links for completing all requirements as you go. If you’re ready to deploy your cloud service when you create it, you can do both at the same time using Custom Create.

Concepts

Three components are required to deploy an application as a cloud service in Azure:

  • Service Definition
    The cloud service definition file (.csdef) defines the service model, including the number of roles.
  • Service Configuration
    The cloud service configuration file (.cscfg) provides configuration settings for the cloud service and individual roles, including the number of role instances.
  • Service Package
    The service package (.cspkg) contains the application code and configurations and the service definition file.

Create and deploy

Log in to Azure portal.

Click Create a resource > Compute, and then scroll down to and click Cloud Service.

create and Publish your cloud service
Image Source – Microsoft

In the new Cloud Service pane, enter a value for the DNS name.

Create a new Resource Group or select an existing one.

Select a Location.

Click Package. This opens the Upload a package pane. Fill in the required fields. If any of your roles contain a single instance, ensure Deploy even if one or more roles contain a single instance is selected.

Make sure that Start deployment is selected.

Click OK which will close the Upload a package pane.

If you do not have any certificates to add, click Create.

create and Publish your cloud service
Image source – Microsoft

Upload a certificate

If your deployment package was configured to use certificates, you can upload the certificate now.

  1. Select Certificates, and on the Add certificates pane, select the TLS/SSL certificate .pfx file, and then provide the Password for the certificate,
  2. Click Attach certificate, and then click OK on the Add certificates pane.
  3. Click Create on the Cloud Service pane. When the deployment has reached the Ready status, you can proceed to the next steps.
Publish your cloud service
Image Source – Microsoft

Verify your deployment completed successfully

  1. Click the cloud service instance.The status should show that the service is Running.
  2. Under Essentials, click the Site URL to open your cloud service in a web browser.
CloudServices_QuickGlance
Image Source – Microsoft
MS-900 practice test and benefits of cloud computing

Go back to home page

Reference Documentation – How to create and deploy a cloud service

Menu