DEV Community

Ricardo Sueiras for AWS

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

AWS open source news and updates, #124

August, 12th, 2022 - Instalment #124

Welcome

Welcome to edition #124 of the AWS open source newsletter. This is a very special edition as this will be the first edition that we cover in the new Build on AWS Open Source fortnight show on twitch.tv/aws. I hope some of you were able to attend, but if not don't worry here is a link to the recording. To keep up to date on future episodes, make sure you follow @buildonopen. The next episode will be on September 9th, so see you then. This will also be the last newsletter for the next two weeks as I will be on holiday, recharging and resting.

To celebrate the fact that we are in the holiday season, this week we have another bumper selection of projects for you to practice your open source four freedoms. First up we have "matano", an open source security lake platform for AWS, "granted-approvals" which provides a really nice way to implement controls and self service for access to your cloud services, "pike" a tool to help you assess the IAM permissions you need when creating infrastructure as code, "AFT-SSO-account-configuration" that lets you use Terraform to define SSO Group and SSO User access, "aws-aurora-rds-postgresql-excel-generator" a neat tool that allows you to export Excel worksheets directly from PostgreSQL, "amazon-codewhisperer-workshop" a new workshop for those who have preview access to Amazon Codewhisperer, "aws-eksd-eksa-hybrid" a very interesting project to help you get going with hybrid Kubernetes cluster, and many more projects.

We have blog posts and articles featuring Open Cybersecurity Schema Framework, Cello, AWS IoT Greengrass v2, PostgreSQL, Driftctl, Steampipe, Terraform, Grafana, Apache Spark, Deep Graph Library, Smithy, OpenSearch, and more. Make sure you check out this weeks videos which include a number of videos from Container Day earlier in the year, featuring some nice sessions on Karpenter, cdk8s, and EKS Anywhere. Finally, we have the events section featuring events that you need to check out.

Open Cybersecurity Schema Framework

Open Cybersecurity Schema Framework, or OCSF was announced this week, and is an open-source project, delivering an extensible framework for developing schemas, along with a vendor-agnostic core security schema. AWS, together with a number of other organisations, are working together on this initiative which aims to help companies respond to cyberattacks more effectively. How does it do this? The idea is to help organisations respond to cyberattacks more effectively by simplifying and standardising data management.

Mark Ryland provides more details about this in his post, AWS co-announces release of the Open Cybersecurity Schema Framework (OCSF) project

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: Kevin Stich, Brett Weaver, Jerome Kuptz, Sai Vennam, Ram Vennam, Justin Garrison, Irshad Buchh, Paavan Mistry, James Woolfenden, Peter Bengtson, Lee Tickett, Philipp Garbe, Bob Tordella, Jon Udell, Jamal Arif, and Francesco Bersani.

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.

Tools

matano

matano is an open source security lake platform for AWS. It lets you ingest petabytes of security and log data from various sources, store and query them in an open Apache Iceberg data lake, and create Python detections as code for realtime alerting. Matano is fully serverless and designed specifically for AWS and focuses on enabling high scale, low cost, and zero-ops. Matano deploys fully into your AWS account. Looks super interesting, and is on my todo list.

architecture of matano

granted-approvals

granted-approvals is an open source privileged access management framework which makes requesting roles a breeze and looks super nice. Using this project you can set up your team members so they can request elevated permissions to your cloud environment and SaaS services. This one another project on my todo list!

screenshot of project running

pike

pike is a tool from James Woolfenden for determining the permissions or policy required for IAC code. As James points out in the README, its a work in progress so checkout the roadmap and ideas he has, and he is open to issues/PRs.

AFT-SSO-account-configuration

AFT-SSO-account-configuration this project from Peter Bengtson allows you to use AFT (Account Factory for Terraform) to declaratively specify SSO Group and SSO User access to an account. Very nice indeed.

autopkg-recipes

