{"id":1083,"date":"2019-04-11T18:48:40","date_gmt":"2019-04-11T06:48:40","guid":{"rendered":"http:\/\/www.helenanderson.co.nz\/?p=1083"},"modified":"2020-11-19T22:42:36","modified_gmt":"2020-11-19T09:42:36","slug":"aws-aurora-migration","status":"publish","type":"post","link":"https:\/\/helenanderson.co.nz\/aws-aurora-migration\/","title":{"rendered":"The Great Migration: From SQL Server to AWS Aurora"},"content":{"rendered":"\n

This is a retrospective covering some of the learnings from ‘Project Aurora’. A nine-month project to migrate 60 Data Analyst<\/a> users and all their objects from a legacy SQL Server database<\/a> to a fit for purpose, scalable AWS Aurora database<\/a>.<\/p>\n\n\n\n

What I hope you take away from this post is not only that it’s very easy to get started with AWS<\/a>. But that migration is a team sport<\/a>. This project would not have been a success without the buy-in and support from the Data Analyst users.<\/p>\n\n\n\n


\n\n\n\n

Growing Pains<\/a>
Community and Communication<\/a>
Design Challenges<\/a>
Migration<\/a>
Testing and Go Live<\/a>
The Future<\/a><\/strong><\/p><\/blockquote>\n\n\n\n


\n\n\n\n

<\/a><\/p>\n\n\n\n

Part One: Growing Pains<\/h2>\n\n\n\n

Analytics has been growing incredibly quickly at Xero<\/a>. There are now over 60 Analysts using the platforms that my team, Data Services, build and maintain. But it hasn’t always been this way.<\/p>\n\n\n\n

Back in 2015, there were four Marketing<\/a> Analysts in Wellington and another four in the regional offices in London, San Francisco and Melbourne.  Data Science<\/a> wasn\u2019t a hot job yet, and the Data Analysts role was primarily to support marketing automation by using the Data Services platform to pull lists for email campaigns.<\/p>\n\n\n\n

By the time we reached 2017, the community had grown to around 20 Analysts and the cracks were starting to show on the SQL Server environment. The amount of data stored was going up every few months, and there was a demand for faster processing.<\/p>\n\n\n\n

Fast forward to today and there are now over 60 Data Analysts and Scientists who use the Data Services platforms for everything from sales reporting, analysing sentiment in customer tickets and tracking customer journeys through the Xero app.<\/p>\n\n\n\n


\n\n\n\n

Life with SQL Server<\/h3>\n\n\n\n

The SQL Server deployed as a sandpit environment was designed for a much smaller workload, wasn\u2019t intended to be a production space and became much harder to monitor, debug and deliver a quality service.<\/p>\n\n\n\n

Data Services had moved to Amazon Redshift for our Data Warehousing so made the call to use another AWS option to take the Analysts database from \u2018state of emergency\u2019 to \u2018state of the art\u2019<\/p>\n\n\n\n

<\/figure><\/div>\n\n\n\n

We had reports of:<\/p>\n\n\n\n