SQL Server on Azure An e2e Overview Nosheen Syed Principal Group Program Manager Microsoft
Dedicated Higher cost Shared Lower cost SQL Server Cloud Continuum Hybrid SQL Server in Azure VM Virtualized Machines Azure SQL Database Virtualized Databases SQL Server Private Cloud Virtualized Machines SQL Server Physical Machines High Control High Maintenance Low Control Low Maintenance
SQL Server in Azure VM and Azure SQL Database - Migrate existing apps - A few SQL Servers - Build new apps - Tens to hundreds of DBs SQL Server in Azure VM You access a VM with SQL Server Azure SQL Database You access a DB You manage SQL Server and Windows: High Availability, Backups, Patching You can run any SQL Server version and edition DB is fully managed: High Availability, Backups, Patching Runs latest SQL Server version, based on Enterprise edition Full on-premise compatibility Different VM sizes: A0 (1 core, 1GB mem, 1TB) to A16 (16 cores, 112GB mem, 16TB), D-Series (with SSDs) VM availability SLA: 99.95%: Can achieve higher availability (~99.99%) configuring AlwaysOn Reuse on-premise infrastructure (e.g. Active Directory) Incomplete on-premise compatibility (e.g. no jobs, linked servers, FileStream) Different DB sizes: Basic (2GB, 5tps) to Premium (500GB, 735tps) DB availability SLA: 99.99%
VMs hosted on Microsoft Azure Infrastructure ( IaaS ) From Microsoft images or your own images Fast provisioning (~10 minutes) Accessible via RDP and Powershell Pay per use Per minute (only when running) Cost depends on size and licensing Large discounts for MSDN subscribers! You can use your existing SQL licenses Network: only outgoing (not incoming) Storage: only used (not allocated) Microsoft Azure VMs Elasticity 1 core / 2GB mem / 1TB 16 cores / 112 GB mem / 16TB
Microsoft Azure VMs - Storage Every VM disk is a BLOB in Azure Storage 3 sync local copies No data loss Highly available (transparent to VM) 3 more async remote copies (if geo-replication enabled) For disaster recovery (manually managed by Microsoft)
Microsoft Azure VMs - Availability SLA: No data loss If VM becomes unavailable, restart in another host SLA: 1 of 2 VMs in Availability Set: 99.95% (<22 min downtime p/month) Includes Planned downtime due to (monthly) host OS servicing Unplanned downtime due to physical failures Doesn t include servicing of guest OS or software inside (e.g. SQL)
Microsoft Azure VMs - Connectivity Over the Internet Public endpoints Over a site-to-site tunnel Secure tunnel Extend on-premise network to Azure Can join Azure VMs to on-premise domain VPN Device / Windows Server RRAS
SQL Server in Azure VMs Many SQL versions supported SQL 2014 (Enterprise / Standard / Web) SQL 2012 (Enterprise / Standard / Web) SQL 2008 R2 (Enterprise / Standard / Web) Optimized images Transactional Processing or Data Warehousing Implement multiple optimizations (e.g. storage pools with multiple disks, best stripe sizes, disk caching, SQL traceflags) 100% compatibility SQL Failover Clusters coming soon..
Lift & Shift SQL Server in Azure VMs - Scenarios Easily move an existing app to Azure infrastructure Without changes (multiple versions of SQL and Windows available) As needed (multiple VM sizes, pay per use) Dev/Test Build and test new apps using the latest versions of SQL Server and Windows Hybrid Integrate SQL Server on Azure with your existing infrastructure or apps Active Directory (Windows Authentication / IT policies) Use SQL Server(s) in Azure VMs as replicas of on-premise SQL Servers Disaster Recovery Read workloads / backups
SQL Server in Azure VMs - Deployment Use a Gallery image Includes everything you need Engine Reporting Services Analysis Services Integration Services Management Studio Bring your Own Image Create a VHD (sysprep) Upload to your Azure Storage account Provision VM from VHD Refreshed every 2-3 months with latest fixes and always secure
SQL Server in Azure VMs - Migration Use the Deployment Wizard (SQL Server 2014 Management Studio) Can be used on previous SQL Server versions Migrates a DB from on-premise to an existing/new Azure VM 1. Backup DB to a network share 2. Copy backup to Azure Storage 3. Provision new VM or select existing VM 4. Restore DB on VM
SQL Server in Azure VMs Business Continuity SQL Server High Availability Configure an AlwaysOn Availability Group between VMs in the same region Automatic failover on SQL/VM issues (~10 seconds) Easily configurable using AlwaysOn Portal Template Witness VM P S P S VM VM
SQL Server in Azure VMs Recent Enhancements Performance G-Series VMs (up to 32 cores and 512 GB memory) Premium Storage (up to 50K IOPs at 1-5 ms latency) SSD support for TempDB and BPE (higher performance) Business Continuity AlwaysOn Availability Groups between Azure Regions (DR & Read Scale-out) Internal Availability Group Listeners (Security) Deployment Optimized Gallery Images for OLTP and for DW (implement best practices) AlwaysOn Gallery Template (easy deployment) Management Automated Patching (automate patching within a time window) Automated Backup (automate backups to Azure Storage, compressed, encrypted) Monitoring of SQL counters in Portal (Easily monitor/alert on SQL performance)
Learn how customers use SQL Server in Azure VMs
Resources SQL Server on Azure VM http://azure.microsoft.com/en-us/services/virtual-machines/sqlserver/ Documentation http://msdn.microsoft.com/en-us/library/azure/jj823132.aspx