Infra as Code using AWS CDK

Introduction When working at any software, as a developer, you need to know what is going to be delivered to production, for our application code base we use things like git to track changes, keep a history, review and revert if needed. But when we talk about infrastructure resources in our cloud provider, this task is not easy, sometimes because the provider doesn’t have a good API or the tools doesn’t give us what we need, other times is because it is too much complicated, and we are trying to solve something simple as quick as possible, so we do it manually....

April 12, 2021 · 7 min · Jonathan

Getting started with CDK

Installing the cdk CLI tool with npm $ npm install -g aws-cdk Checking if you have installed it correctly: $ cdk --version 1.94.0 (build 2c1c0eb) Remember that the version number could be different. Setup project In any folder execute the command below: $ cdk init app --language=python ... ✅ All done! This command creates the initial structure of our CDK project, it also outputs others commands, including the one to synthesize our application....

April 6, 2021 · 6 min · Jonathan