DEV Community

Ricardo Sueiras for AWS

Posted on • Originally published at blog.beachgeek.co.uk

AWS open source news and updates, #98

Jan 31st, 2022 - Instalment #98

Newsletter #98.

Welcome to another edition of AWS open source news and updates, featuring more new open source projects. This week, these include eventbridge-assistant (a VScode plugin to help you whilst you are developing with Amazon EventBridge), stratus-red-team (a tool you can use to emulate offensive attack techniques), critter (AWS Config rule integration testing), syne-tune-s3-transfer (an example of how to apply the distributed parameter search library to optimise download performance), karpenter-terraform (a Terraform module to help you automate deployment of karpenter), and a couple of super interesting open source solutions covering last mile delivery and software defined radio.

This weeks community and AWS authored articles and blog posts feature topics covering Kubernetes, Tekton, ArgoCD, Suricata, Apache Log4j, Gitlab, Porting Assistant for dotNET, Apache Airflow, PostgreSQL, AWS CDK, Apache JMeter, Lambda Powertools, and more. We also have a number of events happening this and next week, so make sure you review those and sign up whilst you can.

To wrap things up we have videos from last weeks OpenUK's Future Founders series (make sure you watch this, really great session), and the Open Cloud Innovations (we have the keynote from Deepak as well as the AWS Heros panel session).

As always, if you have any cool posts you would like me to share, or if you have a request for particular topics you would like to see more of, then please drop me a message or write a comment below.

Job of the week

Principal Developer Advocate, Containers

Amazon Web Services (AWS) is looking for a talented leader to lead the Bottlerocket and Amazon Linux Developer Advocacy program, part of Container services. Find out more, and apply via this link. If you want to have a chat about what it is like, feel free to drop me a mail.

Celebrating open source contributors

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: Anton Arhipov, Jannik Wempe, Ajit Puthiyavettle, Carlos Santos, Thomas Liddle, Chris Hendon, Muhammad Mirza, Valentin Widmer, Wojciech Matuszewski, Christophe Tafani-Dereeper, and NaveenKumar Namachivayam

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

Latest open source projects

Community

eventbridge-assistant

eventbridge-assistant AWS Community Builder Lars Jacobsson over at Mathem just missed last weeks edition with this new plugin for VSCode. This extension integrates with Amazon EventBridge Schema Registry to provide autocomplete when composing event patterns.

demo

stratus-red-team

stratus-red-team this open source project from DataDog, Stratus Red Team, allowing you to emulate offensive attack techniques in a granular and self-contained manner. Read the blog post from Christophe Tafani-Dereeper, Elevate AWS threat detection with Stratus Red Team, to find out more.

demo

Tools

critter

critter critter enables AWS Config rule integration testing and validate that AWS Config rules evaluate resources as expected. Customers use AWS Config rules to evaluate their AWS resources against their own unique compliance and governance requirements. critter is a command line tool that enables a continuous integration workflow to validate that Config rules evaluate resources as expected. This is essential to guaranteeing compliance within AWS accounts, especially when you consider the potential impact of unexpected behaviour from Config rule auto-remediations.

syne-tune-s3-transfer

syne-tune-s3-transfer Syne Tune is a distributed parameter search library open-sourced by AWS AI researchers. This tool uses Syne Tune to learn an optimal configuration of boto3's Download_file method, for a given file and a given client EC2 instance type. Using this code, we were able to reduce the download time of various files (5GiB, 10GiB) up to ~40% vs boto3 default transfer configuration.

aws-mqtt-wavelength-latency

aws-mqtt-wavelength-latency an interesting utility that provides code so you can build an Android application that is purpose-built to test 5G roundtrip latency to EC2 MQTT brokers in a Wavelength zone.

aws-codeguru-cli

aws-codeguru-cli this project provide a simple CLI wrapper for CodeGuru reviewer that provides a one-line command to scan a local clone of a repository and receive results. This CLI wraps the AWS CLI commands to communicated with AWS CodeGuru Reviewer.

Resources

aws-network-hub-for-terraform

aws-network-hub-for-terraform this repository demonstrates a scalable, segregated, secured AWS network hub for multi-account organisations using Terraform.

arch

karpenter-terraform

karpenter-terraform this repository provides a Terrform module that helps automate the steps need to provision Karpenter.

Demos and Samples

aws-last-mile-delivery-hyperlocal

aws-last-mile-delivery-hyperlocal this is an interesting looking demo application, that provides a number of solutions useful in the retail industry around last mile logistics. Whilst this project is a work in progress, it provides a re-usable solution for tracking their (tens of thousands of) drivers and instantly make pick-up and routing decisions. The system provides granular real time tracking, complex search, as well as assignment of drivers to orders using latest mathematical optimisation techniques.

arch

encrypted-mqtt-communication-using-gnu-radio

