Putting Your Head in the Cloud Working with SQL Azure David Postlethwaite 18/06/2016David Postlethwaite.

Slides:



Advertisements
Similar presentations
S the of partnership power Evaluation Code 030 Presenter: Laura Key, Taylor University Monday, April 9th - 8:30 AM Building a Self- Refreshing MS Access.
Advertisements

Automating Microsoft Azure with PowerShell MMS Minnesota 2014 Trevor Sullivan and David O’Brien – #MMSMinnesota.
1 Client/Server Database Tutorial. SQL Server Connection through MS Access FACBUSAD1 SQL server MS Access MGD B106 Computer or your own PC Remote SQL.
Enterprise Reporting with Reporting Services SQL Server 2005 Donald Farmer Group Program Manager Microsoft Corporation.
Database Security and Auditing: Protecting Data Integrity and Accessibility Chapter 3 Administration of Users.
Today’s Agenda Chapter 12 Admin Tasks Chapter 13 Automating Admin Tasks.
DAY 21: MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Akhila Kondai October 30, 2013.
1 Web Database Processing. Web Database Applications Static Report Publishing a report is prepared from a database application and exported to HTML DB.
Module 1: Introduction to Microsoft SQL Server 7.0.
Session 5: Working with MySQL iNET Academy Open Source Web Development.
Database Security and Auditing: Protecting Data Integrity and Accessibility Chapter 3 Administration of Users.
Introduction to SQL Server 2000 Security Dave Watts CTO, Fig Leaf Software
Copyright ®xSpring Pte Ltd, All rights reserved Versions DateVersionDescriptionAuthor May First version. Modified from Enterprise edition.NBL.
Security David Frommer Principal Architect Business Intelligence Microsoft Partner of the Year 2005 & 2007.
1 SQL Server 2000 Administration Kashef Mughal MSB.
1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks.
Managing users and security Akhtar Ali. Aims Understand and manage profiles Understand and manage users Understand and manage privileges Understand and.
SQL School is strongly committed to provide COMPLETE PRACTICAL REALTIME Trainings on SQL Server Technologies – Dev, SQL DBA, MSBI (SSIS, SSAS, SSRS) and.
Mirek Sztajno SQL Server Security PM
WINDOWS AZURE MOBILE SERVICES AN INTRODUCTION Bret Stateham Technical Evangelist
Database Security Cmpe 226 Fall 2015 By Akanksha Jain Jerry Mengyuan Zheng.
Text Microsoft to Or Tweet #uktechdays Questions?
Welcome to Azure App Services! Amie Seisay
SQL Server 2005 Implementation and Maintenance Chapter 6: Security and SQL Server 2005.
Migrating Data to SQL Azure Arunraj Chandrasekaran Twitter June 21, 2011.
What the $#*! IS my password? Secure Online Password Storage Lon Smith Aaron Gremmert.
SQL Server 2012 Session: 1 Session: 4 SQL Azure Data Management Using Microsoft SQL Server.
SSMS SQL Server Management System. SQL Server Microsoft SQL Server is a Relational Database Management System (RDBMS) Relational Database Management System.
Page 1 Programming SQL Azure Database Jeff Chu |
C Copyright © 2007, Oracle. All rights reserved. Security New Features.
MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Sravanthi Lakkimsety Mar 14,2016.
Log Shipping, Mirroring, Replication and Clustering Which should I use? That depends on a few questions we must ask the user. We will go over these questions.
Beware of the Dark Side A Guided Tour of Oracle for the SQL Server DBA David Postlethwaite.
Bellevue College Workshop Azure Storage & SQL Mohamed El Hassouni Hans Olav Norheim.
#SQLSAT454 SQL Server 2016 New Security Features Gianluca
SQL SATURDAY #444 – Kansas City, MO. A LOOK AT ALWAYS ENCRYPTED SQL SATURDAY #444 – KANSAS CITY, MO DAVE WALDEN PRINCIPAL SOLUTIONS ARCHITECT DB BEST.
Putting Your Head in the Cloud Working with SQL Azure David Postlethwaite 19/09/2015David Postlethwaite.
End to End Always Encrypted in SQL Server 2016 Steve Jones SQLServerCentral Redgate Software.
Scaling out and in with Azure SQL DB Elastic Scale DBA-203 Warner Chaves, MCM/MVP, SQLTurbo.com, Pythian.com.
9 Copyright © 2004, Oracle. All rights reserved. Getting Started with Oracle Migration Workbench.
Taming the Beast How a SQL DBA can keep Kerberos under control David Postlethwaite 29/08/2015David Postlethwaite.
Putting Your Head in the Cloud A Beginner’s Guide to Cloud Computing and Azure SQL Database David Postlethwaite 07/05/2016David Postlethwaite 1 |
Others Talk, We Listen. Managing Database Projects in Visual Studio 2013.
Backups for Azure SQL Databases and SQL Server instances running on Azure Virtual Machines Session on backup to Azure feature (manual and managed) in SQL.
Introduction to SQL Azure
Module 1: SQL Server Overview
MANAGING & ADMINISTERING SQL AZURE
SQL Server Security & Intrusion Prevention
Recommended Practices & Fundamentals
Effective T-SQL Solutions
# 66.
Hiding Data from Prying eyes: Using SQL Server 2016 Always Encrypted
Securing Data with SQL Server 2016
Putting you Head in the Cloud Microsoft Azure for the DBA
Lead SQL BankofAmerica Blog: SQLHarry.com
Introduction to SQL Server 2000 Security
Power BI Security Best Practices
04 – Azure SQL Database Bret Stateham | Senior Technical Evangelist​
SQL Server 2016 Security Features
By Saru Radhakrishnan Member - Sacramento SQL Server Group 07/28/2018
Security enhancements in SQL Server 2016
Azure Automation and Logic Apps:
Putting you Head in the Cloud Microsoft Azure for the DBA
dbatools - PowerShell and SQL Server Working Together
Security Enhancements in SQL Server 2016
Mario…Take My Data To The Cloud!
Service Template Creation from the Ground Up
Disaster Recovery Done Dirt Cheap Founder Curnutt Data Solutions
06 | SQL Server and the Cloud
Presentation transcript:

