cloudparts

WingPreview

A programming language for the cloud that puts infrastructure and the code that runs on it in one program: the compiler turns it into Terraform for AWS, Azure or Google Cloud plus JavaScript for the functions, and can also run it all in a local simulator.

Type
Open source
Made by
Winglang community (formerly Wing Cloud)
License
MIT (the Wing Console is source-available)
Status
Preview. Still a pre-1.0 “pre-release”; Wing Cloud, the company behind it, shut down in April 2025, and the project is now community-maintained.
Facts checked
23 October 2026

What it is

A Wing program has two phases. Preflight code, the default, runs once at compile time and declares resources: new cloud.Bucket(), new cloud.Queue(), new cloud.Api(). Inflight code, written in blocks marked inflight, runs later on cloud compute and uses those resources through their inflight methods, such as bucket.put() or counter.inc(). The compiler checks that inflight code only calls methods that exist at runtime, and from what each handler touches it generates least-privilege IAM policies and the environment variables that wire them together.

wing compile takes a platform. sim, the default, runs the whole app in a local cloud simulator, which wing test and the Wing Console (a local UI for logs, resources and tests) use. tf-aws, tf-azure and tf-gcp produce Terraform configuration plus JavaScript bundles; on AWS a bucket becomes S3, a queue SQS, a counter a DynamoDB table and a handler a Lambda function. Custom platforms, written in JavaScript, can change how resources are generated, and Wing code can call JavaScript and npm libraries.

Wing was built by Wing Cloud (first called Monada), founded by Elad Ben-Israel, who had worked on the AWS CDK, and Shai Ber. The company shut down in April 2025, and Wing’s site now calls it a community-maintained open source project. After 18 months without a release, Ben-Israel pushed a burst of fixes in August to October 2026, with versions 0.85.50 and 0.85.51 on npm and the Console no longer requiring a sign-in.

Why teams pick it

  • Infrastructure and handler code live in one typed program, so a handler can’t call a resource that isn’t wired to it
  • The compiler writes IAM policies and resource wiring from what the code uses, instead of you writing them
  • A local simulator runs the whole app, including queues and buckets, for fast tests without deploying
  • Output is plain Terraform, so deployment, state and plans work like any other Terraform project

Watch out for

  • No company behind it since April 2025: development depends on a handful of volunteers, and releases paused for 18 months
  • Still pre-1.0, with known rough edges, and its own language to learn instead of TypeScript or Python
  • Built-in platforms target AWS, Azure and Google Cloud through Terraform; the high-level cloud resources cover common services, not every cloud feature
  • A small ecosystem and community compared with Terraform, Pulumi or the AWS CDK

Alternatives

What all infrastructure as code have in common →Compare side by side →

How it fits with other technologies

main.w: a queue whose consumer writes each message to a bucket · text

bring cloud;

// preflight: runs at compile time and declares resources
let queue = new cloud.Queue(timeout: 2m);
let bucket = new cloud.Bucket();
let counter = new cloud.Counter(initial: 100);

// inflight: runs on cloud compute for each message
queue.setConsumer(inflight (body: str) => {
  let next = counter.inc();
  bucket.put("myfile-{next}.txt", body);
});

// $ wing compile                      local simulator (default)
// $ wing compile --platform tf-aws    Terraform + Lambda bundles for AWS

See it in a real stack

No architecture uses Wing yet. Drop it into the playground and wire it up yourself.Open playground →
Where it came from2022–2026

Elad Ben-Israel had worked on the AWS CDK at Amazon. In 2022 he and Shai Ber started Monada, later renamed Wing Cloud, to build a language where the cloud is the computer: the GitHub repository was created in June 2022, and the first winglang package went to npm in January 2023. The team argued that a library couldn’t express objects whose methods may only be called at runtime, so they built a language with preflight and inflight phases.

In July 2023 Wing Cloud came out of stealth with a $20 million seed round led by Battery Ventures, Grove Ventures and StageOne Ventures, with angels including HashiCorp co-founder Armon Dadgar. It planned to keep the language free and charge for production features of the Wing Console. The project drew more than 100 contributors.

In April 2025 Ben-Israel announced that the company was shutting down, saying developer experience is often not seen as business-critical, which made it hard to build a business on. The last release from the company was 0.85.49 in February 2025. Wing stayed online as an MIT-licensed community project, and in late summer 2026 Ben-Israel returned with dozens of fixes and two new releases.

Why it’s built this way

A new language, not a library
The team argued existing languages can’t mark a method as callable only at runtime or stop handlers from capturing mutable compile-time objects, so preflight and inflight are built into the type system.
Compile to existing provisioning engines
Instead of a deployment engine of its own, Wing emits Terraform (and, through custom platforms, other formats), leaving state and apply to tools teams already run.
A local simulator as the default target
Deploying to test every change is slow, so sim runs queues, buckets and functions locally, letting tests cover the whole architecture.
Cloud-portable resources in the standard library
cloud.Bucket or cloud.Queue describe intent, and each platform maps them to a provider’s service, such as S3 and SQS on AWS.

Timeline

  1. 2022

    Repository created in June by the team at Monada

  2. 2023

    First npm release in January; Wing Cloud raises a $20M seed round in July

  3. 2025

    Last company release, 0.85.49, in February; Wing Cloud shuts down in April

  4. 2026

    Releases resume with 0.85.50 and 0.85.51 in August, as a community project

Sources8 · facts checked 23 October 2026

Improve this page on GitHub