DEV Community

Ricardo Sueiras for AWS

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

AWS open source news and updates No. 28

July 13th - Instalment #28

Week No.28, and this week we have another fantastic collection of open source posts covering robotics, containers, serverless, machine learning and more. I cover a number of projects you can get stuck into, including robotics projects and resources, a continuous machine learning project posts and the usual collection of indispensable projects that you will wonder how you ever managed without. Finally there are some events you might want to put in your diary.

Remember, if you have a project you want me to mention or talk about, then please reach out. I do provide prizes for the ones that I particularly like, so there is also that incentive too.

Super excited this week about the Open source builder videos and blog posts that we released late last week. It was a lot of fun talking with Olaf, Alex and Liz, all of whom have featured in past episodes of this newsletter, either because of open source projects they are behind or open source products they have launched.

Part one is all about how they got started in open source, and we follow that up in part two with lessons learnt. Now I have to apologise that there is no video of Liz and this is entirely my fault. During the recording of these sessions, I had a complete fail and whilst I recorded the video, there was no audio. Very sad, as it was an epic session.

If you want to take part then please contact me as I am currently organising recording of the next batch.

Looking for a project to join?

Adam Crockett is a developer who has been documenting his journey in creating a new open source project called didi. You should definitely check out his posts as I think you will all learning something and I really love how Adam is building in the open and sharing his thoughts and getting help from the community.

In his latest post, Review my open source repository, Adam shares more info about this project and is now looking for more community engagement to help review and participate. So didi is a a transpiler for JavaScript and Typescript, transforming CommonJS modules into distinct ES Modules which front end and Deno developers will hopefully find useful.

Here is to lots of success in your project Adam, and I hope you inspire others to document their path so we can all benefit.

Event for your diary

Two events that you should take a look at this week.

Spack Tutorial on AWS
July 28 - July 29, at 3PM BST (4:00PM CEST, 7:00am PST)

Spack is an open source package manager that simplifies building, installing, customizing, and sharing HPC software stacks. In recent years, Its adoption has grown rapidly: by end-users, by HPC developers, and by the world’s largest HPC centers. Spack is also used to build reproducible scientific workflows in AWS.

This event is broadly targeted at HPC users, developers, and user support teams. There’s something for everyone, from academia to national labs to industry.

Databricks machine learning workshop
30th July, at 3PM BST (4:00PM CEST, 7:00am PST)

A date and time for your diary, on 30th July, at 3PM BST (9:00am CDT) Databricks are running a workshop on Unifying Data Pipelines and Machine Learning with Apache Spark™ and Amazon SageMaker. This event will cover:

  • building scalable and reliable pipelines for analytics
  • a look at Apache Spark and Databricks
  • training a model against data and learn best practices for working with ML frameworks (i.e. - TensorFlow, XGBoost, Scikit-Learn, etc.)
  • see how to tack experiments in MLflow, share projects and deploy models in the cloud with Amazon SageMaker

Your feedback matters!

I have put together a short feedback survey, which I would ask you to take - it will take no more than 2 minutes. You can access here. Many thanks!

Take the survey

Celebrate 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 Adam Crockett, Maurice Rahme, Matteo Lucchi, DVC, Jeshan Giovanni, Sakti Mishra, Nathan Peck, Viraj Phanse, Vamshi Konduri, Miaofei, Eli Polonsky, Elad Ben-Israel, James Beswick, Yassine Landa, Mihai Anghel, Dongie Agnir, Kiran Sahoo, Michael Whiteman, Dennis O'Keeffe, Ben Smith, Abhishek Gupta, Carmen Puccio, Artyom Keydunov, Sigit Priyanggoro, Martin Paradesi, Paul Duvall, Chris Nagy, Sanjay Siddhanti

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

spot mini mini

A great project and resource if you are interested in Robotics. The SpotMicro is a self build quadraped robot, and is a really great way to go deep into this field of robotics. Maurice Rahme has put this project together, Spot Mini Mini which is a PyBullet simulation environment for Spot Micro's that can be used for reinforcment learning tasks and gait simulation.

robo-gym

Following on from spot_mini_mini we have another Robotics open source project, this time robo-gym an open source project that provides a collection of reinforcement learning environments involving robotic tasks applicable in both simulation and real world robotics. Matteo Lucchi has also put together a blog post and very short video to show you what this is and how to get started.

AWS RoboMaker Hospital World

