Creating a stand alone Azure VM via new portal

One of the first things that many people want to do with Azure is set up a Virtual Machine (VM). Here is the process to follow to do that from the new Azure portal using the new Resource Manager configuration.

Please note that this post is only gong to cover creating a single, stand alone virtual machine (VM). if you want to create a group of virtual machines that are on the same network in Azure look out for future posts on that topic.

image

To commence this process login to the Azure management portal via https://manage.windowsazure.com.

image

This will log you into the ‘classic portal’ as shown above. Here you can create VMs but they won’t be using the newer Azure Resource Manager (ARM), this can only be done via the new Azure portal. To navigate to the new Azure portal select Check out the new portal at the top of the page as shown.

image

You can also get to the new portal by selecting the account name in the top right and then the option Switch to the new Azure Portal from the menu that appears.

Finally, you can also navigate directly to the portal using the address – https://portal.azure.com

image

The new Azure portal should look something like the above with a number of menu options on the left.

image

From these menu options on the left select New. A ‘blade’ will then appear to the right. From this blade select Virtual Machines. A further blade will appear listing all the VM images you can select from. What appears here will depend on your Azure subscription.

In this case the Windows Server 2012 R2 Datacenter VM will be selected.

image

A further blade will open with the details about the select VM. At the bottom of this you will see an option for the deployment method. Ensure this is set to Resource Manager and then press Create to continue.

image

You’ll now be stepped through entering the remaining details for the configuration of this VM.

The first step will require you to enter a machine Name, login User name, user Password, Azure subscription, Resource Group and Location for the VM.

The VM name, user login and password have to conform to certain standards. The Azure subscription doesn’t normally require altering. In this case, enter a name for a new Azure Resource Group (in this case rg1). Finally, the location option is the datacenter where you VM will be homed.

When complete press the OK button to continue.

image

You’ll then be taken to Step 2 where you’ll be prompted to select a VM type.

image

By default, you’ll only see VMs that Azure recommends. To see all the options available to you, select the View all link in the top right as shown above.

image

In this the A1 machine has been selected.

Press the Select button to continue.

image

In Step 3 you can view and edit of the other pre-configured options required for the VM. In this case no changes will be made so select the OK button to proceed.

image

Don’ forget to scroll down on the right to see all the options available here.

image

Step 4 will show you a review of all the options you have selected for this VM.

Select OK o continue.

image

You should now see a message, like that shown above, that tells you that the deployment has commenced.

image

You can always see you messages by select the Alerts icon along the top of the window as shown.

image

Select the blue refresh icon to the left of the text as shown.

image

This will give you more information about the deployment progress.

image

If you scroll down to the bottom of the list you will see the deployments actions that have been undertaken and their success as shown above.

image

If you select the Virtual Machines option from the menu on the left you should see the new VM listed. You should also see that it’s status is Creating.

Select this new VM.

image

A new blade should open giving you more information about the VM as shown above. You can select any of Settings here to get more information.

image

After a short period of time, you should receive a console message telling you that deployment is complete.

image

To connect to this new running VM via RDP simply select the Connect icon at the top of the blade as shown.

image

You will then be prompted to download and run an RDP connection stub. When opened you’ll need to enter the user name and password you created earlier for that VM. Once you have done that correctly you should be connected to the VM as shown above.

Now you can interact with the VM as you would any other machine you have remoted to.

image

If you return to the Azure portal and select the Resource groups option from the menu on the left, you should see the new Resource Group you created as part of the VM configuration (here rg1).

Select the new Resource Group you created during the VM set up process.

image

A blade will open showing all the resources that are of this group. This is the big difference between ‘classic’ VMs and the new Resource Manager VMs. All the items (such as storage, networks, etc) are place in a container called a Resource Group. This makes management much easier.

image

If, for example, you select the network from the list of resources, a further blade will open, as shown above, giving your insight into that resource.

Resource Manager is now the preferred method of working with Azure and provides many benefits over the previous ‘classic’ model.

More about Azure Resource Manager (ARM) will be covered in upcoming posts.

image

If you look at the option Virtual machines (classic) and

image

and Virtual Machines in the ‘classic’ portal you won’t see your new VM. That is because Azure Resource Manager VMs only appear in the new portal and are using a newer deployment method (i.e. not ‘classic’).

Thus, you now need to use the new Azure portal to work with this VM. You can of course also use PowerShell but that will be covered in another post.

The above process has given you a walk through of creating a stand alone Azure VM using the Resource Manager deployment option. Upcoming posts will detail how to create a network and place multiple VMs inside it.

