Skip to content
项目

关于

Lambda Shell——在 AWS Lambda 环境中运行 sh 命令

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文
This code is referenced in the following articles: Please read these
articles for more information.

  lambdash: AWS Lambda Shell Hack: New And Improved!
  https://alestic.com/2015/06/aws-lambda-shell-2/

  Exploring The AWS Lambda Runtime Environment
  https://alestic.com/2014/11/aws-lambda-environment/ 

The files in this repo include:

  - index.js - AWS Lambda function that runs a provided shell command
    and returns stdout, stderr, and exit code.

  - lambdash - Command line program that invokes the AWS Lambda
    function with a specified shell command and outputs returned
    results.

  - lambdash.template - CloudFormation template that creates the AWS
    Lambda function and the required IAM role.

  - lambdash-install - Script to create the CLoudFormation stack.

  - lambdash-uninstall - Script to delete the CloudFormation stack.

  - lambdash-upload-s3 - Sample of how ZIP file and CloudFormation
    template were uploaded to the run.alestic.com S3 bucket
    (hardcoded names)

Note: This code is a simple hack, demonstrating a way to gain
visibility into the AWS Lambda environment. This is not intended to be
production quality software.

探索相关项目

加载中…