autopkg-recipes this repo contains official recipes for AWS products for the AutoPkg Community. AutoPkg is an automation framework for macOS software packaging and distribution, oriented towards the tasks one would normally perform manually to prepare third-party software for mass deployment to managed clients. To add this repository to your AutoPkg setup, run:

autopkg repo-add aws/autopkg-recipes

aws-aurora-rds-postgresql-excel-generator

aws-aurora-rds-postgresql-excel-generator this project contains a PL/PGSQL Package to create EXCEL workbooks. This package enables developers to export data from an RDS or Aurora PostgreSQL database to Excel files using simple PL/PGSQL functions and procedures.

Demos, Samples, Solutions and Workshops

amazon-codewhisperer-workshop

amazon-codewhisperer-workshop if you have managed to get onto the Amazon Codewhisperer preview, then why not try this hands-on workshop that demonstrates how to leverage Amazon CodeWhisperer for building a fully fledged serverless app on AWS.

architecture of codewhisperer workshop

aws-eksd-eksa-hybrid

aws-eksd-eksa-hybrid this project will help you to get to know how to build and automate creation of development and prototype environments for hybrid software delivery using the AWS CDK to automate EKS Distro and EKS Anywhere environments provisioning for development purposes, allowing a seamless experience while standing up and standardising Kubernetes environments and applications deployment on top of EKS. It was designed to explore ways and best practices to abstract the challenges and complexities of deploying hybrid-EKS development infrastructure targeted at DevOps teams, allowing repeatable workload development and testing which can be easily integrated with existing CI/CD pipelines using a simple and consistent method, as needed.

architecture of eks hybrid solution

multi-cluster-gitops

multi-cluster-gitops This repo contains the implementation of a multi-cluster GitOps system that addresses the application development teams use cases, as well as the platform teams use cases. It shows how to extend GitOps to cover the deployment and the management of cloud infrastructure resources (e.g. Amazon RDS, Amazon DynamoDB, and Amazon SQS), in addition to the deployment and management of the native Kubernetes resources. It also shows how to use GitOps to perform cluster management activities (e.g. provisioning and bootstrapping a new cluster, upgrading an existing cluster, deleting a cluster, etc.)

architecture of multi-cluster gitops

aws-codepipeline-terraform-cicd-samples

aws-codepipeline-terraform-cicd-samples this repo provides a guide and ready to use terraform configurations to setup validation pipelines with end-to-end tests based on AWS CodePipeline, AWS CodeBuild, and AWS CodeCommit. Detail example and documentation covering all the configuration options you need.

aws-cdk-java-codepipeline-codeartifact-sample

aws-cdk-java-codepipeline-codeartifact-sample this repo shows you how to create a pipeline that will automatically publish new Java package versions to private AWS CodeArtifact repository using AWS CodePipeline. All resources in this project are provisioned as IaC with AWS CDK in Java, making it easy for you to get up and running.

aws-cdk-python-codepipeline-codeartifact-sample

aws-cdk-python-codepipeline-codeartifact-sample similar to the previous project, this repo shows you how to create a pipeline that will automatically publish new Python package versions to private AWS CodeArtifact repository using AWS CodePipeline. All resources in this project are provisioned as IaC with AWS CDK in Python, making it easy for you to get up and running.

az-fail-away

az-fail-away This project provides a serverless infrastructure for updating the availability zones of autoscaling groups en masse.

architecture of az-fail-away

AWS and Community blog posts

Smithy

Smithy is an open source protocol-agnostic Interface Definition Language (IDL) and set of tools for generating clients, servers, documentation, and other artefacts. Smithy is Amazon’s next-generation API modelling language, based on our experience building tens of thousands of services and generating SDKs. In the post, Introducing Smithy IDL 2.0 Kevin Stich takes a look at this new release that focuses on improving the developer experience of authoring Smithy models and using code generated from Smithy models. Essential reading for this super cool project.

Steampipe