Need to Know Podcast–Episode 100

Holy flying sharks Batman, the Need to Know Podcast has reached 100 regular episodes! Who would have ever thought back in 2010 when I kicked the podcast off, that I’d still be putting it out? Although the episodes haven’t been as regular as I would have liked over the years I thank everyone who has taken the time to listen and especially those people who have been guests. My guests have given both their time and knowledge to listens which I really appreciate.

So now it is onwards and upwards to the next 100 episodes. If you haven’t already, I’d really appreciate you leaving a review on iTunes or just dropping me a line (director@ciaops.com) and letting me know what you think and importantly if there is anything I can do to improve the podcast. Once again, thanks to everyone who has supported the podcast over its first 100 episodes and I’ll work hard to make sure the next 100 are even better.

As a follow on from our last episode on Azure storage, Marc and I now focus on the different storage options in Office 365 and how to take advantage of each. We consider best practices for data migrations as well as what experience has taught us when moving information to Office 365.

You can listen to this episode at:

http://ciaops.podbean.com/e/episode-100-office-365-storage/

or subscribe to this and all episodes in iTunes at:

https://itunes.apple.com/au/podcast/ciaops-need-to-know-podcasts/id406891445?mt=2

The podcast is also available on Stitcher at:

http://www.stitcher.com/podcast/ciaops/need-to-know-podcast?refid=stpr

Don’t forget to give the show a rating as well as send me any feedback or suggestions you may have for the show.

Resources

Marc Kean – @marckean

Robert Crane – @directorcia

Azure via CSP

Where to put data in Office 365

Microsoft Build Conference

Azure VMs Backup

Azure Resource Manager Virtual Networks

Need to Know Podcast–Episode 99

Marc and I speak have a chat about Azure storage. We look at all the different ways that you can save data into Azure and discuss the best options for your needs. We look at things like SMB File shares, tables and blob storage as some tips and tricks on how to make the most of what Azure has to offer with storage and how to keep your costs down.

You can listen to this episode at:

http://ciaops.podbean.com/e/episode-99-azure-storage/

or subscribe to this and all episodes in iTunes at:

https://itunes.apple.com/au/podcast/ciaops-need-to-know-podcasts/id406891445?mt=2

The podcast is also available on Stitcher at:

http://www.stitcher.com/podcast/ciaops/need-to-know-podcast?refid=stpr

Don’t forget to give the show a rating as well as send me any feedback or suggestions you may have for the show.

Resources

Creating Azure SMB File shares

Azure SMB file share price and performance

Azure storage

Azure storage documentation

Introduction to Azure storage

Azure storage team blog

Need to Know Podcast–Episode 98

We’re joined again by Microsoft Senior Technical Evangelist Jeff Alexander to talk about the latest with Windows Server 2016. Jeff tells us about all the latest cool features that are now available and where the direction of this product is headed. We talk about virtualisation, Nano servers, containers, PowerShell, Azure and more.

You’ll also get a round up of the latest Office 365 and Azure new from us including information on Azure Resource Manager, increased SharePoint Online Team Site storage and more. Listen in to stay up to date with the latest in the Microsoft Cloud.

You can listen to this episode at:

http://ciaops.podbean.com/e/episode-98-jeff-alexander/

or subscribe to this and all episodes in iTunes at:

https://itunes.apple.com/au/podcast/ciaops-need-to-know-podcasts/id406891445?mt=2

The podcast is also available on Stitcher at:

http://www.stitcher.com/podcast/ciaops/need-to-know-podcast?refid=stpr

Don’t forget to give the show a rating as well as send me any feedback or suggestions you may have for the show. 

Resources

Jeff Alexander – http://about.me/jeffa36

Free Windows 10 eBook for IT Pros

Exploring Nano Server

Getting Started with Nano Server

Azure SDK

Azure Resource Manager Basics

Windows 10 update information

Windows 10 update history

Version numbers for update branches for Office 365 clients

Office 365 client branch releases

Updated Delve profiles

Office 365 Team Sites storage increased

Azure Resource Manager basics

One of the challenges of working in a virtual infrastructure envionment is that you need to keep track of all the different resources. Things like virtual machine images, storage, network cards, etc all need to be assembled into a completed virtual machine.

Typically, all of this has been done piecemeal and by hand. Microsoft’s best practice is to move away from this IaaS version 1 to IaaS version 2 or using something it calls Azure Resource Groups.

You can basically think of Azure Resource Group as a container into which you put everything your need for your infrastructure configuration. Because everything is now in a single object it makes it easier to build and delete if necessary. That way it makes it easier to build is that you can now basically script the whole process.

