What does HackerNews think of klotho?

Klotho - write AWS applications at lightning speed

Language: Go

#5 in Azure
#39 in Kubernetes
#14 in Serverless
#5 in Terraform
This insightful article by Adam Ruka covers: - What's IaC. - First gen. tools: Declarative, Host Provisioning (Chef, Puppet, Ansible). - Second gen. tools: Declarative, Cloud (CloudFormation, Terraform, Azure Resource Manager). - Third gen. tools: Imperative, Cloud (AWS CDK, Pulumi, SST). - The future: Infrastructure from Code (Wing, Eventual, Ampt, Klotho).

Why it interests me? I'm one of the creators of Winglang (https://github.com/winglang/wing) that is featured there as one of the future 4th gen. tool, along with Eventual (https://github.com/functionless/eventual), Ampt (https://github.com/getampt) and Klotho (https://github.com/klothoplatform/klotho).

You might enjoy the blog post[0] (150GB of images, tesseract OCR, 2GB of data, Algolia for search). There's a github repo too[1]

[0]: https://www.alashiban.com/search-the-deck/ [1]: https://github.com/klothoplatform/klotho

Hi everyone, Ala here. I'm the co-founder of Klotho (https://klo.dev). We built a tool that allows you to write cloud applications without the complexities that exist with today's approaches.

Infrastructure-as-Code is the current state of the art, but the level of work needed to implement a cloud system with it is extremely high, to the point where teams and companies staff an entire organization to support the rest of the company in building features.

Klotho solves that by inferring the application architecture from the application source, with a bit of help from simple annotations that developers add. Then, it generates the IaC that the architecture implies.

For example, if you have a Node.js app with an fs/promises object, you can turn that into S3 persistence as simple as:

// @klotho::persist { id="imagestore" }

import fs = require("fs/promises")

Today, we support:

- multiple languages (JavaScript/Typescript on Node.js; Python; Go; more coming soon)

- IDE extensions for syntax highlighting

- AWS Lambda, ECS or EKS

- HTTP endpoints

- persisting data to S3, DynamoDB, Redis, and various ORMs

- secrets

- event-driven workflows

- static asset hosting

- and all of these include the various dependencies and "glue" resources, including network resources and IAM roles/policies

We're open source, so check us out on GitHub: https://github.com/klothoplatform/klotho. We're also on Discord (https://discord.gg/4z2jwRvnyM), and here of course.