DEV Community

Ricardo Sueiras for AWS

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

AWS open source news and updates No. 24

June 15th - Instalment #24

Another expansive instalment in No. 24, as we approach the half way point of the year. In this episode we have a number of PHP related posts, fitting as it rapidly approaches its 25th anniversary. If you are a PHP builder, then keep your eyes/ears posted, as we have something special for you soon. Aside from PHP, we have some great new projects as well as important new releases for existing ones that you need to know about. So enough of the introduction, please get stuck in and read on...

Feedback

A small ask this week for people who are reading this on a regular basis. I am looking to collect data to see how we are doing and whether these weekly updates help increase awareness of open source projects that AWS as well as our customers, builders and communities are working on.

I have put together a short feedback survey, which you can access here, and would be grateful if you could spare the 2 minutes it takes to complete. Many thanks!

Take the survey

Submit contributions, win prizes

I am always looking for exclusive open source projects that I can share with the community. Please contact me with your AWS related open source projects as I have prizes for the best contributions...so look forward to seeing what you send.

Growing contributions

This post from Brian Douglas (@bdougieyo) on dev.to, A path for open source contributions is well worth reading.

Aside from some excellent data points, he shares with us his journey and tips to get started, as well as a project he put together to help him manage his own contributions. You can find this project here, and he provides the source code and details on how to put this together if you want to host your own.

Thanks Brian!

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 Patryk Orwat, Jim Jackson, Itzik Jan, Avi Ben Yossef, Kpicaza, Francisco Gonzalez, Ben Smith, Viraj Phanse, Dmitriy, Taufek Johar, Sergio Matone (@sw360cab), Michael Weibel (@mweibel), Moez Ali, David de Torres Huerta, Ido Nissim, Brian Caffey, Sigit Priyanggoro, Alex Casalboni, Jan-Christoph Küster and Pahud Hsieh

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

[Note! these projects are shared on the basis of awareness and raising the visibility. I do no warrant these and you should always take care when experimenting and testing these out.]

evb-local

So last week we had the eventbridge-cli project from Matteo, this week we have the evb-local project from the mhlabs tech team.

Tool that lets you subscribe locally to events matching EventBridge rules in a given deployed stack. This is to help with debugging of complex flow of events raised in your application.

This tool provides a listen and test function, allowing you to create a local consumer of all deployed EventBridge rules in a stack (events will be output to your console with the option to pass them on to sam-local for local debugging) and quickly test rules from you SAM/CloudFormation template before deploying.

evb-local

Go grab this project from the GitHub repository here.

cloudiscovery

A nice project from Patryk Orwat, cloudiscovery a tool to help you visualise your AWS environments so you can better understand them. This is a python bases script, that is easy to install and get up and running. Currently supports VPC, IoT and IAM policies.

diagram

Nice job Patryk!

awscdk-jsii-template

This project, awscdk-jsii-template, from Pahud Hsieh provides you with a quick template and instructions to enable you to quickly put together your own AWS CDK constructs.

Thank you Pahud. Make sure you check out his videos on You Tube in Mandarin

awsweeper

There have been a few times when I have been messing about, experimenting with a new project and I run into an error around exceeding the soft limits - typically VPCs for example. I then need to spend some time cleaning it all up and trying again. Other times it is cleaning up after installing and configuring a project that you want to understand in more detail.

awsseepers is a tool from Jan-Christoph Küster (@jckuester) that is definitely going to help me, and allows you to quickly remove/delete AWS resources from within your AWS account.

usage

USE WITH CARE

As Jack writes at the bottom of this project:

You are using this tool at your own risk! I will not take responsibility if you delete any critical resources in your production environments.

awsls

Not content with awsweeper, Jan has his second project, called awsls a command line tool that is super fast and allows you to show your AWS resources. The tool supports hundreds of AWS resource types, and Jan provides some ready to roll binaries so you can download to start using this tool.

awsls tool

Thanks Jan, these will come in handy for sure.

AWS Lambda Power Tuning

Hot off the press is Alex Casalboni's tweet announcing v3.3.0 of his incredibly useful and much loved open source project, AWS Lambda Power Tuning. If you did not already know, this project helps you make more informed choices of how to optimise your AWS Lambda settings and balance cost vs performance, and provides nice visualisations and data to help you.

What is new in v3.3? Well some good stuff:

  • Pre/Post-processors - great to power-tune functions with side effects
  • Correct regional pricing
  • Customisable timeouts

Want to know more or contribute, then head on over to the GitHub repository here.

Simple S3 Upload with React and Amplify

A quick 10 minute project from Sigit Priyanggoro, Simple S3 Upload, source code in his GitHub repository here, that will walk you through creating a simple picture and video uploader using Amplify and React.

Thanks Sigit!

Building Django + Vue.js applications with AWS CDK and GitLab CI

Deep dive from Brian Caffey and this project is an overview of a Proof-of-Concept web application called django-postgres-vue-gitlab-ecs. This project aims demonstrate local development, CI/CD and production setup for a full stack web app using Django, Django REST Framework, Django Channels, Postgres, VueJS, Redis, Celery, GitLab CI and AWS technologies deployed with CDK.

