Ensuring your infrastructure is running as expected at all times is not trivial, but it is extremely important. Infrastructure monitoring is at the heart of any stable and functional service, and that is why we have prioritized adding it to FME Cloud.

FME Cloud is the hosted version of FME Server and one of its major benefits is that we handle all of the infrastructure for you. The trade-off is that you have less control than when you deploy FME Server yourself. FME Cloud monitoring gives some of that control back to you.

Why did we build FME Cloud monitoring?

Prior to this release we did have monitoring running on all FME Cloud instances, but only Safe would receive alerts when there was an issue with the server. On receiving the alert we would contact you and work to resolve the issue. This worked but it wasn’t perfect for several reasons:

  1. Reactive not preventative. The monitoring was triggered when there was an issue, which often meant the server was already down.
  2. Poor integration. Organizations were already using tools such as PagerDuty for incident management. Us emailing on an ad hoc basis made it hard to integrate with these tools.
  3. Alerts could not be tailored. It was hard for us to create alerts that were applicable for all scenarios. For example, some customers push their instances to the limit on a regular basis, so we couldn’t just trigger alerts based on high load.

We wanted to provide a way that allows you to monitor your FME Cloud infrastructure so you can create tailored alerts, ensuring issues can be tackled before they become a problem. On top of this, we wanted to allow you to integrate into your favourite alerting service.

What can I monitor?

On any FME Cloud instance that you launch, you can view the state of the instance in real time.

monitoring stats

We allow you to create alerts on a subset of these metrics.

The documentation provides a good overview of recommended alert conditions for each metric.

Where can I send alerts to?

Currently when an alert triggers you can:

If you wish to see support for other services we would love to hear from you.

How does it it work?

FME Cloud Monitoring is comprised of three components: Alerts, Notification Groups and Notification Services. You can read the full doc here, but here is an overview.

FME Cl

 

  1. Notification services define the communication protocols for delivering alerts. FME Cloud supports email, PagerDuty, Slack, and Webhooks.
  2. A notification group is the collection of notification services assigned to an alert.
  3. An alert defines the instance conditions you want to be notified about.

Let’s walk through an example and say we want to send a high priority alert when the server load goes over 5 processes for 30 minutes. In this scenario the server is likely in serious trouble, and the instance is either hanging or unresponsive.

Create Notification Services

I want to send my alerts to PagerDuty to alert the Ops team and send an email to the product manager so he is aware of the situation. The integration support makes this easy and you simply follow the steps to configure each service.

2016-05-26_11-59-02

Create Notification Group

Now that you have defined the endpoints you wish to deliver the alerts to, you need to create a notification group. We’ll create a group called High Priority and assign the email and PagerDuty services that we just configured to it. I can now assign this notification group to as many alerts as I want. In a simple setup you might only have a few notification groups, e.g. low and high priority. But as you tailor things and add further instances (e.g. staging, production and development) the notification groups become very useful.

2016-05-26_12-01-11

Configuring the Alert

The alert is the final piece and this is where we define the instance condition that we wish to be notified about. So in our case we are going to trigger an alert if the server load goes above 5 for 30 minutes. If that happens a message will be sent to all services in the High Priority notification group.

Creating alert

Message

If an alert triggers a message will be sent to PagerDuty and email.

Email Alert

 

When an alert clears, an email will be sent to alert the user and in PagerDuty the incident is auto-resolved.

Conclusion

FME Cloud monitoring gives you the tools to monitor your infrastructure in a detailed way. You can use it to ensure you are notified the second there is an issue, or to set up preemptive warnings that will trigger when there are early warning signs, or to simply provide insight into how the server is being used—maybe warning you when disk is used or there is a spike in traffic.

If you are currently running an FME Cloud instance in production, we recommend you take advantage of monitoring. Any instance launched after August 2015 is supported.

About FME Cloud Computing FME Cloud FME Cloud Notification Service

Stewart Harper

Stewart is the Technical Director of Cloud Applications and Infrastructure at Safe. When he isn’t building location-based tools for the web, he’s probably skiing or mountain biking.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts