Better HN
topnewbestaskshowjobs
Log inSign up

dsteenman

21 karma · joined Apr 25, 2020 (6y ago) · 22 submissions

[ my public key: https://keybase.io/dsteenman; my proof: https://keybase.io/dsteenman/sigs/ijolXQMi12j-oQj8jBrgY3XkBIBM0auMl8n8HHyVy2E ]

We help fast-growing companies solve their most expensive AWS challenges, from out-of-control costs and security compliance to slow development: https://towardsthecloud.com

Submissions

comment 10mo ago · link · parent

been working in this space too and your design constraints are solid. the JSON-only approach is the right call, parsing HCL directly introduces so many edge cases (modules, dynamic blocks, provider aliasing) that you trade away the determinism you're optimizing for. terraform's JSON output is already the normalized representation of what will actually run.

one thing i ended up doing differently: i built this as a github app that pulls live pricing from the AWS API instead of embedding it. means the estimates stay current without releases, but you lose the offline guarantee.

when i initially built it i started out with AWS CDK first since there wasn't really tooling for cost estimation there and i develop infra mainly with cdk, then added terraform support once the architecture was in place, turned out to be relatively straightforward once you have the pricing lookup layer abstracted.

i also came to the same conclusion on usage-driven costs btw—right now i only do baseline infra cost, not traffic or autoscaling. one idea i'm mulling over: let users drop a config file with approximate usage patterns and use that for estimates. not perfect but better than nothing for things like lambda invocations or data transfer. wrote up some of my learnings and the trade-offs here:

https://cloudburn.io/blog/cloudburn-lessons-learned

2.

Autocomplete Your CloudFormation Resources in vs Code(dannys.cloud ↗)

2 points · by dsteenman · 5y ago · discuss

3.

How to Automatically Setup Your MacBook for Development(dannys.cloud ↗)

2 points · by dsteenman · 5y ago · 1 comment

4.

Update your macOS packages with a single command(dannys.cloud ↗)

1 points · by dsteenman · 6y ago · discuss

5.

How to pass the AWS Cloud Practitioner exam – complete guide(dannys.cloud ↗)

1 points · by dsteenman · 6y ago · discuss

6.

Validating CloudFormation Templates in AWS CodePipeline(dannys.cloud ↗)

2 points · by dsteenman · 6y ago · discuss

7.

How to pass the AWS Solutions Architect Associate exam – complete guide(dannys.cloud ↗)

1 points · by dsteenman · 6y ago · discuss

8.

Best vs Code Extensions for Python(dannys.cloud ↗)

1 points · by dsteenman · 6y ago · discuss

comment 6y ago · link · parent

Or if you have to manage 100s of accounts stacksets can be really helpful as well.

comment 6y ago · link · parent

Yes thats the added value of having an abstraction layer like CDK. If you are familiar with coding then CDK is the way to go off course.

comment 6y ago · link · parent

Do you still have problems accessing aws.training? I can reach it fine now.

12.

Ready up for the AWS Advanced Networking exam(dannys.space ↗)

2 points · by dsteenman · 6y ago · 2 comments

comment 6y ago · link · parent

That’s true if you’re familiar with programming and know how CloudFormation works. Adding a framework or abstraction layer requires certainly more skills from your end. This article is more suitable for people who want to deploy small projects quickly and don’t want to invest time to learn a framework.

comment 6y ago · link · parent

Your post definitely contains some good tips! Thanks for sharing!

comment 6y ago · link · parent

That’s an option for sure! For more complicated projects my preference goes to CDK. But for smaller projects CloudFormation is fine enough, especially if you use the extensions I described in the article.

16.

Level up CloudFormation with VS Code(dannys.space ↗)

26 points · by dsteenman · 6y ago · 13 comments