Coder Social home page Coder Social logo

aws-samples / aws-proton-sample-services Goto Github PK

View Code? Open in Web Editor NEW
29.0 10.0 472.0 31 KB

Sample application code for AWS Proton

Home Page: https://aws.amazon.com/proton

License: MIT No Attribution

Dockerfile 6.34% HTML 38.86% Python 36.46% JavaScript 18.34%

aws-proton-sample-services's Introduction

AWS Proton Sample Services

This repository contains samples of application code that can be deployed with AWS Proton using the AWS Proton Sample Templates for CloudFormation and for Terraform.

Each folder in this repository corresponds to a service. The sample templates contain pipeline a pipeline parameter that allow you to select a specific folder, so that you can select the correct folder for your type of service.

  • ecs-backend

    Flask app that responds with a Hello message along with the Time. README

  • ecs-ping-backend-a-record

    Application code to ping Fargate backend service using service discovery. README

  • ecs-ping-backend-srv-record

    Application code to ping ECS on EC2 backend service using service discovery. README

  • ecs-ping-sns

    Python application that sends a random 5-letter string along with the time to the shared SNS topic, every 5 minutes. README

  • ecs-static-website

    Containerized static website. README

  • ecs-worker

    Python application that polls the SQS queue for messages, and writes the message body to CloudWatch logs. README

  • lambda-ping-sns

    Lambda function to send a random string and time to the shared SNS topic, whenever invoked by API Gateway HTTP API. README

  • lambda-worker

    Lambda function that writes the event, context object and SQS message to CloudWatch Logs. README

Security

See CONTRIBUTING for more information.

Code of Conduct

See CODE OF CONDUCT for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

aws-proton-sample-services's People

Contributors

amazon-auto avatar clareliguori avatar klstromsland avatar kohidave avatar rafavallina avatar syedsaadahmed1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aws-proton-sample-services's Issues

update Dockerfile's nginx version to 1.20.1+

A security issue in nginx resolver was identified, which might allow an attacker who is able to forge UDP packets from the DNS server to cause 1-byte memory overwrite, resulting in worker process crash or potential other impact. (CVE-2021-23017)

The nginx:1.19.5 version in the Dockerfile is vulnerable to CVE-2021-23017 which is marked as critical in Amazon Linux Security Center. It is reasonable to also update the sample in order to prevent vulnerable versions from being used again.

Reference:

  1. NGINX security advisory (CVE-2021-23017)
  2. NVD - CVE-2021-23017
  3. Amazon Linux Security Center - ALAS-2021-1507

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.