eliasbrange.dev

All posts

Displaying posts 1-10 out of 12.
#All #Cloudflare #Edge #Serverless #Automation #AWS #Python #CI/CD

Migrate DynamoDB tables with zero downtime and no data loss

2022-08-23
| #AWS #Serverless

Learn how to migrate DynamoDB tables with zero downtime and no data loss. AWS recently released new functionality to ease migrations with native imports from S3. There are a lot of guides on how to do this with ClickOps. But, I prefer to use an Infrastructure-as-Code tool such as AWS CDK to manage my resources. While digging around, I found yet-to-be-announced functionality in CloudFormation to do this.


Automate Time-Sensitive Releases with Cloudflare Workers

Have you ever had to deploy a page to your site in a time-sensitive manner when a new product has gone live? Learn how you can automate such releases with Cloudflare Workers. Workers let you transform incoming requests before they hit your application.


How To Separate Your Serverless Infrastructure

2022-07-11
| #AWS #Serverless

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

2022-04-13
| #AWS #CI/CD

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

2022-03-04
| #AWS

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.