I am gradually moving my Medium posts to my own blog: prodisup. Expect new content over there!

When you setup a dedicated monitoring cluster for your existing production cluster, make sure that the elected master node is the first to send metrics (via metricbeat) to the monitoring cluster. (It is totally fine if all the nodes are publishing metrics in the same time, just make sure that the elected master is among them). As it turns out, the e.m. publishes not just metrics, but information needed for the monitoring cluster to setup Stack Monitoring UI.

The step-by-step documentation is pretty good, it just fails to mention this tiny detail which can result in hours of debugging. Ask me why I know 🙄

aws-go-sdk documentation doesn’t say much about how to use Expression Attribute Names, or what to do, when one of your attribute names is a reserved word by DynamoDb. This piece aims to answer those questions.

I am gradually moving my Medium posts to my own blog: prodisup. Expect new content over there!

The below examples are using the Scan API presenting multiple scenarios.

Filter by primary partition key

In this basic example, sensorID is the primary partition key.

// Declare ScanInput parameters
// The ones without value will be nil, thus…

In the following piece I will iterate through a few interesting revelations I have made while extensively using the AWS IoT Core platform. As of January 2019 I have not found information regarding the following practices in the documentation, nor on AWS Forum or the internet. I hope that some of you experimenting with IoT Core will find this guide useful.

Using IoT Rules with Lambda integration

The use case was the following:

  1. The client application publishes an Item to a certain topic, let’s say sensors/list via SDK.
  2. The IoT Rule perceives the event and invokes a Lambda function.
  3. The Lambda function queries a DynamoDb table and returns the result set to the client application.
  4. The requirement…

Peter Nagy

Cloud Infrastructure Engineer at @recart | Find me on Github or Linkedin

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store