sql 2014 hybrid platform - azure and on premise

39
SQL Server 2014 – The Hybrid platform Integration with Windows Azure features in SQL Server 2014

Upload: shy-engelberg

Post on 08-Feb-2017

197 views

Category:

Software


0 download

TRANSCRIPT

Page 1: SQL 2014 hybrid platform - Azure and on premise

SQL Server 2014 – The Hybrid platform

Integration with Windows Azure features in SQL Server 2014

Page 2: SQL 2014 hybrid platform - Azure and on premise

About meShy Engelberg, SQL Server consultant.

[email protected]@ShyEngelbergwww.blogs.Microsoft.co.il/ShyEngelwww.hynt.co.ilwww.facebook.com/HYNTil

Page 3: SQL 2014 hybrid platform - Azure and on premise

Disclaimer• This presentation is mostly an overview of capabilities, not a

technical drilldown.• I will talk a lot about cost, but I will not go into detailed pricing.• The demos are to show you how it’s done, not to dive in.• Some or all of the DBs in the demos are empty.• There are some demos that fail. Bugs are opened in Connect.

(it’s a CTP after all)• I will try to answer questions, but not sure if time permits.

if I will not answer your question, feel free to contact me after the presentation or in any other way.

Page 4: SQL 2014 hybrid platform - Azure and on premise

Agenda• About the Cloud• Windows Azure storage• Deploy DB to Azure VM• Windows Azure VMs• Data files in windows Azure• Backup to Azure• DR to the cloud

Page 5: SQL 2014 hybrid platform - Azure and on premise

The Cloud

• Has been around since the internet became public. (almost forever)• It’s just a trendy buzzword that means receiving services

from a remote provider, usually over the internet.

Page 6: SQL 2014 hybrid platform - Azure and on premise

How and why did it start?Demand - IT Organizations and End users• No hardware acquisition costs• No software licenses or

upgrades to manage • No facilities to lease • No capital costs of any kind —

and no hidden costs. Just a metered, per-use rate or a fixed subscription fee. Use only what you want, pay only for what you use.

Supply – Technology companies and one large book shop• Large-scale Internet service

providers built out their infrastructure. Architecture emerged: massively scaled, horizontally distributed system resources, abstracted as virtual IT services and managed as continuously configured, pooled resources.

Page 7: SQL 2014 hybrid platform - Azure and on premise

Service Models

IaaS

PaaS

SaaS

Page 8: SQL 2014 hybrid platform - Azure and on premise

The cloud market• 2013: 40% Of CRM Systems Sold Are SaaS-Based. • Cloud growth is 5X that of the IT industry overall.  • Global cloud computing services revenue is expected to hit

$148.8 billion come 2014• Public IT cloud services spending will reach $98 billion in

2016• early-stage companies (less than five years in business) are

the most eager buyers of cloud and plan to increase their spend on public cloud by 24% over the next few years.

Page 9: SQL 2014 hybrid platform - Azure and on premise

Windows Azure in the cloud market• Visionary in the market of Cloud Infrastructure as a Service

(Gartner, August 2013)• Leader in the Enterprise Application Platform as a Service market

(Gartner, January 2014)• Averaging 8,000 new customers a week• Windows Azure uses more server compute than the entire planet

used in 2000• More information is stored in Windows Azure than has been

printed in history• Commercial cloud services revenue more than doubled.

Azure customers both grew triple-digits. (2014 Q2 report)

Page 10: SQL 2014 hybrid platform - Azure and on premise

Hybrid - The Power of ‘And’• Customers don’t want to rip and replace their current

infrastructure to benefit from the cloud; they want the strengths of their on-premises investments and the flexibility of the cloud

• The cloud should be an enabler for innovation, and an extension of your organization’s IT fabric

• by 2020, about 80% of the world’s 2,000 largest companies will still have greater than 50% of their IT onsite.

Page 11: SQL 2014 hybrid platform - Azure and on premise

Windows Azure

Page 12: SQL 2014 hybrid platform - Azure and on premise

Windows Azure

DEMO

Page 13: SQL 2014 hybrid platform - Azure and on premise

Azure Storage• Scalable, durable, and available• Anywhere at anytime access• Only pay for what the service uses• Use from Windows Azure Compute• Use from anywhere on the internet• Support Geo-Replication

Page 14: SQL 2014 hybrid platform - Azure and on premise

Blob Storage Concepts

BlobContainerAccount

http://<account>.blob.core.windows.net/<container>/<blobname>

hyntstorageaccount

HYNT2012.bak

HYNT2014.bak

backups

datafiles

Page 15: SQL 2014 hybrid platform - Azure and on premise

Azure Storage

DEMO

Page 16: SQL 2014 hybrid platform - Azure and on premise

SQL 2014 and Azure

Page 17: SQL 2014 hybrid platform - Azure and on premise

