AWS open source news and updates, #103

094459

Ricardo Sueiras

Posted on March 7, 2022

AWS open source news and updates, #103

March 7th, 2022 - Instalment #103

Newsletter #103.

Welcome to edition #103 of the AWS open source news and updates. This weeks featured new open source projects include botocove (a decorator that helps you run your functions across your AWS accounts easily), functionless (a TypeScript plugin that transforms TypeScript code into Service-to-Service integrations), replibyte (a tool to replicate your PostgreSQL data), aws-security-bulletin-alert (notifies you of new AWS Security Bulletins) and sends out E-Mail notifications via Amazon SES), and many more. This weeks round up of articles and blogs across the AWS and Community include another broad variety of topics, including Apache Spark, Apache Kakfa, OpenZFS, PostgreSQL, Kubeflow, Apache Airflow, ROS, Kubernetes, Grafana, Prometheus, Karpenter, Apache Flink, Apache Hudi, Babelfish for Aurora PostgreSQL, AutoGluon and more. This week we feature a new white paper, Patterns for Ingesting SaaS Data into AWS Data Lakes, so don't miss that. To finish this weeks edition we have a number of great videos on Open 3D engine, XEN and Terraform, as well as a list of open source related events you should check out.

As always, if you are working on anything interesting you would like me to include in this weekly round up, please drop me a line at ricsue@amazon.com.

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: Dave Connell, Sam Goodwin, Mattia Berlusconi, Paola Lorusso, Jose Alfredo de Castro Nunes, Krithivasan Balasubramaniyan, Rumeshkrishnan Mohan, Naseer Ahmed, Igor Alekseev, Ramesh Mathikumar, Gabriel Soto, Vara Bonthu, Raja Ganesan, Aldred Halim, Ryan Shevchik, Neil Ashton, Ali Alemi, Jenna Pederson, J. Cole Morrison, Ivan Cui, Jonas Mueller, and Wenming Ye.

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

botocove

botocove this project from Dave Connell provides a simple decorator for functions to run them against all AWS accounts in an organisation. You can run a function against a selection of AWS accounts, Organisational Units (OUs) or all AWS accounts in an organisation, concurrently with thread safety. Run in one or multiple regions.

functionless

functionless this new project from Sam Goodwin is a TypeScript plugin that transforms TypeScript code into Service-to-Service (aka. "functionless") integrations, such as AWS AppSync Resolvers and Velocity Templates, or (coming soon) Amazon States Language for AWS Step Functions. To find out more, with plenty of examples, dive into this repo.

replibyte

replibyte current in alpha state, this new open source tool from the lovely folks at Qovery is a standalone application to replicate your cloud databases from one place to the other. The repo provides some background as to the motivation for the tool, and gives some example of how you can use this to synchronise PostgreSQL databases on AWS. One to watch.

arch

Tools

eks-anywhere-packages

eks-anywhere-packages EKS Anywhere curated packages is a framework to manage installation, configuration and maintenance of components that provide general operational capabilities for Kubernetes applications.

api-gateway-dynamic-publish

api-gateway-dynamic-publish this is a nice open sourced resources that uses AWS CDK and leverages an OpenAPI definition to define, document and create an Amazon API Gateway deployment. At deploy time, a CloudFormation Custom Resource is leveraged to dynamically substitute the Lambda integration function ARNs into the OpenAPI definition file as well as publishing the updated file to an S3 bucket for documentation viewing. This is a must check out project this week.

arch

aws-security-bulletin-alert

aws-security-bulletin-alert

If you are looking for a way to be proactively notified of new security bulletins, then this project will be of interest. This CDK project deploys an AWS Lambda Function which is scheduled for every full hour. It checks the https://aws.amazon.com/security/security-bulletins for new AWS Security Bulletins and sends out E-Mail notifications via Amazon SES.

arch

Demos and Samples

aws-proton-tutorial

aws-proton-tutorial Proton is a fully managed AWS service that helps engineering platform teams build developer portals to streamline the SDLC (software development lifecycle). Proton has two main goals: increase developers' productivity and agility while allowing organisations to maintain the right level of control and governance. This workshop/tutorial from Massimo Re Ferrè is for those of a curious nature that want to understand more.

eks-multi-environment-cdk-pipeline

eks-multi-environment-cdk-pipeline This project shows how AWS CDK can be used to provision and manage EKS cluster deployed in multiple environments. This project uses cdk-pipelines construct to create pipeline between the different Amazon EKS clusters that deployed in multiple environments. This project follows EKS Best practices guide, and deploy relevant add-ons like Cluster-Autoscaler, AWS Load Balancer Controller, and SSM Agent. It also deploys Weave Flux V2 for GitOps delivery. The reason that the Cluster add-ons are deployed using CDK and not using Flux, is because these add-ons require configurations both on the AWS and on the EKS/K8s (IAM roles and policies on AWS, and add-on deployment on K8s). All other application deployments will be deployed using Weave Flux V2.

arch

serverless-java-frameworks-samples

serverless-java-frameworks-samples this repo provides a simple serverless application built in Java using popular frameworks, Micronaut, Quarkus, and Spring Boot

arch

mediatailor-vod-upload

mediatailor-vod-upload this is a sample project and demo workflow that automates adding video on demand (VOD) sources to AWS MediaTailor Channel Assembly. To learn about AWS MediaTailor Channel Assembly, this workshop walks through defining sources, creating a channel and programs along with test source content.

arch

AWS and Community blog posts

Apache Kafka, Apache Flink, and Apache Hudi

Ali Alemi is a Streaming Specialist Solutions Architect at AWS, and shares some of his wisdom in this post,
Create a low-latency source-to-data lake pipeline using Amazon MSK Connect, Apache Flink, and Apache Hudi. The post helps you understand the different ways of working with streaming data with minimum coding, and demonstrate how to build fully scalable pipelines using SQL language without prior knowledge of Flink or Hudi. [hands on]

arch

Apache Airflow

In my continuing quest for more knowledge on Apache Airflow, I came across this post Orchestrating Databricks Workloads on AWS With Managed Workflows for Apache Airflow from the lovely Naseer Ahmed and Igor Alekseev of Databricks. The posts dives into how to leverage Databricks’ jobs API with Amazon Managed Apache Airflow (MWAA), integrating with AWS Cloudwatch to monitor Directed Acyclic Graphs (DAG) with Databricks-based tasks. [hands on]

architecture

Karpenter

Karpenter is a dynamic, high performance cluster auto scaling solution for the Kubernetes platform introduced at re:Invent 2021. In the post, Using Amazon EC2 Spot Instances with Karpenter Raja Ganesan and Aldred Halim look at how to use Karpenter with EC2 Spot Instances and handle Spot Instance interruptions. [hands on]

graph diagram

Kubeflow

I hope you enjoy this post, Building a multi-tenant Kubeflow environment on Amazon EKS using Amazon Cognito and ADFS from Jose Alfredo de Castro Nunes, Krithivasan Balasubramaniyan, and Rumeshkrishnan Mohan, which I enjoyed testing. This detailed walk through will help you understand the key components of how to deploy Kubeflow on Amazon Elastic Kubernetes Service (Amazon EKS) and how to achieve multi-user isolation using Amazon Cognito and ADFS. One up and running, you will be able to log in via your federated identity, and access your own tenant Kubeflow environment. [hands on]

demo

Observability

Ramesh Mathikumar, Gabriel Soto, and Vara Bonthu have collaborated on this post, Monitoring Amazon EMR on EKS with Amazon Managed Prometheus and Amazon Managed Grafana where you will build (via Terraform) an end-to-end observability solution for EMR on EKS Spark workloads by leveraging Amazon Managed Service for Prometheus to collect and store the metrics generated by Spark Applications. You will then use Amazon Managed Grafana to build dashboards for monitoring use cases. Source code provided. [hands on]

arch solution

PostgreSQL

Financial services industry (FSI) customers and other highly regulated industries often need to audit every action made by each database user and administrator as well as identify each person logged in to their databases, usually using their identity provider (IdP). Mattia Berlusconi and Paola Lorusso have written, Auditing for highly regulated industries using Amazon Aurora PostgreSQL, to share how a proactive solution to a common security challenge for highly regulated industries and describe how to incorporate security best practices for auditing and monitoring users’ actions on data stored in Amazon Aurora PostgreSQL-Compatible Edition. [hands on]

solution architecture diagram

OpenFOAM

OpenFOAM is a widely used open source Computational Fluid Dynamics (CFD) suite of software tools. In the post, Getting the best OpenFOAM Performance on AWS, Neil Ashton helps you explore six practical things you can do as an OpenFOAM user to run your simulations faster and more cost effectively on AWS.

graphs

AutoGluon

AutoGluon is an open-source library for AutoML for text, image, and tabular data, allowing you to produce highly accurate models from raw data with just one line of code. In the post, Build a cold start time series forecasting engine using AutoGluon Ivan Cui, Jonas Mueller, and Wenming Ye collaborate on how to build a cold start forecasting engine. Cold start forecasting, is where you build forecasts for a time series that has little or no existing historical data, such as a new product that just entered the market in the retail industry. [hands on]

graph of timeseries

Other posts worth checking out

arch

Whitepapers

Patterns for Ingesting SaaS Data into AWS Data Lakes is a new white paper that outlines different patterns using Amazon Web Services (AWS) services to ingest SaaS data into a data lake on AWS. It covers a number of different patterns, including how you can use Apache Spark, Apache Kakfa, and Amazon Athena Federated Queries.

Quick updates

MySQL

The AWS JDBC Driver for MySQL is an open-source project that uses the General Public License v2 and is now generally available for use with your Amazon RDS or Amazon Aurora MySQL-compatible edition database clusters. This database driver minimises failover time by monitoring database cluster status and caching the cluster’s topology. The cache is then used to improve DNS name resolution speed if a node fails, reducing failover time from minutes to seconds. The MySQL JDBC driver is based on the MySQL Connector/J and supports MySQL deployments. It is drop-in compatible with the community MySQL driver and is installed with Maven, Gradle, or by .jar file. After installing the required file, your client requires simple changes to the connection string to use the new driver.

You can dive deeper in the blog post, Improve application availability with the AWS JDBC Driver for Amazon Aurora MySQL where Ryan Shevchik demonstrate how to use the AWS JDBC Driver for MySQL, and how your application can take advantage of the features of clustered MySQL databases.

PostgreSQL

Following the announcement of updates to the PostgreSQL database by the open source community, AWS has updated Amazon Aurora PostgreSQL-Compatible Edition to support PostgreSQL versions 13.5, 12.9, 11.14, and 10.19 in commercial and AWS GovCloud (US) Regions. These releases contain bug fixes and improvements by the PostgreSQL community.

Apache Cassandra

Amazon Keyspaces (for Apache Cassandra) is a fully managed Apache Cassandra compatible database service now helps you automate resource management by using the AWS SDK. Amazon Keyspaces helps you to run Apache Cassandra workloads more easily at scale by using a fully managed and serverless database service. Amazon Keyspaces works with your existing Cassandra drivers and Cassandra Query Language (CQL) API code. In addition, Amazon Keyspaces is integrated with AWS CloudFormation to help you automate provisioning and management of Amazon Keyspaces resources, such as keyspaces and tables. You also can use CloudFormation to manage encryption and point-in-time recovery (PITR) settings. Now, you also can create and manage Amazon Keyspaces resources by using the AWS SDK. AWS SDK support also allows you to use third-party automation tools that depend on the AWS SDK to manage your AWS resources.

Apache Kafka

You can now use AWS CloudFormation to manage Amazon Managed Streaming for Apache Kafka (MSK) cluster configurations and SASL/SCRAM secrets.

OpenZFS

With the introduction of LZ4 data compression, you can now choose from two different compression options on Amazon FSx for OpenZFS file systems. LZ4 provides another highly popular performance-optimised compression option (in addition to Z-Standard) to help you optimise storage efficiency and performance based on the needs of your individual workloads.

Amazon FSx for OpenZFS provides fully managed, cost-effective, shared file storage powered by the popular OpenZFS file system. It offers powerful storage efficiency capabilities like data compression, enabling you to reduce storage consumption of the data in both your file system and your file system backups. Until today, FSx for OpenZFS file systems only supported Z-Standard compression, which is optimised for the highest levels of storage efficiency and is well-suited for a broad set of general purpose workloads. Now, you can also choose LZ4 data compression, which is optimised for delivering higher levels of write throughput for your performance-intensive write-heavy workloads.

Starting today, you can enable data compression and choose LZ4 as the compression algorithm using the AWS Console, AWS CLI, or FSx API.

Videos of the week

Terraform

Check out the second of a series of "Learning Live with AWS & HashiCorp" videos featuring our own Jenna Pederson and J. Cole Morrison from HashiCorp. In this episode they'll create their first micro service. I highly recommend this series, you get to learn more than just how to use Terraform to build AWS infrastructure - this week, I learned about "ClickOps"!

O3DE

Open 3D Engine (O3DE) is a modular, open-source, cross-platform 3D engine built to power anything from AAA games to cinema-quality 3D worlds to high-fidelity simulations. Join Amar Mehta who provides an overview of O3DE and explores more about why this project matters to our developers, customers and partners.

Amazon EC2: Nitro System Support for Previous Generation Instances

Principal Hypervisor Engineer speaker, Paul Durrant, dives into the Nitro System; reviewing it's design & architecture, exploring new innovations to the platform, and demonstrating how it's implementation has made the seemingly impossible, possible and how we are enabling workloads that depend on Xen interfaces to run on the Nitro system.

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.

FIPS Enabled Ubuntu Pro on AWS
March 8th, 5PM GMT

This webinar looks at Ubuntu Pro with FIPS and additional security controls to provide at a higher level for agencies or missions to help you meet your security and compliance requirements. The session will also include a demo that shows how easy it is to start securing the Ubuntu Operating System within the AWS cloud.

Review the full details and sign up here.

Unifying data pipelines and ML with Delta Lake and Amazon SageMaker
March 8th, 9am PT

Join this live workshop event to learn about the best practices for enterprises to use with powerful open source technologies to simplify and scale your data and ML efforts. We’ll discuss how to leverage Apache Spark™ — the de facto data processing and analytics engine for data preparation that unifies data at a massive scale across various sources — and Delta Lake so you can make your data lake ML-ready.

Find out more and register here.

Building an Open Data Lakehouse with Presto, Hudi, and AWS S3
March 29th, 10am PT

In this 90 minute hands on-virtual lab that will walk you through how to build an Open Data Lakehouse stack with Presto, Apache Hudi, and AWS S3.

If you want to learn more about these open source projects, this looks like the perfect opportunity. Check it out and register on their registration page.

OpenSearch
Every 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 - 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

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

💖 💪 🙅 🚩
094459
Ricardo Sueiras

Posted on March 7, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related