AWS Console / CDK / Terraform etc in your organization?

How do you all use AWS at your org?
Is it through AWS console, AWS CDK, Terraform, or CLI?

I understand AWS Sdk would remain the same throughout, either using Boto3 Or Sdk V3 for Typescript or in Java.

Reason for asking is, we use AWS CDK for nearly everything, so I’ve learnt through a mixture of CDK + Console. Since most of the resources are in AWS Console, I naturally understand that first and then check out the CDK implementation through docs, other repos, chat gpt, blogs, etc.

Terraform, but i see many places moving to cdk.

Basically all Terraform.

Never console. Always code, currently cdk and concidering moving to terraform.

CDK all the way. We are using Python but considering TypeScript.

CDK it is.

My org didn’t have a cloud person before me so all of their infra is created on ClickOps basis.
My job was to bring in IaC (personal advice when I was hired, not their idea).
I’ve done Terraform, CloudFormation and sprinkles of CDK before.
Their app code is mostly in TypeScript, which made the CDK choice even easier. I’m an advocate for writing the infra in the language the devs are familiar with, mainly why not even entertaining Terraform anymore.

I still mostly “research” in console (see what properties are available for a resource I’m deploying), but all (or 95% is in AWS).
It’s nice to hop on a place that already has IaC culture

Ohhh, I’m sure moving to IAC will provide long term benefits to your org!
I agree with your reasoning of using a language which devs are familiar with. It greatly reduces the learning curve. As you said, we’re moving from developers to devops gradually which I think is pretty cool. :slight_smile:

One of the reasons why I greatly enjoy AWS development is I get to use TypeScript for both CDK and lambda/containerized apps, as opposed to Java for our onprem applications.

Terraform for everything possible. Console for quick POC/Prototype or exploratory work and then replicate in Terraform. Then any API based automations are handled with Python Lambdas and Step Functions, but still deployed/managed by TF.

I’m a believer that the console UI has a place for this quick prototyping and if you work with Step Functions a lot then using the web builder is 1000x faster than raw dogging the def in TF.

There’s certainly some things out there which do not work so well in Terraform, such as large cross-account deployments (50+ accounts) which something like StackSets can help with but we reserve this exclusively for basic things like service roles.

Terraform

100% TF for all 15 accounts.

What’s pushing you away from CDK?

100% CDK with minimal scripting where necessary. Control Tower with multiple account configuration such that developers have their own developer account where they can do ClickOps to learn new services. Working on ways to limit risks of bad things happening in personal dev accounts like expensive resources

Terraform for AWS is buggy.

Purely standardization. We are also running infra on Azure and Snowflake so it would be mice to not swap technologies as well as IaC tool. I love CDK but for the sake of standardization, we would move.

I see this sentiment a lot, but I abandoned an attempt at moving to CDK. I found the highly opinionated approach to be not for me.

Any specific examples? I’ve not had many issues, and those I’ve encountered are well documented

Console for POCs/Sandbox.
Terraform for speciric uniques devs deoloyments in their accounts.
Stacksets for deploying common infra in all 2000 accounts under the CT and Organization.

Do you do absolutely everything via CDK and nothing ever on the console ? I’ve been trying to consider this with my small team. We try to do as much as possible as CDK, but things like IAM, budgets and cost reports and a number of other things we just ClickOps

+1 for CDK