You are on page 1of 20

Azure eBook series

The Essential Guide


to Data in the Cloud:
A Handbook for DBAs
The essential guide to data in the cloud: 2
a handbook for DBAs

Table of
contents

1. 2. 3.
Introduction Evolution to the cloud: The power of choice
how things change, how
they stay the same

4. 5. 6.
Getting data to the cloud Optimising your app for Managing costs will become
the cloud part of your job

7. 8. 9.
Use what you know Expand your options AI at work
The essential guide to data in the cloud: 3
a handbook for DBAs

1.
Introduction
As a database administrator (DBA),
The skills of managing
you know how challenging it can be to
keep enterprise databases humming as and manipulating data
performance demands and data volumes will stay largely the
increase. Moving to the cloud will also
make your role a lot more visible – even as same. However, you’ll
traditional maintenance tasks become more find yourself doing less
automated. Now is the time to prepare
for moving your data to the cloud so you
patching, maintenance
can maximise the benefits of lower costs, and administration –
increased scalability, reduced infrastructure
and take advantage of opportunities to
and more optimisation,
modernise your applications so you can experimentation
focus less on day-to-day operations and
and high-level data
more on value-added tasks.
architecture.
The essential guide to data in the cloud: 4
a handbook for DBAs

With your database environment in the • Understanding how to manage


cloud you’ll spend less time on routine costs so you can optimise and justify
maintenance while providing more value to monthly usage costs (instead of three-
your business by: to five-year refresh cycles).

• Modernising existing SQL Server


• Exploiting cloud database capabilities like
applications at scale.
continuous, AI-powered automatic tuning
and built-in high availability to maintain
• Broadening your horizons with value-
peak performance and durability;
added activities to boost your career,
hyperscale service; and intelligent threat
including big data, AI and machine
detection and proactive vulnerability
learning and app development.
assessment.Learning how to migrate
data to the cloud with tools to help you
learn the basic processes, as well as the At Microsoft, we’re committed to
easiest paths. providing you with cloud data services
that simplify your life, maximise your skills
• Growing your database knowledge and and empower you to be the data hero of
branching out into more data formats and your organisation. Becoming a cloud DBA
platforms, so you can design the optimal requires you to tune your skill set, but the
database ecosystem for your organisation. rewards can be great.

• Using automated tools that streamline


Learn more about the five steps
and accelerate application modernisation.
above and resources to help you
achieve them.
• Refactoring your applications to take
advantage of a flexible, cloud-native
architecture that allows storage to
grow as needed and adapt to changing
requirements.
The essential guide to data in the cloud: 5
a handbook for DBAs

2.
Evolution to Let’s take a look at the differences between
on-premises databases and cloud data

the cloud: how services. The following diagrams show a


common scenario: creating reports and

things change,
visualisations from a SQL Server database.
The on-premises scenario has a lot more for

how they stay


you to manage and may be more limited in
terms of the technologies it incorporates.
In the cloud, you have less infrastructure to
the same worry about, while using more advanced
services becomes much easier because they
are all part of the same platform.

Before

Cloud Data
Sources

Applications

On-Premises
Data Sources
SQL Server 2017 SQL Server 2017 SQL Server Power BI
SQL Server Integration (DW) 2017 Analysis Report Server
Services Services
Other Data
Sources
The essential guide to data in the cloud: 6
a handbook for DBAs

After

Applications Cloud Data Sources

Azure SQL Azure Data Azure Synapse Azure Analysis Power BI


Database Factory Analytics Services
Azure SQL
Managed Instance
SQL Server on
Virtual Machines
Gateway Cloud Service

Azure Service Bus

On-Premises
On-Premises Data Gateway
Data Sources

SQL Server

Other Data
Sources

As you can see, many of the same steps So instead of spending time purchasing,
and technologies are in the chain, but have configuring, maintaining and updating
moved from on-premises to the cloud. server hardware and server and database
And many more technology options are software, you use the skills you already have
available in the cloud for analysing your to start turning your valuable data into real
data and optimising it for business value. insights that move your business forward.
The essential guide to data in the cloud: 7
a handbook for DBAs

3.
The power
of choice
Intensive maintenance requirements with For instance, you’ll find that relational and
on-premises technology can limit the ability non-relational databases are increasingly
to expand your expertise beyond one seen as complementary, and you’ll learn
database type. However, your company will to be conversant in both. Here’s a quick
likely expect you to cover a broader range overview of cloud database technologies
of databases and related features in the available to you on Azure, and what they’re
cloud. The good news is that in the cloud, best for.
simplified operations give you more time to
grow your skills.

