DEV Community

Ricardo Sueiras for AWS

Posted on • Updated on • Originally published at

AWS open source news and updates, #115

June 3rd, 2022 - Instalment #115

Welcome to regular and new readers alike, to the AWS open source newsletter episode #115.

This week we have another great selection of brand new open source projects for you to explore, including "firec" a Rust client library for interacting with Firecracker, "sfn-cli" a tool that helps you quickly build StepFunctions definitions, "ssm-cloner" a tool to help you replicate across AWS regions your AWS System Manager documents, "amazon-lambda-compute-tuning" an AWS Lambda function benchmarking tool, "aws-iam-root-user-activity-monitor" a sample project to help you keep track of your root user, "hpc-cost-simulator" a tool to help estimate costs running your HPC workloads on AWS, and many more.

We also have blog posts and longer form technical articles covering Kubernetes, Amazon EMR, SUSE Linux, Dart, AWS Amplify, Amazon Genomics CLI, OpenZFS, AWS CDK, Go, TensorFlow, Hugging Face, Apache Cassandra, Dicoogle, MariaDB, Spack, Quarkus (don't miss this one), and more this week. This weeks featured videos cover Apache Kylin and Blazor and I finish up events happening that you should watch out for.


The AWS Cloud Development Kit (AWS CDK) version 1 (v1) for JavaScript, TypeScript, Java, Python, .NET and Go is now in maintenance mode. In this post, Version 1 of the AWS Cloud Development Kit (AWS CDK) is now in maintenance mode you find out more about what this means as well as learn resources on how you can begin your migration to v2.


If you are looking to upgrade your MariaDB database from 10.2 (which is End of Life, October 2022) then you should check out this post, Upgrading from Amazon RDS for MariaDB version 10.2 put together by Vijay Karumajji. In it he covers the Amazon RDS for MariaDB 10.2 end-of-life timeline, your available upgrade choices and then shares some current good practices to follow during the upgrade process.

Celebrating open source contributors

The articles and projects shared in this newsletter are only possible thanks to the many contributors in open source. I would like to shout out and thank those folks who really do power open source and enable us all to learn and build on top of what they have created.

So thank you to the following open source heroes: Robert Oberhofer, Hamzabouissi Bazmahou, Forrest Sun, Gena Gizzi, Noor Fairoza, Michael Raney, Noah Gift, Gary Stafford, Oliver Perks, Vijay Karumajji, Daniel Leu, Ben Smith and Lars Jacobsson.

Make sure you find and follow these builders and keep up to date with their open source projects and contributions.

Latest open source projects

The great thing about open source projects is that you can review the source code. If you like the look of these projects, make sure you that take a look at the code, and if it is useful to you, get in touch with the maintainer to provide feedback, suggestions or even submit a contribution.



firec (pronounced "fyrek") is an open source Rust client library to interact with Firecracker. It allows you to create, manipulate, query and stop VMMs. Very nice indeed.


sfn-cli the latest open source project from the lovely folk at MatHem lets you quickly build StepFunctions definitions with a handy SDK integration lookup and snippet generation of all 10K+ API actions. A bit like a dressed down Workflow Studio, but at your fingertips. Note that this is an early stage preview and some functionality will be missing. (A big thanks to AWS Community Builder Lars Jacobsson for sending this through)


ssm-cloner this repository is used to simplify the process of cloning the SSM documents across the AWS regions. You can use this module and pass on the parameters and it will clone the documents for you. You can also use it to unclone or create new version for your documents. Sound super useful.


function-stencil very nice tool from our own Ben Smith that is a quickstart AWS Lambda function code generator. Downloads a template function code file, test harness file, sample SAM definition and appropriate file structure. Check it out on npm too, function-stencil


fissaa is a CLI that Hamzabouissi Bazmahou created to help him simplify the deployment of applications to AWS ECS, including things like setting-up domain registration, TLS Certification, Load Balancing, Rolling Back and budget monitoring. I love it when there is a story or meaning behind a project name, and in this case Fissaa is a Tunisian word that means speed-up.


amazon-braket-strawberryfields-plugin-python This plugin provides a BraketEngine class for running photonic quantum circuits created in Strawberry Fields on the Amazon Braket service. The Amazon Braket Python SDK is an open source library that provides a framework to interact with quantum computing hardware devices and simulators through Amazon Braket. Strawberry Fields is an open source library for writing and running programs for photonic quantum computers.


amazon-lambda-compute-tuning when trying to optimise your AWS Lambda functions, many people use my colleague Alex Casalboni's project, AWS Lambda Power Tuning. This project takes a slightly different slant, allowing you to try and benchmark the cost and performance differences against x86 and Arm and different memory options. All you need to do is supply the arn's of your AWS Lambda functions in the AWS Amplify front end, and away you go.

demo of amplify power tuning app


aws-iam-root-user-activity-monitor this project contains a sample of how you can monitor root user activity within your AWS accounts, using Terraform. This implementation is event-driven and relies on Amazon EventBridge to communicate AWS IAM root user activity events from member accounts to a central EventBridge custom event bus deployed in a given account.

architecture of root user monitoring


aws-tf-kms this repo contains a set of Terraform modules and examples. It provisions AWS KMS keys that are usable for the supported AWS services. Optionally, it supports managing key resource policy for cross-account access by AWS services and principals. An additional module is included that supports creating multi-region replica keys in another region.

architecture of aws-tf-kms


hpc-cost-simulator This package contains scripts to parse scheduler logs and analyze them. It analyzes scheduler accounting log files to simulate the cost of running the same jobs on AWS. This tool can simulate the use of spot instances for short jobs and help guide the choice of savings plans by breaking the data to hourly consumption. Initially supports LSF and Slurm. Altair Accelerator support to be added soon.

Demos, Samples and Workshops


dotnet-nativeaot-labs this repo provides a place to learn about and experiment with .NET NativeAOT on AWS. At a high level, NativeAOT for .NET is a way to compile your .NET projects directly to machine code, eliminating the Intermediate Language and Just-In-Time compilation. AOT stands for "Ahead of Time", as opposed to "Just in Time". According to this tweet from Norm Johanson "We have been experimenting with .NET's preview AOT support for improving Lambda cold start. For some scenarios we are seeing big improvements.".


aws-vpc-builder-cdk this repo contains code that provide a simple and repeatable way to deploy and explore complex networking architectures on AWS, as well as helping to showcase the capabilities of the AWS Cloud Development Kit (CDK) to create and orchestrate a complex architecture.

architecture of networking via cdk Daniel Leu has created this sample project that puts together a number of AWS services using AWS CDK, to create a functional blogging app which you can use as a base for your own projects.


deploying-unreal-engine-pixel-streaming-server-on-ec2 this repo contains code and documentation that allows you to deploy Windows-based Unreal Engine 4 Pixel Streaming builds to EC2. You can check out this blog post, Unreal Engine Pixel Streaming in AWS with Ubuntu OS where Gena Gizzi and Noor Fairoza show you how you can get this project running on Ubuntu. This project looks fun to try out, so its on my weekend to do list. [hands on]


rekognition-streaming-video-events this project detects objects (people, pets, and packages) in live video streams and returns the detected label(s), bounding box coordinates, zoomed-in images of the object(s) detected, and timestamps.

architecture of rekognition streaming events.


localize-content-using-aws-ml-services This sample solution demonstrates how builders can use polly to generate audio different than the source audio, generate subtitles from a text file, generate speech marks and tie them all together.

architecture of solution

AWS and Community blog posts


Realm database is an open-source, developer-friendly project for mobile data storage, distributed under the Apache 2.0 license and backed by MongoDB. Robert Oberhofer has put together this post, Increase app responsiveness with MongoDB Realm mobile database and AWS Wavelength introduces MongoDB Realm, and examines its core characteristics and key benefits. While Realm is widely used for building mobile applications, its capabilities are also relevant for other problem spaces, including IoT and Edge.


Another cracking post from Gary Stafford, this time showing you how go develop, test, build, and then deploy Native Quarkus applications to Kubernetes on AWS using GitOps in his post, Building and Deploying Cloud-Native Quarkus Applications to Kubernetes. This post covers more than Quarkus, and is essential reading for anyone looking to understand more about your options cloud native and Java. It is a long read, so grab your favourite beverage and enjoy!

architecture of what you will build.


Spack is a multi-platform package manager that builds and installs multiple versions and configurations of software. It works on Linux, macOS, and many supercomputers. In the post
Introducing the Spack Rolling Binary Cache hosted on AWS Oliver Perks shares the announcement of a new public Spack Binary Cache, hosted on AWS. Spack users now have access to a public build cache hosted on Amazon Simple Storage Service (Amazon S3). The use of this Binary Cache will result in up to 20x faster install times for common Spack packages. Read this post to find out more, including how this works with other open source tools such as AWS ParallelCluster.

diagram of Spack ecosystem


Dicoogle is an open source project that provides the functionality of a PACS (picture archiving and communication system). A PACS stores and indexes DICOM medical image files, and uses the DICOM protocol to facilitate the upload, download, and search of DICOM studies. DICOM is a data model organised in the sequence Patient – Study – Series – Instance. A patient has one or more studies, which may also be known as exams or procedures. In this post, Running Dicoogle, an open source PACS solution, on AWS (part 1), Forrest Sun provides the first part of a two-part series that describes how to host a secure DICOM server on AWS. [hands on]

architecture of dicom on aws

Apache Cassandra

Lightweight transactions (LWT) is an Apache Cassandra API feature that allows developers to perform conditional update operations against their table data. Conditional update operations are useful when inserting, updating and deleting records based on conditions that evaluate the current state. Michael Raney has written Improved performance for lightweight transactions with Amazon Keyspaces where he shares details about the improved performance characteristics of Amazon Keyspaces LWT API (lightweight transactions), advanced design patterns, and operational best practices.

graph of Apache Cassandra

Other posts you might like from the past week

proof of concept flow diagram

Case studies

Quick updates

AWS Amplify

Earlier this week was the announcement of the general availability of Geofences for Amplify Geo. Amplify Geo enables frontend developers to add location-aware features to their web applications. Developers looking to display geometric boundaries or Geofences on a map, can now implement a complete Geofence management solution in minutes using the cloud-connected UI widget and APIs from Amplify Geo, powered by Amazon Location Service. Geofences are geometric boundaries that can be drawn around places of interest or areas on a map.

With this release, developers can add an interactive Geofence management UI widget to view, create, and edit Geofences on a map. This UI widget is built on top of the popular MapLibre open-source library and developers can choose from the wide array of community-contributed plugins to further customise their Geofence UI components. Amplify Geo also provides developers with client APIs powered by Amazon Location Service to manage Geofences programmatically from their frontend web application. Developers can use the guided workflow in the Amplify Command Line Interface (CLI) to provision all the necessary cloud resources to create Geofences, or they can use existing Geofence resources.

SUSE Linux

Announced earlier in the week were price reductions for Amazon EC2 instances running SLES. When you run SLES on Amazon EC2, you are charged one combined price for the Amazon EC2 infrastructure and the SUSE OS. Read more about the details in the post, Price reductions on Amazon EC2 instances running SUSE Linux Enterprise Server (SLES) OS


The new Dart Signature V4 client allows developers to securely integrate with all 200+ AWS services using signed HTTP requests. This functionality enables Dart developers to make native calls to AWS backends in their Flutter or Dart applications, to make changes to the data or configurations of AWS services.

Developers can add the Signature V4 client as a dependency to their Flutter or dart application, and use it to interact with AWS services. For example, using the Dart Signature V4 client, a developer can interact with the Amazon Simple Storage Service (Amazon S3) using signed HTTP requests to create a new S3 Bucket. Developers can then choose to upload files to their S3 buckets and also manage the read/write permissions for the files within these buckets.


You can now update the storage and IOPS capacity on your Amazon FSx for OpenZFS file systems with the click of the button, making it even easier to adapt to your evolving storage and performance needs.

Amazon FSx for OpenZFS provides fully managed cost-effective shared file storage powered by the popular OpenZFS file system. When you create an FSx for OpenZFS file system, you can specify its storage capacity, its throughput capacity, and it's disk IOPS capacity. Until today, FSx for OpenZFS only supported updating the throughput capacity of an active file system. Now, you can also increase the storage capacity or change the disk IOPS capacity on your file system in seconds, without disrupting your end users or applications. With this capability, you can now dynamically update all of the primary aspects of your FSx for OpenZFS file system configuration.

Amazon Genomics CLI v1.5.0

The Amazon Genomics CLI simplifies and automates the deployment of cloud resources like workflow engines and compute clusters, providing genomics and life science customers with an easy-to-use command line to quickly setup and run genomics workflows on Amazon Web Services (AWS).

Amazon Genomics CLI v1.5.0 has added support for workflows written in the Common Workflow Language (CWL) using the Toil workflow engine. In addition to CWL, the Amazon Genomics CLI supports workflows written with Workflow Definition Language (WDL), Nextflow, and Snakemake enabling customers to run a wide variety of genomics data analyses like joint calling of genome variants and single-cell RNAseq.

Read the full release update in, Amazon Genomics CLI v1.5.0 adds support for the Common Workflow Language (CWL) with Toil

Videos of the week

Apache Kylin

Apache Kylin™ is an open source, distributed Analytical Data Warehouse for Big Data. In this video, you will learn how you can deploy this open source project into AWS, and then explores some sample data sets (COVID and New York Taxi).

.NET Blazor

Blazor is a free and open-source web framework that enables developers to create web apps using C# and HTML. In this video, Noah Gift shares with you how to deploy these apps using Amazon ECS.

Events for your diary

OSPOs In Action: Ways On How Organizations Drive Open Source Innovation
Jun 9, 2022, 8:00am PDT

From the registration page:

What does it take to establish an Open Source Program Office (OSPO)? This expert-led webinar provides a wealth of insight on the leadership and tools necessary to help implement an OSPO (or an open source initiative) within your organisations. Whether you’re from enterprise, academia, non-profit, or the public sector, you’ll come away with an understanding of OSPO opportunities which drive differentiation and risk mitigation.

You’ll hear from leaders from VMware, Bloomberg, Comcast, and Porsche to better understand the value of the OSPO, and where to get started.

Find out more and sign up for the webinar here.

Machine Learning at scale using Kubeflow with Amazon EKS and Amazon EFS
June 16th, 10am PT

My colleague Suman Debnath, Principal Developer Advocate at AWS, will discuss how to use the open-source machine learning toolkit Kubeflow. Suman will demonstrate how to deploy Kubernetes cluster utilising Amazon Elastic Kubernetes Service (EKS) and Amazon Elastic File System (EFS) as persistent storage in the backend, which will be utilised for staging the dataset for training, hosting jupyter notebooks, and running the machine learning model.

Find out more and register, Machine Learning at scale using Kubeflow with Amazon EKS and Amazon EFS

Observability: Open Source Solutions
June 28th, 10:00am - 2:15pm PDT

The AWS Monitoring and Observability Team invites you to participate in a hands on session with Amazon Managed Service for Prometheus, Amazon Managed Service for Grafana and AWS Distro for Open Telemetry. During this session you will use these services in creating workspaces, ingesting/querying metrics, logs and trace data and viewing in a dashboard you will set up. The afternoon will close with demo of what you have done and highlighting the value in MTTD, MTTI, MTTR and application performance.

This event is designed for those looking to implement AWS Observability using open-source services to visualize their data with native or 3rd party tools. Site reliability engineers, operations engineers, systems engineers, and DevOps. Familiarity with monitoring concepts such as logs, metrics, traces, alarms, and the dashboard is recommended, but not required.

Register via this page.

BOSC 2022
July 13-14, Madison, Wisconsin, USA

The Bioinformatics Open Source Conference (BOSC) has been held annually since 2000, and this year AWS is proud to be a platinum sponsor for this event. BOSC covers all aspects of open source bioinformatics software and open science, including (but not limited to) these topics, Open Science and Reproducible Research, Open Biomedical Data, Citizen/Participatory Science, Standards and Interoperability, Data Science Workflows, Open Approaches to Translational Bioinformatics, Developer Tools and Libraries, Inclusion, and Outreach and Training. This is a hybrid event (in person/virtual) and you find out more by checking out the event page, BOSC 2022

Every other Tuesday, 3pm GMT

This regular meet-up is for anyone interested in OpenSearch & Open Distro. All skill levels are welcome and they cover and welcome talks on topics including: search, logging, log analytics, and data visualisation.

Sign up to the next session, OpenSearch Community Meeting

OpenSearchCon 2022
Sept 21st, 2022 Seattle

Come to the first annual OpenSearchCon!

This day-long conference will be packed with presenters who build and innovate with OpenSearch. It doesn’t matter if you’re just getting started on your OpenSearch journey, running giant clusters, or contributing tons of code; the event is for everyone. Join us to celebrate the progress and look into the future of the project. Admission is free, and registration will be open in the next few weeks. All you will need to do is sign up, and get to Seattle!

Check out the full details, including signing up and location, at the meetup page here.

Stay in touch with open source at AWS

I hope this summary has been useful. Remember to check out the Open Source homepage to keep up to date with all our activity in open source by following us on @AWSOpen

Top comments (0)