Softwr

Developer Tools · head to head

AWS CDK vs Lunar

AWS CDK logo

AWS CDK

Developer Tools

Open source framework for defining AWS infrastructure in programming languages

From
Free
Free plan
Yes
Lunar logo

Lunar

Developer Tools

Mac app that controls real monitor brightness over DDC, with a $23 lifetime Pro licence

From
Free
Free plan
Yes

The short version

  • AWS CDK is an Apache 2.
  • AWS CDK is free; Lunar starts at $23 one-off.
  • Only AWS CDK lists construct Library of reusable components; only Lunar lists DDC control.
  • Where AWS CDK falls short: targets AWS only, so it does not provision resources on other clouds.
  • Where Lunar falls short: some monitors refuse DDC, so Lunar falls back to gamma dimming that does not change hardware brightness.

How do AWS CDK and Lunar differ?

AWS CDK and Lunar differ on pricing model and platforms. Only the attributes on which AWS CDK and Lunar actually diverge.

Attributes where AWS CDK and Lunar differ
AttributeAWS CDKLunar
Pricing modelOpen-sourceFree with a paid Pro licence
PlatformsWindows, macOS, LinuxmacOS

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: category for Lunar.

Which features does each one have?

They share no listed features; 8 appear only for AWS CDK and 6 only for Lunar. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in AWS CDK

  • Construct Library of reusable components
  • CDK CLI for synthesis and deployment
  • Programmatic CDK Toolkit Library
  • Support for TypeScript, JavaScript, Python, Java, C# and Go
  • Deployment through AWS CloudFormation
  • Custom and shareable constructs
  • Construct Hub registry
  • Open source under Apache 2.0

Only in Lunar

  • DDC control
  • Sync Mode
  • Clock and Location Mode
  • XDR Brightness (Pro)
  • Sub-zero Dimming (free)
  • BlackOut and FaceLight

What is each one used for?

AWS CDK is most often brought in for defining AWS infrastructure in TypeScript or Python; Lunar for dimming an external monitor with the Mac keyboard keys. The jobs each tool is most often brought in to do.

AWS CDK

  • Defining AWS infrastructure in TypeScript or Pythonnot Lunar
  • Reusable internal infrastructure modulesnot Lunar
  • Serverless application stacksnot Lunar
  • Testing infrastructure with unit testsnot Lunar
  • Standardising environments across accountsnot Lunar

Lunar

  • Dimming an external monitor with the Mac keyboard keysnot AWS CDK
  • Adapting monitors to the MacBook ambient light sensornot AWS CDK
  • Scheduling brightness around sunrise and sunsetnot AWS CDK
  • Unlocking more brightness on a MacBook Pro XDR displaynot AWS CDK

Where do AWS CDK and Lunar fall short?

AWS CDK's most cited limit: targets AWS only, so it does not provision resources on other clouds. Lunar's: some monitors refuse DDC, so Lunar falls back to gamma dimming that does not change hardware brightness. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

AWS CDK

  • Targets AWS only, so it does not provision resources on other clouds
  • Deploys through CloudFormation, so its resource coverage and limits apply
  • Infrastructure written in code can be harder to review than declarative templates
  • The AWS resources it creates are billed separately at standard AWS rates

Lunar

  • Some monitors refuse DDC, so Lunar falls back to gamma dimming that does not change hardware brightness
  • A Raspberry Pi and cables are needed for DisplayLink or stubborn monitors, adding cost and set-up work
  • XDR Brightness is Pro only, so the headline feature needs the $23 licence
  • The vendor page does not say how many Macs one licence covers
  • It uses hidden macOS Display Services for Apple displays, so macOS updates can break it

How much do AWS CDK and Lunar cost?

AWS CDK is free to use; Lunar has a free plan, with paid plans from $23 one-off. Plan by plan below, from each vendor's own pricing page.

AWS CDK

Free

No published plan breakdown. See the AWS CDK review.

Lunar

Free
  • Lunar FreeFree
    • DDC brightness control
    • Sub-zero Dimming
    • Network Control
  • Lunar Pro$23 one-off
    • XDR Brightness
    • 14-day trial before buying

Which should you pick?

Choose AWS CDK if

  • You need construct library of reusable components.
  • You want to start without paying.
  • You work on Windows, macOS, Linux.
  • You also want cdk cli for synthesis and deployment.

Choose Lunar if

  • You need ddc control.
  • You want to start without paying.
  • You work on macOS.
  • You also want sync mode.

Questions people ask

Is AWS CDK or Lunar better?
It depends on the job. AWS CDK fits defining AWS infrastructure in TypeScript or Python; Lunar fits dimming an external monitor with the Mac keyboard keys. AWS CDK starts at Free and Lunar at Free.
Which is cheaper, AWS CDK or Lunar?
AWS CDK starts at Free and Lunar at Free.
Does AWS CDK or Lunar run on more platforms?
AWS CDK runs on Windows, macOS, Linux. Lunar runs on macOS.
Can I use AWS CDK for free?
Both have a free tier, so you can try either at no cost before committing.
What is AWS CDK best used for?
AWS CDK is most often used for defining aws infrastructure in typescript or python, reusable internal infrastructure modules, serverless application stacks, testing infrastructure with unit tests. Of those, defining aws infrastructure in typescript or python and reusable internal infrastructure modules are not what Lunar is typically brought in for.
What can AWS CDK do that Lunar cannot?
AWS CDK covers Construct Library of reusable components, CDK CLI for synthesis and deployment, Programmatic CDK Toolkit Library, Support for TypeScript, JavaScript, Python, Java, C# and Go. Lunar covers DDC control, Sync Mode, Clock and Location Mode, XDR Brightness (Pro).

Answered from the vendors’ own pages

AWS CDK: Which languages does AWS CDK support?

The AWS documentation lists TypeScript, JavaScript, Python, Java, C# and .NET, and Go. Infrastructure is defined as constructs composed into stacks and apps.

Source
Lunar: Is Lunar free?

There is a free tier, and Pro is a $23 lifetime licence with a 14-day trial.

AWS CDK: How does AWS CDK deploy resources?

CDK apps are synthesised and deployed through AWS CloudFormation. The documentation states this gives predictable, repeatable deployments with rollback on error.

Source
Lunar: Does it work on Apple Silicon?

Yes, the vendor says it controls real brightness even on Apple Silicon.

AWS CDK: Is AWS CDK free?

It is open source under the Apache 2.0 licence according to its GitHub repository. The AWS resources you provision with it are charged at their normal rates.

Source
AWS CDK: When was AWS CDK first released?

Wikipedia reports a developer preview announced in 2018 and general availability on 11 July 2019. CDK v2 followed in 2021.

Source
Share

Related pages

Other head to heads