I’ve been considering the idea of migrating customer systems from on-premise Windows Server 2003 SBS to Windows Server 2012 r2 Essentials hosted on Azure for a while now. For one reason or another I’ve stuck to on-premises deployments, mainly due to lack of decent internet connectivity at client sites.
I’ve just completed the first full migration to a fully Azure based infrastructure and it is working well. It was a good fit for this customer because:
- The old SBS 2003 server was due for replacement anyway.
- Despite only having six users they have a huge amount of email which was shifted to Office 365.
- They have closed their office premises and will be working from home based offices from now on.
- They have a small line of business application which needs a central server to run on.
- SSL VPN functionality of Essentials makes connectivity straightforward and cheap.
The main benefits of running Windows Server Essentials Experience in the cloud as I see it
- No hardware to purchase or maintain. The customer had a competitive quote from another IT service provider quoting for physical hardware, which was much more expensive. Cheaper for the customer/more competitive for the partner.
- Takes a very short time to get up an running, even in a migration scenario. I was able to start the work without waiting for a box to turn up.
- The server resources can be easily modified to suit customer requirements.
- The Azure edition of Windows Server Essentials Experience does not have any of the locks or limits of the on-premises edition as it is actually Windows Server 2012 r2 Datacenter edition.
- The SSL VPN functionality of Essentials Edition enables remote workers to connect and join to the domain without having to be on the same premises as with previous versions.
- The installation of Windows Server Essentials Experience from the Azure gallery is pre-customized to suit a cloud based deployment.
The good news is that if you have completed an on-premise migration to Windows Server Essentials, then the process of migrating to Azure is really not all that different.
Because the process is so similar and because there is so much documentation that already covers the migration procedure already this post is really only documenting the process that I went though and my thoughts on it where that process would differ from a regular on-premise migration.
Broadly speaking, I followed the procedure laid out on Technet here:
http://technet.microsoft.com/en-us/library/dn408633.aspx
Create your Windows Server Essentials Virtual Machine, storage and network
Follow the instructions on this technet article to build your virtual resources within Azure.
http://msdn.microsoft.com/en-us/library/azure/dn520828.aspx#BKMK_CreateVM
For this deployment I have started with a “Small” virtual machine just to see how it runs, I may well increase it in the future.
I was really surprised at how good the performance of a Small Azure Virtual Machinee is, honestly I expected it to be diabolical, but actually it is perfectly adequate for a lot of tasks. There were a couple of parts of the setup procedure which could have used more resources though, so I did at one stage increase the virtual machine size temporarily.
In addition to the base disk I also added a 10Gb drive for storage of active directory and a 180Gb drive for data storage.
Linking the Azure virtual network linked to your on-premise LAN
This step is not strictly necessary as there are a number of different approaches you could take to move data from the on-premise network into Azure. But I chose to link the local network with the Azure virtual network using the Azure site-site VPN capability. This makes joining the new essentials server on to the existing domain easy and makes transferring data more simple.
In this case the customer had a Draytek router and I have written a separate post on how to create a site to site link between a Draytek and Microsoft Azure. There are lots of guides on the net that explain how to achieve the same thing with different router vendors.
In this scenario the link back to the local network will be removed when the migration is complete, but clearly this approach would work well for providing access to office based clients. In this instance the server will be accessed by clients using the SSTP VPN provided by Azure.
This is how the virtual network looked after transferring data from on-premise LAN to Azure:
Install the and configure Azure Powershell
You need to install the Azure Powershell in order to be able to assign your new virtual machine a Static Internal IP Address as all IPs in Azure are dynamic.
Follow the instructions here to install Azure Powershell:
http://azure.microsoft.com/en-us/documentation/articles/install-configure-powershell/
Set a Static Internal IP address on your new Essentials VM
Because all VMs in Azure are assigned IP addresses automatically we need to ensure that the essentials server has a static IP address so that we can set that server as a DNS target for the virtual network. In Azure this is referred to as a DIP – I have no idea what the D in DIP stands for, so if anyone knows, please let me know!
This will allow the server itself, clients and other virtual machines to function properly within the AD domain.
Join the essentials server to the domain and promote to a domain controller.
You should now have everything in place to allow you to move forward and install Active Directory services and promote your new Windows Server Essentials virtual machine to a domain controller. Depending on the speed of your link this may take a while. For me it took around 20 minutes while AD was upgraded on the existing server and the Windows Essentials machine was rebooted.
At this stage you can continue with the migration just as if it were an on-premise deployment, you may need to plan well ahead if you have lots of data to transfer and do not have access to a fast internet connection to do it with.
For copying the data from the source system I just used Robocopy and was able to maintain at least 5Mb upload most of the time.
Allow anywhere access
Anywhere access is one of the things in Essentials that makes it work so well in Azure. The SSL-VPN means that you need only open ports 80 and 443, which I think is really neat..
A word of warning though, if you are migrating from SBS 2003, some of the existing group polices made it difficult for me to run the anywhere access wizard. If you get problems with the VPN wizard failing, see this post.
After you have successfully run the VPN wizard, you need to assign a static address pool in RRAS administrator. See this document for more details:
http://technet.microsoft.com/en-us/library/dd469667.aspx
Add an additional UPN suffix to local domain(Optional)
I always like to add an additional UPN suffix the the local AD so that users can use the same sign-in information on 365 as their regular resources. See here…
http://support.microsoft.com/kb/243629
Conclusion
Migrating from SBS 2003 to Office 365 and Azure hosted essentials is mostly straightforward. If I was migrating a system with so few users again then I would just fresh install and lose the existing AD, but this was a good opportunity to prove the concept as I will be moving some customer resouces with more sophisticated requirements and greater number of users in the near future and the process will be much the same.
I do have a confession to make though….
I am running Storagecraft Shadowprotect on the VM and sending the data out of Azure back to our own storage running in a co-lo facility near our offices. Why? This is the first real infrastructure that I have run in the cloud that is not on our own hardware where we have complete control over it, having the system backed up to our own servers makes me sleep well at night. Because the upload capacity of Azure is so good it hardly takes any time to run a Storagecraft Backup so I feel OK about it
Bob says
What’s the monthly price tag for this in Azure?
Paulie says
It varies a little from month to month (I guess because of the data charges and because difference in number of days). But in GBP it is around £50/month give or take £5.
This is WITHOUT the link back to the local network which would cost around an extra £30 a month, which is about the same as most small businesses pay for their internet connection in the UK, so seems pretty reasonable to me.
Mark Knight says
Hi Paulie,
Just wondering in terms of your office 365 migration, how did you go about this and are there emails now hosted?
Paulie says
Hi,
I did a normal Exchange cut-over migration. The emails are hosted in 365. Does that answer your question or are you after a little more details?
Paulie
Mark Knight says
That makes sense so then in terms of office 365 typically it stores on one drive, can this then be configured to store the documents on the cloud within Azure or how do you have this set up?
Paulie says
You are quite right, in this case the documents were not stored in OneDrive, but in a standard Windows Server Fileshare.
It was setup like you would setup any normal file share on any Windows server machine. It can be accessed via Remote Web Workplace or more directly using a VPN connection.
Make sense?
Mark Knight says
That makes sense, we’re currently looking into a similar sort of set up and set up a test environment that’s working very well, however I had a conference call with Rack Space today and they said that moving domain controllers to the cloud is a very bad idea but they couldn’t’ be explicit as to why? Do you have any thoughts on this?
Koos says
Great article!
Just one question. Normally you created an answer file from the source server. Start the installation on the destination server and use the answer file. But that’s not possible now. Because Azure do the installation.
So you skipped that part? You only add the “Azure Server” to the domain?
Paulie says
I don’t know why having domain controllers in the cloud is a bad idea, but if you find out I would like to know. If you have a solid backup plan in place, then it’s difficult to understand why it would be a problem, for me at least.
Paulie says
I didn’t know there was an answer file option on Essentials, I didn’t use it. I also have not used that technique when doing an on-premise install.
That was certainly the way I did it on migrations to on-premise SBS though.
Mike says
Hi,
Thanks for the overview.
One question remains, how woul you add local pc’s to the azure hosted essentials server? Take info account there is no site-to-site VPN.
Greets,
Mike
Paulie says
Hi Mike- you simply use the SSL VPN built into essentials. That’s the key part that makes essentials work so well in this scenario.
Mike says
Pauly,
Thanks for your reply. Something’s can be simple…
Did you ever configure direct access or offline domain join on azure essentials? Is that possible? Any notes on this?
Thanks in advance.
Paulie says
Didn’t try it, have never had need of it. But I’ve always been curious to try offline domain join. Why not spin up a test machine in Azure and try it?
I have quite a lot of Azure credit, I can try it for you and write it up, but wouldn’t have time for a couple of weeks at least.
Mike says
Thanks Paulie,
I’ve done a test Ess in Azure and got an error when trying to enable DA. Didn’t have time to dig into it yet.
ODJ is new to me, so I’m kin a looking on how to configure it. Would be nice for Ess in Azure. Plan is to use ODJ on new PC’s (or in new domain setup) and then provide DA for user access. This would prevent setting up VPN’s on every PC (if no site-to-site is possible).
Let’s keep in touch.
Greets,
Mike