

When you create your AWS CDK and deploy your stack - AWS CDK ultimately converts your code as CloudFormation stacks. But that is outside the scope of this article. There are few other tools available in market outside of AWS - Terraform, Pulumi etc. Note: Please note that we've restricted our discussion to IaC tools available natively within AWS. AWS CDK will fill-in sensible defaults so that you don't need to worry about all nitty gritty details. It is easier to create your infrastructure with lesser lines of code.

The problems that we encountered in CloudFormation is resolved in AWS CDK. You can define your cloud resources using your favourite programming language. As you know, this might be error-prone as one may forget to update the value of a particular parameter.

If you're creating resources manually, below are some of the problems that you might face Infrastructure as Code(IaC) is nothing but having desired state of your infrastructure in the form of code. But, it is highly recommended to use any Infrastructure as Code(IaC) as solution. Yes, you can use AWS console to create AWS resources. Manually creating resources using AWS console: There are few options to provision AWS cloud resources. If you prefer Python, you can refer to CDK with python tutorial here. In this tutorial, we're going to use Typescript. At the time of this writing, AWS CDK supports Typescript, Javascript, Python, C# and Java.

Download the free ebook on AWS Lambda hereĪWS CDK (Cloud Development Kit) is a software development framework that lets you define cloud resource using your favourite programming language.
