Skip to content

2021

AWS CodeBuild local testing

Suppose you have a CodeBuild project triggered by a push on a given branch of a linked CodeCommit repo. If the build is particularly heavy, you might want to ensure its correctness before an actual commit to the related repo - for example, you might be interested in testing the build process specified in buildspec.yml locally.

How to display AWS CloudWatch logs in Streamlit

Let's dive in the following scenario:

  • we have some job/task running on AWS
  • we have already built a Streamlit frontend to launch jobs
  • we want to monitor AWS CloudWatch logs generated by the job execution
  • we don't want to neither switch from our Streamlit frontend to AWS Console, nor become crazy in following right log groups/streams to track our job

A possible custom solution is presented below.