Putting Your Head in the Cloud Working with SQL Azure David Postlethwaite 18/06/2016David Postlethwaite

Say thank you to our Sponsors :

About Me  David Postlethwaite  Liverpool Victoria LV=  SQL and Oracle DBA  MCSE 2012 Data Platform  MCITP 2008, 2005  Oracle OCA  25 years IT Experience  6 years as DBA    Blog: gethynellis.com 3 |18/06/2016 David Postlethwaite 3 |

Who has Used Azure SQL DB?  Tried it once  Evaluating  Running Production Systems 4 |18/06/2016 David Postlethwaite

Free E-Book  Sign up at  |18/06/2016 David Postlethwaite

Introduction  Putting Your Head in the Cloud  Connecting from SSMS  Linked Server from local to Azure  SQL Agent Options  Monitoring and Alerting  Dynamic Data Masking  Always Encrypted  Stretch Database  BACPAC backup Files  Firewall Rules  Azure Server Roles  Backing up and Restoring  Auditing and Security  Scheduling Exports 6 |18/06/2016 David Postlethwaite 6 |

Demo Microsoft Azure  7 |18/06/2016 David Postlethwaite

Windows Azure Portal 8 |18/06/2016 David Postlethwaite

Windows Azure Classic Portal 9 |18/06/2016 David Postlethwaite

Using SSMS  Limited GUI with SSMS 2012 or SSMS 2014 RTM  SSMS 2014 SP1 and 2016 gives better support  Need to write code  Need the azure syntax  Can’t use “USE” 10 |18/06/2016 David Postlethwaite

Linked Servers  Need to create ODBC DSN  System Server Native Client 11  Linked Server  Microsoft OLE DB Provider for ODBC Drivers  Azure stored procedure you must enable RPC 11 |18/06/2016 David Postlethwaite

SQL Agent 12 |18/06/2016 David Postlethwaite

Azure Mobile Services Scheduler 13 |18/06/2016 David Postlethwaite

App Service Web Jobs 14 |18/06/2016 David Postlethwaite

Azure Automation 15 |18/06/2016 David Postlethwaite

Azure Scheduler 16 |18/06/2016 David Postlethwaite

SQL Database Monitor 17 |18/06/2016 David Postlethwaite