Technology Relational database (SQL, Data warehouse NoSQL database


PostgreSQL, MySQL, Oracle)

Common Line of business functions Data analytics IoT and telematics


use cases such as HR, CRM and ERP
Enterprise business Gaming
Inventory management intelligence
Web and mobile
Reporting applications

Accounting Globally distributed


applications
Order management
The essential guide to data in the cloud: 8
a handbook for DBAs

Technology Relational database (SQL, Data warehouse NoSQL database


PostgreSQL, MySQL, Oracle)

Skills to focus on Database programming Big data concepts Big data concepts
as a cloud DBA
Application design as it Data movement Unstructured data
relates to data
Visualisation and Key value databases
Schema design and data reporting
Graph databases
hygiene
KPI value
Document stores
Data security
Data analysis and
Column family stores
Performance tuning insights
Data security
Scripting
Performance tuning

Azure data Azure SQL (Azure SQL Azure SQL Data Azure Cosmos DB
services Database, Azure SQL Warehouse
Managed Instance, SQL
Server on Azure Virtual
Machines)

Azure Database for MariaDB

Azure Database for MySQL

Azure Database for


PostgreSQL

Oracle on Azure Virtual


Machines

Learn more Learn more about Learn more about Azure Learn more about
Azure SQL DB SQL Data Warehouse Azure Cosmos DB

Moving to the cloud relieves the burden options, to add value to your business,
of many maintenance tasks and provides as well as advance your career.
unique opportunities to create a data-
driven organisation. It’s worth your time to Learn more about the breadth of
learn about the variety of cloud database cloud data services on Azure.
The essential guide to data in the cloud: 9
a handbook for DBAs

4.
Getting data When it comes to actual migration, DBAs
are often responsible for helping move

to the cloud data from on-premises to the cloud. When


you use Azure databases, you can take
advantage of pre-built tools and resources
to simplify this process.

From To Tools

On-premises SQL Azure SQL (Azure SQL Azure Database


Server database Database, Azure SQL Managed Migration Service
Instance, SQL Server on Azure
Virtual Machines)

Oracle Azure SQL (Azure SQL Microsoft SQL Server


Database, Azure SQL Managed Migration Assistant
Instance, SQL Server on Azure for Oracle
Virtual Machines)

On-premises open Azure Database for MariaDB Azure Database


source database Azure Database for MySQL Migration Service
Azure Database for PostgreSQL

JSON files Azure Cosmos DB Azure Cosmos DB


CSV files Data Migration Tool
SQL
MongoDB
Azure Table storage
Amazon DynamoDB
Azure Cosmos DB SQL API
The essential guide to data in the cloud: 10
a handbook for DBAs

From To Tools

Apache Cassandra Azure Cosmos DB Azure Cosmos DB


Cassandra API

MongoDB Azure Cosmos DB Azure Cosmos DB API


for MongoDB

No matter what migration path best fits Find the best migration path
your organisation’s needs, Microsoft has for your scenario.
tools and documentation to help you make
the transition. So you are free to pick from
a range of database services, confident
that we can help you with your specific
migration requirements.
The essential guide to data in the cloud: 11
a handbook for DBAs

Choosing the right


relational database

When it comes to moving relational data SQL Server on Azure


to the cloud, maximizing the value of your Virtual Machines
existing skills and resources depends on
Best for: Lift-and-shift migration of your
choosing the right destination. Azure SQL is a
SQL workloads, while maintaining 100% SQL
family of fully managed, secure and intelligent
Server compatibility and OS-level access.
SQL database services offering the widest
range of deployment options for SQL, from
edge to cloud. Azure Database for MySQL
Azure Database for PostgreSQL
Azure SQL Database Azure Database for MariaDB

Best for: Supporting modern cloud Best for: Organisations with existing
applications on an intelligent, managed investment in open-source SQL databases,
service that includes serverless compute. Get skills and tools.
the simplicity and flexibility of SLA-backed
deployments and scale. Fully managed. No
patching or maintenance required. Learn more about Azure
database options.

Azure SQL Managed Instance

Best for: Modernising your existing


SQL Server applications at scale with an
intelligent, fully managed service. Rich,
instance-centric programming model.
No patching or maintenance required.
The essential guide to data in the cloud: 12
a handbook for DBAs

