Book Image

Professional Azure SQL Database Administration - Second Edition

By : Ahmad Osama
Book Image

Professional Azure SQL Database Administration - Second Edition

By: Ahmad Osama

Overview of this book

Despite being the cloud version of SQL Server, Azure SQL Database differs in key ways when it comes to management, maintenance, and administration. This book shows you how to administer Azure SQL Database to fully benefit from its wide range of features and functionalities. Professional Azure SQL Database Administration begins by covering the architecture and explaining the difference between Azure SQL Database and the on-premise SQL Server to help you get comfortable with Azure SQL Database. You’ll perform common tasks such as migrating, backing up and restoring a SQL Server database to an Azure database. As you progress, you’ll understand how you can reduce costs, and manage and scale multiple SQL databases using elastic pools. You’ll also implement a disaster recovery solution using standard and active geo-replication. Whether it is learning different techniques to monitor and tune an Azure SQL Database or improving performance using in-memory technology, this book will enable you to make the most out of Azure SQL database features and functionality for data management solutions. By the end of this book, you’ll be well-versed with key aspects of an Azure SQL Database instance, such as migration, backup restorations, performance optimization, high availability, and disaster recovery.
Table of Contents (11 chapters)

Installation and Setup

The Azure SQL Database and the Azure SQL Server Database names should be unique across Microsoft Azure and should follow these naming rules and conventions at https://docs.microsoft.com/en-us/azure/architecture/best-practices/naming-conventions.

Sign up for a Free Azure Account

  1. Open the following link in a browser: https://azure.microsoft.com/en-us/free/.
  2. Select Start Free. In the sign-up page, login using your Microsoft account and follow the steps to create a free Azure account.
  3. If you don't have a Microsoft account, you can create a new one by selecting Create one!
  4. An Azure account requires you to provide credit card details. However, no money is charged even if you have exhausted your free credit or free month. The resources you created will be stopped and can only be started once you sign-up for a paid account.

Install SQL Server Management Studio

Follow the instructions to download the latest version of SQL Server Management studio provided here: https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-2017.

Installing Microsoft PowerShell 5.1

  1. Open the following URL in the browser to get to open the download page: https://www.microsoft.com/en-us/download/details.aspx?id=54616.
  2. Click on the Download button and select Win8.1AndW2K12R2-KB3191564-x64.msu. Click on Next to download and install the Windows Management Framework 5.1 to upgrade to PowerShell 5.1.

Installing Microsoft Azure PowerShell

  1. Open the following link in a browser https://www.microsoft.com/web/downloads/platform.aspx.
  2. Scroll to the end and select x64 under Download WebPI 5.0 to download the web platform installer.
  3. Double click the downloaded exe file and follow the steps to install Web PI 5.0
  4. Open Web PI and type Microsoft Azure PowerShell in the search box. Follow the steps to download the latest version.

Microsoft RML Utilities

  1. Open the following link in a browser: https://www.microsoft.com/en-us/download/details.aspx?id=4511.
  2. Click Download to download the installer. Click the downloaded file and follow the instructions to install RML Utilities.

Installing Visual Studio Community Edition

  1. Visual Studio command prompt is required to generate self-signed certificates. As there's no easy way to install only the Visual Studio command prompt, it's advised to install the Visual Studio 2013 or above community edition.
  2. Open the following link in a browser: https://visualstudio.microsoft.com/downloads/.
  3. Download and install the Visual Studio 2017 community edition and follow the instructions to install it.
  4. You may get a different version to download. Download the latest one.