• Let's make Cloud ☁️
  • Posts
  • Let's make Cloud #37: Using Feature Flags in IaC, How to write and execute integration tests for AWS CDK applications, Comparing Message Queues and Message Brokers

Let's make Cloud #37: Using Feature Flags in IaC, How to write and execute integration tests for AWS CDK applications, Comparing Message Queues and Message Brokers

Using Feature Flags in IaC, How to write and execute integration tests for AWS CDK applications, Comparing Message Queues and Message Brokers

Hello CloudMakers!

As we approach the summer break, it's a perfect time to pause, rejuvenate, and gear up for what's next. Remember, come September, we'll be back, fully charged and ready to dive into more enlightening cloud adventures. Happy summer! ☀️

And before we head off, today we shall see:

  • Using Feature Flags in IaC

  • How to write and execute integration tests for AWS CDK applications

  • Comparing Message Queues and Message Brokers

Enjoy!

Revolutionizing Infrastructure Management: The Power of Feature Flags in IaC

In this article, the evolution of infrastructure management is examined, highlighting the use of feature flags in Infrastructure as Code (IaC) - a technique gaining traction in recent years. Feature flags offer an effective strategy to control the rollout of new features and modifications, significantly reducing the risk of disrupting critical systems. The piece introduces various tools like LaunchDarkly, Flagr, and Unleash that assist in implementing this method. Furthermore, it provides insights into how renowned companies such as Airbnb, Atlassian, Etsy, and SoundCloud have successfully adopted this strategy, demonstrating its practical application and efficacy in the real world.

How to write and execute integration tests for AWS CDK applications

The article discusses how automated integration testing enhances confidence in software releases and plays a crucial role in validating various AWS components, including IAM policies, service limits, application configurations, and runtime code.

AWS CDK has built-in features for both unit and integration tests. For unit tests, it employs an assertions construct to assess the generated CloudFormation templates. For integration tests, it uses the CDK integ-tests construct which, when combined with the CDK integ-runner, allows effective execution of these tests while managing automatic resource provisioning and removal. The article offers a practical demonstration of writing automated integration tests for a sample application using AWS CDK.

Comparing Message Queues and Message Brokers: Understanding the Differences

In this article, we take a deep dive into the world of distributed computing systems, specifically focusing on the roles and differences of message queues and message brokers. These two terms sometimes cause confusion, being used interchangeably, but they serve distinct roles in enabling communication in a microservice architecture. The piece breaks down their key differences, shedding light on when and why you might choose one technology over the other. We also explore the exciting possibility of combining both message queues and brokers for optimal communication between software applications. By the end, you'll walk away with a clearer understanding of these essential communication facilitators in our interconnected computing world.

Thank you for reading my newsletter!

If you liked it, please invite your friends to subscribe!

If you were forwarded this newsletter and liked it, you can subscribe for free here:

Have you read an article you liked and want to share it? Send it to me and you might see it published in this newsletter!

Interested in old issues? You can find them here!