Cloud BI with Azure Analysis Services Sergiy Lunyakin Cloud BI with Azure Analysis Services
Sponsors
Session will begin very soon :) Please complete the evaluation form from your pocket after the session. Your feedback will help us to improve future conferences and speakers will appreciate your feedback! Enjoy the conference!
About me Data Management Consultant at ITMagination Data Platform MVP, MCSE BI, MCSA Cloud Platform Leader of Speaker at SQL Conferences Organizer of SQLSaturday in Lviv
Agenda BI components and Azure Analysis Services in the cloud Performance levels Data sources and exploration Management and development
Traditional BI components and Azure Analysis Services Power BI SQL DW Functions
Analysis Services in the cloud Managed SSAS Tabular engine in the Azure Cloud (PaaS) Supports 1200 and 1400 compatibility level models Pause and resume resources Scale Up/Down Secure - Org AAD authentication (no LiveId) Cloud and On-Premise (over Gateway) data sources Familiar tools (SSDT, SSMS, PowerShell)
Modern BI approach
Azure Analysis Services Architecture 4/14/2018 5:53 PM Azure Analysis Services Architecture Cloud visualization tools Cloud data sources Azure Analysis Services SQL Database Other data sources Power BI Direct Query SQL Data Warehouse Cached Model Power BI Embedded (GA) Gateway On-premises data sources Authoring and development tools On-premises visualization tools Other data sources SQL Server Visual Studio Excel Direct Query Cached Model Power BI Desktop Third party BI tools Oracle, Teradata © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Org AAD Authentication Supports only Azure Active Directory organizational accounts Supports AAD B2B (invite users from another AAD tenant) Workaround for LiveId Create a new account in default AAD domain (*.onmicrosoft.com) Set as Administrator during service provisioning
Performance levels Level QPUS MEMORY (GB) SLA PRICE B1 40 10 99.9 $319.92/mo; $0.43/hr B2 80 20 $639.84/mo; $0.86/hr S0 $602.64/mo; $0.81/hr S1 100 25 $1,510.32/mo; $2.03/hr S2 200 50 $3,020.64/mo; $4.06/hr S4 400 $6,033.84/mo; $8.11/hr S8 320 $7,722.72/mo; $10.38/hr S9 640 $15,445.44/mo; $20.76/hr Developer 3 None $98.21/mo; $0.132/hr B – basic level can’t have perspectives, multiple partitions and DirectQuery mode
Query processing units (QPUs) Unit of measure in Azure Analysis Services Based on a set of typical analytical queries and processing commands run on Azure and determines how many transactions are completed per second under fully loaded conditions 20 QPUs is about 1 pretty fast core
Demo
Data sources Cloud On-premises* SQL database SQL Server SQL Data Warehouse APS Oracle Oracle Database Teradata Teradata Database Azure Blob Storage – 1400 Comp level MySQL Database Azure Data Lake Storage -1400 …… https://docs.microsoft.com/en-us/azure/analysis-services/analysis-services-datasource * On-premises data sources require On-premises Data Gateway installation https://docs.microsoft.com/en-us/azure/analysis-services/analysis-services-gateway
Unified Gateway
Explore your data and connection Cloud On-premises Power BI Service Power BI Desktop Power BI Embedded – coming soon Excel SSMS Connection to asazure://<region>.asazure.windows.net/<servername> Used port 443 Latest client providers are required
Explore your data and connection SSMS - Enable Azure AD authentication for SSAS in SSMS 2016 [HKEY_CURRENT_USER\Software\Microsoft\Microsoft SQL Server\Microsoft Analysis Services\Settings] "AS AAD Enabled"="True" Excel – Windows Authentication is not supported yet, User/Password only Power BI Service – connect from Power BI Desktop, publish to web. Connection from web is not supported yet Impersonation Cloud sources/On-Premises with SQL Authentication – Service Account. On-Premises with Windows Authentication – User/Password, In-Memory Only
Management and Development for AAS Azure Portal PowerShell Resume-AzureRmAnalysisServicesServer Suspend-AzureRmAnalysisServicesServer Get-AzureRmAnalysisServicesServer Remove-AzureRmAnalysisServicesServer Set-AzureRmAnalysisServicesServer Test-AzureRmAnalysisServicesServer New-AzureRmAnalysisServicesServer Invoke-ProcessASDatabase SSMS SSDT+DAX Editor DAX Studio Tabular Editor
Management and Development for AAS AAS Web Designer - Preview Create a new data model (Azure SQL DB/DW) Edit existed model Create relationships and measures GitHub integration Import Power BI model Backup and Restore from Blob Storage
Demo
Processing Cloud On-premises Azure Automation + PowerShell SSMS Azure Data Factory – Custom Activity SSIS: SSAS DDL Task, SSAS OLEDB+SQL Task Azure functions + .Net - 5 min timeout SSDT PowerShell: Invoke-ProcessASDatabase RESTful API
User management Users must be in your Azure Active Directory. Usernames must be by organizational email address or UPN. Add users: Role assignment in Azure AD TMSL in SSMS UI in SSMS
Demo
Troubleshooting and monitoring Ensure that you use the latest drivers Clear Azure AD cache C:\Users\<user_name>\AppData\Local\ Delete the AADCacheOM or .IdentityService folder xEvents Trace Stream Custom solution to file (Christian Wade)
Summary PaaS Analysis Services Tabular engine Enterprise-grade data modeling in the cloud No CAPEX Low OPEX – pay for only what you use Go from conception to insight in hours Flexible scale Pausing and resuming
Links https://opbuildstorageprod.blob.core.windows.net/output-pdf-files/en-us/Azure.azure-documents/live/analysis-services.pdf https://azure.microsoft.com/en-us/documentation/videos/index/ https://feedback.azure.com/forums/556165-azure-analysis-services https://github.com/Microsoft/Analysis-Services
Sponsors
Questions?