SQL Server 2014 Platform for Hybrid Cloud


Published on

Desayuno SQL Server 2014 - 19 de Julio - Universidad Hispanoamericana

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

  • In this session we will take a closer look at the third pillar or key investment area for SQL Server 2014, which is build a data platform for hybrid cloud. One of the key design points we have taken to approaching cloud computing is to drive towards a consistent data platform with common tools from on-premises to cloud. When it comes to Microsoft’s cloud, we have two offerings that can be used to run relational databases in the cloud depending on your application needs. Lets take a closer look at both of these Windows Azure options.
  • One option is running SQL Server in a Windows Azure Virtual Machine, which is very similar to you running SQL Server in a VM on-premises, but in this case Azure is providing the infrastructure and the management of the infrastructure and global datacenters to leverage. The second is Windows Azure SQL Database service, which provide you a relational database based on SQL Server as a service so that you can quickly develop new applications. In this case Azure is managing the infrastructure and the database so you can more quickly develop apps.

    Now lets looks at some key scenarios for each:

    The Azure VMs is ideal for migrating existing on-premises SQL Server applications as you have full SQL Server compatability; its just like running a SQL Server in a VM on-premises. Next given you have full compatability, it also makes is an ideal environment to do quick development and test of new SQL Server application projects you might have in your project pipeline. You can also use the VM to backup your SQL Server instances to Windows Azure storage and restore those backups to a Windows Azure VM if necessary. Finally it is ideal for building a low RTO disaster recovery solution for your on-premises SQL Server by adding your AlwaysOn replicas to a Windows Azure VM.

    Windows Azure SQL Database is ideal for building new cloud designed applications that can take advanatage of cloud scale and are not bound by VMs. In addition we know that there will still be many cases where you will need to connect to on-prem data with SQL Database service so we also of secure connections to your on-premises data for hybrid applications with this service.
  • Now lets take a look at some of the key benefits of running SQL Server in a Windows Azure Virtual Machine as well as utilizing Windows Azure SQL Database service to develop your cloud applications. As mentioned before the VM offers full SQL Server compatibility as it is very similar to you running SQL Server on-premises in a virtual machine. With the VM, Windows Azure manages the infrastructure and provides you an SLA for the VM, but the uptime of what is running inside the VM including the database, the OS etc and managing and patching of those is your responsibility, much like on-prem VMs. With this granular control over the VM, you can choose which anti-virus you might want to install and you may also look to implement high availability for your database running in the VM by using SQL Server features like AlwaysOn. You can also use tools like Systems Center to manage your SQL Server VMs both on-premises and in Windows Azure Virtual Machines through a single pane of glass.

    Windows Azure SQL Database service was designed to solve a complete differently problem. Customers wanted a relational database that could scale across VMs and didn’t want to have to manage the upkeep and patching of the platform or the OS. They wanted a solid relational database to build cloud applications quickly. This is where SQL Database service shines as it has HA built-in by default so you don’t have implement AlwaysOn for HA, Geo Replication is built-in for data redundancy and you actually get an SLA for both the infrastructure and the database itself. It’s also based off of SQL Server, now it doesn’t have 100% feature parity yet, but it also has features like horizontal scale that SQL Server doesn’t have as it is trying to provide dynamic scalability across VMs.
  • As you can see both running SQL Server in Windows Azure VM and Windows Azure SQL Database service have tremendous traction thus far and with new features being added more quickly in the cloud computing model we expecting this traction to accelerate on Windows Azure.
  • SQL Server 2014 Platform for Hybrid Cloud

    1. 1. SQL Server 2014 Platform for Hybrid Cloud Ing. David Sánchez Aguilar Microsoft MVP | Microsoft Certified Trainer Twitter: @davidsancheza davidsanchezaguilar@outlook.com
    2. 2. Agenda SQL Server 2014 Platform for Hybrid Cloud 01 | Respaldo al Cloud (2012/2014) 02 | SQL Server 2014 en Microsoft Azure VMs 03 | SQL Server PaaS 04 | Implementando Base de Datos local en SQL Azure 05 | Data Tools para SQL Server 2014
    3. 3. Backup to URL (SQL2012/SQL2014) Windows Azure Storage Windows Azure VM On-premise box CREATE CREDENTIAL mystoragecred WITH IDENTITY = ‘mystorage', SECRET = ‘<your storage access key> BACKUP DATABASE mydb TO URL ='https://mystorage.blob.core.windows.net/backup- container/mydb-20130411.bak' WITH CREDENTIAL = ‘mystoragecred', FORMAT, COMPRESSION, STATS = 5, MEDIANAME = ‘mydb backup 20130411', MEDIADESCRIPTION = 'Backup of mydb' using Microsoft.SqlServer.Management.Smo; … … Backup mybackup = new Backup(); mybackup.CredentialName = strCredential; mybackup.Database = strDatabase; mybackup.CompressionOption = BackupCompressionOptions.On; mybackup.Devices.AddDevice(desturl, DeviceType.Url); mybackup.SqlBackup(myLocalServer); $url = "https://[storage].blob.core.windows.net/backups/db.bak" $credential = "mycredential" $server = "SQLSERVER:SQL[computer]DEFAULT" CD $server Backup-SqlDatabase -Database AdventureWorks2012 -backupFile $url -SqlCredential $credential -CompressionOption On
    4. 4. Backup to Windows Azure Tool • Agrega encriptación. • Beneficios del respaldo con Azure • Fácil configuración http://www.microsoft.com/download/details.aspx?id=40740 • Herramienta stand-alone que permite agregar respaldos a Windows Azure.
    5. 5. V1 Limitaciones • Solo soporta Windows Azure storage como destino para respaldos. • No soporta respaldos diferenciales • Respaldo de bases de datos de sistema no son soportadas. • No se soporta el log shipping. • Mirroring solo se soporta en el servidor principal. • Por diseño: Conflicto con otras soluciones de respaldo (DPM, …)
    6. 6. CloudOn-Prem SQL Server en Microsoft Azure
    7. 7. Microsoft Azure VMs • VMs hospedadas en Windows Azure infrastructure (“IaaS”) • Imagenes de Microsoft o propias (VHDs) • Répida creación (10 min o menos) • Pago por uso • VM: Por minuto • Depende del tamaño y de la licencia (SQL, SharePoint, Biztalk) • Extensibilidad • 1 core / 2GB RAM / 1TB  8 cores / 56GB RAM / 16TB • Usted administra la VM • Seguridad, patching, monitoreo, etc
    8. 8. SQL Server en Windows Azure VMs • Alta Disponibilidad • SLA: No hay perdida de datos • Replicación de VMs • SLA: 1 of 2 VMs in Availability Set: • 99.95% (<22 min downtime x mes) • Includes • Downtime planeado por mes para mantenimiento de OS • Downtime no planeado por fallas fisicas
    9. 9. SQL Server en Windows Azure VMs • Muchas versiones soportadas • SQL 2014, SQL 2012 SP1, SQL 2008 R2 • Casi un 100% de compatibilidad • No hay soluciones de cluster (aún) • Usted administra SQL Server • Seguridad, Respaldos, HA, DR, etc
    10. 10. Windows Azure VMs • Conexiones externas en Internet • Public endpoints • Por medio de un túnel • On-premise a la nube • Permite unirse a dominios • VPN segura • VPN Device / Windows Server RRAS
    11. 11. SQL Server PaaS
    12. 12. SQL Server in a Windows Azure Virtual Machine IaaS Mayor compatibilidad con versión server Control de la VM Misma consola de administración SLA para la VM Beneficios Windows Azure SQL Database PaaS HA built-in Geo replicación SLA para base de datos y VM No patching del OS o base de datos
    13. 13. Over 158,000 SQL Server VMs on Windows Azure Over 750,000 Windows Azure SQL Databases
    14. 14. Implementando Base de Datos local en SQL Azure (PaaS)
    15. 15. Data Tools para SQL Server 2014 Developer Visual Studio (VS) SQL Server Data Tools (SSDT) Manageability SQL Server Management Studio (SSMS) Windows Azure Management Portal SQL Database Extension (AUX) SQL Azure Management Portal (SAMP) Business Intelligence SQL Server Data Tools – Business Intelligence (SSDT-BI) PowerBI http://msdn.microsoft.com/en-us/data/hh297027
    16. 16. Muchas gracias! Ing. David Sánchez Aguilar Microsoft MVP | Microsoft Certified Trainer Twitter: @davidsancheza davidsanchezaguilar@outlook.com 19