Download presentation
Presentation is loading. Please wait.
Published byJohnathan Scot Sullivan Modified over 8 years ago
1
Migrating to Azure and the Cloud Bob Duffy Database Architect Prodata SQL Centre of Excellence 28th Sept, 2013
2
Speaker Bio – Bob Duffy 20 years in database sector, 250+ projects 20 years in database sector, 250+ projects Senior Consultant with Microsoft 2005-2008 Senior Consultant with Microsoft 2005-2008 One of about 25 MCA for SQL Server globally (aka SQL Ranger) One of about 25 MCA for SQL Server globally (aka SQL Ranger) SQL MCM on SQL 2005 and 2008 SQL MCM on SQL 2005 and 2008 SQL Server MVP 2009+ SQL Server MVP 2009+ SSAS Maestro SSAS Maestro Database Architect at Prodata SQL Centre of Excellence Database Architect at Prodata SQL Centre of Excellence http://blogs.prodata.ie/author/bob.aspx http://blogs.prodata.ie/author/bob.aspx http://blogs.prodata.ie/author/bob.aspx bob@Prodata.ie bob@Prodata.ie bob@Prodata.ie @bob_duffy
3
What we Will Cover What is Azure Our “Enterprise” Application to Migrate Migrating to Infrastructure as a Service Migrating to Platform as a Service Migrating your data tier Migrating your app tier
4
What is the Microsoft Cloud: Azure Global Physical Infrastructure servers / network / datacenters Infrastructure N Central US, S Central US, N Europe, W Europe, E Asia, SE Asia + 24 Edge CDN Locations Automated Managed Resources Elastic Usage Based Services computestoragenetworking virtual machines web sitescloud services SQL database noSQL database blob storageconnectvirtual network traffic manager...... Fabric..............................
5
Option 1 – Infrastructure as a Service (IaaS) computestoragenetworking virtual machines web sitescloud services SQL database noSQL database blob storageconnectvirtual network traffic manager...... Fabric..............................
6
IaaS Costs Per Month Egress Costs (outgoing) 11.40 per 100GB in NA and Europe $18.05 per 100GB other locations Top package is over $55k a year Pre pay schemes can bring cost down by ~30% New High Memory options available (Sept 2013)
7
The IaaS performance story
8
Using IaaS – Pros and Cons Pros You can tell the CTO you have something in the cloud! Migration is easy Good resilience Fast provisioning Elastic resources No need to chat to the SAN guys ;-) Cons Not exactly “enterprise” class performance 100MB/Sec. Capped at 1,000 IOPS or 200MB/Sec Higher than on premise disk latency Limited Scale Up (8 cores) Your managing OS and binaries Not exactly “cheap” Sales guys will go straight to “TCO” and opex v capex discussions
9
Option 2 – Cloud Services computestoragenetworking virtual machines web sitescloud services SQL database noSQL database blob storageconnectvirtual network traffic manager...... Fabric.............................. Service Definition
10
Option 3 – Web Sites (PaaS) computestoragenetworking virtual machines web sitescloud services SQL database noSQL database blob storageconnectvirtual network traffic manager...... Fabric.............................. Web Site
11
Windows Azure SQL Databases (WASD) (AKA SQL Azure) Application Internet Azure Cloud Internet Azure Cloud LB TDS (tcp) Applications use standard SQL client libraries: ODBC, ADO.Net, PHP, … Load balancer forwards ‘sticky’ sessions to TDS protocol tier Security Boundary SQL Gateway Scalability and Availability: Fabric, Failover, Replication, and Load balancing Gateway: TDS protocol gateway, enforces AUTHN/AUTHZ policy; proxy to backend SQL
12
Objects NOT Supported Heap Table Types Change Data Capture Data Auditing Data Compression Extended Events Extension of spatial types and methods through Common Language Runtime (CLR) External Key Management / Extensible Key Management FILESTREAM Data Integrated Full-Text Search Large User-Defined Aggregates (UDAs) Large User-Defined Types (UDTs) Performance Data Collection (Data Collector) Policy-Based Management Resource Governor USE X Extended Properties Extended Stored Procedures SQL Server Agent/Jobs Common Language Runtime (CLR) and CLR User-Defined Types Database Mirroring Trace Flags System Tables Service Broker Table Partitioning Typed XML and XML indexing is not supported. (The XML data type is supported by SQL Azure Database) Global Temporary Tables Sp_configure SQL Server Replication Transparent Data Encryption SQL Server PowerShell Provider Backup and Restore Replication File Groups
13
Common Tools for Schema Migration Dacbac built into SSMS Migration Wizard (Codeplex) Generate TSQL Script SSDT (Visual Studio)
14
Common Tools for Data Migration BACPAC Deploy to Azure Wizard in SSMS BCPSSIS Third Party Tools
15
Suggested Approach For small databases use Migration Wizard For Medium databases use SSDT to validate Then BCP or bacpac For large databases use SSDT to validate Then BCP out, compress, transfer to cloud and bcp in A lot of benefit from making your on site version compatible with Azure Features Do try and go for parallel loading
16
Pricing and Sizes Size$/Month 0-100MB4.995 Up to 1GB9.99 1-10GB3.996 per GB over 1 10-50GB45.95 for first 10GB 1.996 per GB after that 50-150GB125.874 for 50GB 0.999 per GB after that * Plus Egress Network traffic costs
17
WASD – The Performance story
18
Why is WASD slightly slower than IaaS? In IaaS we hit a wall with disk performance In WASD slightly earlier wall Caused by change in table design (latch contention)
19
Option 3 – Scalability Next Steps
20
Azure Performance – Data Caching
21
Call to Action and Win a Prize If you have MSDN you can get €150/month free credit Use this link or one on my blog Use this link or one on my blog http://bit.ly/140w35v http://bit.ly/140w35v
22
Thank You
23
Resources SQL Azure Delivery Guide http://social.technet.microsoft.com/wiki/contents/articles/3398.sql-azure-delivery-guide-en-us.aspx Business Continuity in SQL Azure http://msdn.microsoft.com/en-us/library/windowsazure/hh852669.aspx SQL Azure Data Sync Best Practices http://social.technet.microsoft.com/wiki/contents/articles/2172.sql-azure-data-sync-best- practices.aspx SQL Azure Logic for Transient Failures http://social.technet.microsoft.com/wiki/contents/articles/4235.retry-logic-for-transient-failures-in- sql-azure-en-us.aspx SQL Azure Performance and Elasticity Guide http://social.technet.microsoft.com/wiki/contents/articles/3507.windows-azure-sql-database- performance-and-elasticity-guide.aspx
24
Software (as a Service) Storage Servers Networking O/S Middleware Virtualization Applications Runtime Data Platform (as a Service) Storage Servers Networking O/S Middleware Virtualization Applications Runtime Data Infrastructure (as a Service) Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You Manage Vendor Manages You Manage Vendor Manages You Manage Vendor Manages The ROI Argument Efficiency v Control On Premises Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.