SlideShare a Scribd company logo
Amit Banerjee
Senior PFE
Microsoft Corporation
Provisioning SQL Server
Virtual Machines in Azure
2
8/2/2014 3
Name the movie?
8/2/2014 4
Training
8/2/2014 5
What does it
take?
8/2/2014 6
If you don’t
deploy on
time?
8/2/2014 7
If you don’t
deploy on
time?
8/2/2014 8
Azure Virtual
Machine
Gallery
8/2/2014 9
8/2/2014 10
8/2/2014 11
What do you
get?
8/2/2014 12
• Database Engine, Analysis Services, Integration Services
• Reporting Services (configured in Native mode)
• AlwaysOn Availability Groups are available in SQL Server 2012 (or
later) but need additional configuration
• Replication, Full-Text and Semantic Extractions for Search
(Semantic Extractions in SQL Server 2012 or later only)
• Data Quality Services (SQL Server 2012 or later only)
• Master Data Services (SQL Server 2012 or later only), but requires
additional configuration and components.
• PowerPivot for SharePoint is available (SQL Server 2012 or later
only), but requires additional configuration
• All tools
• Client Tools Connectivity, Client Tools SDK, and SQL Client
Connectivity SDK.
• SQL Server Books Online, but requires configuration by using
Help Viewer.
Connections
8/2/2014 13
Essentials
8/2/2014 14
• Configure endpoints (if not done)
• Enable TCP/IP
• Configure the port for TCP protocol
• Setup the WF firewall
• Enabled mixed mode authentication and create
a SQL Authenticated user*
• Configure remote DAC
• Configure Max Server Memory
• Configure MAXDOP
What next?
8/2/2014 15
• Use minimum
Standard Tier A2 for
SQL Server VMs.
• Keep the storage
account and SQL
Server VM in the same
region.
• Disable Azure geo-
replication on the
storage account.
• Avoid using operating
system or temporary
disks for database
storage or logging.
• Avoid using Azure
data disk caching
options (caching policy
= None).
• Stripe multiple Azure
data disks to get
increased IO
throughput.
• Format with
documented allocation
sizes.
.
What next?
8/2/2014 16
• Limit or disable
autogrow on the
database.
• Disable autoshrink on
the database.
• Move all databases to
data disks, including
system databases.
• Move SQL Server error
log and trace file
directories to data
disks.
• Apply SQL Server
performance fixes.
• Setup default
locations.
• Enable locked pages.
• Backup directly to blob
storage.
Separate data and log
file I/O paths to obtain
dedicated IOPs for
data and log.
• Enable database page
compression.
• Enable instant file
initialization for data
files.
DEMO
Up above the sky so high!
8/2/2014 17
Resources
8/2/2014 18
Azure Pricing Calculator
http://azure.microsoft.com/en-
us/pricing/calculator/?scenario=full
Pricing Overview
http://azure.microsoft.com/en-us/pricing/overview/
Getting started with a SQL Server VM on Azure
http://msdn.microsoft.com/library/azure/dn133151.aspx
SQL Server 2014 E-book
http://blogs.msdn.com/b/microsoft_press/archive/2014/
04/02/free-ebook-introducing-microsoft-sql-server-
2014.aspx
Setting up a SQL Azure VM
http://troubleshootingsql.com/2014/05/30/setting-up-
sql-server-on-azure-for-testing/
Whitepaper: Performance Guidance for SQL Server VMs
http://msdn.microsoft.com/library/azure/dn248436.aspx
Contact
Information
Blog: www.troubleshootingsql.com
Twitter: @banerjeeamit
Twitter: @TblshootingSQL
Email: troubleshootingsql@outlook.com
Facebook: www.facebook.com/TroubleshootingSQL

More Related Content

PPTX
SQL ON Azure (decision-matrix)
PPTX
PASS VC: SQL Server Performance Monitoring and Baselining
PPTX
All about Kerberos In Microsoft BI
PPTX
SQL Azure Overview
PPTX
SQL Azure
PDF
SQL Server 2019 Data Virtualization
PPTX
Oracle on Azure at Windows Azure Conference 2014
PPTX
Azure cosmos db, Azure no-SQL database,
SQL ON Azure (decision-matrix)
PASS VC: SQL Server Performance Monitoring and Baselining
All about Kerberos In Microsoft BI
SQL Azure Overview
SQL Azure
SQL Server 2019 Data Virtualization
Oracle on Azure at Windows Azure Conference 2014
Azure cosmos db, Azure no-SQL database,