5.
Optimising your
app for the cloud
A lift-and-shift migration like SQL on Azure Refactoring also enables you to optimise
Virtual Machines can get you to the cloud your application for the cloud, thereby
quickly, but if you want to get the most out of reducing your costs. Azure SQL Database
your cloud investment and experience, you’ll serverless automatically scales compute
want to refactor your application for Azure SQL based on workload demand and bills for
Database or Azure SQL Managed Instance. the amount of compute used per second.
Serverless also automatically pauses
Azure SQL Database Hyperscale’s cloud-native databases during inactive periods when
architecture allows nearly instantaneous only storage is billed and automatically
backups and fast database restores in minutes resumes databases when activity resumes.
– regardless of the size of the data operation.
A Hyperscale database supports up to 100 Azure SQL eases the process of refactoring
TB of data and provides high throughput your application. Automated tools
and performance, as well as rapid scaling to streamline and accelerate your application
adapt to the workload requirements. Scaling modernisation efforts, and existing SQL
is transparent to the application. Connectivity, Server applications can be modernised at
query processing, etc., work like any other scale with Azure SQL Managed Instances.
database in Azure SQL Database.
The essential guide to data in the cloud: 13
a handbook for DBAs

6.
Managing costs
will become part
of your job
In the on-premises world, you may only so on. What shows up on the monthly bill
encounter the issue of database cost when will be directly attributable to how you
capital refresh cycles are in the works. configure the database services.
Once hardware is deployed, there’s little
incremental cost involved in deploying and Not only does this allow you to align your
running databases. costs more closely with your needs, but it
also creates more opportunities for you to
In the cloud, it’s completely different. demonstrate the value you provide to the
You pay based on what you actually use. business. However, it means you need to
Depending on the service, your cost can understand the billing models available to
vary based on the number of hours a you and how to optimise costs. Here are a
database runs, what type of processor it few tips and resources to get started in the
uses, the amount of data you store, and Azure SQL world.
The essential guide to data in the cloud: 14
a handbook for DBAs

Azure SQL

Azure SQL Database and Azure SQL throughput currency called Request Units per
Managed Instance: second (RU/s). Once provisioned, RU/s can be
The vCore-based purchasing model used interchangeably across various database
enables you to choose the exact amount operations. You can increase or decrease the
of storage capacity and compute that you provisioned throughput at any time.
need for your workload. The DTU-based
purchasing model lets you choose bundled Learn more about Azure
compute and storage packages balanced Cosmos DB and pricing.
for common workloads. You can save
money by using Reserved Capacity if you
can commit to a one- or three-year term. Azure SQL Data Warehouse:
Azure Hybrid Benefit for SQL Server helps Compute is billed by the hour, while data
you maximise the value from your current storage and snapshots are billed by the
licensing investments and accelerate your TB/hour. Two different performance levels,
migration to the cloud. Gen1 and Gen2, allow you to balance price
and performance.
Learn more about Azure SQL
Database pricing. Learn more about Azure SQL
Data Warehouse pricing.

SQL Server on Azure Virtual Machines:


Costs vary based on the SQL Server edition Different services are billed a little differently
that you select as well as underlying virtual depending on what configuration choices
machine type and size. you make, but all cost more the more you
use. That’s why efficient database design and
Learn more about SQL Server on performance tuning become so important.
Azure Virtual Machine pricing. You can save a lot by using cloud resources
efficiently and taking advantage of scaling
opportunities, rather than the old on-
Azure Cosmos DB:
premises strategy of simply throwing more
This option bills for provisioned throughput
hardware at the problem.
and consumed storage by the hour. The
throughput is expressed as a normalised
The essential guide to data in the cloud: 15
a handbook for DBAs

7.
Use what Because cloud databases automatically
handle most daily maintenance and

you know availability issues, some traditional DBA


skills will become less important, while
new skills will become essential. However,
moving to the cloud doesn’t mean
throwing your existing knowledge out the
window. Several skills translate directly to
the cloud, while others will be new. Here’s a
quick checklist of common shifts.

Skill Reduced focus Increased focus New skills

Scaling

Backup management

Infrastructure maintenance

Disaster recovery

Infrastructure security

Data movement

Cost optimisation

Performance tuning

Understanding of business
outcomes

Database optimisation for


applications

Cloud security and


governance

Cloud architecture
The essential guide to data in the cloud: 16
a handbook for DBAs

Leveraging existing
skills in the cloud