Deploy DB to Windows Azure VMA new wizard in the SSMS

Page 18: SQL 2014 hybrid platform - Azure and on premise

Azure Virtual machines• Choose the right size for you, you can scale at any time.• Choose a location.• Choose an image or create one of your own.• Attach storage disks (blobs).• Open ports using Endpoints.

Page 19: SQL 2014 hybrid platform - Azure and on premise

Deploy DB to Windows Azure VM• Nothing new technology-wise, it’s just a new wizard.

Page 20: SQL 2014 hybrid platform - Azure and on premise

Deploy DB to Windows Azure VM

DEMO

Page 21: SQL 2014 hybrid platform - Azure and on premise

Basic VM management

DEMO

Page 22: SQL 2014 hybrid platform - Azure and on premise

Hybrid DBData files in the cloud

Page 23: SQL 2014 hybrid platform - Azure and on premise

Hybrid DB• New in SQL Server 2014- you can put any data file in

the cloud.• Create Credentials to allow access of the windows

service to the storage account\container.• Create you data files directly on a URL, no changes or

additions to the T-SQL syntax.

Page 24: SQL 2014 hybrid platform - Azure and on premise

Hybrid DB - Advantages• Almost Bottomless storage with very low cost.• Data redundancy is included for free.• No storage maintenance overhead.• Separate compute and storage.

Page 25: SQL 2014 hybrid platform - Azure and on premise

Hybrid DB – concerns• Yes, I know, performance is an issue:• Choose wisely what data to place in the cloud:

DB that is not IO intensive.Better to place files that has more reads than writes.• When the server (compute) is on Azure VM, performance is

good.

• Security might be a concern:• Use TDE• Choose the right geo location.

Page 26: SQL 2014 hybrid platform - Azure and on premise

Hybrid DB – use cases• Simple DR solution for cases that the server hardware

or software is failing (no data loss)• Migration between servers in different locations• Large DWH with ColumnStore indexes - read once from

cloud, and keep in server memory.• If data loss is possible, use in combination with delayed

durability (new in SQL Server 2014)• Large read-only Filegroups

Page 27: SQL 2014 hybrid platform - Azure and on premise

Hybrid DB

DEMO

Page 28: SQL 2014 hybrid platform - Azure and on premise

Backup to Azure storage

Page 29: SQL 2014 hybrid platform - Azure and on premise

Backup to Azure storage• Also known as backup to URL• Exists since SQL Server 2012 SP1 CU2 (build

11.00.3339) but only through T-SQL, SMO and PowerShell.• New in SQL Server 2014 – support in the Backup and

Restore wizard and maintenance plan.• Flexible, reliable (3- copies, geo-DR), limitless off-site

storage.

Page 30: SQL 2014 hybrid platform - Azure and on premise

Backup to Azure storage - Advantages• Reduced cost for storage that is usually not used.• No Media and hardware management.• Can be used as a Backup Archive by offering a better

alternative to the often used tape option to archive backups (backup to tape is deprecated)• Near bottomless.• Off-site storage for backups.• Built-in Geo redundancy.• Remote accessibility.• For the security lovers: Backup now supports Encryption.

Page 31: SQL 2014 hybrid platform - Azure and on premise

Backup to Azure storage

DEMO

Page 32: SQL 2014 hybrid platform - Azure and on premise

Microsoft® SQL Server® Backup to Microsoft Windows® Azure®Tool

• Allows backup of DBs from other SQL version to Azure (2005-2012)• Supports DB encryption and compression as well• Free!• Runs as a windows service with a specific hard-coded

account name

Page 33: SQL 2014 hybrid platform - Azure and on premise

Microsoft® SQL Server® Backup to Microsoft Windows® Azure®Tool

DEMO

Page 34: SQL 2014 hybrid platform - Azure and on premise

DR in the cloud

Page 35: SQL 2014 hybrid platform - Azure and on premise

DR in the cloud• DRP is a must for mission critical applications and

databases.• DR cost a lot of money to create and maintain.• Creating a DR in the cloud can save most of the cost of

initial building the environment.• The maintenance is easier, and cost a lot less.• You can choose your geo location.• Use the DR site to off-load some of your workload from

the main site.

Page 36: SQL 2014 hybrid platform - Azure and on premise

Always-on Availability group replica in Azure VM• Not new in SQL Server 2014, but complicated to

implement till now.• In 2014 – a new Wizard that allows us to save time on

configuration.• Still requires some infrastructure work and

configurations:• VPN from ON-premise domain to the Azure virtual network.

Page 37: SQL 2014 hybrid platform - Azure and on premise

Always-ON Availability group Replica on Azure wizard

NO DEMO

Page 38: SQL 2014 hybrid platform - Azure and on premise

Questions?

Page 39: SQL 2014 hybrid platform - Azure and on premise

Thank you.