What's hot (20)

PPTX
Windows Azure Camps - Oktober 2012
PDF
Building diagnostic queries using DMVs and DMFs
PPTX
Sql Server 2014 In Memory
PDF
Azure Boot Camp 21.04.2018 SQL Server in Azure Iaas PaaS on-prem Lars Platzdasch
PPTX
SQL Server 2014 New Features (Sql Server 2014 Yenilikleri)
PPTX
Geek Sync | SQL Security Principals and Permissions 101
PPTX
Microsoft Azure, My First IaaS
PDF
Fundamentals of SQL Server 2012 Availability groups
PDF
SQLite3
PPTX
SQL Server Memory Pressure
PPTX
Nadzor sql a
PPTX
SQL Server 2016 AlwaysOn Availability Groups New Features
PPTX
Windows Azure Caching
PPTX
Magento performance feat. core Hacks
PDF
Backup and Restore SQL Server Databases in Microsoft Azure
PPT
Sql And Storage Considerations For Share Point Server 2010
PPTX
Extjs3.4 Migration Notes
PPTX
Sql server 2012 AlwaysOn
PPTX
SQL Server 2016 New Features and Enhancements
PDF
Always on in sql server 2017
Windows Azure Camps - Oktober 2012
Building diagnostic queries using DMVs and DMFs
Sql Server 2014 In Memory
Azure Boot Camp 21.04.2018 SQL Server in Azure Iaas PaaS on-prem Lars Platzdasch
SQL Server 2014 New Features (Sql Server 2014 Yenilikleri)
Geek Sync | SQL Security Principals and Permissions 101
Microsoft Azure, My First IaaS
Fundamentals of SQL Server 2012 Availability groups
SQLite3
SQL Server Memory Pressure
Nadzor sql a
SQL Server 2016 AlwaysOn Availability Groups New Features
Windows Azure Caching
Magento performance feat. core Hacks
Backup and Restore SQL Server Databases in Microsoft Azure
Sql And Storage Considerations For Share Point Server 2010
Extjs3.4 Migration Notes
Sql server 2012 AlwaysOn
SQL Server 2016 New Features and Enhancements
Always on in sql server 2017
Ad

Viewers also liked (13)

PDF
Log-certif-1
PDF
Amalan jurus bayangan inti
PDF
Com afectarà la reforma de la protecció de dades a les xarxes socials?
DOC
tonyresume
PPT
Investing In the Midst of An Economic Turmoil: Opportunity or Challenge?
PPT
Casa slayt
PPTX
Diapositivas
PPTX
Red Fort as a tourist attraction
PPTX
Elemen asas senireka fesyen
PDF
Sٍedimentary manganes and iron ore deposits
PPTX
Illustrasi pengiklanan
PDF
Adobe photoshop 1
PPTX
Pengenalan asas lukisan
Log-certif-1
Amalan jurus bayangan inti
Com afectarà la reforma de la protecció de dades a les xarxes socials?
tonyresume
Investing In the Midst of An Economic Turmoil: Opportunity or Challenge?
Casa slayt
Diapositivas
Red Fort as a tourist attraction
Elemen asas senireka fesyen
Sٍedimentary manganes and iron ore deposits
Illustrasi pengiklanan
Adobe photoshop 1
Pengenalan asas lukisan
Ad

Similar to Provisioning Azure Virtual Machines to run SQL Server (20)

