Thumbnail image

Using Flick buttons with Cloud Run on GCP

A co-worker recently told me about buttons. These button caught my attention because they can include triggers for single, double, or hold click and can be easily wired up to all kinds of actions.

I instantly thought of of a few really interesting applications. To start with though, I wanted to create a simple service that would allow me to push the custom data defined on each button over HTTP to Cloud PubSub. That in turn would then connect me to the many more actuation options through GCP APIs and services that connect to Cloud PugSub.

I went ahead and ordered 4-pack of Flic buttons and chose Cloud Run to implement my buttons service. Here is a short demo on to:

  • Deploy Cloud Run service that will persist sent data to Cloud PubSub
  • and, how to configure Flic buttons to send data to Cloud Run service