Skip to content

shannonlowder.com

Menu
  • About
  • Biml Interrogator Demo
  • Latest Posts
Menu

Migration to Windows Azure SQL Database: Step 1

Posted on August 19, 2013November 1, 2013 by slowder

Server Closet?

Last time I introduced you to Windows Azure and some of the key features: pay as you go, scalability, and ease of use.  These are the three key points I make when I start talking to business owners about why I like Azure, and how it can help their businesses.  But before we try and sell them on Azure, we have to ask a very key question.

Would the system work in Azure?

We have to ask some pretty basic questions to figure out if the business system would work in the cloud.  The most basic of these is “Does every part of the system have internet connectivity?”  It goes without saying that if you’re looking to move to the cloud, you’re going to need a connection to the cloud!

In the presentation we are dealing with a company that uses sensors mounted on vehicle to collect data about those vehicles and the number of passengers traveling on those vehicles.  These sensors use a cellular data connection to reach the internet.  They were already using that internet connection to “dial home” and hand this data off to a service that would then record the data into the database, and then acknowledge that packet.  Once the acknowledgement is received, the sensor deletes the data, and proceeds to begin collecting more data. I’d like to point out, these sensors will hold on to these packets for up to a year without dialing home.  This helps address possible connectivity loss between these sensors and the central service.  The fact that this fail-safe was built in, saved a lot of time and effort in the migration.

We didn’t have to build anything extra to deal with the fact that you cannot assume your connection to the cloud will always be there.  Connections are transient. If you build your solutions assuming the connection isn’t always there, and build in a retry policy, you’ll always be in better shape in the long run!

On the other end, users were already connection to the system using a windows based application to connect to the database over the internet, and retrieve data for reporting.  So from end-to-end, the system already had internet connectivity, so we were good to go!

Are you dealing with secret data?

Officially you shouldn’t be putting “top secret” data into Windows Azure.  But you can deploy sensitive data, as long as you’re taking the proper precautions in your system design.  In fact, Microsoft currently holds ISO/IEC 27001:2005 certification, SSAE16/ISAE 3402 attestation, HIPAA Business Associate Agreement,  (and goes through an annual review process).  You can find the current references to these certifications here. While the big one that’s missing is PCI, you should be able to obtain a PCI certificate with Azure, as long as you show you’re meeting everything on the PCI DSS checklist.  Showing the controlled access to the data centers would be a breeze, since you never actually get physical access.

Whenever we’re asked to deal with secured data, we always bring in an outside consultant to help us build our solutions in a way that would ensure the client get’s the certification they’re going for.

Of course, I personally like to avoid PCI all-together by using a tokenization solution from a existing credit card processor.  It makes this process so much easier!

In the presentation, we’re only dealing with GPS data, and counts.  Nothing that really needed to be secured more than by user account.  So for the case study, we’re off to the next question.

What kind of authentication are you using?

In our case study we found the client was only using SQL Security…just one account.  After discussing some of the limitations of using a single account, and developed a plan for improving that security, we were good to go!

In Azure, when it comes to the database layer, you’ve got two options SQL in a virtual machine, or Windows Azure SQL Database.  If your application is already using Windows authentication, and you can’t move to SQL authentication, then you’re going to be locked into using a virtual machine (as of the publishing of this post). If you’re already using SQL Authentication, or could move to it, then you can use either virtual machines or SQL Database.

The great thing about Windows Azure is it’s constantly improving!  When I started giving this presentation, the only option was SQL authentication.  Almost three months ago, Windows Authentication and Active Directory became valid options!

Final thoughts for this step

You’ve got to do some research up front to figure out if the system you’re looking at could move to the cloud.  Chances are it could.  But there are some times where it doesn’t make sense.  you’ve got to be ready for those.  We’ve been asked to look at cloud based options for manufacturing plants.  There was just so much electromagnetic interference, a solid internet connection just wasn’t going to be possible. Once you’ve done this first bit of research.  You’ve got your first round of documentation on who is using the system, what are they doing when they use the system, etc.  In our next step, we’re really going to dig into the code.  We’re really going to find out what would slow down the migration, and what might prevent the migration all together.

As always, if you have any questions about your systems and if they could move to the cloud, let me know!  If you just have questions about Azure, SQL, or anything else, let me know, I’m here to help.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • A New File Interrogator
  • Using Generative AI in Data Engineering
  • Getting started with Microsoft Fabric
  • Docker-based Spark
  • Network Infrastructure Updates

Recent Comments

  1. slowder on Data Engineering for Databricks
  2. Alex Ott on Data Engineering for Databricks

Archives

  • July 2023
  • June 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • October 2018
  • August 2018
  • May 2018
  • February 2018
  • January 2018
  • November 2017
  • October 2017
  • September 2017
  • August 2017
  • June 2017
  • March 2017
  • February 2014
  • January 2014
  • December 2013
  • November 2013
  • October 2013
  • August 2013
  • July 2013
  • June 2013
  • February 2013
  • January 2013
  • August 2012
  • June 2012
  • May 2012
  • April 2012
  • March 2012
  • February 2012
  • January 2012
  • December 2011
  • November 2011
  • October 2011
  • September 2011
  • August 2011
  • July 2011
  • June 2011
  • May 2011
  • April 2011
  • March 2011
  • February 2011
  • January 2011
  • December 2010
  • November 2010
  • October 2010
  • September 2010
  • August 2010
  • July 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • November 2007
  • October 2007
  • September 2007
  • August 2007
  • July 2007
  • June 2007
  • May 2007
  • April 2007
  • March 2007
  • February 2007
  • January 2007
  • December 2006
  • November 2006
  • October 2006
  • September 2006
  • August 2006
  • July 2006
  • June 2006
  • May 2006
  • April 2006
  • March 2006
  • February 2006
  • January 2006
  • December 2005
  • November 2005
  • October 2005
  • September 2005
  • August 2005
  • July 2005
  • June 2005
  • May 2005
  • April 2005
  • March 2005
  • February 2005
  • January 2005
  • November 2004
  • September 2004
  • August 2004
  • July 2004
  • April 2004
  • March 2004
  • June 2002

Categories

  • Career Development
  • Data Engineering
  • Data Science
  • Infrastructure
  • Microsoft SQL
  • Modern Data Estate
  • Personal
  • Random Technology
  • uncategorized
© 2025 shannonlowder.com | Powered by Minimalist Blog WordPress Theme