Organize, start, stop, schedule (and snooze) Azure VM’s and stay within your Azure MSDN benefit boundary.

I can’t use my MSDN Azure benefit anymore, because I forgot to switch off a Virtual Machine.

image image

It happens too often.

Although it is easy to schedule a virtual Machine via the Azure portal (see: Script Center and azure automation ), users still forget to configure it or don’t take the time or simply don’t know how to do it.

To make it easier to organize, start, stop, schedule (and snooze) Azure VM’s and stay within your MSDN Azure benefit we a light version of the O365 App ‘OneShare’.

 

Development and Test on Azure with OneShare.

OneShare is a solution and service build by Sogeti for Development and Test teams who are using Azure for their environment needs (Cloud usage flavors for Development and Test teams.).

500x500

OneShare provides insight, control and self servicing on top of Azure within Office 365 and with Visual Studio Online.

Every project within OneShare gets a Visual Studio Online account, an Azure Subscription and a Office 365 portal.

The OneShare Solution connects these three together, which gives the team a consistent view and entry point on all the resources a team needs to be Fast and Flexible.

 

Azure and Office 365 MSDN benefit for Development and Test on Azure.

OneShare for Azure MSDN benefit is a light version of the OneShare Enterprise edition which is connected to an Azure Enterprise Enrolment (and has many more features see this video). For now it contains the start, stop, schedule features (more will be added every sprint).

How To setup.

Activate your Azure and Office 365 MSDN Benefits.

image

Download the OneShare App.
When your Office 365 developer tenant is created get the OneShare App, download it from here (later I’ll publish it to the Office 365 Store, which gives an easier model for distributing).

OneShare App : http://1drv.ms/1Mk7WTF 

In the MSDN Office 365 tenant you get a developer site by default, you can upload the OneShare App in this site or create an AppCatalog site and upload it there. The difference is that from the developer site you only can use it there, via the AppCatalog you can put it on any site you have in your tenant.

image

When you have uploaded, deployed and trusted the OneShare App to a site, you can add the VM State AppPart to the site. Go to ‘edit’ (upper right corner of the site) and select, Insert, AppPart, Azure Virtual Machine.

image 

Save the page (upper right corner) and configure the OneShare App for your Azure Subscription. Click on the ‘Azure Virtual Machine’ header of the AppPart. This brings you to the configuration section.

 image

Select Project Settings and download the certificate. This certificate needs to be uploaded to the Management Certificate Store of you Azure Subscription.

When you want to be updated on OneShare state fill the Mail Contact.

image

NOTE: using Azure Management Certificates is not the most ideal way of authentication against an Azure Subscription. The OneShare Enterprise version authenticates against Azure Active Directory which gives a more fine grained control. When you remove the certificate from the store, OneShare can’t access the subscription anymore, this is the way to opt out. 

image

Save the project settings, will bring you to the VM Properties screen. In this screen you can edit the properties of the VM’s.

Push ‘Refresh’ when you want to collect existing VM’s from your Azure subscription.

image

Per VM properties can be set for category, estimate, start, stop and notification.

The NoStartStop Schedule option is useful when you want to give other people access to the SharePoint site where the OneShare app runs on. When you add a OneShareAdmin group to the site and make yourself member. you can switch of the capability for other users to start and stop a Azure VM.

image

 

On the AppPart the settings are visualized as.

image

The VM Status History page shows the usages history of the VM in a graphical overview. A easy way to figure out how the VM’s are used in your subscription.

image

Have fun with it. while the OneShare Enterprise version has support this version is As-Is no support, no guarantees are provided and without warranties of any kind.

But, I’m happy to answer all questions.
You also can use UserVoice http://oneshare.uservoice.com/

For the whole setup, also the one via an AppCatalog see this YouTube video. (without sound, some construction going on around the house, too much noise ;-)

Pingbacks and trackbacks (1)+

Add comment