GitHub
github.com › grantcooksey › aws-lambda-python-examples
GitHub - grantcooksey/aws-lambda-python-examples: Lessons and examples to get started using aws lambda function in python · GitHub
Moves the python module defined in template.yaml into a .aws-sam/build directory, ie the event-selector-service · Spins up an aws compatible docker container with a volume mapped to the build folder · Installs dependencies into the fresh container using PyPI. Native dependencies get built here. We can locally run the lambda in a docker container to test.
Starred by 61 users
Forked by 41 users
GitHub
github.com › alfonsof › aws-python-examples
GitHub - alfonsof/aws-python-examples: Python examples on AWS (Amazon Web Services) using AWS SDK for Python (Boto3). How to manage EC2 instances, Lambda Functions, S3 buckets, etc.
awsec2instances-rapi - AWS EC2 instances (Resource API): Example of how to handle AWS EC2 instances. It uses the Resource API (high-level) of Boto 3. ... awslambdahello - AWS Lambda Function Hello World: Example of how to handle an AWS simple ...
Starred by 64 users
Forked by 60 users
Languages Python 100.0% | Python 100.0%
Videos
12:33
Deploy AWS Lambda Function using GitHub Actions CI CD | Lambda ...
08:00
Python + AWS Lambda - Part 4: CI/CD with GitHub Actions - YouTube
15:03
Deploying to AWS Lambda in Python with Serverless Framework + GitHub ...
11:14
CI/CD from GitHub to AWS Lambda (i.e., automatically update lambda ...
CI/CD using Github + Github Actions + AWS Lambda
GitHub
github.com › shreyasgaonkar › aws-lambda-code-samples
GitHub - shreyasgaonkar/aws-lambda-code-samples: Lambda sample codes for EC2, Lambda, API Gateway and SNS in python runtime.
A few of the sample AWS Lambda function codes for common use-cases with Amazon EC2, AWS Lambda, API Gateway & Amazon SNS using Python runtime.
Starred by 29 users
Forked by 18 users
Languages Python 100.0% | Python 100.0%
GitHub
github.com › nficano › python-lambda
GitHub - nficano/python-lambda: A toolkit for developing and deploying serverless Python code in AWS Lambda. · GitHub
First, you must create an IAM Role on your AWS account called lambda_basic_execution with the LambdaBasicExecution policy attached. On your computer, create a new virtualenv and project folder. $ mkvirtualenv pylambda (pylambda) $ mkdir pylambda · Next, download Python-Lambda using pip via pypi.
Starred by 1.5K users
Forked by 225 users
Languages Python 97.3% | Makefile 2.7%
GitHub
github.com › awslabs › aws_lambda_sample_events_python
GitHub - awslabs/aws_lambda_sample_events_python: A Python module for creating sample events to test AWS Lambda functions.
This small module is meant to help test Python based AWS Lambda functions that get triggered by other AWS services (ex: CodePipeline action).
Starred by 57 users
Forked by 22 users
Languages Python 100.0% | Python 100.0%
GitHub
github.com › aws › aws-lambda-builders
GitHub - aws/aws-lambda-builders: Python library to compile, build & package AWS Lambda functions for several runtimes & framework
Python library to compile, build & package AWS Lambda functions for several runtimes & framework - aws/aws-lambda-builders
Starred by 375 users
Forked by 152 users
Languages Python 99.9% | Makefile 0.1% | Python 99.9% | Makefile 0.1%
GitHub
github.com › awsdocs › aws-doc-sdk-examples › blob › main › python › example_code › lambda › lambda_basics.py
aws-doc-sdk-examples/python/example_code/lambda/lambda_basics.py at main · awsdocs/aws-doc-sdk-examples
Welcome to the AWS Code Examples Repository. This repo contains code examples used in the AWS documentation, AWS SDK Developer Guides, and more. For more information, see the Readme.md file below. - aws-doc-sdk-examples/python/example_code/lambda/lambda_basics.py at main · awsdocs/aws-doc...
Author awsdocs
GitHub
github.com › LukasRychtecky › aws-lambda-python-example
GitHub - LukasRychtecky/aws-lambda-python-example: An example of AWS Lambda in Python with libraries.
Starred by 4 users
Forked by 3 users
Languages Python 55.9% | Makefile 44.1% | Python 55.9% | Makefile 44.1%
GitHub
github.com › ran-isenberg › aws-lambda-handler-cookbook
GitHub - ran-isenberg/aws-lambda-handler-cookbook: This repository provides a working, deployable, open source-based, serverless service blueprint with an AWS Lambda function and AWS CDK Python code with all the best practices and a complete CI/CD pipeline. · GitHub
This project provides a working, open source based, AWS Lambda handler skeleton Python code includingx DEPLOYMENT code with CDK and a pipeline.
Starred by 670 users
Forked by 60 users
Languages Python 95.9% | Makefile 4.1%
GitHub
github.com › aws › aws-lambda-python-runtime-interface-client
GitHub - aws/aws-lambda-python-runtime-interface-client · GitHub
Example Dockerfile (to keep the image light we use a multi-stage build): # Define custom function directory ARG FUNCTION_DIR="/function" FROM public.ecr.aws/docker/library/python:buster as build-image # Include global arg in this stage of the build ARG FUNCTION_DIR # Install aws-lambda-cpp build dependencies RUN apt-get update && \ apt-get install -y \ g++ \ make \ cmake \ unzip \ libcurl4-openssl-dev # Copy function code RUN mkdir -p ${FUNCTION_DIR} COPY app/* ${FUNCTION_DIR} # Install the function's dependencies RUN pip install \ --target ${FUNCTION_DIR} \ awslambdaric FROM public.ecr.aws/do
Starred by 287 users
Forked by 82 users
Languages Python 87.5% | Shell 8.0% | C++ 3.3% | Makefile 1.2%
GitHub
github.com › aws-samples › aws-lambda-deploy
GitHub - aws-samples/aws-lambda-deploy: A collection of tools to enable canary deployments of AWS Lambda functions.
$ git clone https://github.com/awslabs/aws-lambda-deploy $ cd aws-lambda-deploy $ export BUCKET_NAME=[S3_BUCKET_NAME_FOR_BUILD_ARTIFACTS] $ ./install.sh · This simple Python script runs as a Lambda function and deploys another function by incrementally increasing the weight of the new function version over a prescribed number of steps, while checking the health of the new version.
Starred by 156 users
Forked by 59 users
Languages Python 92.9% | Shell 7.1% | Python 92.9% | Shell 7.1%
GitHub
github.com › nicor88 › aws-python-lambdas
GitHub - nicor88/aws-python-lambdas: Collection of AWS Lambda functions in Python
# create env conda create --name aws-python-lambdas python=3.6.2 # activate env source activate aws-python-lambdas pip install boto3 pip install pytest # install libs from the requirements of each single lambda for i in src/*/; do pip install -r $i"requirements.txt"; done
Starred by 11 users
Forked by 9 users
Languages Python 97.6% | Shell 2.4% | Python 97.6% | Shell 2.4%
GitHub
github.com › aws-samples › aws-cloudformation-inline-python-lambda-example
GitHub - aws-samples/aws-cloudformation-inline-python-lambda-example: Example AWS Lambda function deployed inline in a CloudFormation template · GitHub
This CloudFormation template deploys an AWS Lambda function, Amazon DynamoDB table, Amazon CloudWatch Logs log group, and all IAM roles with the minimum necessary permissions. The Lambda function itself inserts a random 10-character alphabetic ...
Starred by 2 users
Forked by 8 users
GitHub
github.com › Moesif › moesif-aws-lambda-python-example
GitHub - Moesif/moesif-aws-lambda-python-example: Example using Moesif API Analytics with AWS Lambda
Moesif is an API analytics platform. moesif-aws-lambda-python is a middleware that logs API calls to Moesif for AWS Lambda. This example is a Python application with Moesif's API analytics and monitoring integrated.
Forked by 4 users
Languages Python 100.0% | Python 100.0%
Amazon Web Services
docs.aws.amazon.com › aws lambda › developer guide › building lambda functions with python
Building Lambda functions with Python - AWS Lambda
To learn more about the execution environment lifecycle, see Understanding the Lambda execution environment lifecycle. For examples of how to use graceful shutdown with extensions, see the AWS Samples GitHub repository
GitHub
github.com › 4dn-dcic › python-lambda
GitHub - 4dn-dcic/python-lambda: A toolkit for developing and deploying serverless Python code in AWS Lambda.
There is a comment on this topic in example_function_package.py with code on how to handle it. Tests can be found in the test_aws_lambda.py. Using the tests as a guide to develop your lambdas is probably a good idea. You can also see how to invoke the lambdas directly from Python (and interpret ...
Author 4dn-dcic
Amazon Web Services
docs.aws.amazon.com › aws lambda › developer guide › lambda sample applications
Lambda sample applications - AWS Lambda
The GitHub repository for this guide includes sample applications that demonstrate the use of various languages and AWS services. Each sample application includes scripts for easy deployment and cleanup and supporting resources.
GitHub
github.com › TailorDev › hello-lambda
GitHub - TailorDev/hello-lambda: :fire: An example of a Python (AWS) Lambda exposed with API Gateway, configured with Terraform.
April 6, 2021 - :fire: An example of a Python (AWS) Lambda exposed with API Gateway, configured with Terraform. - TailorDev/hello-lambda
Starred by 119 users
Forked by 59 users
Languages HCL 93.8% | Makefile 3.7% | Python 2.5% | HCL 93.8% | Makefile 3.7% | Python 2.5%