Check out the project overview docs here.

architecture

If this impressive architecture does not motivate you to read more, then I am not sure what will! Thanks Brian.

Blog posts you should check out

MLFlow on AWS

Data Engineer Ido Nissim writes in ML-Ops, Part 1: Organise your ML experiments with ML-Flow on AWS what Machine Learning Operations, or ML-Ops is and goes on to show you how to use an open source project called MLFlow to track your machine learning experiments.

If you want to dip your toes in ML-Ops or MLFlow, then try this post out first.

Thanks Ido!

Prometheus

According to Greek mythology, Prometheus gave us fire. but it is also an open source project that sheds light into applications, providing event monitoring and alerting. This week, there are a couple of posts this week on this topic.

In this first post, Monitoring AWS Fargate with Prometheus and Sysdig, David de Torres Huerta walks us through setting up how to monitor AWS Fargate with Prometheus.

monitor fargate

The second post is one that somehow slipped under my radar, David de Torres Huerta writes in Improving the Prometheus exporter for Amazon CloudWatch, how they worked with an existing open source project (YACE, Yet Another CloudWatch Exporter) and contributed back to this project in order to optimise and improve it so they could create a production grade Prometheus CloudWatch exporter.

sysdiag

This is a great deep dive that goes into and assess existing approaches, so you will learn lots.

Machine learning pipelines on AWS Fargate

In Deploy Machine Learning Pipeline on AWS Fargate, Moez Ali provides a walk through of developing a machine learning pipeline with PyCaret, an open source machine learning library in Python to train and deploy supervised and unsupervised machine learning models in a low-code environment, with Flask and look at containerising and deploying that via AWS Fargate.

This is a super detailed walkthrough and you will dive deep into PyCaret. Moez is looking at growing the community around this project and looking for people to get involved. Why not take a look and provide feedback.

Thanks Moez.

dev.to round up

There are some great posts on dev.to, so here is a round up of last week's posts that I felt was worth sharing.

next.js on AWS ElasticBeanstalk

Michael Weibel (@mweibel) walks you through deploying this React application framework on AWS ElasticBeanstalk. You will be up and running in no time at all.

ImageMagick

Sergio Matone (@sw360cab) shows you how to create your own Layer on AWS Lambda, in his post Creating custom AWS Lambda Layers from scratch: obtaining ImageMagick with Freetype support, showing you how to create a layer that incorporates a couple of open source image related projects, ImageMacgick and freetype.

Reduce costs when running Kubernetes

If you are running and managing your own Kubernetes environments on AWS, then you probably want to read this post by Taufek Johar on How to reduce your Kubernetes Cluster costs.

AWS EBS storage volume and your Docker container

Staying with the container theme, we have this post from Dmitriy at appfleet on How to attach an AWS EBS storage volume to your Docker container. If you want to understand more about storage on AWS and containers, then I suggest you take a look at this post.

Workshop

Amplify Social Network App

In this workshop, you will use the open source project AWS Amplify to build twitter-like social media application. Along the way you will also get the chance to use some other open source projects too, such as Cyprus.

This is what you will build

You can access the workshop clicking on the link below:

AMPLIFY SOCIAL NETWORK APP WORKSHOP

AWS updates

Open Distro for Elasticsearch

In An overview of the SQL Engine in Open Distro for Elasticsearch, Viraj Phanse provides an overview of the SQL engine that is one of the very nice features of Open Distro for Elasticsearch, including the new SQL CLI.

show sql

cli

One of the neat things is the provision of both ODBC and JDBC drivers which mean you can treat Open Distro for Elasticsearch as just another target data source for your applications, including your BI applications like Tableau. When I have done workshops on Open Distro for Elasticsearch, this has been one of the most well received capabilities.

Thanks Viraj!

LAMP is back

In this post, Introducing the new serverless LAMP stack, Benjamin Smith provides a treat for PHP developers everywhere. After a quick reminder/recap of the elements of the LAMP stack, Ben walks us through some of the challenges running that stack and how Serverless provides you with a compelling approach to solving those issues.

architecture

This promises to be a great series, so keep posted I will share more as and when it's published. Better still, why not follow the @AWSOpen twitter handle and be notified.

Wordpress

Wordpress is an open source blogging/content project that has been around for some time and super popular. In fact, looking at Wikipedia I noticed that as of June 2019, it accounted for over 60% of all sites where a content management system was being used. When I speak with developers, Wordpress and PHP are still technologies that they start with or work on a regular basis.

If you run Wordpress on AWS, then Optimising Wordpress performance with Amazon EFS from Francisco Gonzalez should be the top of your reading list. In this deep dive Francisco walks you through how you can optimize your architecture and improve your scalability and performance. No spoilers, so you will have to read the post.

Thanks Francisco!

laravel-bridge

bref is an open source project that provides tools to help easily deploy and run serverless PHP applications, and allows PHP developers to take advantage of modern application operational models like AWS Lambda, so they can focus more on writing PHP code and worry less about the underlying infrastructure.

Laravel is a popular PHP web application framework, and I have used this over the years so was delighted to see that this has been brought to AWS Lambda via bref in this project, laravel-bridge.