The following will take you through a very basic process of creating a single Azure virtual machine using the Azure Resource Manager so you get an idea of the differences from the ‘classic’ method of building infrastructure.

The easiest way to deploy using Azure Resource Manager is to use Visual Studio. However, don’t install Visual Studio first! You’ll have problems if you do.

image

Instead, visit the following location:

https://www.visualstudio.com/en-us/features/azure-tools-vs.aspx

and select the link to Download Azure SDK and then run the download.

image

This will launch the Web Platform Installer as shown above. This will download not only the free Visual Studio Community Edition but also add the appropriate Azure components for you automatically.

image

You should now see the installer for Visual Studio Community 2015 with Microsoft Azure SDK displayed as shown above.

Select Install to continue.

image

Ensure you have enough free space on the machine to install all the components. The total size of the installation is displayed as shown above.

Select I Accept to continue.

image

The installation will then commence. This whole process of downloading and installing the appropriate components will take a fair amount of time, so generally allow 45 – 60 minutes for the process to complete.

image

You’ll see the progress displayed on the lower bar along with the total of components that have been installed so far.

image

When the process is complete, you’ll see the above screen.

Select Continue.

image

You’ll then see a summary of installation process.

Select Finish.

image

You’ll then be given the option to download additional components if desired.

Select Exit.

image

Run Visual Studio. Select File | New | Project.

image

On the left hand side of the dialog that appears, open Installed | Templates | Visual C# | Cloud. On the right, you should see Azure Resource Group at the bottom of the list, as shown above.

Select Azure Resource Group, provide a name for the project and press the OK button to proceed.

image

You’ll then be prompted to select an Azure template. In this case Windows Virtual Machine will be selected.

After selecting the template, press OK to continue.

image

This will open Visual Studio proper on your desktop like shown above.

image

In the top right you’ll see the Solution Explorer box as shown above. In here will be a Templates folder that you need to open. You should then find two .JSON files inside.

Select WindowsVirtualMachine.json to continue.

image

This should open the file in a large window in the center of the page.

Take a look through the file to see all the options. If you want to customise your virtual machine deployment you’ll need to do it in this file.

However, don’t make any changes to the file at this stage.

image

Right mouse click on the project name in the Solution Explorer box in the top right of the Visual Studio desktop.

From the menu that appears, select Deploy and then New Deployment from the submenu.

image

This will open a new window as shown above. Here select Add an account.

You’ll then need to add the login details for the Azure account in which the new Virtual Machine will be created in.

image

When you have added your Azure account most of the remaining fields will be populated has shown above.

Select the pull down option for the empty Resource group.

image

From the pull down menu that appears select .

image

Enter a name for the Resource Group. This will the container in which all the assets live.

Next, select a region where this Resource Group and the items it contains will reside. Here, Australia East has been selected.

Select Create to continue.

image

You’ll be returned to the previous window. Here, select the Edit Parameters button.

image

Enter the virtual machine administrator login name in the adminUsername field.

Enter the virtual machine administrator password in the adminPassword field.

Enter a name in the dnsNameForPublicIP field. This fieldmust be in lowercase and not contain special characters (i.e. !@$%- etc is not supported).

All of these values could have be entered in the configuration JSON if desired.

It is also recommended that you select the option Save passwords, otherwise you’ll be prompted top continually enter all these details during the creation process.

image

When complete, select the Save button to continue.

image

Select the Deploy button.

image

The deployment of the Resource Group will now commence. You can view the progress in the Output box at the bottom of the Visual Studio desktop.

image

The results of each step in the deployment process will be displayed. If there are any errors they will also be displayed here.

image

If you now look in the new Azure portal, as shown above, under the Resources groups area, the Resource Group just created should appear. Select this.

This will then display all the assets contained within that group. Select any whitespasce in the lower part of this blade.

Doing so will open the Resources blade where you can see each individual resource as it is created. Select the Refresh button at the top of the page to see new resources as the configuration progresses.

image

After a while the Output box on the Visual Studio desktop should show you that the deployment process is complete as shown above.

image

If you then return to the Resource Group and drill down into the virtual machine, you should see something like shown above. That is a running virtual machine.

So, that’s the way to get a single basic virtual machine up and running with Azure Resource Manager. It may seem like more work but as you begin to scale and manage large and more complex configurations it makes life much easier.

It is also interesting to note, as I have said many time here before, the future is about software. Azure Resource Manager shows how important it is to be comfortable with coding, which is not something I see with most IT Professionals. So now is the time to start getting comfortable!

