Cloud BI with Azure Analysis Services Sergey Lunyakin Sergey.Lunyakin@gmail.com @slunyakin
Sérstakar þakkir til styrktaraðila SQL SATURDAY | #602 | REYKJAVIK 2017
About me DWH/BI Consultunt at ITMagination inc. Data Platform MVP, MCSE BI, MCSA Cloud Leader of Speaker at SQLSaturdays Organizer of SQLSaturday in Lviv Contacts: sergey.lunyakin@gmail.com @slunyakin
Agenda BI solution in the cloud Analysis Services in the cloud Performance levels Data sources and exploration Management and development
Standard BI components and Azure Analysis Services Power BI SQL DW Functions
Analysis Services in the cloud Managed SSAS Ent Tabular engine in the Azure Cloud (PaaS) Supports 1200 compatibility level models Pause and resume resources Scale Up/Down Secure - Org AAD authentication (no LiveId), Azure Blob Server Side Encryption Cloud and On-Premise data sources Familiar tools (SSDT, SSMS, PowerShell)
Org AAD Authentication Supports only Azure Active Directory organizational accounts Workaround for LiveId Go to Active Directory section at http://manage.windowsazure.com Open Default domain (*.onmicrosoft.com) Create new account Set as Administrator during service provisioning
Performance levels Level QPUS MEMORY (GB) SLA PRICE S0 40 10 None for Preview $450.12/mo; $0.605/hr S1 100 25 $755.16/mo; $1.015/hr S2 200 50 $1,510.32/mo; $2.03/hr S4 400 $3,016.92/mo; $4.055/hr Developer 20 3 None $49.10/mo; $0.066/hr
Comparing with VMs Dv2 with MS SQL license Level QPUS MEMORY (GB) PRICE S1 100 25 $755.16/mo; $1.015/hr S2 200 50 $1,510.32/mo; $2.03/hr S4 400 $3,016.92/mo; $4.055/hr VMs Cores MEMORY (GB) PRICE* D12 v2 4 28 $781.20/mo; $1.05/hr D13 v2 8 56 $1,473.12/mo; $1.98/hr D14 v2 16 112 $2,848.03/mo; $3.828/hr MS SQL Server Standard: 16 GB RAM Limit No Perspectives No Partitions No DirectQuery
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 Teradata * On-premises data sources require On-premises Data Gateway installation
Explore your data and connection Cloud On-premises Power BI Service Power BI Desktop Power BI Embedded – coming 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 [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 Azure AS 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
Processing Cloud On-premises Azure Automation + PowerShell SSMS Azure Data Factory – Custom Activity SSIS: SSAS DDL Task, SSAS OLEDB+SQL Task Azure functions + .Net SSDT PowerShell: Invoke-ProcessASDatabase
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 and PowerShell
Demo
Connection Troubleshooting Ensure that you use the latest drivers Clear Azure AD cache C:\Users\<user_name>\AppData\Local\ Delete the AADCacheOM folder.
Standard BI components and Azure Analysis Services Power BI SQL DW Functions
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/christianwade
Takk fyrir að koma á SQL Saturday Iceland Sérstakar þakkir til styrktaraðila http://www.sqlsaturday.com/602/Sessions/SessionEvaluation.aspx SQL SATURDAY | #602 | REYKJAVIK 2017
Thank you! Q&A Sergey.Lunyakin@gmail.com