encrypted-mqtt-communication-using-gnu-radio this project provides a solution for an encrypted MQTT data transfer solution for the GNU Radio Software Defined Radio (SDR). GNU Radio is a free & open-source software development toolkit that provides signal processing blocks to implement software radios. It can be used with readily-available, low-cost external RF hardware to create software-defined radios, or without hardware in a simulation-like environment. It is widely used in hobbyist, academic, and commercial environments to support both wireless communications research and real-world radio systems.

arch

AWS and Community blog posts

AWS Lambda Powertools

A new tutorial that progressively introduces Lambda Powertools core utilities by using one feature at a time is now available, so if you were looking for a way to get to know this project, check out the Tutorial

demo

AWS SDK for Kotlin

With the recent announcement at re:Invent of the AWS SDK for Kotlin, it was good to read The new AWS SDK for Kotlin with Coroutines support from Anton Arhipov that provides a nice quick summary of how to get started.

AWS CDK

This week we have a couple of posts on AWS CDK Aspects, a way to apply an operation to all constructs in a given scope. The aspect could modify the constructs, such as by adding tags, or it could verify something about the state of the constructs, such as ensuring that all buckets are encrypted.

First up we had AWS Community Builder Wojciech Matuszewski has put together this post, Enforcing compliance with AWS CDK Aspects walks you through with an example of how to get started with AWS CDK Aspects, and how it can help you enforce compliance of the various resources you deploy to AWS.

illustration

And following that, Jannik Wempe was busy putting The Power of AWS CDK Aspects together for you to all enjoy. Jannik walks you through some of the typical use cases with examples to help you get a better understanding of how to apply these to your own CDK applications.

demo

Apache Airflow

I somehow missed this post when it first came out, but searching for something this week brought it to my attention. Felipe de Mello Rodrigues has put together, How to work with Airflow Docker operator in Amazon MWAA which dives deep into one particular Apache Airflow operator, and how you might use it.

Apache JMeter

NaveenKumar Namachivayam has put together a great article, Deploy JMeter on AWS using Terraform that helps you deploy this well loved testing project on AWS using Terraform. As NaveenKumar points out:

"Maintaining JMeter infrastructure for performance testing, CI/CD integration with the enterprise pipeline, and managing are cumbersome tasks."

So read on to find out how to simplify your life.

demo

AWS Cloud Map MCS Controller for K8s

Thomas Liddle and Chris Hendon explore some common issues customers face when attempting to adopt a multicluster architecture and how AWS Cloud Map MCS Controller for K8s enables multicluster service discovery, in their post Introducing AWS Cloud Map MCS Controller for K8s. AWS Cloud Map MCS Controller for K8s, is an open source implementation of the Kubernetes proposed API, KEP-1645: Multicluster Services API. [hands on]

arch

Tekton and ArgoCD

In the post, Cloud Native CI/CD with Tekton and ArgoCD on AWS Valentin Widmer shows you how to use the Kubernetes native CI/CD system Tekton on top of Amazon Elastic Kubernetes Service (Amazon EKS). The walkthrough uses uses another open source project called ArgoCD. ArgoCD connects to one or more Git repositories and listens for changes to them. If a change is detected, ArgoCD pulls the repository and applies the content of it to the cluster, allowing for a GitOps-like workflow [hands on]

arch

Kubernetes and Apache Log4j

Muhammad Mirza has put together a post that offers a less intrusive and minimalistic solution to mitigate vulnerabilities in the applications using Apache Log4j, in Protect Kubernetes workloads from Apache Log4j vulnerabilities

arch

Muhammad has created a simple application that contains a Log4j vulnerable application, and demonstrates discovery of the Log4j vulnerabilities and, how to protect the vulnerable application from such exploits. [hands on]

Suricata

Suricata is an open source-based intrusion detection system and intrusion prevention system. In the post, How to deploy AWS Network Firewall to help protect your network from malware Ajit Puthiyavettle describes how to use custom Suricata Rules with AWS Network Firewall to add protections that prevent users from downloading malware. You can use your own internal list, or a list from commercial or open-source threat intelligence feeds. [hands on]

arch

Porting Assistant for .NET

Porting Assistant for .NET is an open source analysis tool that reduces the manual effort and guesswork involved in porting .NET Framework applications to .NET Core 3.1, .NET 5, or .NET 6.
Carlos Santos walks you through how to use the standalone version of Porting Assistant for .NET to modernise a Web Forms application to Blazor with the Web Forms starter project of eShopOnBlazor in his post, Modernizing ASP.NET Web Forms applications to Blazor using Porting Assistant for .NET [hands on]

Other posts worth checking out

Last week, these posts also caught my eye.

Quick updates

Apache Airflow

You can now create Apache Airflow 2.2 environments on Amazon Managed Workflows for Apache Airflow (MWAA). Apache Airflow 2.2 is the latest version of the popular open-source tool that helps customers author, schedule, and monitor workflows. Further, MWAA will install Python requirements, provider packages, and plugins on the Airflow web server starting with 2.2 environments. I know a lot of customers have been asking for this feature.

Videos of the week

If you missed it last week, we had a number of sessions as part of Open Cloud Innovations, featuring a number of sessions which you can now check out on demand.

Open Cloud Innovations - keynote

Deepak Singh, Vice President of AWS Compute services kicks things off, and talks a little about our approach to open source.

*Open Cloud Innovations - AWS Heroes Panel *

Catch up with AWS Heroes Liz Rice, Erica Windisch, Brian LeRoux, & Casey Lee while they discuss critical components, common pathways, and best practices for achieving real business outcomes with Open Source.

Read the full story in, AWS Heroes Panel spotlights open-source community, security and funding

Future Founders

OpenUK are doing a tremendous job helping folk understand more about the business of open source. In their first session, join a great line up of Alexis Richardson, David Mytton, and Liz Rice which is expertly hosted by Matt Barker in Why found an Open Source Business?

Events for your diary

If you have an event you want me to publish here, please contact me and I will include it in this listing.

FOSDEM'22
5th/6th February

Every year, thousands of developers of free and open source software from all over the world gather at the event in Brussels. You can check out the schedule, to find out more about what is on. There are so many great sessions, this really is an unmissable event. Whilst I will not be there in person, I will be attending online, as their online/virtual coverage is excellent.

Find out more on the registration page, FOSDEM'22

AWS HPC Speeds and Feeds
February 9, 2022 | 8:30AM - 10:00AM PST

Over the past year, AWS HPC has introduced a host of new HPC products and services (many of them using open source technologies and project) to help today's scientists, engineers and researchers to run their workloads at scale for less cost and faster. Join us to hear directly from the engineers to learn more about the latest and greatest innovations from AWS HPC. To find out more about the talks, read the blog post Join us for our HPC “Speeds n’ Feeds” to find out more, and use this link to register.

Cloud DevSecOps with Bridgecrew and Terraform
Thursday, February 10th at 2pm GMT

From scanning infrastructure as code (IaC) for security misconfigurations to implementing automated DevSecOps workflows, this workshop will provide a hands-on experience to automate your cloud security.

Read more and register, AWS Dev Day Cloud DevSecOps with Bridgecrew and Terraform

HashiTalks 2022
Thursday, Feb 17th

The 24-hour HashiTalks is back for its fourth edition on Thursday, February 17. Tune-in to hear from and learn with fellow practitioners.

Find your local chapter, find more details and register here.

OpenSearch
Every Tuesday, 3pm GMT

This regular meet-up is for anyone interested in OpenSearch & Open Distro. It alternates between meet-up and then office hours. 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 - Feb2022

GitOpsCon Europe
May 17th, Valencia Spain

GitOpsCon Europe is designed to foster collaboration, discussion, and knowledge sharing on GitOps. This event is aimed at audiences that are new to GitOps as well as those currently using GitOps within their organisation. Get connected with others that are passionate about GitOps. Learn from practitioners about pitfalls to avoid, hurdles to jump, and how to adopt GitOps in your cloud native environment.

The event is vendor-neutral and is being organised by the CNCF GitOps Working Group. Topics include getting started with GitOps, scaling and managing GitOps, lessons learned from production deployments, technical sessions, and thought leadership.

Read more about this from the official page here.

CFP

GitOpsCon
CFP closes Feb, 14th

GitOpsCon Europe (#GitOpsCon) is designed to foster collaboration, discussion, and knowledge sharing on GitOps. This event is aimed at audiences that are new to GitOps as well as those currently using GitOps within their organization. Get connected with others that are passionate about GitOps. Learn from practitioners about pitfalls to avoid, hurdles to jump, and how to adopt GitOps in your cloud native environment.

The CFP is now open, and you can read more about, and submit your own session here.

Apache Airflow
CFP closes March, 14th
A heads up to folks who are interested in all things Apache Airflow. Apache Airflow Summit 2022 has been announced and the call for papers (cfp) is now open. The bar for sessions is always very high, so looking forward to this event already.

If you have an idea for a talk, why not submit one via the cfp process. Check out the event, Apache Airflow Summit 2022

If you maybe have wanted to do a session, then I am very happy to help with feedback or coaching to help you feel more comfortable in creating and/or delivering your session. If this something that has been on your mind, but you just needed a little support, PLEASE get in touch.

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 (2)

Collapse
 
aditmodi profile image
Adit Modi

I have been reading AWS open source news and updates from past couple of weeks and the work that @094459 does is truly amazing. Thank you Ricardo👏

Collapse
 
jannikwempe profile image
Jannik Wempe

Wow, what a comprehensive newsletter. Great collection of interesting topics.

I feel honored to be mentioned for my AWS CDK Aspects article 🙏🏼