Over a million developers have joined DZone.

Using Publish to Deploy Azure Cloud Service

· Cloud Zone

Download the Essential Cloud Buyer’s Guide to learn important factors to consider before selecting a provider as well as buying criteria to help you make the best decision for your infrastructure needs, brought to you in partnership with Internap.

In my previous post I created an Azure Cloud Service from scratch and deployed it, however I manually logged into Azure Portal and uploaded the packages.

@cloudnick commented saying that I could that you can use publish directly from Visual Studio. So!

Publishing from Visual Studio directly to Azure

Using the exact same setup as yesterday, rightclick the MyWorker project and select Publish.

Select Sign in to download crentials

This will take you to a webpage where you can sign into your Windows Live account that has your Azure Subscriptions, with some instructions. The file will download automatically.

Now go back to Visual Studio and import the file.

This will open a new screen with some options, it will pre-select any existing cloud service you have, or you can create a new one by dropping down the menu and selecting ‘Create New…’ if you don’t already have one created you can create a new one.

I’m going to select the existing one.

View the summary to save the profile, that way you can re-use it for future deployments. If you press save and want to rename it, you can drop the menu down and select Manage, then you can modify the name.

If all is successful, Visual Studio will open up a Windows Azure Acvitity Log which will show you the deployment process.

This process takes a little while, I guess it depends on your internet connection, I’m on a pretty fast connection but I’m in Singapore, so latency is quite a bit to the US.

Infact it took a about 3 minutes to deploy, for most of that time it looked like.

But don’t worry, if you leave it long enough, eventually it will end up like.

And that’s it, now checking RavenHQ again.

So to avoid ever even having to login to Azure Portal, you can Create and Publish a Cloud Service all from within Visual Studio.

The Cloud Zone is brought to you in partnership with Internap. Read Bare-Metal Cloud 101 to learn about bare-metal cloud and how it has emerged as a way to complement virtualized services.

Topics:

Published at DZone with permission of Phillip Haydon. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}