AWS Lambda lets you run code without provisioning or managing servers. You pay only for the compute time you consume - there is no charge when your code is not running. With Lambda, you can run code for virtually any type of application or backend service - all with zero administration. Just upload your code and Lambda takes care of everything required to run and scale your code with high availability. You can set up your code to automatically trigger from other AWS services or call it directly from any web or mobile app.1
Table of contents
- AWS Lambda lets you run code without provisioning or managing servers. You pay only for the compute time you consume - there is no charge when your code is not running. With Lambda, you can run code for virtually any type of application or backend service - all with zero administration. Just upload your code and Lambda takes care of everything required to run and scale your code with high availability. You can set up your code to automatically trigger from other AWS services or call it directly from any web or mobile app.
- AWS Lambda Documentation - AWS Lambda is a zero-administration compute platform for back-end web developers that runs your code for you in the AWS cloud and provides you with a fine-grained pricing structure. AWS Lambda runs your back-end code on its own AWS compute fleet of Amazon Elastic Compute Cloud (Amazon EC2) instances across multiple Availability Zones in a region, which provides the high availability, security, performance, and scalability of the AWS infrastructure.
- Serverless Architectures refer to applications that significantly depend on third-party services (knows as Backend as a Service or "BaaS") or on custom code that's run in ephemeral containers (Function as a Service or "FaaS"), the best known vendor host of which currently is AWS Lambda. By using these ideas, and by moving much behavior to the front end, such architectures remove the need for the traditional 'always on' server system sitting behind an application. Depending on the circumstances, such systems can significantly reduce operational cost and complexity at a cost of vendor dependencies and (at the moment) immaturity of supporting services.
- Serverless Computing and Applications - Serverless computing allows you to build and run applications and services without thinking about servers. Serverless applications don't require you to provision, scale, and manage any servers. You can build them for virtually any type of application or backend service, and everything required to run and scale your application with high availability is handled for you
- Serverless Ops - The serverless paradigm is going mainstream. Major players such as Amazon, Microsoft, Google, and IBM are among the dozen organizations that now provide serverless compute options in the cloud—also known as Function-as-a-Service. What exactly does the serverless option entail, and how can you gain maximum value from it? This report takes devops practitioners and software architects through several aspects of this new model and shows you how to get started.
- How do I send email using Lambda and Amazon SES?
- Sending email attachments with AWS Lambda + AWS Simple Email Service (SES)
Python is a widely used general-purpose, high-level programming language. Its design philosophy emphasizes code readability, and its syntax allows programmers to express concepts in fewer lines of code than would be possible in languages such as C++ or Java. The language provides constructs intended to enable clear programs on both a small and large scale.2
- How to test a Python AWS Lambda function locally with PyCharm Run Configurations
- Python Serverless Microframework for AWS - The python serverless microframework for AWS allows you to quickly create and deploy applications that use Amazon API Gateway and AWS Lambda.
- Programming Model - You write code for your Lambda function in one of the languages AWS Lambda supports.
- Programming Model for Authoring Lambda Functions in Python - The following sections explain how common programming patterns and core concepts apply when authoring Lambda function code in Python.
- Creating a Deployment Package (Python) - To create a Lambda function you first create a Lambda function deployment package, a .zip file consisting of your code and any dependencies.
- The Context Object (Python) - AWS Lambda provides this information via the context object that the service passes as the second parameter to your Lambda function handler.