Deploying and Managing DNN on Microsoft Azure Platform

19
Deploying and managing DNN on Microsoft Azure Platform David Rodriguez Cloud Team Lead Engineer DNN Corp. September 2016

Transcript of Deploying and Managing DNN on Microsoft Azure Platform

Page 1: Deploying and Managing DNN on Microsoft Azure Platform

Deploying and managing DNN on Microsoft Azure Platform David Rodriguez Cloud Team Lead Engineer DNN Corp. September 2016

Page 2: Deploying and Managing DNN on Microsoft Azure Platform

On this session IaaS, PaaS and DNN Deploying DNN on Azure Integrating Application Insights and DNN Other resources

Page 3: Deploying and Managing DNN on Microsoft Azure Platform

Deploying On PremisesHost

Portal 1 Portal 2 … Portal N

Page 4: Deploying and Managing DNN on Microsoft Azure Platform

Scaling On Premises

=

Page 5: Deploying and Managing DNN on Microsoft Azure Platform

Cloud Models

Page 6: Deploying and Managing DNN on Microsoft Azure Platform

Web/Files SQL VMs RedisWebsites

SQL Database

Redis Cache

Page 7: Deploying and Managing DNN on Microsoft Azure Platform

Which model?

• Full VM control• Bigger VMs• More IOPs (SSD, RAID 0, etc)• More complex• More management costs• SLA with 2 VMs per tier

Recommendation: choose websites (PaaS), and if it doesn’t fit, then move to VMs (IaaS)

• No VM Access• Small/Medium/Large VMs• Autoscaling • Less management costs• Single instance SLA• SQL DB is HA by default

Page 8: Deploying and Managing DNN on Microsoft Azure Platform

PaaS = New improvements with 0 effort

Page 9: Deploying and Managing DNN on Microsoft Azure Platform

Or mixed model…

SQL Database

SQL VMs

Reasons:• Need to install a

component for the webtier

• Want more disk IOPs• Want remote access

for some reason

Reasons:• Want to use SQL

Express• Want to use another

SQL feature (i.e. Reporting Services)

Page 10: Deploying and Managing DNN on Microsoft Azure Platform

Understanding SQL Database DTUs

https://azure.microsoft.com/en-us/documentation/articles/sql-database-what-is-a-dtu/

A DTU is a unit of measure of the resources that are guaranteed to be available to a standalone Azure SQL database at a specific performance level within a standalone database service tier.

A DTU is a blended measure of CPU, memory, and data I/O and transaction log I/O in a ratio determined by an OLTP benchmark workload designed to be typical of real-world OLTP workloads

CPU

Memory I/O

Page 11: Deploying and Managing DNN on Microsoft Azure Platform

Understanding SLA Database DTUs

Page 12: Deploying and Managing DNN on Microsoft Azure Platform

DEMODeploying DNN on Azure App Service (Websites)

Page 13: Deploying and Managing DNN on Microsoft Azure Platform

DNN and Application InsightsWhat telemetry?

DNN Usage: Page views Web requests Event Log Trace information (log4net) Exceptions (including browser exceptions) Dependencies:

database calls 3rd party services (SMTP, WebServices, etc.)

Performance

https://github.com/davidjrh/dnn.appinsights

Page 14: Deploying and Managing DNN on Microsoft Azure Platform

Out-of-the-box: “Proactive Insights”

Page 15: Deploying and Managing DNN on Microsoft Azure Platform

DNN and Application Insights

DNN Connect session: https://channel9.msdn.com/events/Microsoft-Spain-Events/DNN-Connect/Website-monitoring-with-Application-Insights

Page 16: Deploying and Managing DNN on Microsoft Azure Platform

DEMOIntegrating Application Insights on DNN Platform

DEMO

Page 17: Deploying and Managing DNN on Microsoft Azure Platform

More resources Azure AD provider

https://github.com/davidjrh/dnn.azureadprovider

Redis Caching Provider https://github.com/davidjrh/dnn.rediscachingprovider

DNN on Azure Websites – Tips and Tricks http://dnn-connect.org/community/blogs/azure-web-sites-sharing-experiences (session with James Rosewell)

Page 18: Deploying and Managing DNN on Microsoft Azure Platform

Questions?

Page 19: Deploying and Managing DNN on Microsoft Azure Platform

Deploying and managing DNN on Microsoft Azure Platform David Rodriguez Cloud Team Lead Engineer DNN Corp. September 2016