Another newsletter full of great content for you this week. Make sure you read the essential read this week, Rights Ratchet Model, keep on top of the latest news on the fork of Elasticsearch, some events for your diary, more great videos, a new workshop and of course the usual open source projects and posts from the community and AWS. Pick of the week has to be Ian Mckay's new open source project, iamlive - make sure you check it out in the projects section below.
As always, I am always eager to hear from you about your projects or blogs/solutions you have been working on so please get in touch if you would like me to share your projects here.
Essential read this week
There have been many things said and written over the past few weeks about Elastic recent open source licensing changes. In this post, A Bit Of A Stretch Simon Phipps articulates better than most on this topic, and uses the "Rights Ratchet Model" to describe the open source exploitation model that is being leveraged. A great read and well worth 10 minutes of your time to digest.
Kyle Davis shared some more news from the Open Distro for Elasticsearch community last week in Update from the fork team: Feb 3 and Feb 5 Fork Update, sharing some key data points on how the forks of Elasticsearch and Kibana are going. I will continue to share these here, but why not join the community and attend their regular meet ups to stay ahead.
Last week I shared that I have been putting together some blog posts to support my session at the Innovate AI/ML event happening on Feb, 24th. I have been working on more posts, and this week I managed to complete the fourth and fifth posts which you can find below. Use the sign up link here to register for this event.
Building ML-driven streaming applications with Apache Kafka join Joseph Morais from Confluent and Kanchan Waikar from AWS in this webinar to learn how to build Apache Kafka®-based streaming applications backed by machine learning models. The event is across three time zones so whether you are in Asia, Europe or the Americas, there will be a time you can attend.
Announced this week was the second CDK Day, which will be on April 30th. Check out the web page to find out more about the first CDK Day, which was incredible. This second event promises to be even better. The CFP is open until the 19th of March. Check out this supporting blog post, CDK Day CFP Is Open!!!! from Matt as to what to expect and what they are looking for when it comes to sessions.
The articles posted in this series are only possible thanks to contributors and project maintainers and so I would like to shout out and thank those folks who really do power open source and enable us all to build on top of what they have created.
So thank you to the following open source heroes: Ian Mckay, Michael Labieniec, Mike George, Joseph Morais, Kanchan Waikar, Matt Coulter, Peng Su, Shan Huang, Denis Gladkikh, Carlos Zambrano, John Preston, Simon Phipps, Anton Babenko, Dave Horton, Anoop Rachamadugu, Rodrigue Koffi, Roberto Meda, Ben Smith, Abdullahi Olaoye, Alolita Sharma, Nizar Tyrewalla, Robert Fratto, Imaya Kumar Jagannathan, William Lee and Kyle Davis.
Make sure you find and follow these builders and keep up to date with their open source projects and contributions.
iamlive the latest open source project from AWS Hero Ian Mckay, that is a very nice tool to help you generate basic IAM policies by from AWS client-side monitoring. Take a look at this demo on the project's GitHub repo to get a better idea.
terraform-aws-pricing is an open source project from AWS Community Hero Anton Babenko that is a Terraform module which calculates price of AWS infrastructure (from Terraform state and plan). I think this is an excellent concept and something I used to advise when helping organisations transition to the Cloud, building strong economic methods and techniques into the design and architecture methodologies. Anton shares other options you might want to look at. Great stuff Anton.
amplify-flutter-sample this sample project from Michael Labieniec provides an example application using the Amplify Framework and Flutter.
aws-iam-management-as-code is a MIT licensed open source project from Peng Su and Shan Huang at Alpha Health that helps you to create IAM policies as code, defining a set of atomic permissions and using a tree data structure with multi-level inheritance. This allows you to better manage via best practices such as source control, those policies.
To understand more, you can read their supporting blog post from Peng Su and Shan Huang, IAM Management as Code. The post takes a look at the context and background that led to the creation of this solution. It is very detailed and shows the specific workflows that they were looking to automate and protect. If you have similar requirements, then take a look at this project.
AWS CDK and cdkpatterns.com
How AWS CDK released this Architect from 'the ivory tower' Matt Coulter with an essential post you should read this week on cdkpatterns.com, what it is, why it exists and why you should care. There is something so re-assuring about design patterns, and it certainly appeals to the part of me that craves order and neatness. Check this post out then, and also while I have your attention, make sure you check out CDK Day (see above)
Adding Custom Operators on Amazon Managed Workflows for Apache Airflow Carlos Zambrano provides yet more Apache Airflow content this week, although this is an older post which somehow I missed. Carlos walks you through creating a custom plugin that create a notification plugin that allows your Apache Airflow workflows to notify your Slack channels. This is a nice walkthrough if you want to know more about creating custom plugins you can use in your workflows. Source code (and DAGs) are provided in his GitHub repository.
Adding to Carlos' post I have a couple more blog posts as part of the series I am doing. First up we have Part 4 - Interacting with Amazon Managed Workflows for Apache Airflow via the command line where I explore the different options you have to interact with Amazon Managed Workflows for Apache Airflow (MWAA) and then Part 5 - A simple CI/CD system for your development workflow which walks you through how you can set up a simple CI/CD pipeline to simplify your workflow development but also reduce the access requirements to your AWS environment.
Analyzing AWS Amplify Access logs. Part 2. Denis Gladkikh is back with the second part as he looks at more ways of taking the information from your AWS Amplify applications, in particular how you can use AWS services like AWS Lambda and AWS Athena to generate reports that will help you stay on top of your apps.
Use your docker-compose files as a CloudFormation template another great post from John Preston takes a look at a new feature of this project, ECS Compose-X macro, its origins in the path that was AWS CloudFormation Macros and how ECS Compose-X macro looks to achieve the same thing but instead of using a CloudFormation template as the source, you can use your docker-compose files.
AWS Distro for OpenTelemetry
AWS Distro for OpenTelemetry adds partner exporters for metrics and traces Alolita Sharma and Nizar Tyrewalla write about the latest release of AWS Distro for OpenTelemetry (ADOT) version 0.7.0 adds support for four more partner monitoring solutions—Datadog, Dynatrace, New Relic, and Splunk—enabling customers to send correlated metrics and traces using OpenTelemetry.
AWS Amplify and Vue 3
This week we have a few posts on Prometheus.
First up we have Imaya Kumar Jagannathan with Set up cross-region metrics collection for Amazon Managed Service for Prometheus workspaces who follows on from a previous blog post around how to ingest metrics from your applications running on Amazon EKS clusters in a single region, to how you can scale that up and do this across multiple AWS regions. This post is a practical walkthrough that you can follow to understand all the moving pieces.
Following that we have Using Amazon Managed Service for Prometheus to monitor EC2 environments from Rodrigue Koffi, with a great post on how to use the Amazon Managed Service for Prometheus (AMP) to ingest your metrics both in AWS or your on premises workloads.
Finally we have Mike George's post, Monitor and scale your Amazon ECS on AWS Fargate application using Prometheus metrics where Mike shows you how you can monitor and scale your Amazon Elastic Container Service (Amazon ECS) on AWS Fargate applications using Prometheus metrics.
Not to be left out, we also have a couple of posts on Grafana this week.
First up, collaborating on Configuring Grafana Cloud Agent for Amazon Managed Service for Prometheus are Robert Fratto, Imaya Kumar Jagannathan, and Alolita Sharma talking about the Grafana Cloud Agent, a lightweight alternative to running a full Prometheus server. This makes it easier to collect Prometheus-compatible metrics and scale to distribute scrape load by deploying one process per node. Read the post to find out how to do this, with detailed steps to guide you.
Following that we have Imaya Kumar Jagannathan with another post. In Setting up Grafana on EC2 to query metrics from Amazon Managed Service for Prometheus he covers how to set up a self hosted Grafana server running on AWS EC2 and integrate this so that you create a dashboards and visualisations and ingest data from within your Amazon Managed Service for Prometheus (AMP).
Also, if you are interested in Grafana, check out my Apache Airflow blog post on logging and monitoring which shows how you can integrate your Apache Airflow metrics from AWS CloudWatch with Grafana.
AWS ParallelCluster post-install: EnginFrame and DCV Session Manager Broker Roberto Meda writes and shows you how to automatically install EnginFrame and DCV Session Manager Broker via an AWS ParallelCluster post-installation script. AWS ParallelCluster is an open source cluster management tool that simplifies deploying and managing HPC clusters, and NICE EnginFrame is an advanced web front end for accessing technical and scientific applications in the cloud. The code for this article is available on the GitHub repo.
Node.js 14.x runtime now available in AWS Lambda Benjamin Smith with a quick post to announce the support with AWS Lambda of the Node.js 14.x runtime. All the details you need to know, including the deprecation schedule you should take note of.
Continuous deployment of Cloud Custodian to AWS Control Tower
Abdullahi Olaoye with a post that talks how Cloud Custodian, an open source cloud security, governance, and management tool, enables users to keep their Amazon Web Services (AWS) environment secure and well managed by defining policies. If you are looking to scale your compliance, then this post is just what you need to read.
Migrating a commercial database to open source with AWS SCT and AWS DMS Hooman Hamilton shares some guidance on how you can approach migrating your current database to an open source data, using tools such as the AWS Database Migration Service and Schema Conversion Tool.
Testing EC2 Image Builder pipelines using Chef InSpec Anoop Rachamadugu writes about how you can use an open source project, Chef InSpec, to walk through how you can use it in your build pipeline. Chef InSpec is an open-source framework for testing and auditing your applications and infrastructure, and it works by comparing the actual state of your system with the desired state that you write in Chef InSpec code. It then generates the findings in a report. So find out more how you might be able to use this project by reading this post.
How Baqend built a real-time web analytics platform using Amazon Kinesis Data Analytics for Apache Flink in this post, customer Baqend share their journey from a high-volume batch analytics solution to a continuous aggregation pipeline using Kinesis Data Analytics for Apache Flink which allowed them to reduce to less than a minute of end-to-end latency from data ingestion to visual output in the dashboard.
Baqend is one of the fastest-growing software as a service (SaaS) startups in Germany, serving over 5,000 business customers with more than 100 million monthly users and $2 billion EUR revenue per year.
CDK with Next.js and AWS Amplify Workshop Nader Dabit has built a new workshop that will help you to build a full stack cloud application using lots of great open source projects such as Next.js, AWS CDK, AWS AppSync, and AWS Amplify. In this workshop you will learn how to use these technologies by building an app that is a multi-user blogging app with a markdown editor.
A regular feature now, the Containers from the Couch crew show you how you can secure your Kubernetes API access using Hashicorp's open source project Boundary.
Node Red and Amazon Lex
Node Red is probably my most favourite open source project, and whilst I have not had the opportunity to use it much lately, I came across this video from Dave Horton who takes a look at how you can integrate the open source CPaaS project, jambonz with Amazon Lex all through the magic that is Node Red.
AWS Copilot launched version 1.2 which now provides more deployment capabilities for applications hosted on Amazon Elastic Container Service (Amazon ECS). AWS Copilot now lets you add a pipeline to safely deploy resources from AWS CodeCommit repositories, in addition to the existing GitHub repository option. All deployments from AWS Copilot now use ECS deployment circuit breakers by default, letting you detect and roll back failed deployments quickly. Finally, you can view the progress of your deployment with a new progress UI displayed in your CLI shell, giving you more insight to the status of your deployment and resources being modified.
You can also refer to the AWS Copilot release notes for v1.2 here.
AWS Amplify Hosting now allows users to monitor metrics for Amplify hosted applications in near real-time. Amplify provides a dashboard with metrics for Incoming requests, Bytes downloaded, Bytes uploaded, 4XX/5XX errors, and latency. You can create CloudWatch alarms in the Amplify console that send notifications when specific criteria are met. An alarm watches a single metric and sends an Amazon Simple Notification Service notification when the metric breaches the threshold for a specified number of evaluation periods.