If you had not already, are a fan or have used PHP, then you should check this out.

Going serverless with PHP

Wow, a final post from Kpicaza on Going serverless with PHP, provides you with an overview of what your options are for running serverless PHP, some suggest use cases where it works well and then some interesting open source projects to help you.

OpenFOAM

OpenFOAM is the leading free, open source software for computational fluid dynamics (CFD), has become a key part of many engineering design processes. From aircraft design to modelling the blood flow inside our bodies, the ability to understand the behaviour of fluids has enabled countless innovations and improved the time to market for many products.

In this post, OpenFOAM on Amazon EC2 C6g Arm based Graviton2 instances, Neil Ashton (AWS), Karthik Raman (AWS) and Oliver Perks (Arm) walk you through in more detail what OpenFOAM is and then do some benchmark experiments to show the impact of running these workloads using these ARM based instance types.

No spoilers, but safe to say that you should check this post out if you are curious about how moving to these ARM based instances might help you improve your price/performance.

Apache Arrow

Apache Arrow is a cross-language development platform for in-memory data. It specifies a standardised language-independent columnar memory format for flat and hierarchical data, organised for efficient analytic operations on modern hardware.

Being columnar in memory, Apache Arrow manages memory more efficiently than row storage and takes advantage of modern CPU and GPU.

diagram

Itzik Jan and Avi Ben Yossef show you in Training Multiple Machine Learning Models Simultaneously Using Spark and Apache Arrow, how to integrate Apache Arrow with Amazon EMR when using code that you might have written in Python.

ROS 2

In last week's update I had a couple of items around the announcement of ROS 2 Foxy Fitzroy. This week I have a post from colleagues Matt Hansen, Aaron Blasdel, and Camilo Buscaron on ROS 2 Foxy Fitzroy: Setting a new standard for production robot development.

ros

This is a great primer post if you wanted to get to understand in more detail they key differences and improvements with this release of ROS 2 over previous versions, and also provides a good summary of ROS vs ROS2.

Part Two of Building a local based app

Last week I shared James Beswick's post around building a location based, scalable serverless web application. Well, part two is out, so you can carry on where you left off.

This episode goes deep on using http api's, pub/sub and geohasing.

architecture

Watch out for the final and concluding post.

Amazon Linux 2 and FIPS

Federal Information Processing Standard (FIPS) 140-2 specifies the security requirements for cryptographic modules that protect sensitive information. Industry standards such as the Payment Card Industry Data Security Standard (PCI DSS) also depend on FIPS 140-2 certified cryptographic modules to protect cardholder data or sensitive authentication data during storage, processing and transmission.

Ashneet Gujral and James Armitage's post, Enabling FIPS mode in Amazon Linux 2, demonstrate how to enable FIPS mode in Amazon Linux 2 and verify that unauthorised cryptographic functions are not being used in OpenSSL or the OpenSSH server.

Live Patching Linux on AWS Graviton2

Keeping your Linux system up to date with the latest operating system and application software patches is one of the most effective ways to strengthen system security.

KernelCare is a live patching system that patches Linux kernel vulnerabilities automatically, with no reboots. It maintains your kernel security without any service interruption or degradation. It promptly delivers the latest security patches for different Linux distributions and applies them automatically to the running kernel in nanoseconds.

KernelCare, which is available on AWS Marketplace, can live patch Amazon Elastic Compute Cloud (Amazon EC2) instances based on AWS Graviton2 Arm64 processors. This post explains, and demonstrates with a video, exactly how KernelCare live patches these new Amazon EC2 instances.

how

To read the detailed walkthrough and watch the video, read on in Live Patching Linux Without Downtime on AWS Graviton2 Instances by Jim Jackson, president and CRO for KernelCare at CloudLinux.

Case study: Stedi

Open source projects are critical in building most software solutions these days, and in this case study, Stedi talk about their business, a commercial trading network to automate the trillions of dollars in B2B transactions exchanged by every company on Earth.

Stedi relies on two key open source AWS projects, AWS CDK and AWS Amplify, and this post talks about their business and how they are using AWS and open source to win.

architecture

Quick updates

SQL Tools in Amazon Elasticsearch

Amazon Elasticsearch Service now supports SQL Workbench and SQL CLI to run queries on Elasticsearch indexes with the conventional and familiar database language. SQL Workbench, a popular open source visual tool used to manage database environments, is now integrated in Kibana to view the results of SQL queries executed on Elasticsearch indexes. SQL CLI provides the flexibility to run ad-hoc or predefined queries from client applications written in different programming languages. New SQL features are supported on all domains running Elasticsearch 7.4.

All SQL support features are powered by Open Distro for Elasticsearch, an Apache 2.0-licensed distribution of Elasticsearch. To learn more about Open Distro for Elasticsearch, visit the website.

Read more in the full announcement here.

Open source builders

Are you an open source builder?

If you are an open source builder and want to share your project or your open source story please get in touch. I am always looking to talk with people and write these up or video them.


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 @AWSOpen8

Top comments (1)

Collapse
 
sw360cab profile image
Sergio Matone

Great collection. Proud to be part of that. 💪🏽