Sunday, October 04, 2026

IaC tool: Alchemy, with Effect (TS)

 Using Effect? Use Alchemy, too! - YouTube by Academind

No matter which kind of (web) application you're building - stop managing infrastructure manually. Embrace Alchemy instead!

This video by Academind demonstrates how using the Alchemy library alongside Effect simplifies infrastructure management directly inside TypeScript web application codebases.

  • Infrastructure as Code (IaC): Developers can replace manual cloud dashboard configuration by defining cloud resources (such as workers or storage buckets) straight in TypeScript.

  • Effect Integration & Type Safety: Built on top of the Effect library, Alchemy provides end-to-end type safety and structured execution rules, making it easier and safer for AI coding agents to generate correct application infrastructure.

  • Unified Application & Infrastructure: Business logic and cloud setup reside in the same stack. Resources like Cloudflare Workers and R2 storage buckets are declared together and linked automatically during deployment.

  • Multi-Provider Support: Alchemy works across multiple hosting providers, including Cloudflare, AWS, and Hetzner, with ongoing support added for additional services.

  • State-Based Deployments: Stacks are updated efficiently by comparing current resource configurations with existing infrastructure states to make precise, incremental updates.



Alchemy Website

What is Alchemy? | Alchemy

Alchemy is Infrastructure as Code built in pure Effect, with Infrastructure as Effects on top. Infrastructure as Code declares, diffs, and deploys cloud resources the way Terraform or Pulumi does. Infrastructure as Effects lets the code that runs on those resources live in the same program, as typed Effects and Layers.


Infrastructure is part of your application

Other IaC tools split an app into two programs, but every feature you build crosses that line. In Alchemy, a Layer owns its infrastructure and service implementation so that features can be decomposed.

Effect TS Ecosystem


Effect is a library for building robust, maintainable, type-safe, and production grade applications in TypeScript. It helps you handle the hard problems at scale: typed errors, dependency injection, structured concurrency, scheduling, tracing, and unified schema validation.


No comments: