AWS open source news and updates #56
Ricardo Sueiras
Posted on February 15, 2021
February 15th, 2021 - Instalment #56
Newsletter #56.
This week we have the latest update on the Elasticsearch/Kibana fork, events for your diary, the usual round up of blog posts and new open source projects as well as white papers, a nice selection of videos, workshops and case studies. Make sure you read the Rust Foundation blog post this week and check out Didier's post on running a serverless mainframe...well kind of! 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.
Elasticsearch fork updates
Kyle Davis has been sharing progress on the Elasticsearch and Kibana forks. In Feb 10th update and Feb 12th update, shares some great data points with the community including news that the the group is about 93% done with the work. Exciting times and getting closer to a fully open source Elasticsearch and Kibana fork.
Contributing to open source
Not related to AWS, this post from Piotr Gaczkowski, The Definitive Guide to Contributing to Open Source provides some solid guidance and well worth reading if you are both just starting out or a seasoned contributor.
Events for your diary
Innovate AI/ML
Feb 24th
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.
Apache Kafka
Feb 25th
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.
CDK Day
April 30th
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.
Cloud Native Rust Day
May 3rd
Rust is a language empowering everyone to build secure, reliable, and efficient software. Rust is becoming more widely used in cloud native, powering everything from lightning-fast service meshes and powerful developer tools to internet-scale distributed databases.
Come explore what makes Rust a fantastic choice for new cloud native development, and learn about how the community uses Rust today. Find out more and register here.
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: Jan Bauer, Ryan Green, Jimmy Dahlqvist, Didier Durand, Nader Dabit, Marcin Cuber, Eddie Zaneski, Kilo Loco, Neel Sendas, Christopher Spruell, Jeff Strickland, Azfaar Qureshi, Shovnik Bhattacharya, Leah Siddall, Maxime Boulin, Sofian Hamiti, Othmane Hamzaoui, Stefano Sandrini, Shane Miller, Kyle Davis, Eric Johnson, Piotr Gaczkowski, Alessandro Aiezza, Abhinav Dhasmana, Rashmi Dwaraka, Mike Stefaniak, and Paavan Mistry
Make sure you find and follow these builders and keep up to date with their open source projects and contributions.
Latest from open source projects
lambda-cobol
lambda-cobol this is a very interesting project from Didier Durand, that you will be interested in if you have any legacy Mainframes or Cobol applications you still need to keep running. Find out how you can modernise those applications using GnuCobol, AWS SAM and Serverless computing. Didier has also put together a comprehensive README.md and this short blog post on LinkedIn.
aws-allowlister
aws-allowlister this is a new project from Salesforce, that will automatically compile an AWS Service Control Policy that ONLY allows AWS services that are compliant with your preferred compliance frameworks. AWS Service Control Policies (SCPs) allow you to control which AWS Service APIs are allowed at the AWS Account level - so local administrators (not even the account's root user) can perform prohibited actions in a child account.
react-p2p-messaging
react-p2p-messaging is a new open source project and walkthrough from Nader Dabit showing you how to build a peer to peer demo application using Gun.js & React. If you are unfamiliar with Gun.js, it is a effecient data sync and storage system that runs in Javascript. Check out the walk through in his post, How to Build a Decentralized Peer-to-peer Network in JavaScript
amazon-ivs-feed-web-demo
amazon-ivs-feed-web-demo is a demo web application intended as an educational tool for demonstrating how you can build a very simple scrolling feed app, load and auto-play Amazon IVS live streams as users scroll down the page. In this new blog post, How to: Build an engaging feed app with React and Amazon IVS Leah Siddall and Maxime Boulin show you how to use this project and walk you through building that demo.
AWS SAM Gist
Not a full blown repo but Eric Johnson shared this Github Gist to show you how you can now use standard Linux package commands to install AWS SAM. This is certainly going to make my life easier and I suspect others too.
Community open source posts
kube-bench
AWS EKS and kube-bench Marcin Cuber shows you the simplest way to run kube-bench tests against EKS worker nodes. I have talked about Kube-bench before, which is an open source project from the lovely folks at Aqua Security.
Amazon Corretto
Are you seriously not using Java 15 yet? Alessandro Aiezza takes a frank and detailed look at Java 15, a look at some of the things to watch out for as you think about the migration. Great post.
Apache Kakfa
How to setup Kafka cluster for 15K events per second on AWS using Docker Abhinav Dhasmana with a detailed post and supporting code on how to setup and run your own Apache Kafka and Zookeeper setup on AWS.
Former2
A tale of an CloudFormation import Jimmy Dahlqvist shares an approach you can take to automate the provisioning of AWS resources that you might have created manually, using the open source tool Former2. I recently had need to use this tool as part of some recent posts on Amazon Managed Workflows for Apache Airflow, and found it super simple to use. This is a post you should read if you are doing any kind of automation.
AWS open source posts
Rust
Congratulations, Rustaceans, on the creation of the Rust Foundation! Shane Miller shares a short post on the announcement last week of the creation of the Rust Foundation, which helps creates a neutral place for the diverse Rust community to innovate together. Read the post to find out more details, including the formal announcement on the Rust Foundation website.
Prometheus
Building a Prometheus Remote Write Exporter for the OpenTelemetry Python SDK Azfaar Qureshi and Shovnik Bhattacharya talk about their experience building the OpenTelemetry Prometheus Remote Write Exporter for Python. They share their experiences in tackling challenges they faced while building this tool, which is used for sending metrics to Prometheus protocol-based service endpoints.
Apache Airflow
Monitoring and logging with Amazon Managed Workflows for Apache Airflow this is the latest instalment of a series of posts I have been putting together on Apache Airflow. In this post I look at logging, monitoring, dashboards and alerting within Amazon Managed Workflows for Apache Airflow. I show you how you can set these up and configure metrics in CloudWatch as well as how you can use these within other services such as Grafana Cloud.
AWS Amplify
A couple of posts this weeks to satisfy AWS Amplify aficionados. First up we have Super Easy Automated Scraping with AWS Amplify AWS DA Shawn Wang Yue Xian (swyx) with a new post/tutorial on data scraping with AWS Amplify. In this demo, Shawn will show you how this demo project is going to be scraping Twitter follower counts on a periodic basis and storing it in a database for later analysis.
To follow that, we have Real-time live sports updates with AWS AppSync from Stefano Sandrini, who provides a detailed walk through of a sample reference architecture on how to leverage AWS AppSync real-time capabilities to address delivering real-time live updates (in this case, using a specific example from the Media and Entertainment industry, but you could adapt for your own needs).
AWS CDK
Manage Amazon CloudWatch agent deployment at scale using the AWS Cloud Development Kit to optimize AWS usage Neel Sendas, Christopher Spruell, and Jeff Strickland talk about how to programmatically deploy the Amazon CloudWatch agent using the AWS Cloud Development Kit (AWS CDK) as you create your Amazon Elastic Compute Cloud (Amazon EC2) instances. These are two open source projects from AWS, and this is a hands on tutorial/walkthrough on how to setup, deploy and then clean up your CloudWatch agents programatically.
PyTorch
Using container images to run PyTorch models in AWS Lambda Jan Bauer shows you how to use any PyTorch model with Lambda for scalable inferences in production with up to 10 GB of memory. This allows us to use ML models in Lambda functions up to a few gigabytes, and in this particular walkthrough Jan uses the Huggingface Transformers, open-source library to build a question-answering endpoint.
TensorFlow
Training and deploying models using TensorFlow 2 with the Object Detection API on Amazon SageMaker Sofian Hamiti and Othmane Hamzaoui have put together this post to show you how you can build, train, and deploy an EfficientDet model using the TensorFlow Object Detection API. It’s built on top of TensorFlow 2, which makes it easy to construct, train, and deploy object detection models.
ElastiCache
Amazon ElastiCache at AWS re:Invent 2020 if you wanted a single place to go to for all the ElastiCache content from re:Invent, then this is the post for you. Covering four different sessions that ran over the three weeks of re:Invent, check this out if you if want the latest news.
Kubernetes
Introducing OIDC identity provider authentication for Amazon EKS Rashmi Dwaraka, Mike Stefaniak, and Paavan Mistry have come together to walk you through how you can now enable authentication for Amazon EKS clusters from an OpenID Connect (OIDC) Identity Provider. This has been a long requested feature as you can see from this project issue #166 raised a while back, and this post walks you through setting this up using Amazon Cognito as the OIDC identity provider, but you could use another.
WhitePapers
A couple of white papers this week. First up we have this new white paper on AWS Amplify DataStore, covering the architecture, use cases and implementation.
Following that we have this paper from the Amazon Alexa team, Optimal Subarchitecture Extraction For BERT and this blog post A version of the BERT language model that’s 20 times as fast that takes a look at a new open source project, Bort, a highly optimised language model (LM) extracted from the BERT architecture.
One final piece of news on this, Hugging Face Transformers release v4.3.0 shared the news that Bort had been incorporated in this release.
Workshops
Build an Authenticated GraphQL API on AWS with CDK another new workshop from Nader Dabit, building an authenticated GraphQL API using AWS CDK. To go with this workshop Nader has put together this supporting video, and you can find the source code here.
Case Studies
How Vendia leverages the AWS CDK to dynamically provision cloud infrastructure Ryan Green from Vendia explains how they use the AWS Cloud Development Kit (AWS CDK) and AWS CloudFormation to dynamically provision cloud infrastructure on behalf of their customers. Vendia enables organisations to securely share data and code across regions, accounts, and clouds at scale. Ryan shares how AWS CDK is instrumental in helping Vendia move fast, maintain high operational standards, and support modern cloud-native architectures.
Videos of the week
Some great new videos from last week.
In the first vide, Nader Dabit walks you through building an authentication flow with Next.js, TailwindCSS, and AWS Amplify, implementing an email and password flow as well as sign in with Facebook and Google.
Following that more AWS Amplify goodness, this time taking a look at AWS Amplify DataStore. Kilo Loco goes over the CRUD (Create, Read, Update, Delete) operations for working with Amazon DynamoDB by using AWS Amplify DataStore with Android and Kotlin.
Finally this week we have the always awesome and fellow DA, Eddie Zaneski with a short video on getting started with Kubernetes client-go.
Quick updates
Open Telemetry
News last week that the specification has reached the 1.0.0 specification milesetone. Check out the release notes for all the details.
PartiQL
DynamoDB local now supports PartiQL (a SQL-compatible query language) so that you can query, insert, update, and delete DynamoDB table data. PartiQL is supported for all DynamoDB data-plane operations, and it helps improve the productivity of developers as they use this familiar, structured query language to perform operations. Developers can use PartiQL to develop applications, and test them offline before deploying them to production.
MySQL/MariaDB
Amazon Relational Database Service (Amazon RDS) now supports replication filters for MySQL and MariaDB instances. Replication filters specify which databases and tables are replicated in a read replica. Customers create lists of databases and tables to include or exclude for each replica.
Replication filtering can reduce the size of read replicas by excluding unnecessary databases or tables, or can benefit security and compliance by excluding databases or tables from a replica. Customers can also use replication filtering to create replicas tailored to specific use cases like analytics or sharding, or to create replicas with different tables or databases in different AWS Regions.
Serverless Image Handler
The Serverless Image Handler solution enables fast and cost-effective image manipulation in the cloud by combining highly available, trusted AWS Services with the open-source imaging processing suite, Sharp. The solution automatically deploys and configures a serverless architecture optimised for dynamic image manipulation. It uses Amazon CloudFront for global content delivery and Amazon Simple Storage Service (Amazon S3) for reliable and durable cloud storage at low costs.
This update includes the ability to crop an image as an ellipse, supports images without file extensions, and adds a cache policy and origin request policy in CloudFront to replace the legacy default policies. It also includes several quality-of-life updates, such as improved error handling for cropping and resizing.
Visual Git support in AWS Cloud9
AWS Cloud9 now includes visual source control integration for Git (Git panel) built in to Cloud9. Prior to this release Git could only be used on the command line of the integrated Cloud9 terminal. Today’s release gives you the option to use a visual tool, built in to the IDE, to clone, push, pull, add, and commit files to your Git repositories on Cloud9 environments. Cloud9’s visual Git panel will show you the status of files in your Cloud9 environment and let you selectively stage, add, and commit files to your local or remote repository from within the IDE.
Amazon Keyspaces (for Apache Cassandra)
Amazon Keyspaces (for Apache Cassandra), a scalable, highly available, and fully managed Apache Cassandra–compatible database service, now helps you automate table creation by supporting point-in-time recovery (PITR) and tag settings in AWS CloudFormation.
With CloudFormation, you can model a collection of related AWS and third-party resources, provision them quickly and consistently, and manage them throughout their lifecycles by treating infrastructure as code. Now, you can use CloudFormation to manage PITR and tag settings for Keyspaces tables. PITR gives you continuous backups of your table data, and you can use it to restore table data to any second in time since PITR was enabled within the preceding 35 days. Tags help you manage, identify, organize, search for, and filter resources. You can create tags to categorise resources by purpose, owner, environment, or other criteria. You also can create detailed cost allocation reports based on tags, and you can use tags in your AWS Identity and Access Management (IAM) policy conditions to control access to resources.
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.
Posted on February 15, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.