AWS Lambda and Python for NLP/ML Tasks & CICD using CodeCommit, CodeBuild and Code deploy

0

Our backend services heavily rely on Java and Kotlin, and we host them in AWS Lambda. However, when it comes to running machine learning projects, particularly those involving LLM/GenAI, we have observed limited support for Java/Kotlin libraries. Considering the extensive community support and comprehensive ML libraries available in Python, we are contemplating hosting some of our NLP/ML related tasks using Python in Lambda.

We lack experience in this area and would greatly appreciate guidance from the AWS community. Specifically, we would like to understand the development process, CI/CD using CodeCommit, CodeBuild, and CodeDeploy for Python in AWS Lambda. Furthermore, we are interested in incorporating containers into our development workflow and CI/CD pipeline, as certain Python libraries may exceed Lambda's library size limitations.

Any workshop links or demo videos or tutorials on this topic with CDK support will be super helpful. Thanks in advance.

1 Answer
1

Hi - Here are some resources for you to start

  1. https://serverlessland.com/learn?services=lambda - Learn from a collection of resources around common topics, including blog posts, videos, workshops and other training. Choose a learning path from the list below to learn more.
  2. Building CI/CD pipelines for Lambda canary deployments using AWS CDK
  3. AWS Lambda workshop
  4. CDK example for Lambda
  5. Building Lambda functions with Python
  6. The Complete AWS SAM Workshop

Lambda layers provide a convenient way to package libraries and other dependencies that you can use with your Lambda functions. Using layers reduces the size of uploaded deployment archives and makes it faster to deploy your code.

profile pictureAWS
EXPERT
answered 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions