Skip to main content
Musab Habeeb
Indecision is also a decision because you have decided not to decide.
View all authors

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)

The Role of Feature Flags in DevOps and Continuous Deployment

· 7 min read
Musab Habeeb
Indecision is also a decision because you have decided not to decide.

DevOps is a software development methodology that integrates and automates the work of software and operations teams, while continuous deployment involves automating the release of software features. Together, they create a culture of collaboration, communication, and feedback. What if you could enhance DevOps with feature flags? Let's dive in and learn how they work, where they fit in the DevOps lifecycle, the benefits they offer, their role in DevOps and Continuous Deployment, and best practices for integrating them into a DevOps environment.

DevOps