Skip to main content

2 posts tagged with "AWS"

View All Tags

Feature Flags in AWS Lambda with .NET: A Serverless Implementation Guide

· 17 min read
Musab Habeeb
Indecision is also a decision because you have decided not to decide.
Chavez Harris
Build. Break. Learn. Repeat.

Running feature flags in AWS Lambda requires a slightly different approach from using them in a traditional long-running application. Lambda execution environments can be created and discarded as demand changes, so caching and feature configuration need to account for cold starts and short-lived instances.

In this tutorial, we'll build a .NET AWS Lambda function that uses ConfigCat to control application behavior at runtime. We'll also add Redis as a shared cache, configure the ConfigCat SDK for Lazy Loading, and change the Lambda's behavior without redeploying it.

This pattern is particularly useful in microservices and other distributed systems, where deployment and release often need to happen independently. A service can be deployed with new code already in place while a feature flag keeps the new behavior disabled until you're ready to release it.

Feature Flags in Microservices and Serverless Architecture (with AWS Lambda and .NET)

How to Use Feature Flags with AWS Lambda

· 8 min read
Chavez Harris
Build. Break. Learn. Repeat.

One of the most important technological breakthroughs of the century has been the internet — a digital network that makes the rest of the world feel like our next-door neighbor. Within the realm of the Internet, a recent technology known as cloud computing has paved the way for software developers to rent and manage remote servers in the cloud for hosting their applications. A smaller component of this technology is called Function as a Service, abbreviated as FaaS. FaaS removes the complexity of managing a full-blown backend server, enabling developers to focus solely on writing and executing the necessary functions required to run their applications.

When FaaS and feature flags are combined, you can toggle individual functions or code blocks in those functions on or off without touching its code. Let's take a closer look.

using feature flags in a aws lambda cover