Reproducible OpenID connect to GCR for GitHub Actions workflows using Terraform

The recently introduced by GitHub support for OpenID Connect (OIDC) tokens in GitHub Actions allows workflows to mint new tokens and then exchange those tokens for short-lived OAuth 2.0 or JWT tokens. These tokens can be used to access and manage Cloud resources. This is all done without the need to store the traditional long-lived service account keys in a form of GitHub secrets. ...

2022-01-29 · 6 min · Mark Chmarny

Multi Region REST Service on GCP using GitHub Template

I learn best by doing. And recently, most of the projects I’ve been building are either REST or gRPC-base services deployed as container images into Cloud Run on GCP. That means that I increasingly find myself recreating a lot of the same infra and app deployment flows. ...

2022-01-05 · 2 min · Mark Chmarny

Using Flick buttons with Cloud Run on GCP

A co-worker recently told me about flic.io 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. ...

2019-06-03 · 1 min · Mark Chmarny

How to use Stackdriver to monitor custom application metrics

Google Stackdriver has thousands of build-in metrics to monitor everything from Kubernetes cluster to database or storage. Stackdriver is also not just limited to Google Cloud Platform (GCP), it supports a number of AWS-native services and extensive log monitoring capabilities for a wide array of open source software packages, whether they run in the Cloud or in on premises. ...

2017-12-27 · 3 min · Mark Chmarny

Twitter Sentiment Analysis in Go using Google NLP API

As part of my ramp up on Google APIs I wanted to create a project that would allow me some practical exercise in a context of a real application. TFeel (short for Twitter Feeling) is a simple sentiment analyses over tweeter data for specific Twitter search terms using Google Cloud services: ...

2017-05-12 · 1 min · Mark Chmarny

My experience with Google Compute Engine

As part of my recent solution review, I wanted to compare a few performance metrics specific to multi-node data service deployment on different clouds. This post is about my experience with Google Compute Engine (GCE) as part of that evaluation. ...

2016-04-03 · 5 min · Mark Chmarny