AWS Compute Blog
Tag: Python
Hosting Hugging Face models on AWS Lambda for serverless inference
This post written by Eddie Pick, AWS Senior Solutions Architect – Startups and Scott Perry, AWS Senior Specialist Solutions Architect – AI/ML Hugging Face Transformers is a popular open-source project that provides pre-trained, natural language processing (NLP) models for a wide variety of use cases. Customers with minimal machine learning experience can use pre-trained models […]
Build a serverless Martian weather display with CircuitPython and AWS Lambda
Build a standalone digital weather display of Mars showing the latest images from the Mars Curiosity Rover. This project uses an Adafruit PyPortal, an open-source IoT touch display. Traditionally, a microcontroller is programmed with firmware compiled using various specific toolchains. Fortunately, the PyPortal is programmed using CircuitPython, a lightweight version of Python that works on […]
Building well-architected serverless applications: Understanding application health – part 2
This series of blog posts uses the AWS Well-Architected Tool with the Serverless Lens to help customers build and operate applications using best practices. In each post, I address the nine serverless-specific questions identified by the Serverless Lens along with the recommended best practices. See the Introduction post for a table of contents and explaining the example application. Question OPS1: How […]
Introducing a new generation of AWS Elastic Beanstalk platforms
In my last post I discussed AWS Elastic Beanstalk’s new public roadmap on GitHub. Today I want to talk about our new generation of Elastic Beanstalk platforms built on top of Amazon Linux 2 (AL2). Late last year we launched a public beta of a new Elastic Beanstalk platform for Amazon Corretto — Amazon’s no-cost, […]
Building well-architected serverless applications: Understanding application health – part 1
This series of blog posts uses the AWS Well-Architected Tool with the Serverless Lens to help customers build and operate applications using best practices. In each post, I address the nine serverless-specific questions identified by the Serverless Lens along with the recommended best practices. See the Introduction post for a table of contents and explaining […]
Generating REST APIs from data classes in Python
This post is courtesy of Robert Enyedi – Senior Research Engineer – AI Labs Implementing and managing public APIs is greatly simplified by API Gateway. Among the various features of API Gateway, the ability to import API definitions in the Open API format is powerful. In this post, I show how you can automatically generate REST […]
Continued support for Python 2.7 on AWS Lambda
UPDATE – Oct 20, 2020 – We’re extending the support of Python 2.7 in AWS Lambda until at least June 1, 2021. Additionally, Boto3/Botocore SDK for Python 2.7 will also be supported till this date. Although you will continue to get critical security updates on Python 2.7 runtime and the SDK for the extended support […]
Python 3.8 runtime now available in AWS Lambda
You can now develop your AWS Lambda functions using the Python 3.8 runtime. Start using this runtime today by specifying a runtime parameter value of python3.8 when creating or updating Lambda functions. New Python runtime features Python 3.8 is a stable release and brings several new features, including assignment expressions, positional-only arguments, and vectorcall. Assignment […]
Python 3.7 runtime now available in AWS Lambda
This post is courtesy of Shivansh Singh, Partner Solutions Architect – AWS We are excited to announce that you can now develop your AWS Lambda functions using the Python 3.7 runtime. Start using this new version today by specifying a runtime parameter value of “python3.7″ when creating or updating functions. AWS continues to support creating new […]
Using Python in an AWS Lambda Function
Tim Wagner, AWS Lambda REVISED: Python 2.7 is now a first-class language in AWS Lambda…no workarounds required!