Book Image

Hands-On Cloud Solutions with Azure

By : Greg Leonardo
Book Image

Hands-On Cloud Solutions with Azure

By: Greg Leonardo

Overview of this book

Azure provides cloud-based solutions to support your business demands. Building and running solutions on Azure will help your business maximize the return on investment and minimize the total cost of ownership. Hands-On Cloud Solutions with Azure focuses on addressing the architectural decisions that usually arise when you design or migrate a solution to Microsoft Azure. You will start by designing the building blocks of infrastructure solution on Azure, such as Azure compute, storage, and networking, followed by exploring the database options it offers. You will get to grips with designing scalable web and mobile solutions and understand where to host your Active Directory and Identity Solution. Moving on, you’ll learn how to extend DevOps to Azure. You will also beneft from some exciting services that enable extremely smooth operations and streamlined DevOps between on-premises and cloud. The book will help you to design a secure environment for your solution, on both the Cloud and hybrid. Toward the end, you’ll see how to manage and monitor cloud and hybrid solutions. By the end of this book, you will be armed with all the tools and knowledge you need to properly plan and design your solutions on Azure, whether it’s for a brand new project or migration project.
Table of Contents (16 chapters)
Title Page
Copyright and Credits
Packt Upsell
Contributors
Preface
Index

Using Application Insights


To me, it is critical to monitor applications and detect failures before receiving a phone call from my clients. With Azure being a closed ecosystem, you will struggle to support your applications without logging in your application that can tell you what is going on.  I like to leverage Azure Application Insights and NLog to help with logging in my applications; then, I can build my monitoring from there. Application Insights can be installed with most resources and gives you some insights for free, almost like the event log on a traditional server.

Application Insights provides telemetry about your app, and when things don't get right, it is good to understand that there are two main types of telemetry—raw and aggregated instances. Aggregated data includes the counts of events per unit of time or averages.  Now, it is good to understand the following categories of collected data:

  • Dependencies
  • App Requests
  • Exceptions
  • Page Views
  • Performance counters
  • Log Traces
  • Custom Events...