I have shared some of the gazebo resources before, but this time we have the Hospital World, which provides a great starting point for building out simulation environments in which to test your robots. You can find the resources in the GitHub repository here.

hospital

cml

Fresh in from my social media feed (check out DVC's tweet here) is Continuous Machine Learning (CML) is an open-source library from DVC for implementing continuous integration & delivery (CI/CD) in machine learning projects that you can use to automate parts of your development workflow, including model training and evaluation, comparing ML experiments across your project history, and monitoring changing datasets. This project provides great documentation and in depth instructions on how you can use this and get started on AWS. I have put this project on my todo list to check out over the weekend, maybe you will too? GitHub repo is here

serverless ghost

This very early project from Jeshan Giovanni, provides a guide on running the popular blogging platform Ghost, running (mostly) on serverless technologies on AWS. Check out the GitHub repository here. Jesham provides good documentation and an easy way to deploy this if you are in a hurry.

copilot-cli

copilot-cli is an open source project for developers to build, release and operate production ready containerized applications on Amazon ECS and AWS Fargate. From getting started, pushing to a test environment and releasing to production, Copilot helps you through the entire life of your app development. Got a Dockerfile and some code? Get it up and running on ECS in under 10 minutes, with just one command. Ready to take that app to production? Spin up new environments and a continuous delivery pipeline without having to leave your terminal. Find a bug? Tail your logs and deploy with one tool. You can use Copilot to:

  • Organize all your related micro-services in one application
  • Set up test and production environments, across regions and accounts
  • Set up production-ready, scalable ECS services and infrastructure
  • Set up CI/CD Pipelines for all of the micro-services
  • Monitor and debug your services from your terminal

Read below for more details, and check the Whats New announcement here.

action-hero

action-hero is a project from Anthony Barbieri that aims to simplify and help builders create least priviledge policies. In the corresponding blog to help you get started, Action Hero to the rescue! Creating least privilege AWS IAM policies you will see how to get started with the easy to follow examples.

s3-log-ingestion-lamda

s3-log-ingestion-lambda is an open source project from New Relic that sends log data from an S3 bucket of your choice to New Relic. Also, the nice folks at New Relic have made this available via the Serverless Application repository to make your life easy.

Hybrid open source workshop

Adrian Cantrill is a technical trainer, Solutions Architect and consultant based in Brisbane, Australia. He posted something over the weekend which was amazing, some deep dive demo lessons/workshops which he is releasing on his GitHub repository. Now these are going to be really useful for those enterprise customers or folk who are looking at migrating to AWS and looking to build hybrid architecture and capabilities as a bridge.

hybrid

You can find Adrian's blog here, and his GitHub repository here.

php resources

The Serverless Lamp Stack GitHub project is a community effort to consolidate resources (blog posts, projects, walk throughs and more) around building serverless PHP applications. Hat tip to Ben Smith for sharing this gem of a resource with me. If you have your own favourite resources, then make a PR and add.

lamp

Blog posts you should check out

AppSec Platform

Reducing Our Attack Surface with AppSec Platform - Great post from Michael Whiteman from WW, who talks about how to approach building an automated security and scanning platform that allows you to continuously discover and monitor your digital assets. He shares how did this using open source tools and low cost AWS services. To find out more about the AppSec platform, read the post and congratulate yourself on 10 well spent minutes.

architecture

Streamlit

Creating Shareable Data Apps Using Streamlit and AWS EC2 - Abhishek Gupta shares his experience on finding a new Python framework, Streamlit. I mentioned this in No. 27, but this time Abhishek provides a tutorial on creating your first Streamlit application on AWS.

Getting started with AWS SAM

How to get your SAM Hello World done easily - this post from Chris Nagy is another great introduction and walkthrough in how to get started with AWS Serverless Application Model (SAM). This post is very pleasing, both in presentation and in the way that the walk through is presented - this seemed to work exactly like my brain was expecting. Check out Chris' other posts and make sure to follow him on Twitter.

Automate your serverless deployments

Continuous Deployment for Serverless Applications on AWS - this post from Paul Duvall you will see how you can use AWS SAM as part of a automation approach to full automate your serverless application deployments. All source code is provided so you can use this to learn how it works and then begin applying the same approach to your own projects.

Serverless Gatsby

Build Serverless Blog with Gatsby and AWS Amplify another walk through from Sigit Priyanggoro, this time you will learn how to create a serverless Gatsby blog project using AWS Amplify to integrate front-end with back-end resources hosted in AWS cloud. These serverless blog and cms systems are getting ever more popular, and you have even more choice now with Gatsby.

Serverless Go with AWS CDK

Deploying Serverless Golang APIs With The AWS CDK - this post from Dennis O'Keeffe will walk you through using AWS CDK to setup and deploy Go APIs (in this post, Gin is used) in a matter of minutes. As Dennis points out, from small beginnings (i.e. this walkthrough) become potentially huge things. I am with you on that one Dennis!

Serverless apps with Zappa

Serverless Web Apps in Python - this post Sanjay Siddhanti shares his experience from deploying a full stack web application written in Python, using the Zappa framework. The post shows you how to get started and interact/configure AWS services to do things such as storing and managing secrets, handling the database and managing static content.

Financial trading and Reinforcement Learning

Training RL models for financial trading using TensorTrade on Amazon SageMaker Studio - Martin Paradesi talks about the application of Reinforcement Learning for financial trading, going into a lot of details and providing you with sample notebooks you can get started on straight away.

Check out his short 5 min video too

https://www.youtube.com/watch?v=Bfh6lyu9ca8&feature=emb_logo

Cube.js

Building an Open Source Web Analytics Platform. Part 1: Overview and Analytics Backend - this first of a series from Artyom Keydunov (Co-Founder of Cube.js) is a walk through on building an open source web analytics platform with Cube.js. Cube.js is an open-source framework for building analytical web applications. It creates an analytics API on top of the database and handles things like SQL organization, caching, security, authentication, and much more.

Make sure you follow Artyom on Dev.to and tune into future installments.

AWS open source posts

Docker Compose deloyment straight to Amazon ECS

AWS and Docker collaborate to simplify the developer experience - this announcement from Carmen Puccio was one of the big news items last week and generated a lot of positive feedback. This collaboration between Docker and AWS that allows developers to use Docker Compose and Docker Desktop to deploy applications on Amazon ECS on AWS Fargate. This new functionality streamlines the process of deploying and managing containers in AWS from a local development environment running Docker. The folks and Docker put their own blog to announce this too, From Docker Straight to AWS.

AWS Copilot

Introducing AWS Copilot, this blog post from Nathan Peck introduces and walks you through AWS Copilot. AWS Copilot is designed to help you deploy a production ready containerized service with only a few commands. You provide your Dockerfile, and let Copilot build, push, and launch your container on AWS. This is just the beginning of Copilot’s powerful features and using Copilot, you also get an easy way to:

  • Set up a CI/CD pipeline automatically so you can deploy by simply pushing to a Git repository
  • (Coming soon) Provision storage for your services, including S3 buckets, NoSQL, and SQL databases

copilot

Follow Nathan on Twitter to keep up to date on AWS Copilot and more.

Open Distro for Elasticsearch

Open Distro for Elasticsearch 1.9.0 is now available post from Viraj Phanse announced the general availability of Open Distro for Elasticsearch 1.9.0. This release introduces Root Cause Analysis Engine in Performance Analyzer, batch actions like start, stop and delete for anomaly detectors in Anomaly Detection, support for remote cluster indexes in Anomaly Detection, and an ability to set index priority action in Index State Management feature. It maps to Elasticsearch version 7.8.0, and Kibana version 7.8.0.

AWS RoboMaker and Amazon S3 rosbag extensions

Easily record and store robotic application data with the S3 rosbag cloud extension for AWS RoboMaker this post from Vamshi Konduri and Miaofei introduces a set of new ROS nodes that developers, QA engineers and fleet managers can use to debug, test, and develop features for their robots. The post talks about the new S3 rosbag cloud extension that enables customers to easily configure and record data from robots as rosbags, and upload them to Amazon S3, which they can later use to analyze events, troubleshoot existing applications, and provide as inputs to AWS RoboMaker log-based simulation for regression. This post looks at three ROSnodes in the S3 rosbag cloud extension that create and upload rosbag files from the robot to Amazon S3, and gives you some hands-on examples of how to us the nodes.

cdk8s+

Introducing cdk8s+: Intent-driven APIs for Kubernetes objects this post from Eli Polonsky and Elad Ben-Israel talks about the many options you have to define Kubernetes applications via code, including the recent launch of cdk8s an open-source project that enables you to use general purpose programming languages to synthesize manifests. This post talks about the next step for cdk8s, not surprisingly called cdk8s+. cdk8s+ is a library built on top of cdk8s and provides a rich, intent-based class library for using the core Kubernetes API. It includes hand crafted constructs that map to native Kubernetes objects, and expose a richer API with reduced complexity.

The post then walks you through deploying a sample application and looks at the different approaches you have. This was the best part of this post, and I think you will like how you can use much of the thinking as you approach how you automate the deployment of your applications.

summary

This project is still in alpha, and the team are looking for feedback as well as builders who want to roll their sleeves up and contribute.

Logging in AWS Fargate

How to capture application logs when using Amazon EKS on AWS Fargate post from Kiran Sahoo is very timely as I was discussing this very topic this week with some customers. When working with your applications, ensuring you can capture and access logs is essential to help you understand and diagnose problems. This post shows how to capture and ship application logs for pods running on Fargate, and provides some good options and suggestions for some alternate ways you can achieve this.

AWS SDK for Java

Using the New Client-Side Metrics feature in the AWS SDK for Java v2 - Dongie Agnir's post provides a quick walkthrough with examples of the new preview release of the metrics module for the AWS SDK for Java which allows you to collect and publish performance metrics that are captured automatically by the SDK as you use it. With that information, you can use it to help diagnose issues in your applications such as increase latency in API calls or startup lag.

Amazon EKS and Kiosk

Set up soft multi-tenancy with Kiosk on Amazon Elastic Kubernetes Service - in this post from Mihai Anghel, you will find out how to set up soft multi-tenancy in a single Kubernetes cluster with Kiosk. Kiosk is an open source framework for implementing soft multi-tenancy in a Kubernetes cluster. Multi-tenancy in Kubernetes is a hot topic in the open source community these days due to the evolution of the platform and the complexity that this feature brings in the implementation. To get the latest updates, you can follow the Kubernetes multi-tenancy Special Interest Group community at kubernetes-sigs/multi-tenancy.

kiosk

Building an Angular front end to Amazon SageMaker Ground Truth

Building a custom Angular application for labelling jobs with Amazon SageMaker Ground Truth - Yassine Landa
provides a walk through on how to build a custom labeling UI with Angular. The ability to use a custom front-end framework like Angular enables you to easily create modern web applications that serve your exact needs when tapping into public, private, or vendor labeling workforces that Amazon SageMaker Ground Truth provides. Find the source code for this project in the GitHub repository here.

Serverless Loadtesting

Load testing a web application’s serverless backend post from James Beswick continues on from his series where he developed an application (Ask Around Me, source code here) but this time he looks at how to perform load testing using the open source tool Artillery. This post provides everything you need to think about as you approach how you start designing how you are going to load test your applications.

load

Customer stories and case studies

Compass

Urban Compass, Inc. (Compass) operates as a global real estate technology company. The Company provides an online platform that supports buying, renting, and selling real estate assets. In their own words, “Compass is building the first-of-its-kind modern real estate platform, pairing the industry’s top talent with technology to make the search and sell experience intelligent and seamless. Compass operates in over 24 markets, with over 2 billion in sales this year to date, with 2,300 employees and over 15,000 agents with a vision to find a place for everybody in the world.”

In this post, Simplifying and modernizing home search at Compass with Amazon ES, from Sakti Mishra, you will find out how Compass’s search solution evolved, what challenges and benefits they found with different architectures, and how they approached moving to managed open source services.

Orangetheory Fitness

Great write up in the SiliconANGEL on how Orangetheory Fitness were able to leverage AWS Amplify to build an 'at home' experience with integrated with AWS video services. Amplify Video is an open source plugin for AWS Amplify that makes it easier to build serverless, video-enabled,web and mobile applications. Developers can create both video-on-demand and livestreaming applications. From the post I love this quote:

“From the time AWS pointed me to the Video plugin code repository and the Amplify CLI, the initial setup was under an hour,” González recounted.

Quick updates

Introducing Amazon EMR Managed Scaling

This post discussed EMR Managed Scaling, which automatically resizes your cluster for best performance at the lowest possible cost. This is a new feature that automatically resizes your cluster for best performance at the lowest possible cost. With EMR Managed Scaling you specify the minimum and maximum compute limits for your clusters and Amazon EMR automatically resizes them for best performance and resource utilization. EMR Managed Scaling continuously samples key metrics associated with the workloads running on clusters. EMR Managed Scaling is supported for Apache Spark, Apache Hive and YARN-based workloads on Amazon EMR versions 5.30.1 and above. Read the full post here, Introducing Amazon EMR Managed Scaling – Automatically Resize Clusters to Lower Cost.

Amazon Keyspaces point-in-time-recovery (PITR)

Amazon Keyspaces (for Apache Cassandra), a scalable, highly available, and fully managed Apache Cassandra–compatible database service, now enables you to back up your table data continuously by using point-in-time recovery (PITR).

PITR provides you with continuous backups of your Amazon Keyspaces table data to help you protect against accidental writes or deletes. When you enable PITR, Amazon Keyspaces backs up your table data automatically with per-second granularity. You can restore your table data to any second in time in the preceding 35 days. You can enable PITR with a single click in the AWS Management Console or with a simple Cassandra Query Language (CQL) API call. Using PITR, you can back up tables with hundreds of terabytes of data, with no impact on the performance or availability of your production applications. You also can use PITR to recover Amazon Keyspaces table deleted in the preceding 35 days that had PITR enabled, and restore the table to its state just before it was deleted.

Amazon FSx for Lustre Now Supports AWS Graviton2-based Instances

Amazon FSx for Lustre now enables you to use the open source and popular high-performance file system from Amazon EC2 instances powered by Arm-based AWS Graviton2 processors. This capability makes it easier and even more cost-effective to run workloads where speed matters, such as machine learning, gaming, electronic design automation, high-performance computing, video processing, and financial modeling.

Amazon EMR and Customer-managed CMKs in AWS Key Management Service (KMS)

Amazon EMR now supports encrypting log files using Customer-managed Customer master keys (CMKs) stored in AWS Key Management Service (KMS). Amazon EMR automatically upload log files to Amazon S3 when logging and debugging is enabled With this new feature, you can associate Customer managed CMKs in AWS KMS when launching a cluster. Amazon EMR will automatically encrypt logs using the Customer managed CMKs in AWS KMS. Previously you could only encrypt log files written to S3 using Server-Side Encryption with Amazon S3-Managed Keys (SSE-S3). Click here to learn more about encrypting log files please see the documentation. Log encryption using customer managed CMKs is available in EMR version 5.30, in all regions where EMR is available

*Amazon RDS for MariaDB *

Amazon RDS for MariaDB has been updated to support release 10.3.23 and release 10.4.13 of the MariaDB database. These releases include a number of bug fixes as well as functionality improvements.

In other news

SapienSecure

In this post, AWS-powered Covid-19 diagnostic tool seeks lung scans from India, you can read about how collaboration from researchers across the globe to tackle COVID-19 is being enabled by open source tools such as SapienSecure developed by SapienML and AWS.

Redis

RedisLabs has announced that Madelyn Olson, a senior software development engineer at Amazon Web Services, and Zhao Zhao, senior engineer at Alibaba Cloud, have have joined the core team. Read the full announcement on the Redislabs website, Redis Core Team Update. This was warmly received on social last week when the announcement dropped.

Share your open source projects

Do you have some content you want to share with a broader audience? We are always looking for guest content for the AWS Open blog. Please get in touch (via comments below) and I would love to speak with you about what you are doing in open source. We are always looking for interesting new content.

The best submissions will get some AWS Credit codes as a thank you.

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

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

Ricardo, thank you, this gave me a nice little boost, open source is a journey and we are taking the first steps, didi has merged it's first contribution and I will continue blog about and to ask those awkward questions about process to help everyone in the development community.

Collapse
 
094459 profile image
Ricardo Sueiras

Woah, that is awesome. I love the fact that you are asking these great questions, and that folk are providing such a great mixture of responses. I will be pointing more people in this direction to see how to get started....also, if you are up for doing a builders video, let me know!

Go didi !!

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

Thanks for the support! As it happens, a builders video has been on my mind, I am close to releasing an RC into the npm ecosystem. Which means I can finally write a proper how to contribute and installation guide, I also really want to show what didi can do at the moment. Give me a week to get everything in a nice place.

I have a few ideas about the future of didi as well which I'd love to share. This involves AWS 😀.

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

Furthermore the response has been amazing and the mixture of opinions has been great food for thought, it proves that any conversation can be a contribution and that just spurs on didi's growth. And hopefully other projects too!