You can also do all of this using PowerShell, which will be post coming in the future. For now, be fruitful and multiply using Azure Resource Manager for your IaaS environment.

Need to Know Podcast–Episode 97

This episode features an interview with HubOne CTO Roland Leggat. As an ex-‘Mirosoftie’ Roland shares his insights into the history of Skype for Business and how important it is today for businesses. We chat about what features, functionality and benefits of Skype for Business enables and how it lifts the productivity of those using it since it integrates with the most common desktop applications. If you are interested in Skype for Business then this episode is for you.

Marc and I also cover the latest from the Cloud and Microsoft including some interesting projects we are working on and what we see in the industry at the moment. 

You can listen to this episode at:

http://ciaops.podbean.com/e/episode-97-roland-leggat/

or subscribe to this and all episodes in iTunes at:

https://itunes.apple.com/au/podcast/ciaops-need-to-know-podcasts/id406891445?mt=2

The podcast is also available on Stitcher at:

http://www.stitcher.com/podcast/ciaops/need-to-know-podcast?refid=stpr

Don’t forget to give the show a rating as well as send me anyfeedback or suggestions you may have for the show. 

Resources

HubOne

Roland Leggat – roland@hubone.com 

Skype for Business

Microsoft Surface Power Cord recall

Microsoft Tecnet Virtual Conference

Azure AD Connect tool

Microsoft Fastrack now starts at 50 seats

Automatic provisioning of Yammer

Enterprise state roaming

Getting Started with Skype for Business Online

Configuring an Azure Single Sign on Portal

Microsoft PowerApps

One of the most powerful aspects technology now provides us is automation. The problem is that I don’t see a lot of people letting the ‘bots’ do the hard work for them.

I have written about Office 365 automation here:

Office 365 automation

I’ve also highlighted how upskilling is required to stray relevant in todays environment.

Skill up or fade away/ It’s that simple

and such re-skilling up also means a greater focus on software rather than hardware.

Personally, I’ve been playing with Azure Logic apps to provide even more automation functionality but Microsoft has now made that even easier with Powerapps.

You’ll need to request an invite from the PowerApps site:

https://powerapps.microsoft.com/en-us/

and you should do so with your Office 365 login.

image

Once confirmed you’ll see a new tile appear on your Office 365 app launcher as shown above.

image

Selecting this will take you to the Powerapps canvas as shown above.

image

The place to start is the Connections option at the bottom of the menu on the left hand side. You should go there and connect up all the accounts you have including Office 365 Outlook, OneDrive, SharePoint Online, Twitter and more.

Once you have connected up to the different services you then need to elect whether to now create a Logic Flow or an App.

A Logic Flow is very much like an IFTTT recipe. That is, when something changes, take some action. An App is a bit more involved and typically means developing some basic screens for input and storing the data somewhere.

image

The Apps you create are then access via a PowerApp application on your device (Windows 10 and iOS so far).

image

Given that a Logic App is easier to create I’ll cover that. If you select the Logic App option from the menu on the left you’ll be take to a canvas on the right that allow to use an existing template or create a new Logic App from scratch.

image

You start a new Logic Flow by selecting a starting action.

image

In this case, I’ve chosen the trigger to be when a tweet including #office365 is found.

image

I then add an action or condition.

image

Here I added an action to send an email to my Office 365 inbox with the contents of the tweet.

I then save that Logic Flow.

image

The Logic Flow is then active and will run every time it is triggered.

I can continue to create more Logic Flows as desired.

It is still early days for PowerApps but I am very keen to see it develop and mature. I believe it is another key opportunity provided by the cloud for IT Professionals to move beyond merely maintaining IT to actually using IT to solve real world business challenges and streamlining business processes.

My advice? Get on board with PowerApps now!

Azure and Windows 10 Enterprise State roaming

The march of Azure and Windows 10 integration continues on with the announcement of Enterprise State Roaming public preview.

image

This option basically allows Windows 10 machines that have their primary connection to Azure AD to have their settings roam between machines much like the situation now with Windows 10 and personal accounts.

To enable this you’ll need the most current build of Windows 10 and Azure AD Premium. You’ll then need to enable the setting in both Azure and Windows 10. This blog post from Microsoft outlines all the details:

More Azure AD and Windows 10 goodness: Enterprise State Roaming public preview!

To me this is further evidence of the growing native integration between Windows 10 and Azure AD. It also indicates why you should be payign close attention to this as it is becomes more powerful and feature rich.