Categories
AWS CDK

Functional Programming with AWS CDK

As a functional programmer by training and passion, I could not resist and test how AWS CDK cooperates with functional languages. In this blog post, we will examine that from the perspective of the F#.

Categories
AWS CDK

Hey Azure and Google Cloud – we need the AWS CDK from you too!

AWS CDK is a first step towards treating IaC as a first-class code citizen in our projects. It can enable many new use cases. However, in a multi-cloud environment, we are still facing the domination of Terraform. But, what if other cloud providers would adopt this approach?

Categories
AWS CDK

Introducing AWS Solutions Constructs

AWS announced that they’re presenting a library of predefined CDK constructs available to use. IMHO it is an awaited element, that should be available from a day zero. Let’s investigate what it brings to the table!

Categories
AWS CDK Business Infrastructure as Code

AWS CDK? Why not Terraform?

In many cases, the community treats Terraform as a sane default when it comes to the infrastructure as code. I can’t entirely agree with that statement, mainly if this is wrongly motivated. Today, I would like to present the unique selling points that show when using AWS CDK is a better-suited tool for the job.

Categories
AWS CDK

Using aspects in AWS CDK

AWS CDK introduces not only tooling, wrappers, constructs, and patterns, but also additional elements that allow us to leverage the expressive power of programming languages. Today I’d like to show you such items: aspects that would enable us to do cool stuff, that is very hard to achieve otherwise.

Categories
AWS CDK

Troubleshooting AWS CDK: part 2 – Explicit Dependencies

In the previous article, we have overcome two relatively straightforward and expected issues (especially if you have some experience with CloudFormation). Now we have a much bigger problem that we need to face.

Categories
AWS CDK

Troubleshooting AWS CDK: part 1 – Nested Stacks

Now it’s time to polish our project and face reality, what to do when we observe some problems. Today, we will talk about the prevalent AWS CloudFormation issue surfacing through AWS CDK.

Categories
AWS CDK

Sharing resources in AWS CDK

Cloud resources do not exist in isolation, as when it comes to Infrastructure as Code, we deal with infrastructure graph. It means that we need to create relationships between them, and AWS CDK has to support that – so let’s learn how to do it!

Categories
AWS CDK

How to parametrize our AWS CDK stacks?

Because we use AWS CDK in some areas, we need to adjust our previous approach based, which is based on the experience. Parametrizing stacks is such a place, and today, we will address that difference.

Categories
AWS CDK

Our first Construct in AWS CDK

Okay, so after understanding the bootstrap, testing, and why have chosen TypeScript – it’s time to define our first Construct and understand how to use this foundational element in AWS CDK.