Azure Data Overview Presenter Name Position or role Microsoft Azure.

Slides:



Advertisements
Similar presentations
PLATFORM FOR BIG DATA, NOSQL AND RELATIONAL DATA. WHAT MAKES SENSE FOR ME? (+AZURE)
Advertisements

Windows Azure Storage Name Title Organization.
Getting Your Nerd on with Microsoft’s Cloud data services Scott Klein Technical Evangelist Microsoft Corporation.
“It’s going to take a month to get a proof of concept going.” “I know VMM, but don’t know how it works with SPF and the Portal” “I know Azure, but.
Azure Services Platform Piotr Zierhoffer. Agenda Cloud? What is Azure? Environment Basic glossary Architecture Element description Deployment.
Azure IaaS Presenter Name Position or role Microsoft Azure.
US WestUS East US NorthUS South US CentralUS East 2 Europe NorthEurope West Asia EastAsia South East China NorthChina South Japan EastJapan.
Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.
WINDOWS AZURE STORAGE 11 de Mayo, 2011 Gisela Torres – Windows Azure MVP Aventia-Renacimiento Twitter:
Cross Platform Mobile Backend with Mobile Services James
Windows Azure SQL Database and Storage Name Title Organization.
A Brief Overview by Aditya Dutt March 18 th ’ Aditya Inc.
Using Windows Azure John Donnelly Technical Evangelist Microsoft Technology Centre Thames Valley Park
Training Workshop Windows Azure Platform. Presentation Outline (hidden slide): Technical Level: 200 Intended Audience: Developers Objectives (what do.
Windows Azure featureISO 27001SSAE 16 SOC 1 Type 2 EU Model Clauses HIPAA BAA Web Sites Virtual Machines Cloud Services Storage (Tables,
MSDN Event. WINDOWS AZURE STORAGE Windows Azure Storage Storage in the Cloud –Scalable, durable, and available –Anywhere at anytime access –Only pay.
Larisa kocsis priya ragupathy
Windows Azure Conference 2014 Deploy your Java workloads on Windows Azure.
Windows Azure Storage Name Title Microsoft Corporation.
WINDOWS AZURE STORAGE SERVICES A brief comparison and overview of storage services offered by Microsoft.
Windows Azure Storage Cloud Computing Soup to Nuts Mike Benkovich Microsoft Corporation btlod-72.
T.N.C.Venkata Rangan CEO, Vishwak Solutions Your Data on Cloud.
WINDOWS AZURE Scott Guthrie Corporate Vice President Windows Azure
Virtual techdays INDIA │ august 2010 Building & Migrating Web applications using Windows Azure storage Ramaprasanna Chellamuthu │ Developer Evangelist;
Windows Azure Storage Anton Boyko. US Europe Asia Can choose geo-location to host storage account:
How* to Win the #BestMicrosoftHack Shahed Chowdhuri Sr. Technical WakeUpAndCode.com *Hint: Use the Cloud.
Windows Azure Virtual Machines Anton Boyko. A Continuous Offering From Private to Public Cloud.
Windows Azure Storage Anton Boyko.NET developer.
Windows Azure. Azure Application platform for the public cloud. Windows Azure is an operating system You can: – build a web application that runs.
North America Europe Asia Pacific Data centers.
Mirek Sztajno SQL Server Security PM
Advanced Technology Days 18. i 19. studenog 2015., Cinestar Arena Centar.
Text Microsoft to Or Tweet #uktechdays Questions?
Scalability == Capacity * Density.
Azure in a Day Training: Windows Azure Module 1: Windows Azure Overview Module 2: Development Environment / Portal – DEMO: Signing up for Windows Azure.
Data-Centric Security and User Access Controls for Hadoop on Microsoft Azure MICROSOFT AZURE APP BUILDER PROFILE: BLUETALON BlueTalon provides data-centric.
Technology Drill Down: Windows Azure Platform Eric Nelson | ISV Application Architect | Microsoft UK |
Building Cloud Solutions Presenter Name Position or role Microsoft Azure.
SQL Server 2012 Session: 1 Session: 4 SQL Azure Data Management Using Microsoft SQL Server.
Page 1 Programming SQL Azure Database Jeff Chu |
Azure Storage services TB per storage account500 TB Max 8 KB IOPS per persistent disk (Basic Tier)300 2 Max 8 KB IOPS per persistent.
Azure Table Storage Cheap, fast and scalable storage Anton Boyko Ukrainian Azure Community Founder Microsoft Azure MVP
Windows Azure Custom Software Development Mobile Middleware Windows Azure Storage Dipl.-Ing. Damir Dobric Lead Architect daenet
Putting Your Head in the Cloud Working with SQL Azure David Postlethwaite 19/09/2015David Postlethwaite.
 Cloud Computing technology basics Platform Evolution Advantages  Microsoft Windows Azure technology basics Windows Azure – A Lap around the platform.
WINDOWS AZURE AND THE HYBRID CLOUD. Hybrid Concepts and Cloud Services.
Windows Azure Custom Software Development Mobile Middleware Windows Azure Storage Dipl.-Ing. Damir Dobric Lead Architect daenet
DreamFactory for Microsoft Azure Is an Open Source REST API Platform That Enables Mobilization of Data in Minutes across Frameworks and Storage Methods.
Azure SQL Database Credits:
Univa Grid Engine Makes Work Management Automatic and Efficient, Accelerates Deployment of Cloud Services with Power of Microsoft Azure MICROSOFT AZURE.
Introduction To Windows Azure SQL Database
Business Continuity & Disaster Recovery
Lead SQL BankofAmerica Blog: SQLHarry.com
Cloud Data platform (Cloud Application Development & Deployment)
Couchbase Server is a NoSQL Database with a SQL-Based Query Language
Windows Azure Migrating SQL Server Workloads
Design and Implement Cloud Data Platform Solutions
02 | Design and implement database
Business Continuity & Disaster Recovery
Microsoft Build /9/2018 5:08 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
03 | Data Storage Bruno Terkaly | Technical Evangelist
Data Security for Microsoft Azure
Saranya Sriram Developer Evangelist | Microsoft
Developing for Windows Azure
MS AZURE By Sauras Pandey.
5 Azure Services Every .NET Developer Needs to Know
TN19-TCI: Integration and API management using TIBCO Cloud™ Integration
ZORAN BARAC DATA ARCHITECT at CIN7
06 | SQL Server and the Cloud
The Database World of Azure
Presentation transcript:

Azure Data Overview Presenter Name Position or role Microsoft Azure

Agenda SQL Database SQL on IaaS NoSQL BlobsFiles

SQL Database

A Continuous Offering From Private To Public Cloud

Architecture SQL Database

A Server Is Not A Machine

How It Works PHP WCF Data Services SQL Server Applications and Tools ODBCADO.NET Tabular Data Stream (TDS)

Starting With The Basics SQL Database

The Basics SQL Database SQL Server database technology as a service Fully Managed Enterprise-ready with automatic support for HA Designed to scale out elastically with demand Ideal for simple and complex applications

Server Provisioning

Selecting the right Edition Service Tier Performance Level Common App Pattern PerformanceBusiness Continuity Max DB Size Trans. Perf. Objective DTUsPITRDR / GEO-Rep Basic Small DB, SQL opp 2 GBReliability / Hr.5Past 7 Days DB Copy + Manual Export StandardS1 / S2 Wrkgp/cloud app, multiple concurrent operations 250 GBReliability / Min.15/ 50Past 14 Days DB Copy + Manual Export PremiumP1 / P2 / P3 Mission Critical, High volume, Many concurrent Users 500 GBReliability / sec.100/ 200/ 800 Past 35 Days Active Geo- replication

Demo Creating A SQL Database Server

Create And Deploy Your Database

Create Database… Use Familiar Technologies Transact-SQL Languages.NET Framework (C#, Visual Basic, F#) via ADO.NET C / C++ via ODBC Java via Microsoft JDBC provider PHP via Microsoft PHP provider Frameworks OData, Entity Framework, WCF Data Services, NHibernate Tools SQL Server Management Studio (2008 R2 and later) SQL Server command-line utilities (SQLCMD, BCP) CA Erwin ® Data Modeler Embarcadero Technologies DBArtisan ® SQL Server Comparison Focus on logical vs. physical administration Database and log files automatically placed Three high-availability replicas maintained for every database Tables require a clustered index Maximum database size is 500 GB Unsupported SQL Server Features Use command, distributed transactions, distributed views Service Broker Common Language Runtime (CLR) SQL Agent SQL Profiler Native Encryption

Enhanced Tooling

Database Deployment

Demo DAC Deployment From SQL Server Management Studio

Secure Your Database SQL Database

There Are Two Ways To Secure A Database:

Server Benefits Server identity and access control SQL authentication supported (No Integrated authentication) The Admin login is similar to sa Connect to master to administer logins loginmanager: Server-Level security role for creating logins dbmanager: Server-Level security role for creating databases

Database Benefits Database identity and access control Logins require an associated user account The Admin login is automatically associated with dbo The dbo has full rights in the database Manage users with CREATE / ALTER / DROP USER commands Add users to roles via sp_add_rolemember to grant privileges Utilize schemas where appropriate

SQL Database Firewall Securing your data IP Address-based access control for SQL Database Rules can be defined at the server and database No IP authorized by default Configurable using the SQL Database Portal and REST API Option to disable/enable access from applications hosted in Microsoft Azure

Application Connectivity Connecting To SQL Database 1. TDS (Tabular Data Stream) protocol over TCP/IP supported 2. SSL required 3. Use firewall rules to connect from outside Microsoft data center ASP.NET EXAMPLE: Considerations And Best Practices 1. login: 2. Idle connections 3. Long running transactions 4. DoS guard 5. Failover events 6. Throttling 7. Connection pooling and Retry logic 8. Latency introduced for updates 9. No cross-database dependencies <addname="AdventureWorks"connectionString= "Data Source=[server].database.windows.net; Integrated Security=False; Initial Catalog=ProductsDb; User Id=[login]; Password=[password]; Trusted_Connection=False; Encrypt=true;" providerName="System.Data.SqlClient"/>

SQL on IaaS

Run SQL on VM Run any SQL product on cloud VM Support for SQL Server, Oracle, MySql Ready to go VM images available in Gallery Persistent storage using attached disk in blob storage 25 Microsoft Azure

SQL Database vs SQL IaaS Comparison 26 Microsoft Azure

Azure Files

“I wish I could go to storage and provision a cloud drive, giving it a namespace, and that drive would then be UNC-addressable by the OSes.” Azure Files – Customer Quotes

Setup an IaaS VM to host a File Share backed by an IaaS Disk Write code to find the IaaS File Share from the rest of the VMs in your service. Write some code to provide high availability Handle host upgrades, node failures You can only access the File Share from other VMs Sharing Files – The old way

Azure Files

Share data across VMs and applications Multiple writers, multiple readers using standard file system semantics. Share settings throughout services VMs can read settings and files from a common, shared location. These can be updated externally via REST. Dev/Test/Debug Very useful to have a shared location for installing applications, setting up VMs, running tools, and keeping notes while developing, testing, and debugging cloud services. Azure Files - Scenarios

Azure Files - SMB 2.1 Protocol

Allows internet access to the same shared file system Build hybrid applications (on premises + cloud) Supports a variety of common APIs: Create/Delete Files and Directories Write/Read Files Get File and Directory properties List Files Azure Files - File REST APIs

Demo: Azure Files – Part 1

Azure Files

Azure Files vs Blobs DescriptionAzure BlobsAzure Files Durability Options LRS, ZRS, GRS (and RA-GRS for higher availability) LRS, GRS AccessibilityREST APIs SMB 2.1 (standard file system APIs) REST APIs ConnectivityREST – Worldwide SMB Within region REST – Worldwide Endpoints mycontainer/myblob \\myaccount.file.core.windows.net\myshare\myfile.txt Directories Flat namespace however prefix listing can simulate virtual directories True directory objects Case Sensitivity of NamesCase sensitiveCase insensitive, but case preserving CapacityUp to 500TB containers5TB file shares ThroughputUp to 60 MB/s per blobUp to 60 MB/s per share Object sizeUp to 1 TB/blobUp to 1 TB/file Billed capacityBased on bytes writtenBased on file size

Azure Files vs Disks DescriptionDiskAzure Files Relationship with Azure VMs Required for booting (OS Disk) ScopeExclusive/Isolated to a single VMShared access across multiple VMs Snapshots and CopyYesNo Configuration Configured via portal/Management APIs and available at boot time Connect after boot (via net use on windows) Built-in authentication Set up authentication on net use CleanupResources can be cleaned up with VM if neededManually via standard file APIs or REST APIs Access via REST Can only access as fixed formatted VHD (single blob) via REST. Files stored in VHD cannot be accessed via REST. Individual files stored in share are accessible via REST Max Size1TB Disk 5TB File Share 1TB file within share Max 8KB IOps500 IOps1000 IOps ThroughputUp to 60 MB/s per DiskUp to 60 MB/s per File Share

Windows Supported: Windows Server 2008 R2 Windows Server 2012 Windows Server 2012 R2 Investigating Linux Support: Ubuntu Ubuntu LTS Azure Files – Client OS Support

Request a token Tokens will start to be granted in batches by end of May 2014 Redeem token Create new storage account Create share (using powershell) Put files into share (azcopy) Connect to share from VM Azure Files: Getting Started

Demo: Azure Files – Part 2

Website Served From Azure File Share Load Balancer Azure VM …

Azure Files

Blob Storage

Blob Storage Concepts BlobContainerAccount / Pages/ Blocks contoso PIC01.JPG Block/Page PIC02.JPG images VID1.AVIvideos

Blob Details Main Web Service Operations

Blob Details Associate Metadata with Blob

Blob Details Blob always accessed by name

Blob Containers Multiple Containers per Account Special $root container Blob Container A container holds a set of blobs Set access policies at the container level Associate Metadata with Container List the blobs in a container Including Blob Metadata and MD5 NO search/query. i.e. no WHERE MetadataValue = ? Blobs Throughput Effectively in Partition of 1 Target of 60MB/s per Blob

GET miter=/ Tents/PalaceTent.wmv Tents/ShedTent.wmv Enumerating Blobs GET Blob operation takes parameters Prefix Delimiter Include= (snapshots, metadata etc…) Products/Bikes/SuperDuperCycle.jpg Products/Bikes/FastBike.jpg Products/Canoes/Whitewater.jpg Products/Canoes/Flatwater.jpg Products/Canoes/Hybrid.jpg Products/Tents/PalaceTent.jpg Products/Tents/ShedTent.jpg

results=2 &marker=MarkerValue Canoes/Hybrid.jpg Pagination Large lists of Blobs can be paginated Either set maxresults or; Exceed default value for maxresults (5000) results=2 Canoes/Whitewater.jpg Canoes/Flatwater.jpg MarkerValue

Tour of the Blob Service demo

Two Types of Blobs Under the Hood

TheBlob.wmv Uploading a Block Blob Uploading a large blob 10 GB Movie Block Id 1Block Id 2Block Id 3 Block Id N blobName = “TheBlob.wmv”; PutBlock(blobName, blockId1, block1Bits); PutBlock(blobName, blockId2, block2Bits); ………… PutBlock(blobName, blockIdN, blockNBits); PutBlockList(blobName, blockId1,…,blockIdN); TheBlob.wmv Benefit Efficient continuation and retry Parallel and out of order upload of blocks THE BLOB Microsoft Azure Storage

Page Blob – Random Read/Write Create MyBlob Specify Blob Size = 10 Gbytes Sparse storage - Only charged for pages with data stored in them Fixed Page Size = 512 bytes Random Access Operations PutPage[512, 2048) PutPage[0, 1024) ClearPage[512, 1536) PutPage[2048,2560) GetPageRange[0, 4096) returns valid data ranges: [0,512), [1536,2560) GetBlob[1000, 2048) returns All 0 for first 536 bytes Next 512 bytes are data stored in [1536,2048) 0 10 GB GB Address Space

Shared Access Signatures Fine grain access rights to blobs and containers Sign URL with storage key – permit elevated rights Revocation Use short time periods and re-issue Use container level policy that can be deleted Two broad approaches Ad-hoc Policy based

Ad Hoc Signatures Create Short Dated Shared Access Signature Signedresource Blob or Container AccessPolicy Start, Expiry and Permissions Signature HMAC-SHA256 of above fields Use case Single use URLs E.g. Provide URL to mobile client to upload to container sr=c&st= T08:20Z&se= T08:30Z&sp=w &sig= dD80ihBh5jfNpymO5Hg1IdiJIEvHcJpCMiCMnN%2fRnbI%3d

Policy Based Signatures Create Container Level Policy Specify StartTime, ExpiryTime, Permissions Create Shared Access Signature URL Signedresource Blob or Container Signedidentifier Optional pointer to container policy Signature HMAC-SHA256 of above fields Use case Providing revocable permissions to certain users/groups To revoke: Delete or update container policy sr=c&si=MyUploadPolicyForUserID12345 &sig=dD80ihBh5jfNpymO5Hg1IdiJIEvHcJpCMiCMnN%2fRnbI%3d

NoSQL 61

Generally more scalable The storage engines of NoSQL stores are designed to minimize contentions enabling higher throughput and therefore more scalable Lower transaction capability in NoSQL results in less contention and therefore more scalable Less complex query processor means that a single query can’t degrade service Built-in replication capability means that store can scale out which better aligns to other application tiers (e.g. websites) No fixed schema or lower schema requirements 62 Microsoft Azure

NoSQL on Azure Azure Tables service is NoSQL row store MongoDB is a document (JSON) store Cassandra is a columnar store with excellent replication HBase is a Big Data (Hadoop) NoSQL store available in HDInsight 63 Microsoft Azure

Queues

Components 65  Storage Account: All access to Azure Storage is done through a storage account.  Queue: A queue contains a set of messages. All messages must be in a queue.  Message: A message, in any format, of up to 64KB.

URL Format 66 Queues are addressable using the following URL format: The following URL addresses one of the queues in the diagram:

Queue Considerations  Messages are not ordered  Message  Will be processed at least once  Maybe returned more than once  Failover  In case of failure, the message will be reprocessed by another node  Message size<= 8KB  Stored up to 7 days

Queue 21 C1C1 C2C Producers Consumers P2P2 P1P

Why use Queue?  The queue length directly reflects how well the backend processing nodes are catching up with the overall workload.  Decouples different parts of the application.  Allows the flexibility of efficient resource usage within an application  Buffering to absorb traffic bursts and reduce the impact of individual component failures.

Azure Storage Architecture “Microsoft Azure Storage: A Highly Available Cloud Storage Service with Strong Consistency”, ACM Symposium on Operating System Principals (SOSP), Oct. 2011

Tables 71

Table Storage Concepts EntityTableAccount contoso Name =… = … Name =… Add= customers Photo ID =… Date =… photos Photo ID =… Date =…

Table Details Insert Update Merge – Partial update Replace – Update entire entity Upsert Delete Query Entity Group Transactions Multiple CUD Operations in a single atomic transaction Create, Query, Delete Tables can have metadata Not an RDBMS! Table Entities

Entity Properties

No Fixed Schema FIRSTLASTBIRTHDATE WadeWegner2/2/1981 NathanTotten3/15/1965 NickHarrisMay 1, 1976 FAV SPORT Canoeing

Querying FIRSTLASTBIRTHDATE WadeWegner2/2/1981 NathanTotten3/15/1965 NickHarrisMay 1, 1976 ?$filter=Last eq ‘Wegner’

Purpose of the PartitionKey

PARTITIONKEY (CATEGORY) ROWKEY (TITLE) TIMESTAMPMODELYEAR BikesSuper Duper Cycle…2009 Bikes Quick Cycle 200 Deluxe …2007 ………… CanoesWhitewater…2009 CanoesFlatwater…2006 PARTITIONKEY (CATEGORY) ROWKEY (TITLE) TIMESTAMPMODELYEAR Rafts14ft Super Tourer…1999 ………… Skis Fabrikam Back Trackers …2009 ………… TentsSuper Palace…2008 PARTITIONKEY (CATEGORY) ROWKEY (TITLE) TIMESTAMPMODELYEAR BikesSuper Duper Cycle…2009 Bikes Quick Cycle 200 Deluxe …2007 ………… CanoesWhitewater…2009 CanoesFlatwater…2006 Rafts14ft Super Tourer…1999 ………… Skis Fabrikam Back Trackers …2009 ………… TentsSuper Palace…2008 Partitions and Partition Ranges

Azure footprint 16 regions worldwide in 2014

Fortune 500 using Azure >57 % > 250 k Active websites Greater than 1,000,00 0 SQL Databases in Azure >20 TRILLION storage objects >300 MILLION AD users >13 BILLION authentication/wk >2>2 MILLION requests/sec >1>1 MILLION Developers registered with Visual Studio Online

Get started Visit azure.microsoft.com

SQL Database Billing Rates (As of February 2012) Database SizePrice Per Database Per Month 0 to 100 MBFlat $4.995 > 100 to 1 GBFlat $9.99 > 1GB to 10 GB$9.99 for first GB, $3.99 per additional GB > 10 GB to 50 GB$ for first 10 GB, $1.998 for each additional GB > 50 GB to 150 GB$ for first 50 GB, $0.999 for each additional GB

SQL Database Architecture