With all the time you won’t be spending The SQL querying and data management
on infrastructure duties, you can dive skills you have will remain strong assets.
deeper into your most valuable skills.
Performance tuning is one example that For open-source DBAs, Azure Database
will continue to be important, even more for MySQL, Azure Database for MariaDB
so with the monthly bill arriving to show and Azure Database for PostgreSQL offer
your progress up the chain of command. the programming environment you know
And your background and expertise in data with the benefits of a managed service. For
movement position you perfectly to take Oracle migrations to Azure SQL Database,
on a strategic and advisory role during the the Oracle Extension Pack can enable you
migration and beyond. Your strongest value to continue using familiar Oracle features.
lies in understanding the mechanics and
details of your databases and their runtime Finally, if you’re using a non-relational
characteristics and configuration. database, Azure Cosmos DB provides a
wide range of APIs so you can use the
If you simply migrate your SQL Server language and schema you know best,
databases over to one or more Azure Virtual including options for:
Machine instances, then you can use all
your existing skills. This scenario replicates
• .NET • SQL
exactly what you did on-premises so you can
achieve all the same tasks the same way you
• Java • MongoDB
always have, just through Azure.
• Node.js • Gremlin
And whether you’re choosing the SQL or
NoSQL route, you can also maximise existing • Python • Cassandra
skills and tooling with Azure. In the relational
world, choosing Azure SQL Database • Xamarin • Table
Managed Instance means you can migrate to
the cloud while continuing to use the version
of SQL Server you use on-premises today.
The essential guide to data in the cloud: 17
a handbook for DBAs

8.
Expand your
options
Managing your databases in the cloud
offers unprecedented opportunity
to focus on adding more value to
your business, and less on mundane
maintenance and break/fix activities.
Here are some areas to explore.

App development Big data

Database infrastructure doesn’t have much As data becomes increasingly critical


to do with application performance, but to business success, cloud data services
database architecture and optimisation can empower you to become an all-
does. With less time spent keeping the around expert focused on the broader
lights on, you can work more closely information universe, with a strategic view
with app dev teams to select, deploy and of your architecture.
optimise the right database solutions for
various use cases. Relevant solution: Azure Data Lake
removes the complexities of ingesting and
Relevant solution: Use built-in intelligence storing your data while making it faster to
that automatically tunes performance get up and running with batch, streaming
based on usage patterns. Plus, Common and interactive analytics.
Data Service (CDS) for Apps lets you
securely store and manage data that’s used
by business applications.
The essential guide to data in the cloud: 18
a handbook for DBAs

Intelligent insights Smart security

Help people extract more insights out of In the cloud, you can take advantage of
data through visualisation and business advanced security capabilities without
intelligence. having to become a single-minded security
expert. This helps your organisation pursue
Relevant solution: With DirectQuery, innovative architecture and capabilities with
queries are sent back to your Azure SQL less risk.
Database as users explore the data in the
report view, providing the ability to have Relevant solution: Take advantage of
live data in reports. built-in intelligent security such as threat
detection, vulnerability assessment,
transparent data encryption, data discovery
AI and machine learning and classification and Azure AD.

Combine the power of DBA and data


scientist with pre-built capabilities for
discovering insights and automating
actions. (There’s more about this in the
next section.)
The essential guide to data in the cloud: 19
a handbook for DBAs

9.
AI at work
AI and machine learning consistently top Cognitive services: Use intelligent
lists of key technology trends – and as a algorithms to see, hear, speak, understand
DBA, once your data is in the cloud, it’s and interpret user needs through natural
easier than ever for you to dive in. Here are methods of communication.
a few ways you can get started exploring AI
using Azure services. Bots: Give users new ways to interact
naturally with data by building,
Machine learning: Azure Machine Learning connecting, deploying and managing
Studio is a powerfully simple browser- intelligent bots.
based, visual drag-and-drop authoring
environment where no coding is necessary.
You can also use R and Azure SQL Database Get a quick guide to machine
together for machine learning use cases. learning for technology
professionals.
The essential guide to data in the cloud: 20
a handbook for DBAs

Getting started
with data in
the cloud Create a managed cloud database
with your Azure free account.

Start for free

Contact an Azure specialist >

Find out about the evolving role of DBAs.


Learn more >

© 2020 Microsoft Corporation. All rights reserved. This document is provided ‘as is’. Information and
views expressed in this document, including URLs and other internet website references, may change
without notice. You bear the risk of using it. This document does not provide you with any legal
rights to any intellectual property in any Microsoft product. You may copy and use this document for
your internal, reference purposes.

You might also like