Open source news and updates #142

海外精选
开源
Amazon EC2
Amazon EMR
Amazon Corretto
海外精选的内容汇集了全球优质的亚马逊云科技相关技术内容。同时,内容中提到的“AWS” 是 “Amazon Web Services” 的缩写,在此网站不作为商标展示。
0
0
<!--StartFragment--> ## January 23rd, 2023 - Instalment #142 Welcome to edition #142 of the AWS open source newsletter. We have another great round up of new projects for you to get stuck into. Here are just a taste of some of the projects, kicking off with "sls-mentor" a new tool to help you assess your serverless applications, "subnet-watcher", a tool to help you monitor your IP addresses, "aws-cdk-web-administered-apps" a very nice reference solution for applications that have a user and admin component, "serverless-newsletter-app" if you are looking for a newsletter solution and want to host your own, look here first, "aws-iot-with-privatelink" shows you how you use private networks for your IoT traffic, "emr-spark-benchmark" benchmarking tool for assessing your [Amazon EMR](https://aws.amazon.com/cn/emr/?trk=cndc-detail) environments, and "update-aws-ip-ranges" keep automatically updated on Amazon's IP address ranges. There are many more projects to check out, so make sure you give them your time. <!--StartFragment--> For those looking for blogs, tutorials, this week we have content featuring Memcached, OpenLineage, Marquez, Apache Airflow, [Amazon Corretto](https://aws.amazon.com/cn/corretto/?trk=cndc-detail), Flagger, [AWS CDK](https://aws.amazon.com/cn/cdk/?trk=cndc-detail), Apache Tika, OpenSearch, GraphQL, Flintrock, and more. Finally, make sure you check out the videos and events section at the end of this newsletter so you don't miss out on these events. <!--EndFragment--> <!--EndFragment--> <!--StartFragment--> **Raffle prize winner** Before Christmas we had a raffle to win some cool AWS SWAG. I can now reveal that the winning ticket is **038C123F-DA73-4584-ABE2-** - if this matches your ticket, then please contact me at <ricsue@amazon.com> with the LAST portion of the ticket. If yours matches what I have, you are a winner! ### [](https://dev.to/aws/aws-open-source-newsletter-142-4c9b#celebrating-open-source-contributors)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: Ethan Steininger, Stephen Said, Paul Villena, Vishwanatha Nayak, Brian Beach, Ran Isenberg, Jayesh Vartak, Allen Helton, James Eastham, Julian Wood and John Jackson. <!--EndFragment--> <!--StartFragment--> ### 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.* #### [](https://dev.to/aws/aws-open-source-newsletter-142-4c9b#tools)Tools **sls-mentor** <!--EndFragment--> <!--StartFragment--> [sls-mentor](https://aws-oss.beachgeek.co.uk/2g4) is an open source tool that analyses the configuration of your AWS resources against best practice rules, helping you to remove before they occur, and optimises your app’s performances and costs. Check out the blog post [sls-mentor: your serverless quality teacher has arrived!](https://aws-oss.beachgeek.co.uk/2g5) where Pierre Chollet provides more info as to the origins of why this project was created, walks you through some of its capabilities, and then looks forward to what they are hoping to do next. Well worth checking out. <!--EndFragment--> ![guardian-run.gif](https://dev-media.amazoncloud.cn/15083029230043499897f30b1cd4b03d_guardian-run.gif "guardian-run.gif") <!--StartFragment--> **subnet-watcher** [subnet-watcher](https://aws-oss.beachgeek.co.uk/2fs) is a neat tool that monitors the remaining free IP addresses in AWS VPC subnets (both public and private) using some CloudWatch custom metrics. It also sets up alerts to provide complete visibility on your VPC CIDR IP space. Hat Tip to Corey Quinn who shared this tool in his weekly AWS Newsletter. **aws-cdk-web-administered-apps** [aws-cdk-web-administered-apps](https://aws-oss.beachgeek.co.uk/2ft) this looks like it is going to help a lot of folk automate the deployment of well known open source software. This CDK+Python project is designed to support the web administered app model, where the admin interface is hosted within the same codebase as the front-end application. To achieve this outcome more securely, this project creates two groups of server hosts - one with admin access and one with only read access. This enables you to restrict all write operations to a server (or servers) that can only be accessed from specific allowed IP addresses. Comes with a couple of examples (Wordpress and Node-RED) to help you see how this works. <!--EndFragment--> <!--StartFragment--> <!--EndFragment--> ![image.png](https://dev-media.amazoncloud.cn/cbff1bd29f204f6292bb43ee5ac55b8f_image.png "image.png") <!--StartFragment--> **serverless-newsletter-app** [serverless-newsletter-app](https://aws-oss.beachgeek.co.uk/2fr) provides a complete Newsletter application that you can deploy yourself, leveraging AWS serverless services and SendGrid. AWS Hero Allen Helton shares his story in hist post, [How I Built An Open Source Serverless Newsletter Platform](https://aws-oss.beachgeek.co.uk/2fq). In it he writes how he came to build this open source project, and how you can use it to create your own Newsletter app. Very cool indeed. <!--EndFragment--> <!--StartFragment--> <!--EndFragment--> ![image.png](https://dev-media.amazoncloud.cn/ec4824d4deb84dfcbec0d1288a9ab40e_image.png "image.png") <!--StartFragment--> **slapo** [slapo](https://aws-oss.beachgeek.co.uk/2g2) Slapo is a schedule language for progressive optimisation of large deep learning model training. Large deep learning models demonstrate dominating model accuracy on a range of tasks in NLP and CV, but it is hard to train the model efficiently while preserving the usability. Slapo aims to address this tension through separation of concerns. Slapo decouples model execution from definition, enabling developers to use a set of schedule primitives to convert a PyTorch model for common model training optimizations without directly changing the model itself. **update-aws-ip-ranges** [update-aws-ip-ranges](https://aws-oss.beachgeek.co.uk/2fz) AWS publishes a list of it's IP address ranges (you can [see the list here](https://aws-oss.beachgeek.co.uk/2g0)) This project creates Lambda function that automatically create or update AWS resource with AWS service's IP ranges from that ip-ranges.json file. You can configure which service and region to get range. You can also configure to which resources you want to create or update with those ranges. Use cases include allowing CloudFront requests, API Gateway requests, Route53 health checker and EC2 IP range (which includes [AWS Lambda](https://aws.amazon.com/cn/lambda/?trk=cndc-detail) and CloudWatch Synthetics). The resources are created or updated in the region where the CloudFormation stack is created. <!--EndFragment--> <!--StartFragment--> **emr-spark-benchmark** [emr-spark-benchmark](https://aws-oss.beachgeek.co.uk/2fw) This repository provides a general tool to benchmark Spark performance on [Amazon EC2 ](https://aws.amazon.com/cn/ec2/?trk=cndc-detail)and [Amazon EMR](https://aws.amazon.com/cn/emr/?trk=cndc-detail). The repos use an open source tool Flintrock to launch EC2 based Apache Spark clusters. If you want to baseline or compare how your Apache Spark performs, why not give this repo a try. **unlock-mainframe-data-files-on-aws** [unlock-mainframe-data-files-on-aws](https://github.com/aws-samples/unlock-mainframe-data-files-on-aws) This solution is designed to help you unlock legacy mainframe data by migrating data files from mainframe systems to AWS. The solution involves transferring data from mainframe datasets, converting it into a CSV format, and then storing the data in AWS. <!--EndFragment--> <!--StartFragment--> <!--EndFragment--> ![image.png](https://dev-media.amazoncloud.cn/c73befabc8cc4872a36d62749b646644_image.png "image.png") <!--StartFragment--> **axios-based-http-testing-tool** [axios-based-http-testing-tool](https://aws-oss.beachgeek.co.uk/2fx) [Axios](https://aws-oss.beachgeek.co.uk/2fy) is a simple promise based HTTP client for the browser and node.js. This repo provides everything you need to help you deploy an axios based HTTP testing tool solution on AWS. <!--EndFragment--> <!--StartFragment--> <!--EndFragment--> ![image.png](https://dev-media.amazoncloud.cn/9996ce668b8546219e3d1670b8d6933a_image.png "image.png") <!--StartFragment--> ### Demos, Samples, Solutions and Workshops **aws-iot-with-privatelink** [aws-iot-with-privatelink](https://aws-oss.beachgeek.co.uk/2fv) The goal of this project is to create IOT private link for customer who wants to send data from IoT device securely through private network without using public internet. The repo contains detailed breakdown of how this is achieved, and you can try it for yourself as they have a nice simulator to help you kick the tyres. <!--EndFragment--> <!--StartFragment--> <!--EndFragment--> ![image.png](https://dev-media.amazoncloud.cn/7524b3db1bac4095a82822d096f63b4f_image.png "image.png") <!--StartFragment--> **serverless-smart-streaming-engine** [serverless-smart-streaming-engine](https://aws-oss.beachgeek.co.uk/2g1) this repo is for football fans (especially if you support Tottenham Hotspurs), and is a demo that shows how you can use CDK and amplify to build a streaming service with a smart backend that analyse the streaming media using a AI/ML service. <!--EndFragment--> <!--StartFragment--> <!--EndFragment--> ![image.png](https://dev-media.amazoncloud.cn/7fbca244212d4cfdb22a0bcb2d0f8dd4_image.png "image.png") <!--StartFragment--> In this particular demo, it sends a soccer game that Tottenham plays, generate clips, and services only clips that Son Heung-min appears. (other teams and players would work). Make sure you check the demo clips in the repo. Very cool. <!--EndFragment--> <!--StartFragment--> <!--EndFragment--> ![image.png](https://dev-media.amazoncloud.cn/ccf223dc23644fc3bbf03755b697f46a_image.png "image.png") <!--StartFragment--> **amazon-personalize-online-recommendations-with-google-tag-manager** [amazon-personalize-online-recommendations-with-google-tag-manager](https://aws-oss.beachgeek.co.uk/2fu) this repo provides some help to get you started working with [Amazon Personalize](https://aws.amazon.com/cn/personalize/?trk=cndc-detail), and AWS service that allows developers to quickly build and deploy curated recommendations and intelligent user segmentation at scale using machine learning (ML). If you are using Google Tag Manager (GTM) then see how you can integrate that date to create more personalised recommendations for your customers. <!--EndFragment--> <!--StartFragment--> <!--EndFragment--> ![image.png](https://dev-media.amazoncloud.cn/eb91571158994f29ab805848acfac887_image.png "image.png") <!--StartFragment--> ### AWS and Community blog posts **OpenLineage** If you are looking to dive into data lineage, an increasingly important area of your data governance strategy, then read on as this post is for you. OpenLineage is an open source project provides a technology-agnostic metadata model for capturing data lineage and integrates with widely used tools, including Apache Airflow, the topic for this blog post. In the post, [Automate data lineage on Amazon MWAA with OpenLineage](https://aws-oss.beachgeek.co.uk/2fj), Stephen Said, Paul Villena, and Vishwanatha Nayak show you how you can get started, using Marquez, an open-source metadata service for collection and visualisation of data lineage with support for the OpenLineage standard. \[hands on] <!--EndFragment--> <!--StartFragment--> <!--EndFragment--> ![image.png](https://dev-media.amazoncloud.cn/961d4ae2460b468bab95a070fa943cb1_image.png "image.png") <!--StartFragment--> **OpenSearch** We have a couple of great posts this week for OpenSearch fans. Starting us off we have Ethan Steininger, who has written this post, [Searching PDFs in S3 Using OpenSearch and Tika](https://aws-oss.beachgeek.co.uk/2g3) where he shows you a hands on guide in how to build a Python script that is able to search the contents of PDF files in an [Amazon S3](https://aws.amazon.com/cn/s3/?trk=cndc-detail) bucket using Apache Tika and OpenSearch. Apache Tika is an open source project that helps you extract data from files, and in this tutorial the focus is on searching PDFs. Very nice little project. \[hands on] Next up we have [Introducing identity and access control for OpenSearch](https://aws-oss.beachgeek.co.uk/2g6) from Peter Nied who explores the current and future direction of the OpenSearch security model. This direction presents a significant departure from the current security model, but these OpenSearch security features will help it be more efficient, more reliable, and simply easier and more enjoyable to work with. As OpenSearch is an open source project, they are currently inviting folk to share there views and comments, so check out the blog post for more details. <!--EndFragment--> <!--StartFragment--> **[AWS CDK](https://aws.amazon.com/cn/cdk/?trk=cndc-detail)** A couple of posts featuring [AWS CDK](https://aws.amazon.com/cn/cdk/?trk=cndc-detail) this week. Kicking off with, [Manually Approving Security Changes in CDK Pipeline](https://aws-oss.beachgeek.co.uk/2fk) Brian Beach provides a nice overview of how to add a manual approval to [AWS Cloud Development Kit](https://aws.amazon.com/cn/cdk/?trk=cndc-detail) (CDK) Pipelines to confirm security changes before deployment. With this solution, when a developer commits a change, CDK pipeline identifies an IAM permissions change, pauses execution, and sends a notification to a security engineer to manually approve or reject the change before it is deployed. \[hands on] <!--EndFragment--> <!--StartFragment--> <!--EndFragment--> ![image.png](https://dev-media.amazoncloud.cn/30f00724038d4433802ed52c6297fcf4_image.png "image.png") <!--StartFragment--> Following that we had AWS Community Builder (and Build on Open Source guest) Ran Isenberg put together [Build AWS Lambda Layers with AWS CDK](https://aws-oss.beachgeek.co.uk/2fp) giving you a gentle introduction into [AWS Lambda](https://aws.amazon.com/cn/lambda/?trk=cndc-detail) layers and then how you can build your own using Docker and [AWS CDK](https://aws.amazon.com/cn/cdk/?trk=cndc-detail). <!--EndFragment--> <!--StartFragment--> **Kubernetes** If you are self managing Kubernetes, this post is for you. Jayesh Vartak looks at how to use pod priority and dummy pods that have a pause container to eliminate or minimise the time required for provisioning the worker nodes during scaling in hist post, [Eliminate Kubernetes node scaling lag with pod priority and over-provisioning](https://aws-oss.beachgeek.co.uk/2fo) \[hands on] <!--EndFragment--> <!--StartFragment--> <!--EndFragment--> ![image.png](https://dev-media.amazoncloud.cn/12734f27c0d84f1a8b6ace9687649c05_image.png "image.png") <!--StartFragment--> **Other posts and quick reads** * [Is the GitHub Actions self-hosted runner safe for Open Source?](https://aws-oss.beachgeek.co.uk/2g8) is a great post that will get you to think about your options around both why you might want to run your own self-hosted runners, and what you need to thin about * [Visualize and gain insights into your AWS cost and usage with Amazon Managed Grafana](https://aws-oss.beachgeek.co.uk/2fm) demonstrates how you can visualise and analyse your AWS Cost and Usage data with [Amazon Managed Grafana](https://aws.amazon.com/cn/grafana/?trk=cndc-detail) \[hands on] <!--EndFragment--> <!--StartFragment--> <!--EndFragment--> ![image.png](https://dev-media.amazoncloud.cn/8291998214e14470925a41c78c3b3c7e_image.png "image.png") <!--StartFragment--> * [Journey to adopt Cloud-Native DevOps platform Series #2: Progressive delivery on Amazon EKS with Flagger and Gloo Edge Ingress Controller](https://aws-oss.beachgeek.co.uk/2fi) looks at the technical steps to build a DevOps platform using open source components that enables the progressive deployment of microservices on Amazon Managed [Amazon EKS](https://aws.amazon.com/cn/eks/?trk=cndc-detail) \[hands on] * [Set up Amazon SageMaker Studio with Jupyter Lab 3 using the AWS CDK](https://aws-oss.beachgeek.co.uk/2fl) guides you through the steps to get started with setting up and deploying Studio to standardize ML model development and collaboration with fellow ML engineers and ML scientists using a CDK app written in Python \[hands on] * [Automate backups for AWS Amplify GraphQL backends with AWS Backup](https://aws-oss.beachgeek.co.uk/2fn) shows how you can easily build a modern full stack cloud based application with an automated backup solution to meet your data protection needs \[hands on] <!--EndFragment--> <!--StartFragment--> <!--EndFragment--> ![image.png](https://dev-media.amazoncloud.cn/8023220be10f4a52a133614b861306f2_image.png "image.png") <!--StartFragment--> ### Quick updates **[Amazon Corretto](https://aws.amazon.com/cn/corretto/?trk=cndc-detail)** On January 17, 2023 Amazon announced quarterly security and critical updates for [Amazon Corretto](https://aws.amazon.com/cn/corretto/?trk=cndc-detail) Long-Term Supported (LTS) versions of OpenJDK. Corretto 19.0.2, 17.0.6, 11.0.18, 8u362 are now [available for download](https://aws-oss.beachgeek.co.uk/2fh). [Amazon Corretto](https://aws.amazon.com/cn/corretto/?trk=cndc-detail) is a no-cost, multi-platform, production-ready distribution of OpenJDK. **Memcached** [Amazon ElastiCache](https://aws.amazon.com/cn/elasticache/?trk=cndc-detail) for Memcached has added support for Memcached version 1.6.17. This version is a cumulative update and contains all changes and improvements from version 1.6.12 to 1.6.17. For the full list of improvements and bug fixes in [Amazon ElastiCache](https://aws.amazon.com/cn/elasticache/?trk=cndc-detail) for Memcached 1.6.17, see the [release notes](https://aws-oss.beachgeek.co.uk/2fg). **[Amazon EMR](https://aws.amazon.com/cn/emr/?trk=cndc-detail)** [Amazon EMR](https://aws.amazon.com/cn/emr/?trk=cndc-detail) is a cloud big data platform for data processing, interactive analysis, and machine learning using open-source frameworks such as Apache Spark, Apache Hive, and Presto. Announced last week, [Amazon EMR](https://aws.amazon.com/cn/emr/?trk=cndc-detail) has made it 30% faster to launch an EMR on EC2 cluster in a private subnet. Customers can get the faster cluster start-up times by simply relaunching their EMR on EC2 private subnet clusters. No further action is needed. <!--EndFragment--> <!--StartFragment--> ### Videos of the week **AWS SAM - Building Java Serverless applications** The [AWS Serverless Application Model](https://aws.amazon.com/cn/serverless/sam/?trk=cndc-detail) (AWS SAM) is an open-source framework that helps to build Serverless applications on AWS. It provides a command-line interface (CLI) and extensions on top of AWS Cloud Formation to simplify the development of serverless applications. In this video, James Eastham walks you through how to initialise, build, deploy and develop against your first serverless Java application. He looks at how SAM compiles and deploys your code and also an easy way to speed up the software development life cycle. <video src="https://dev-media.amazoncloud.cn/3adde0c062f345049239b22a77e91698_Build%20serverless%20application%20using%20Java%20and%20the%20AWS%20SAM%20CLI.mp4" class="bytemdVideo" controls="controls"></video> **Apache Airflow** Great video featuring two of my most favourite people, Julian Wood and John Jackson take a look at how to effectively run [Amazon Managed Workflows for Apache Airflow](https://aws.amazon.com/cn/managed-workflows-for-apache-airflow/?trk=cndc-detail) (Amazon MWAA) at scale. You hear about options available to scale workloads, explore different techniques to optimise performance when running at scale, with a demo running thousands of DAGs at scale. <video src="https://dev-media.amazoncloud.cn/77fdba69e75142e6b2da7a1bdb13ac10_Amazon%20Managed%20Workflows%20for%20Apache%20Airflow%20at%20Scale%20_%20Serverless%20Office%20Hours.mp4" class="bytemdVideo" controls="controls"></video> **Build on Open Source** For those unfamiliar with this show, Build on Open Source is where we go over this newsletter and then invite special guests to dive deep into their open source project. Expect plenty of code, demos and hopefully laughs. We have put together a playlist so that you can easily access all (eight) of the episodes of the Build on Open Source show. [Build on Open Source playlist](https://aws-oss.beachgeek.co.uk/24u) # [](https://dev.to/aws/aws-open-source-newsletter-142-4c9b#events-for-your-diary)Events for your diary If you are planning any events in 2023, either virtual, in person, or hybrid, get in touch as I would love to share details of your event with readers. **AWS Java Panel #2 SnapStart and SpringCloud AWS**\ **Jan 25th, 6:15PM GMT** Join this free online event with a great lineup of speakers who will discuss all about latest "AWS coldstart killer: SnapStart" and how and how much it improves startup times for Java Serverless Lambda functions. They will introduce you to what SnapStart is, and then discuss first month of production experience. Following that presentation the next talk lined up is "SpringCloud AWS", presented by Maciej Walkowiak Let's see what are the latest updates and how this library improves AWS + Spring experience. Find out more and register to take part at [the meetup link here](https://aws-oss.beachgeek.co.uk/2g7). **FOSSDEM**\ **Feb 4-5th, 2023 in Brussels** FOSDEM is a free event for software developers to meet, share ideas and collaborate. Every year, thousands of developers of free and open source software from all over the world gather at the event in Brussels. 4 & 5 February 2023. A must attend event for all open source fans, check out and [register via this link](https://aws-oss.beachgeek.co.uk/2dc). **State of Open Con 23**\ **Feb 7-8th, 2023 in London** OpenUK will be hosting a 1000 person plus two day conference in Central London, “State of Open Con 23” in association with IEEE, the headline sponsor. Check out more info and [sign up here](https://aws-oss.beachgeek.co.uk/2dd). **PGConf India**\ **Feb 22nd to 24th, Radisson Blu Bengaluru, India** If you are in or can get to Bengaluru, then checkout this conference for PostgreSQL developers and enthusiasts. Check out the session line up and get [your tickets here](https://aws-oss.beachgeek.co.uk/2ff). **Everything Open**\ **March14-15th Melbourne, Australia** A new event for the fine folks in Australia. Everything Open is running for the first time, and the organisers (Linux Australia) have decided to run this event to provide a space for a cross-section of the open technologies communities to come together in person. Check out the [event details here](https://aws-oss.beachgeek.co.uk/2ds). The CFP us currently open, so why not take a look and submit something if you can. **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](https://aws-oss.beachgeek.co.uk/1az) ### [](https://dev.to/aws/aws-open-source-newsletter-142-4c9b#stay-in-touch-with-open-source-at-aws)Stay in touch with open source at AWS I hope this summary has been useful. Remember to check out the [Open Source homepage](https://aws.amazon.com/opensource/?opensource-all.sort-by=item.additionalFields.startDate\\&opensource-all.sort-order=asc) to keep up to date with all our activity in open source by following us on [@AWSOpen](https://twitter.com/AWSOpen) <!--EndFragment-->
目录
亚马逊云科技解决方案 基于行业客户应用场景及技术领域的解决方案
联系亚马逊云科技专家
亚马逊云科技解决方案
基于行业客户应用场景及技术领域的解决方案
联系专家
0
目录
关闭