20/05/2016 David Postlethwaite 18 | Dynamic Data Masking CREATE TABLE [Sales].[CustomerPII]( [CustomerID] [int] NOT NULL, [FirstName] [dbo].[Name] NOT NULL, [LastName] [dbo].[Name] MASKED WITH (FUNCTION='partial(2,"XXXX",2)') NOT NULL, [ Address] [nvarchar](50) MASKED WITH (FUNCTION = ' ()') NULL, [PhoneNumber] [nvarchar](25) MASKED WITH (FUNCTION = 'default()') NULL, [TerritoryID] [int] NULL ) ON [PRIMARY]

Dynamic Data Masking 19 |18/06/2016 David Postlethwaite

 Encrypt columns using an encryption key  CREATE TABLE [Sales].[CustomerPII](  [CustomerID] [int] NOT NULL, [SSN] [nvarchar](11) COLLATE Latin1_General_BIN2 ENCRYPTED WITH (COLUMN_ENCRYPTION_KEY = [CEK_Auto1], ENCRYPTION_TYPE = Deterministic, ALGORITHM = 'AEAD_AES_256_CBC_HMAC_SHA_256') NULL,  [CreditCardNumber] [nvarchar](25) COLLATE Latin1_General_BIN2 ENCRYPTED WITH (COLUMN_ENCRYPTION_KEY = [CEK_Auto1], ENCRYPTION_TYPE = Deterministic, ALGORITHM = 'AEAD_AES_256_CBC_HMAC_SHA_256') NULL,  ) ON [PRIMARY]  Unencrypted values can only be seen from computer with the certificate installed  Need extra parameter in connection string column encryption setting=enabled  Msg 0, Level 11, State 0, Line 2  Certificate with thumbprint '8C5AE6DCC B33BFE03B7E4EA3A73572C' not found in certificate store 'My' in certificate location 'CurrentUser'. Verify the certificate path in the column master key definition in the database is correct, and the certificate has been imported correctly into the certificate location/store.  Parameter name: masterKeyPath  Currently Only Supported with ADO.NET /05/ | Always Encrypted

 Take advantage of “cheap” Azure storage  Split a table in two Place “old” data in a database in Azure Leave current data “on premises”  Query knows if data is in current table or archive table and returns merged results seamlessly  SQL will move data to Azure when it becomes “old”  Lots of limitations  Not as cheap as it looks (minimum of €784/month) 20/05/2016 David Postlethwaite 21 | Stretch Tables

Create Storage Account 22 |18/06/2016 David Postlethwaite

DACPAC and BACPAC  SSMS  BACPAC Export Data Tier Application – schema + data  DACPAC Extract Data Tier Application - schema  Azure currently only supports BACPAC  Validates the schema before creating the file  Save to local disk  Copy BACPAC to Azure storage for Import from the Management Portal  Or  Export straight to new database on Azure Server 23 |18/06/2016 David Postlethwaite

Creating DACPAC and BACPAC 24 |18/06/2016 David Postlethwaite

Connecting to SQL Azure – Firewall Rules 25 |18/06/2016 David Postlethwaite

SQL Azure Security  IP Security  Commands to manage firewall rules  Sp_set_database_firewall_rule  Select * from sys.database_rules  Select * from sys.firewall_rules;  Login Security  SQL logins only. No AD authentication – in preview  Internal Security  Must explicitly give access to other Azure apps 26 |18/06/2016 David Postlethwaite

SQL Azure Security 27 |18/06/2016 David Postlethwaite Internet Yes Client IP address in Server Level Firewall Rules No Server Level Firewall Rules Database Level Firewall Rules Client IP address in Database Level Firewall Rules Login Name and Password Access to any database Access to specific database Yes Login Name and Password Access from Azure Yes No

Azure Data Sync (Preview) 28 |18/06/2016 David Postlethwaite

Server Roles  Not the Same as local SQL  server-level principal account  Loginmanager  dbmanager 29 |18/06/2016 David Postlethwaite

Grammar 30 |18/06/2016 David Postlethwaite – short for premises – proposition or assumption – a building or property Prem Premise Premises

Any Questions  Conclusion  Hopefully you now ready to start creating your Azure Databases  Q & A   Free Ebook: gethynellis.com  Video: 31 |18/06/2016 David Postlethwaite

Your feedback is important! Please let us know what you thought of this session