Regular readers will know about this project, Steampipe, an open source tool for querying cloud APIs in a universal way and reasoning about the data in SQL. In a follow on post, Dashboards as code: A new approach to visualizing AWS APIs, Bob Tordella and Jon Udell collaborate to show how Steampipe’s can help you apply an infrastructure as code to managing your dashboards. [hands on]

demo of steampipe dashboards

Apache Spark

In the post Design patterns to manage Amazon EMR on EKS workloads for Apache Spark, Jamal Arif shares four design patterns to manage EMR on EKS workloads for Apache Spark. Manage Spark jobs by pod template, Turn on Dynamic Resource Allocation (DRA) in Spark, Fully control cluster autoscaling by Cluster Autoscaler, and Group-less autoscaling with Karpenter. Check out the post for more details of each. Nice post. [hands on]

architecture of solution for Apache Spark on EKS

Kubernetes

A couple of posts this week. First up we have, Blue/Green deployments for SAP Commerce applications on Amazon EKS from Francesco Bersani that covers common issues that customers are experiencing in on-premises SAP Commerce deployments. It gives a concrete way to achieve blue/green deployments on Amazon Elastic Kubernetes Service to have faster and more secure implementations of SAP Commerce applications.

architecture of blue/green deployment

I have been exploring Kubernetes for some upcoming new talks and demos, and as part of that process (I am completely new to Kubernetes, but not new to containers) one of the things I had to try and figure out was the various different IAM roles, permissions, policies that I needed to ensure that I try and follow good practices on least privilege. So it was great to read this post from Waleed Amazon EKS IAM roles and policies with Terraform, who has put together a checklist of things you should look out for.

eks cluster authentication diagram

AWS Amplify

If you are looking to automate your AWS Amplify projects, and you are using GitLab then you are going to want to check out this post from Lee Tickett. In Deploy to AWS Amplify from GitLab CI/CD Self Managed he shares how was able to workaround a current limitation of GitLab SaaS not being supported*, and get it to work. Nice!

*update from Lee: "the limitation is with GitLab Self-Managed not being supported (I believe SaaS works out of the box)"

screenshot of successful deployment

AWS CDK

AWS Container Hero Philipp Garbe has written this post, Hey CDK, how do cross-account deployments work? that dives deep and breaks down how AWS CDK works from a permissions perspective, what you need to think about to ensure you minimise the permissions you grant, and then provides you with some options to suit different scenarios. Well worth reading.

how aws cdk cross accounts illustration

Cello & AWS CDK

Brett Weaver and Jerome Kuptz from at Intuit have put together this post, Running Enterprise Workloads at Scale with a Next-Gen Infrastructure-as-Code Platform that shows how they use AWS CDK together with an open source tool they created called Cello, that helps them orchestrate infrastructure as code (IaC) at scale following GitOps principals.

Other posts you might like from the past week

grafana user management architecture

architecture for DGL solution

Quick updates

Kubernetes

The Amazon Elastic Kubernetes Service (Amazon EKS) announced support for Kubernetes 1.23. Amazon EKS and Amazon EKS Distro can now run Kubernetes version 1.23, with support in Amazon EKS Anywhere launching soon after. To find out more about this update, and learn about some important changes, check out the post, Amazon EKS now supports Kubernetes 1.23

OpenSearch

Check out v1.0.0 of the OpenSearch clients for .NET available on nuget. Find them on the opensearch page

AWS IoT Greengrass v2

AWS IoT Greengrass is an Internet of Things (IoT) edge runtime and cloud service that helps customers build, deploy, and manage device software. Version 2.7 released last week with the following features: System Telemetry Enhancements, local Deployment Improvements, and additional Support for Client Certificates. Read more about these new features in the announcement, AWS IoT Greengrass v2 updates Stream Manager to report new telemetry metrics and more

PostgreSQL

Amazon Aurora Serverless v1 now supports PostgreSQL major version 11. PostgreSQL 11 includes improvements to partitioning, parallelism, and performance enhancements such as faster column additions with a non-null default.

