Alerting and monitoring aspect in most solutions is an afterthought. This thinking can lead production issues and organisations missing their O/SLAs which they agreed with their business or other parties.
When it comes to Azure, we have a range of services to cover all aspect of monitoring-
- Azure Monitor-
A consolidated alerting and monitoring for Azure 1st party/core services.
- Azure Alerts-
By using alerts, you can configure conditions over data and get notified when the conditions match the latest monitoring data.
- Service Health-
It is a suite of experiences that provide personalized guidance and support when issues in Azure services affect you.
- Azure Security Center-
It provides unified security management and advanced threat protection across hybrid cloud workloads.
- Azure Advisors-
It is a personalized cloud consultant that helps you follow best practices to optimize your Azure deployments.
- Application Insights-
It is an extensible Application Performance Management (APM) service for web developers building and managing apps on multiple platforms.
- Log Analytics-
It plays a central role by consolidating monitoring data from different sources and providing a powerful query language (Kusto) for consolidation and analysis.
- Azure Mobile App-
App to manage your Azure resources, in essence, a portal in a phone.
Although, the above services can cover alerting and monitoring fully, it can be an overwhelming exercise to make them work together and understand their individual contributions to the overall solution.
To help understand how these services are connected together and can benefit you as a consumer of Azure services, I’ve put together a following diagram-
…Next up, surface information for different stakeholders, essentially create a dashboard as a product for each role.
Notes from the field on Azure Service Fabric (ASF) and some less known facts-
- Why do we need a durability level Silver or Gold? Silver and Gold tier allows SF to integrate with underlying VMSS resulting in the following features-
- You can scale back the underlying VMSS after scaling it out and ASF will recognise this change and will not mark the cluster as unhealthy. Also note, you cannot scale back the nodes to anything below 5 even though when you create a cluster a Silver/Gold node type has only 3 nodes.
- Allows ASF to intercept and delay VM level actions requested by the platform or cluster admin to allow stateful services to maintain the minimum replicaset/quorum at any point in time.
- Can I change durability tier of the existing cluster/node type?
- Yes you can upgrade from lower levels to higher and from Gold -> Silver.
- Why do we need minimum of 5 nodes in primary node type? Because-
- To maintain the quorum, you need majority of the nodes running at any point in time in the primary node type. If you are upgrading ASF binaries to the new version and Microsoft decides to update the host machine which hosts one of your 3 VMs then in this situation you are 2 VMs down out of 3, so this will impact the stateful system services. If you had 5 VMs, taking out 2 of 5 will still have 3 (majority) available.
- Does Microsoft support ASF cluster spanning across the multiple Azure DCs?
- Generally speaking, it is not supported.
- Can I add/remove Node Types after the cluster is created?
- Can I scale ASF?
- Yes, via VMSS auto/manual scale mechanism only at present.
- Can I make unsecure cluster a secure cluster?
- Can I scale stateful services?
- Yes, by partitioning the data which allows multiple parallel service type instances receiving the requests for their respective partitions.
- Each application instance runs in isolation, with its own work directory and process.
- Service Fabric process runs in kernel mode hence applications running under it will not be able to crash it easily.
- By default, the cluster certificates are added to the allowed Admin certificates list hence the template here secures both node-node and client-node comms. You can though add separate client certs for readonly and admin cluster roles.
- Scaling out VMSS causes other nodes in the same VMSS to change to stopping state. This is a superficial UI bug and will be fixed soon, VMs in the VMSS do not stop in reality.
- Can I create a SF cluster with small size VMs?
- Yes, you can but please bear in mind when you do that cluster may start to throw the warnings, see this post to remove those warnings.