SlideShare a Scribd company logo
SQL Server in Azure IaaS,
Paas, on-Prem
Planning and Business Continuity
or more like
Take the Red or the Blue Pill
Lars Platzdasch
MCT,MCSE SQL, MCSE SharePoint
Sprecher:
Lars Platzdasch
Twitter
@LarsPlatzdasch
Xing
/Lars_Platzdasch
LinkedIn
LarsPlatzdasch
Web
www.platzdasch.de
www.3perspektiven.de
MCT: SQL, SharePoint, .net
MCSE: SQL Server Data Platform
MCSE: SharePoint
MCITP: SharePoint 2010, Administrator
MCITP: SharePoint 2010, Developer
Microsoft Certified Application Developer: .NET
Certified Ethical Hacker (CEH) - EC-Council
platzdasch netConsult GmbH & Co. KG | ISV
24/7 Support für SQL / SharePoint
3 Perspektiven GmbH | MBS
22 IT, 21 Jahre SQL Server, 14 Jahre SharePoint
Gold
About the Audience
• DBAs
• Developers
• SQL AlwaysOn Availability Groups
Experience?
• System Administrators
• Azure Lovers ;-)
• and …
The Plan
1. High Level Comparison to SQL Server
2. Most Important Slide about the differences
3. Drill into random interesting capabilities
4. Securing
5. Some demos
6. Tips for Iaas
Hosting Choices for SQL
Azure SQL DB is SQL Server Except…
Common SQL Server
“Just change the
connection
string…”
https://azure.microsoft.com/en-us/documentation/articles/sql-database-transact-sql-information/
Additional information on Differences:
Azure SQL DB
Demos
• Demo: Meet the Portal (portal.azure.com)
• Demo: Create a SQL Database
.
What’s the Same
1. Team
2. Core Code Base
3. Transact-SQL
▪ Yes, full support
▪ https://feedback.azure.com/
4. Most of the features
5. Mature
.
What’s Missing (or is it?) in Azure SQL DB
Category 1: Takes a Different Approach
▪ Example: SQL Agent
Category 2: On the way
▪ Network Support
▪ But in the works…
Category 3: No plan (?)
https://feedback.azure.com/
.
You access a DB
DB is fully managed: High Availability, Backups,
Patching
Runs latest SQL Server version, based on Enterprise ed.
New paradigm of databases and modern app
building
Different DB sizes: Basic (2GB, 5DTUs) to Premium
(1TB, 4000DTUs
DB availability SLA: 99.99% 4000DTUs .. Premium)
Azure SQL Database SQL Server in Azure VM
You access a VM with SQL Server
You manage SQL Server and Windows: High
Availability, Backups, Patching (automation
available)
You can run any SQL Server version and edition
Full on-premises compatibility
Different VM sizes: A0 (1 core, 1GB mem, 100GB)
to G5 ( .. )
VM availability SLA: 99.95%: In practice SQL
AlwaysOn provides higher availability (~99.99%)
Reuse on-premises infrastructure (e.g. Active
Directory)
Differences :
SQL Server View on ‘Managed’
Azure SQL Database
Low Control | Low Maintenance
Shared
Lowercost
Dedicated
Highercost
High Control | High Maintenance
Hybrid
Physical
Virtual
PaaS
SaaS
IaaS
On premises
Off premises
SQL Server
Physical Machines
SQL Server Private Cloud
Virtualized Machines
SQL Server in Azure VM
Virtualized Machines
Virtualized Databases
Cloud
Manageability ( Azure SQL DB )
1. Server Management so easy - not available!
▪ You control schema, indexes, users, etc. as usual
▪ PaaS model
2. 99.95% uptime SLA (one instance)
3. Geo-DR/FO/BC (Active/Passive)
4. Geo-Replication (Active/Active RO)
5. Backups, PiTR
.
DMV Views
(https://azure.microsoft.com/en-us/documentation/articles/sql-database-monitoring-with-dmvs/ )
DTU (https://docs.microsoft.com/de-de/azure/sql-database/sql-database-what-is-a-dtu )
eDTU ( elastic Pool DTU)
Performance ( Azure DB )
.
Data Throughput Unit
Data Throughput Unit
▪ http://dtucalculator.azurewebsites.net/
▪ Demo: DTU definition
https://azure.microsoft.com/en-
us/documentation/articles/sql-database-service-
tiers/#understanding-dtus
SQL / Space / DTU
Pools
Geo Repl
Pricing ( Azure DB )
Pricing in Tiers and Pools
▪ Demo: Pricing options
https://azure.microsoft.com/en-us/pricing/
▪ https://azure.microsoft.com/en-
us/documentation/articles/sql-database-
service-tiers/
Securing SQL Azure
“[Cloud security] is a shared
responsibility between the customer
and the cloud vendor.”
Mark Russinovich, Microsoft Azure CTO
https://www.rsaconference.com/writable/presentations/file_upload/exp-w01_assume-
breach-an-inside-look-at-cloud-service-provider-security.pdf
A Cautionary Tale: Code SpaceS
1. DDoS
2. Ransom demand
3. Security breach noticed
4. Fighting back
5. Malicious destruction
of assets
6. Security & Business #fail
“Code Spaces has a
full recovery plan that
has been proven to
work and is, in fact,
practiced.”
Data plane (data access)
vs. mgmt/control
plane (Portal, APIs,
PowerShell)ELAPSEDTIME:
12HOURShttp://arstechnica.com/security/2014/06/aws-console-breach-leads-to-demise-of-service-with-proven-backup-plan/
Risk Mitigation
Internet Exposed RDP or SSH Endpoints Network ACLs or Host-based Firewall; Strong passwords; VPN or SSH
Tunnels
Virtual Machine Missing Security Patches Keep Automatic Updates Enabled;
Web Application Vulnerability Securing Azure Web Applications; Vulnerability scan/penetration test
Weak Admin/Co-Admin Credentials Azure Multi-Factor Authentication; Subscription Management Certificate
Unrestricted SQL Endpoint Azure SQL Firewall
Storage Key Disclosure Manage Access to Storage Resources
Insufficient Security Monitoring Azure Security and Log Management;
Top Azure Risks Leading to Tenant
Breach
https://www.rsaconference.com/writable/presentations/file_upload/exp-w01_assume-
breach-an-inside-look-at-cloud-service-provider-security.pdf
SSO for Built-In Services
Use same AAD where makes sense across
• Azure
• Office 365
• Visual Studio Team Services
• Windows 10 (Intune)
• Azure SQL Database (!)
Prefer RBAC to Co-Admin
• Co-Admin only option on Classic Portal
• RBAC only available on portal.azure.com
• New portal support not 100%
• https://azure.microsoft.com/en-us/documentation/articles/role-based-access-built-in-
roles/
• https://azure.microsoft.com/en-us/documentation/articles/role-based-access-control-
configure/
RBAC : Role Based Access Control ( IAM )
1. Always Encrypted
2. TDE, CLE
3. Data Masking
4. Auditing
5. Firewall
Protecting Your SQL Database ( Demo )
Firewalls
• SQL DB Server
• Database Level: sp_set_firewall_rule
• Or SSMS beim Login
Data Masking
• Dynamic Data Masking:
• https://azure.microsoft.com/en-us/documentation/articles/sql-database-dynamic-data-masking-
get-started/
• Server-side
SQL DB Data Encryption Always Encrypted
• Transparent Data Encryption
• Server-side
• Always Encrypted:
https://azure.microsoft.com/en-
us/updates/public-preview-always-encrypted-
for-azure-sql-database/
• Client-side
• GEO-REPL
Backup / Point In Time Recovery
Disaster Recovery and Business Continuity
SQL Server Iaas
Some Best Practices (Azure Iaas)
• Start the deployment with Lower Specification.
• Use DS Series VMs and User Premium storage for higher
throughput
• Disable geo-redundant storage on the storage accounts.
• Enable read caching on the disks hosting the data files and
TempDB.
• Disable caching on the logs disk.
• Strip multiple disks to achieve higher IOPs.
• Move all databases to separate disks. (Not in OS disks)
• Disable autogrow
• Enable instant file initialization for data files.
•
•
•
•
Blue or Red?
Azure SQL Database SQL Server in Azure VM
Resources
• Pass or Iaas
https://docs.microsoft.com/en-us/azure/sql-
database/sql-database-paas-vs-sql-server-iaas
Q & A
Vielen Dank für eure
Zeit.
@LarsPlatzdasch
http://blog.platzdasch.de

More Related Content

PPTX
Implement SQL Server on an Azure VM
James Serra
 
PPTX
How SQL Server 2016 SP1 Changes the Game
PARIKSHIT SAVJANI
 
PDF
Azure Data services
Rajesh Kolla
 
PDF
KoprowskiT_SPBizConference_2AMaDisasterJustBegan
Tobias Koprowski
 
PDF
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
Tobias Koprowski
 
PPTX
PASS VC: SQL Server Performance Monitoring and Baselining
PARIKSHIT SAVJANI
 
PDF
SQLServer Database Structures
Antonios Chatzipavlis
 
PDF
Dr and ha solutions with sql server azure
MSDEVMTL
 
Implement SQL Server on an Azure VM
James Serra
 
How SQL Server 2016 SP1 Changes the Game
PARIKSHIT SAVJANI
 
Azure Data services
Rajesh Kolla
 
KoprowskiT_SPBizConference_2AMaDisasterJustBegan
Tobias Koprowski
 
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
Tobias Koprowski
 
PASS VC: SQL Server Performance Monitoring and Baselining
PARIKSHIT SAVJANI
 
SQLServer Database Structures
Antonios Chatzipavlis
 
Dr and ha solutions with sql server azure
MSDEVMTL
 

What's hot (20)

PDF
SQL Azure for ITPros
Tobias Koprowski
 
PDF
Azure - Data Platform
giventocode
 
PPTX
HA/DR options with SQL Server in Azure and hybrid
James Serra
 
PDF
Azure SQL Database
rockplace
 
PPTX
What's new in SQL Server 2017
Hasan Savran
 
PPTX
Introducing Azure SQL Database
James Serra
 
PPTX
Keep your environment always on with sql server 2016 sql bits 2017
Bob Ward
 
PDF
KoprowskiT_Session2_SDNEvent_SourceControlForDBA
Tobias Koprowski
 
PPTX
Getting Started with Azure SQL Database (Presented at Pittsburgh TechFest 2018)
Chad Green
 
PPTX
Migrating Data and Databases to Azure
Karen Lopez
 
PDF
Azure SQL Database for the SQL Server DBA - Azure Bootcamp Athens 2018
Antonios Chatzipavlis
 
PDF
KoprowskiT_SQLRelay2014#8_Birmingham_FromPlanToBackupToCloud
Tobias Koprowski
 
PPTX
What’s new in SQL Server 2017
James Serra
 
PPTX
Experience SQL Server 2017: The Modern Data Platform
Bob Ward
 
PDF
Azure SQL Database Introduction by Tim Radney
Hasan Savran
 
PDF
Azure Cloud Dev Camp - Introduction
giventocode
 
PDF
Azure Cosmos DB
Mohamed Tawfik
 
PPTX
Azure data platform overview
James Serra
 
PPTX
Migrating Customers to Microsoft Azure: Lessons Learned From the Field
Ido Flatow
 
PPTX
Introduction to Windows Azure Data Services
Robert Greiner
 
SQL Azure for ITPros
Tobias Koprowski
 
Azure - Data Platform
giventocode
 
HA/DR options with SQL Server in Azure and hybrid
James Serra
 
Azure SQL Database
rockplace
 
What's new in SQL Server 2017
Hasan Savran
 
Introducing Azure SQL Database
James Serra
 
Keep your environment always on with sql server 2016 sql bits 2017
Bob Ward
 
KoprowskiT_Session2_SDNEvent_SourceControlForDBA
Tobias Koprowski
 
Getting Started with Azure SQL Database (Presented at Pittsburgh TechFest 2018)
Chad Green
 
Migrating Data and Databases to Azure
Karen Lopez
 
Azure SQL Database for the SQL Server DBA - Azure Bootcamp Athens 2018
Antonios Chatzipavlis
 
KoprowskiT_SQLRelay2014#8_Birmingham_FromPlanToBackupToCloud
Tobias Koprowski
 
What’s new in SQL Server 2017
James Serra
 
Experience SQL Server 2017: The Modern Data Platform
Bob Ward
 
Azure SQL Database Introduction by Tim Radney
Hasan Savran
 
Azure Cloud Dev Camp - Introduction
giventocode
 
Azure Cosmos DB
Mohamed Tawfik
 
Azure data platform overview
James Serra
 
Migrating Customers to Microsoft Azure: Lessons Learned From the Field
Ido Flatow
 
Introduction to Windows Azure Data Services
Robert Greiner
 
Ad

Similar to Azure Boot Camp 21.04.2018 SQL Server in Azure Iaas PaaS on-prem Lars Platzdasch (20)

PPTX
Azure SQL DB Managed Instances Built to easily modernize application data layer
Microsoft Tech Community
 
PDF
The Evolution of SQL Server as a Service - SQL Azure Managed Instance
Javier Villegas
 
PDF
KoprowskiT_SQLRelayNottingham_BackupAndRestoreAD2015
Tobias Koprowski
 
PDF
Azure SQL Database Managed Instance - technical overview
George Walters
 
PPTX
Intro to Azure SQL database
Steve Knutson
 
PDF
NOVA SQL MeetUp Webinar Slides - June 5, 2020 Chris Seferlis - Azure SQL Mana...
Timothy McAliley
 
PPTX
Azure SQL Database & Azure SQL Data Warehouse
Mohamed Tawfik
 
PPTX
Introduction to Azure SQL DB
Christopher Foot
 
PDF
Azure SQL Managed Instance infographic.pdf
ALI ANWAR, OCP®
 
PPTX
SQL ON Azure (decision-matrix)
PARIKSHIT SAVJANI
 
PDF
KoprowskiT_SQLSat419_WADBforBeginners
Tobias Koprowski
 
PPTX
Sql connections germany - migration considerations when migrating your on pre...
Charley Hanania
 
PPTX
Simplify and Accelerate SQL Server Migration to Azure
Delphix
 
PPTX
Migrate SQL Server 2008 R2 to Azure Cloud
Ravi Yadav
 
PDF
KoprowskiT_SQLSat230_Rheinland_SQLAzure-fromPlantoBackuptoCloud
Tobias Koprowski
 
PPTX
Azure SQL Database Managed Instance
James Serra
 
PPTX
01_DP-300T00A-Intro.pptx
KareemBullard1
 
PDF
Database Modernization
Trivadis
 
PPTX
SQL Azure - the good, the bad and the ugly.
Pini Krisher
 
PDF
Optimiser votre infrastructure SQL Server avec Azure
Swiss Data Forum Swiss Data Forum
 
Azure SQL DB Managed Instances Built to easily modernize application data layer
Microsoft Tech Community
 
The Evolution of SQL Server as a Service - SQL Azure Managed Instance
Javier Villegas
 
KoprowskiT_SQLRelayNottingham_BackupAndRestoreAD2015
Tobias Koprowski
 
Azure SQL Database Managed Instance - technical overview
George Walters
 
Intro to Azure SQL database
Steve Knutson
 
NOVA SQL MeetUp Webinar Slides - June 5, 2020 Chris Seferlis - Azure SQL Mana...
Timothy McAliley
 
Azure SQL Database & Azure SQL Data Warehouse
Mohamed Tawfik
 
Introduction to Azure SQL DB
Christopher Foot
 
Azure SQL Managed Instance infographic.pdf
ALI ANWAR, OCP®
 
SQL ON Azure (decision-matrix)
PARIKSHIT SAVJANI
 
KoprowskiT_SQLSat419_WADBforBeginners
Tobias Koprowski
 
Sql connections germany - migration considerations when migrating your on pre...
Charley Hanania
 
Simplify and Accelerate SQL Server Migration to Azure
Delphix
 
Migrate SQL Server 2008 R2 to Azure Cloud
Ravi Yadav
 
KoprowskiT_SQLSat230_Rheinland_SQLAzure-fromPlantoBackuptoCloud
Tobias Koprowski
 
Azure SQL Database Managed Instance
James Serra
 
01_DP-300T00A-Intro.pptx
KareemBullard1
 
Database Modernization
Trivadis
 
SQL Azure - the good, the bad and the ugly.
Pini Krisher
 
Optimiser votre infrastructure SQL Server avec Azure
Swiss Data Forum Swiss Data Forum
 
Ad

More from Lars Platzdasch (7)

PDF
Lars Platzdasch SQL Konferenz 2019 SharePoint das fliegen lernen
Lars Platzdasch
 
PDF
SQL Server PowerShell - Community Tools
Lars Platzdasch
 
PDF
SQL AlwaysON for SharePoint HA/DR on Azure Global Azure Bootcamp 2017 Eisenac...
Lars Platzdasch
 
PDF
SQL Server Alwayson for SharePoint HA/DR Step by Step Guide
Lars Platzdasch
 
PDF
SharePoint 2016 das fliegen lernen - SQL Server Performance Optimierung
Lars Platzdasch
 
PDF
SQL Server 2016 and SharePoint 2016 - Lars PLatzdasch - SQL Konferenz 2016
Lars Platzdasch
 
PDF
Optimizing SQL Server 2012 Deep dive for SharePoint 2013 Lars Platzdasch SQL ...
Lars Platzdasch
 
Lars Platzdasch SQL Konferenz 2019 SharePoint das fliegen lernen
Lars Platzdasch
 
SQL Server PowerShell - Community Tools
Lars Platzdasch
 
SQL AlwaysON for SharePoint HA/DR on Azure Global Azure Bootcamp 2017 Eisenac...
Lars Platzdasch
 
SQL Server Alwayson for SharePoint HA/DR Step by Step Guide
Lars Platzdasch
 
SharePoint 2016 das fliegen lernen - SQL Server Performance Optimierung
Lars Platzdasch
 
SQL Server 2016 and SharePoint 2016 - Lars PLatzdasch - SQL Konferenz 2016
Lars Platzdasch
 
Optimizing SQL Server 2012 Deep dive for SharePoint 2013 Lars Platzdasch SQL ...
Lars Platzdasch
 

Recently uploaded (20)

PPTX
Ocean_and_Freshwater_Awareness_Presentation.pptx
Suhaira9
 
PDF
Chapter-52-Relationship-between-countries-at-different-levels-of-development-...
dinhminhthu1405
 
PPTX
Introductions to artificial intelligence
rakshjain77
 
PPTX
Remote Healthcare Technology Use Cases and the Contextual Integrity of Olde...
Daniela Napoli
 
PPTX
AMFI - Investor Awareness Presentation.pptx
ssuser89d308
 
PPTX
Design Tips to Help Non-Visual Visitors Stay Safe Online
Daniela Napoli
 
PDF
Exploring User Perspectives on Data Collection, Data Sharing Preferences, and...
Daniela Napoli
 
PDF
Advanced-Web-Design-Crafting-the-Future-Web (1).pdf
vaghelavidhiba591
 
PPTX
Influencing Factors of Business Environment of Vegetables Selling Business
auntorkhastagirpujan
 
PDF
Helpful but Terrifying: Older Adults' Perspectives of AI in Remote Healthcare...
Daniela Napoli
 
PPTX
Enterprise Asset Management Overview with examples
ManikantaBN1
 
PPTX
Bob Stewart Journey to Rome 07 30 2025.pptx
FamilyWorshipCenterD
 
PPTX
THE school_exposure_presentation[1].pptx
sayanmondal3500
 
DOCX
Policies & Procedures of Internal Audit Department of Shelter Holding LLC.docx
AlamGir100
 
PDF
Mathematics Grade 11 Term 1 Week 1_2021.pdf
MalepyaneMokgatle
 
PPTX
milgram study as level psychology core study (social approach)
dinhminhthu1405
 
PDF
Securing Africa’s future: Technology, culture and the changing face of threat
Kayode Fayemi
 
PPTX
Selecting relevant value chain/s for Impactful Development Policies
Francois Stepman
 
PPTX
2025-07-27 Abraham 09 (shared slides).pptx
Dale Wells
 
PPTX
Marketing Mix Analysis of Singapore Airlines.pptx
auntorkhastagirpujan
 
Ocean_and_Freshwater_Awareness_Presentation.pptx
Suhaira9
 
Chapter-52-Relationship-between-countries-at-different-levels-of-development-...
dinhminhthu1405
 
Introductions to artificial intelligence
rakshjain77
 
Remote Healthcare Technology Use Cases and the Contextual Integrity of Olde...
Daniela Napoli
 
AMFI - Investor Awareness Presentation.pptx
ssuser89d308
 
Design Tips to Help Non-Visual Visitors Stay Safe Online
Daniela Napoli
 
Exploring User Perspectives on Data Collection, Data Sharing Preferences, and...
Daniela Napoli
 
Advanced-Web-Design-Crafting-the-Future-Web (1).pdf
vaghelavidhiba591
 
Influencing Factors of Business Environment of Vegetables Selling Business
auntorkhastagirpujan
 
Helpful but Terrifying: Older Adults' Perspectives of AI in Remote Healthcare...
Daniela Napoli
 
Enterprise Asset Management Overview with examples
ManikantaBN1
 
Bob Stewart Journey to Rome 07 30 2025.pptx
FamilyWorshipCenterD
 
THE school_exposure_presentation[1].pptx
sayanmondal3500
 
Policies & Procedures of Internal Audit Department of Shelter Holding LLC.docx
AlamGir100
 
Mathematics Grade 11 Term 1 Week 1_2021.pdf
MalepyaneMokgatle
 
milgram study as level psychology core study (social approach)
dinhminhthu1405
 
Securing Africa’s future: Technology, culture and the changing face of threat
Kayode Fayemi
 
Selecting relevant value chain/s for Impactful Development Policies
Francois Stepman
 
2025-07-27 Abraham 09 (shared slides).pptx
Dale Wells
 
Marketing Mix Analysis of Singapore Airlines.pptx
auntorkhastagirpujan
 

Azure Boot Camp 21.04.2018 SQL Server in Azure Iaas PaaS on-prem Lars Platzdasch

  • 1. SQL Server in Azure IaaS, Paas, on-Prem Planning and Business Continuity or more like Take the Red or the Blue Pill Lars Platzdasch MCT,MCSE SQL, MCSE SharePoint
  • 2. Sprecher: Lars Platzdasch Twitter @LarsPlatzdasch Xing /Lars_Platzdasch LinkedIn LarsPlatzdasch Web www.platzdasch.de www.3perspektiven.de MCT: SQL, SharePoint, .net MCSE: SQL Server Data Platform MCSE: SharePoint MCITP: SharePoint 2010, Administrator MCITP: SharePoint 2010, Developer Microsoft Certified Application Developer: .NET Certified Ethical Hacker (CEH) - EC-Council platzdasch netConsult GmbH & Co. KG | ISV 24/7 Support für SQL / SharePoint 3 Perspektiven GmbH | MBS 22 IT, 21 Jahre SQL Server, 14 Jahre SharePoint Gold
  • 3. About the Audience • DBAs • Developers • SQL AlwaysOn Availability Groups Experience? • System Administrators • Azure Lovers ;-) • and …
  • 4. The Plan 1. High Level Comparison to SQL Server 2. Most Important Slide about the differences 3. Drill into random interesting capabilities 4. Securing 5. Some demos 6. Tips for Iaas
  • 6. Azure SQL DB is SQL Server Except… Common SQL Server “Just change the connection string…” https://azure.microsoft.com/en-us/documentation/articles/sql-database-transact-sql-information/ Additional information on Differences: Azure SQL DB
  • 7. Demos • Demo: Meet the Portal (portal.azure.com) • Demo: Create a SQL Database .
  • 8. What’s the Same 1. Team 2. Core Code Base 3. Transact-SQL ▪ Yes, full support ▪ https://feedback.azure.com/ 4. Most of the features 5. Mature .
  • 9. What’s Missing (or is it?) in Azure SQL DB Category 1: Takes a Different Approach ▪ Example: SQL Agent Category 2: On the way ▪ Network Support ▪ But in the works… Category 3: No plan (?) https://feedback.azure.com/ .
  • 10. You access a DB DB is fully managed: High Availability, Backups, Patching Runs latest SQL Server version, based on Enterprise ed. New paradigm of databases and modern app building Different DB sizes: Basic (2GB, 5DTUs) to Premium (1TB, 4000DTUs DB availability SLA: 99.99% 4000DTUs .. Premium) Azure SQL Database SQL Server in Azure VM You access a VM with SQL Server You manage SQL Server and Windows: High Availability, Backups, Patching (automation available) You can run any SQL Server version and edition Full on-premises compatibility Different VM sizes: A0 (1 core, 1GB mem, 100GB) to G5 ( .. ) VM availability SLA: 99.95%: In practice SQL AlwaysOn provides higher availability (~99.99%) Reuse on-premises infrastructure (e.g. Active Directory) Differences :
  • 11. SQL Server View on ‘Managed’ Azure SQL Database Low Control | Low Maintenance Shared Lowercost Dedicated Highercost High Control | High Maintenance Hybrid Physical Virtual PaaS SaaS IaaS On premises Off premises SQL Server Physical Machines SQL Server Private Cloud Virtualized Machines SQL Server in Azure VM Virtualized Machines Virtualized Databases Cloud
  • 12. Manageability ( Azure SQL DB ) 1. Server Management so easy - not available! ▪ You control schema, indexes, users, etc. as usual ▪ PaaS model 2. 99.95% uptime SLA (one instance) 3. Geo-DR/FO/BC (Active/Passive) 4. Geo-Replication (Active/Active RO) 5. Backups, PiTR .
  • 13. DMV Views (https://azure.microsoft.com/en-us/documentation/articles/sql-database-monitoring-with-dmvs/ ) DTU (https://docs.microsoft.com/de-de/azure/sql-database/sql-database-what-is-a-dtu ) eDTU ( elastic Pool DTU) Performance ( Azure DB ) . Data Throughput Unit
  • 14. Data Throughput Unit ▪ http://dtucalculator.azurewebsites.net/ ▪ Demo: DTU definition https://azure.microsoft.com/en- us/documentation/articles/sql-database-service- tiers/#understanding-dtus
  • 15. SQL / Space / DTU Pools Geo Repl Pricing ( Azure DB )
  • 16. Pricing in Tiers and Pools ▪ Demo: Pricing options https://azure.microsoft.com/en-us/pricing/ ▪ https://azure.microsoft.com/en- us/documentation/articles/sql-database- service-tiers/
  • 17. Securing SQL Azure “[Cloud security] is a shared responsibility between the customer and the cloud vendor.” Mark Russinovich, Microsoft Azure CTO https://www.rsaconference.com/writable/presentations/file_upload/exp-w01_assume- breach-an-inside-look-at-cloud-service-provider-security.pdf
  • 18. A Cautionary Tale: Code SpaceS 1. DDoS 2. Ransom demand 3. Security breach noticed 4. Fighting back 5. Malicious destruction of assets 6. Security & Business #fail “Code Spaces has a full recovery plan that has been proven to work and is, in fact, practiced.” Data plane (data access) vs. mgmt/control plane (Portal, APIs, PowerShell)ELAPSEDTIME: 12HOURShttp://arstechnica.com/security/2014/06/aws-console-breach-leads-to-demise-of-service-with-proven-backup-plan/
  • 19. Risk Mitigation Internet Exposed RDP or SSH Endpoints Network ACLs or Host-based Firewall; Strong passwords; VPN or SSH Tunnels Virtual Machine Missing Security Patches Keep Automatic Updates Enabled; Web Application Vulnerability Securing Azure Web Applications; Vulnerability scan/penetration test Weak Admin/Co-Admin Credentials Azure Multi-Factor Authentication; Subscription Management Certificate Unrestricted SQL Endpoint Azure SQL Firewall Storage Key Disclosure Manage Access to Storage Resources Insufficient Security Monitoring Azure Security and Log Management; Top Azure Risks Leading to Tenant Breach https://www.rsaconference.com/writable/presentations/file_upload/exp-w01_assume- breach-an-inside-look-at-cloud-service-provider-security.pdf
  • 20. SSO for Built-In Services Use same AAD where makes sense across • Azure • Office 365 • Visual Studio Team Services • Windows 10 (Intune) • Azure SQL Database (!)
  • 21. Prefer RBAC to Co-Admin • Co-Admin only option on Classic Portal • RBAC only available on portal.azure.com • New portal support not 100% • https://azure.microsoft.com/en-us/documentation/articles/role-based-access-built-in- roles/ • https://azure.microsoft.com/en-us/documentation/articles/role-based-access-control- configure/ RBAC : Role Based Access Control ( IAM )
  • 22. 1. Always Encrypted 2. TDE, CLE 3. Data Masking 4. Auditing 5. Firewall Protecting Your SQL Database ( Demo )
  • 23. Firewalls • SQL DB Server • Database Level: sp_set_firewall_rule • Or SSMS beim Login
  • 24. Data Masking • Dynamic Data Masking: • https://azure.microsoft.com/en-us/documentation/articles/sql-database-dynamic-data-masking- get-started/ • Server-side
  • 25. SQL DB Data Encryption Always Encrypted • Transparent Data Encryption • Server-side • Always Encrypted: https://azure.microsoft.com/en- us/updates/public-preview-always-encrypted- for-azure-sql-database/ • Client-side
  • 26. • GEO-REPL Backup / Point In Time Recovery Disaster Recovery and Business Continuity
  • 28. Some Best Practices (Azure Iaas) • Start the deployment with Lower Specification. • Use DS Series VMs and User Premium storage for higher throughput • Disable geo-redundant storage on the storage accounts. • Enable read caching on the disks hosting the data files and TempDB. • Disable caching on the logs disk. • Strip multiple disks to achieve higher IOPs. • Move all databases to separate disks. (Not in OS disks) • Disable autogrow • Enable instant file initialization for data files.
  • 29. • • • • Blue or Red? Azure SQL Database SQL Server in Azure VM
  • 30. Resources • Pass or Iaas https://docs.microsoft.com/en-us/azure/sql- database/sql-database-paas-vs-sql-server-iaas
  • 31. Q & A Vielen Dank für eure Zeit. @LarsPlatzdasch http://blog.platzdasch.de