PPTX
01_DP-300T00A-Intro.pptx
PPTX
Should I move my database to the cloud?
PPTX
02_DP_300T00A_Plan_implement.pptx
PPTX
Intro to Azure SQL database
PPTX
Azure data platform overview
PPTX
Azure SQL DB Managed Instances Built to easily modernize application data layer
PDF
A Tour of Azure SQL Databases (NOVA SQL UG 2020)
PDF
Azure SQL Database
PPTX
IaaS for DBAs in Azure
PPTX
Implement SQL Server on an Azure VM
PPTX
Sql Start! 2020 - SQL Server Lift & Shift su Azure
PPTX
Migrate or modernize your database applications using Azure SQL Database Mana...
PDF
Optimiser votre infrastructure SQL Server avec Azure
PPTX
SQL Server Lift & Shift on Azure - SQL Saturday 921
PPTX
Performance Demystified for SQL Server on Azure Virtual Machines
PDF
KoprowskiT_SQLRelayNottingham_BackupAndRestoreAD2015
PPTX
Azure Data platform
PPTX
Getting Started with Azure SQL Database (Presented at Pittsburgh TechFest 2018)
PPTX
Azure SQL Managed Instance - SqlBits 2019
PPTX
Building elastic and fault tolerant Data Platform solutions with Azure, SQL S...
01_DP-300T00A-Intro.pptx
Should I move my database to the cloud?
02_DP_300T00A_Plan_implement.pptx
Intro to Azure SQL database
Azure data platform overview
Azure SQL DB Managed Instances Built to easily modernize application data layer
A Tour of Azure SQL Databases (NOVA SQL UG 2020)
Azure SQL Database
IaaS for DBAs in Azure
Implement SQL Server on an Azure VM
Sql Start! 2020 - SQL Server Lift & Shift su Azure
Migrate or modernize your database applications using Azure SQL Database Mana...
Optimiser votre infrastructure SQL Server avec Azure
SQL Server Lift & Shift on Azure - SQL Saturday 921
Performance Demystified for SQL Server on Azure Virtual Machines
KoprowskiT_SQLRelayNottingham_BackupAndRestoreAD2015
Azure Data platform
Getting Started with Azure SQL Database (Presented at Pittsburgh TechFest 2018)
Azure SQL Managed Instance - SqlBits 2019
Building elastic and fault tolerant Data Platform solutions with Azure, SQL S...

More from Amit Banerjee (20)

PPTX
The Roadmap for SQL Server 2019
PPTX
Azure database services for PostgreSQL and MySQL
PPTX
Upgrade your SQL Server like a Ninja
PPTX
SQL PASS 2017 - Building one million predictions per second using SQL Server ...
PPTX
Building 1 million predictions per second using SQL-R
PPTX
Troubleshooting common scenarios with Always On - A Dress Rehearsal
PPTX
Enhancements to High Availability, Disaster Recovery and Replication
PPTX
Securing SQL Server with TLS 1.2
PPTX
AlwaysOn Troubleshooting Improvements
PPTX
Always On Availability Group Troubleshooting Ninja
PPTX
Debugging made easier with extended events
PPTX
You, SQL Server and PowerShell
PPTX
SQL Saturday 511 - Troubleshooting made easier using extended events
PPTX
Slow query bring it on
PPSX
Backup enhancements with SQL Server 2014
PPTX
Troubleshooting SQL Server using Power Pivot and Power View
PPTX
SQL Server Tips and Tricks - Power
PPTX
SQL Server Scheduling Basics
PPT
System health session
PPTX
Microsoft TechEd India 2012 Backup Restore
The Roadmap for SQL Server 2019
Azure database services for PostgreSQL and MySQL
Upgrade your SQL Server like a Ninja
SQL PASS 2017 - Building one million predictions per second using SQL Server ...
Building 1 million predictions per second using SQL-R
Troubleshooting common scenarios with Always On - A Dress Rehearsal
Enhancements to High Availability, Disaster Recovery and Replication
Securing SQL Server with TLS 1.2
AlwaysOn Troubleshooting Improvements
Always On Availability Group Troubleshooting Ninja
Debugging made easier with extended events
You, SQL Server and PowerShell
SQL Saturday 511 - Troubleshooting made easier using extended events
Slow query bring it on
Backup enhancements with SQL Server 2014
Troubleshooting SQL Server using Power Pivot and Power View
SQL Server Tips and Tricks - Power
SQL Server Scheduling Basics
System health session
Microsoft TechEd India 2012 Backup Restore

Recently uploaded (20)

PPTX
MYSQL Presentation for SQL database connectivity
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Electronic commerce courselecture one. Pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
Understanding_Digital_Forensics_Presentation.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
cuic standard and advanced reporting.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Big Data Technologies - Introduction.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Encapsulation theory and applications.pdf
MYSQL Presentation for SQL database connectivity
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Electronic commerce courselecture one. Pdf
Review of recent advances in non-invasive hemoglobin estimation
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Understanding_Digital_Forensics_Presentation.pptx
The AUB Centre for AI in Media Proposal.docx
Advanced methodologies resolving dimensionality complications for autism neur...
The Rise and Fall of 3GPP – Time for a Sabbatical?
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Chapter 3 Spatial Domain Image Processing.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
cuic standard and advanced reporting.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Big Data Technologies - Introduction.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Encapsulation theory and applications.pdf

Provisioning Azure Virtual Machines to run SQL Server

  • 1. Amit Banerjee Senior PFE Microsoft Corporation Provisioning SQL Server Virtual Machines in Azure
  • 2. 2
  • 7. If you don’t deploy on time? 8/2/2014 7
  • 8. If you don’t deploy on time? 8/2/2014 8
  • 12. What do you get? 8/2/2014 12 • Database Engine, Analysis Services, Integration Services • Reporting Services (configured in Native mode) • AlwaysOn Availability Groups are available in SQL Server 2012 (or later) but need additional configuration • Replication, Full-Text and Semantic Extractions for Search (Semantic Extractions in SQL Server 2012 or later only) • Data Quality Services (SQL Server 2012 or later only) • Master Data Services (SQL Server 2012 or later only), but requires additional configuration and components. • PowerPivot for SharePoint is available (SQL Server 2012 or later only), but requires additional configuration • All tools • Client Tools Connectivity, Client Tools SDK, and SQL Client Connectivity SDK. • SQL Server Books Online, but requires configuration by using Help Viewer.
  • 14. Essentials 8/2/2014 14 • Configure endpoints (if not done) • Enable TCP/IP • Configure the port for TCP protocol • Setup the WF firewall • Enabled mixed mode authentication and create a SQL Authenticated user* • Configure remote DAC • Configure Max Server Memory • Configure MAXDOP
  • 15. What next? 8/2/2014 15 • Use minimum Standard Tier A2 for SQL Server VMs. • Keep the storage account and SQL Server VM in the same region. • Disable Azure geo- replication on the storage account. • Avoid using operating system or temporary disks for database storage or logging. • Avoid using Azure data disk caching options (caching policy = None). • Stripe multiple Azure data disks to get increased IO throughput. • Format with documented allocation sizes. .
  • 16. What next? 8/2/2014 16 • Limit or disable autogrow on the database. • Disable autoshrink on the database. • Move all databases to data disks, including system databases. • Move SQL Server error log and trace file directories to data disks. • Apply SQL Server performance fixes. • Setup default locations. • Enable locked pages. • Backup directly to blob storage. Separate data and log file I/O paths to obtain dedicated IOPs for data and log. • Enable database page compression. • Enable instant file initialization for data files.
  • 17. DEMO Up above the sky so high! 8/2/2014 17
  • 18. Resources 8/2/2014 18 Azure Pricing Calculator http://azure.microsoft.com/en- us/pricing/calculator/?scenario=full Pricing Overview http://azure.microsoft.com/en-us/pricing/overview/ Getting started with a SQL Server VM on Azure http://msdn.microsoft.com/library/azure/dn133151.aspx SQL Server 2014 E-book http://blogs.msdn.com/b/microsoft_press/archive/2014/ 04/02/free-ebook-introducing-microsoft-sql-server- 2014.aspx Setting up a SQL Azure VM http://troubleshootingsql.com/2014/05/30/setting-up- sql-server-on-azure-for-testing/ Whitepaper: Performance Guidance for SQL Server VMs http://msdn.microsoft.com/library/azure/dn248436.aspx
  • 19. Contact Information Blog: www.troubleshootingsql.com Twitter: @banerjeeamit Twitter: @TblshootingSQL Email: troubleshootingsql@outlook.com Facebook: www.facebook.com/TroubleshootingSQL

Editor's Notes

  • #14: For changing the port number using NETSH command, the following can be used after replacing the placeholder with the appropriate port number: netsh advfirewall firewall add rule name = SQLPort dir = in protocol = tcp action = allow localport = <PORT NUMBER> remoteip = ANY profile = PUBLIC