Aurora Serverless v1 also supports in-place upgrade from PostgreSQL 10 to 11. Instead of backing up and restoring the database to the new version, you can upgrade with just a few clicks in the AWS Management Console or using the latest AWS SDK or CLI. No new cluster is created in the process which means you keep the same endpoints and other characteristics of the cluster. The upgrade completes in minutes and can be applied immediately or during the maintenance window. Your database cluster will be unavailable during the upgrade.

Videos of the week

EKS Anywhere

Sai Vennam invites his brother Ram Vennam (solo.io) to talk multi-cluster Kubernetes with Istio. In this video you will learn the basics of running Kubernetes across on-premises, edge and public cloud infrastructure with EKS Anywhere. Together with Istio, we open up a number of cloud use-cases such as app modernisation, cloud bursting, data sovereignty and more.

cdk8s

From the AWS Container Days at Kubecon EU 2022, join the Containers from the Couch crew as they show you how you can manage your Kubernetes manifests without YAML with cdk8s, using general purpose languages to create and manage Kubernetes resources. Check the project out at https://cdk8s.io

Karpenter

Another session from AWS Container Days at Kubecon EU 2022, this time they take a look at what is new with Karpenter, an open source node autoscaler for Kubernetes that helps you scale your clusters faster with workload native node provisioning.

Events for your diary

OpenSearch
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

Data Science on AWS
August 15th, 9am PST

Join your hosts Antje and Chris for two talks. Talk #1: Ray Overview, Ray AI Runtime on AWS using Amazon SageMaker, EC2, EMR, EKS by Chris Fregly, Principal Specialist Solution Architect, AI and Machine Learning @ AWS. Talk #2: Deep-dive Blueprints for Amazon Elastic Kubernetes Service (EKS) including Ray and Spark by Apoorva Kulkarni, Sr. Specialist Solution Architect, Containers and Kubernetes @ AWS

Find out more and register via this meetup link, Ray AI Runtime on AWS + Amazon EKS Blueprints for Ray, EMR, and Spark!

Digital Payments Architecture and Implementation with AWS Open Source Databases
August 18th

Check out this Webinar on how to use open source databases to build a digital payments solution. You can view it live direct on YouTube here

Bottlerocket Community Meeting
August, 24th 8:30am PDT

You're invited to the Bottlerocket community meeting where we'll discuss project news, share Bottlerocket tips, tricks, and techniques, and you'll have the opportunity to ask questions in an open forum.

Find out more and reserve your spot here.

Introduction to Amazon Managed Workflows for Apache Airflow
August 25th, 8am-1pm PDT

In this workshop, you will learn to build and orchestrate data and ML pipelines that include many of the above mentioned services, and with that you will gain familiarity and a better understanding of the hooks and operators available as part of Airflow to manage your pipelines/workflows on AWS. We start with an introduction to the basics if you want to get familiar with the concepts in Airflow before you get to the hands-on modules.

Join this event and learn how to leverage Amazon MWAA as well as key concepts.

  • Learn how to build your Data/ML pipeline orchestrated by Airflow
  • Apache Airflow basics within AWS
  • Get hands-on experience with an AWS Solution Architect for best practices
  • Who Should Attend?

If you work with data in any form, and build pipelines to transform/consume the data, then this workshop is for you! Level 200 and up. Although you don't need to be an expert to take this workshop, it will help if you had some basic understanding about AWS Analytics services, and some familiarity with SQL and Python programming languages. We recommend some familiarity with the AWS Console but it is not required. We recommend two monitors for the best experience.

To register and reserve your spot, use this link.

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

Collapse
 
leetickett profile image
Lee Tickett

Likewise, thanks for the shoutout.

You may want to make a small tweak: the limitation is with GitLab Self-Managed not being supported (I believe SaaS works out of the box).

Collapse
 
jameswoolfenden profile image
James Woolfenden

Thanks for the Shoutout!