How To Separate Your Serverless Infrastructure
Continuously adding services and resources without thinking about separation can lead to a tangled web of Lambda functions, DynamoDB tables, API Gateways, SQS Queues, and other services. Learn how to separate your serverless infrastructure into more manageable chunks, using CloudFormation Outputs and SSM parameters. See examples for AWS CDK, AWS SAM, Serverless Framework, and Terraform.
Automatically generate grocery list with Trello and AWS Lambda
I use Trello for all kinds of personal stuff, one of which is keeping track of recipes and grocery lists. After planning which meals to cook and buy groceries for, a lot of manual work goes into checking every recipe and adding the ingredients to the grocery shopping list. Manual stuff is tedious, so I automated it with AWS Lambda. Read on to find out how!
Secure AWS deploys from GitHub Actions with OIDC
Long gone are the days when you had to keep long-lived access keys in your CI/CD pipelines to deploy to AWS. Learn how to use GitHub Actions and OIDC to securely deploy to AWS
Observability Best Practices when running FastAPI in a Lambda
Serverless makes it incredibly easy to get an API up and running in record time. But how do you achieve a high level of observability in a distributed architecture? In this post, we will be looking at instrumenting logging, metrics, and tracing capabilities for a FastAPI application using AWS Lambda Powertools for Python.
AWS Recipe: Build an Asynchronous Serverless Task API
In this article, you will learn how to build an asynchronous serverless task API from scratch on AWS using Lambda, DynamoDB, API Gateway, SQS, and SNS. The Lambda functions will be implemented in Python, and the REST API will use the FastAPI framework. The entire application will be deployed using AWS SAM.
I'm now an AWS Community Builder
I'm happy to announce that I just received an invite to join the AWS Community Builder community. I'm really looking forward to meet the community and deepening (and share) my knowledge around AWS and especially the Serverless parts, which is the group I will be part of.
Deploy FastAPI on AWS Part 2: Fargate & ALB
In the previous part you learned how to deploy FastAPI on Lambda. This time we will use containers, but still in a serverless fashion. Read on to learn how to deploy a FastAPI application on AWS Fargate behind an Application Load Balancer using AWS CDK.
Deploy FastAPI on AWS Part 1: Lambda & API Gateway
Ever wondered how easy it is to deploy FastAPI on AWS? In this post I will show you how to create a minimal API application, how to test it locally, and finally how to deploy it on AWS Lambda & AWS API Gateway using AWS SAM.
Setup a CI/CD pipeline for AWS SAM with GitHub Actions
Whenever I start a new AWS SAM project I usually start from a previous project. To help my future self, and hopefully you, I have created a GitHub template repository to easily get started with a new project powered by AWS SAM and GitHub actions.
Auto-approve CodePipeline with Lambda
CodePipeline by AWS is a great tool for setting up Continuous Delivery (or Deployment). It can, as an example, be used to automatically deploy your CloudFormation stacks to different environments on every push to your VCS. Chaining multiple stacks in a CodePipeline stage is easy and allows you to have one central view where you can see the status of your current release as it progresses through different stages.