Softwr

Developer Tools · head to head

AWS CDK vs Lonboard

AWS CDK logo

AWS CDK

Developer Tools

Open source framework for defining AWS infrastructure in programming languages

From
Free
Free plan
Yes
Lonboard logo

Lonboard

Maps

Python map rendering in Jupyter that skips GeoJSON and moves millions of features without choking

From
Free
Free plan
Yes

The short version

  • AWS CDK is an Apache 2.
  • Both are free.
  • Only AWS CDK lists construct Library of reusable components; only Lonboard lists GeoArrow binary transfer.
  • Where AWS CDK falls short: targets AWS only, so it does not provision resources on other clouds.

How do AWS CDK and Lonboard differ?

AWS CDK and Lonboard differ on pricing model, platforms and category (Developer Tools against Maps). Only the attributes on which AWS CDK and Lonboard actually diverge.

Attributes where AWS CDK and Lonboard differ
AttributeAWS CDKLonboard
Pricing modelOpen-sourceOpen source, no licence fee
PlatformsWindows, macOS, LinuxLinux, macOS, Windows
CategoryDeveloper ToolsMaps

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

Which features does each one have?

They share no listed features; 8 appear only for AWS CDK and 7 only for Lonboard. 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 Lonboard

  • GeoArrow binary transfer
  • GeoPandas input
  • deck.gl layers
  • Jupyter widget
  • Large dataset handling
  • Styling by attribute
  • Open source licence

What is each one used for?

AWS CDK is most often brought in for defining AWS infrastructure in TypeScript or Python. The jobs each tool is most often brought in to do.

AWS CDK

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

Lonboard

  • An analyst exploring a national road or parcel dataset in a notebook where pydeck or ipyleaflet becomes unusable at that sizenot AWS CDK
  • A researcher publishing a reproducible analysis where the visualisation must run from the same script as the processingnot AWS CDK
  • A data scientist joining spatial data to model outputs in pandas and needing to see the result immediately without exporting to a GISnot AWS CDK
  • A team building an internal analysis pipeline on GeoParquet that wants rendering without a serialisation step in the middlenot AWS CDK

Where do AWS CDK and Lonboard fall short?

AWS CDK's most cited limit: targets AWS only, so it does not provision resources on other clouds. 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

Lonboard

  • It is a notebook visualisation library, not a mapping application, so there is no editing, no layout, no map export for print and no sharing beyond distributing the notebook or an HTML file
  • Maintenance sits with Development Seed as an open source side output of a consultancy, so roadmap priorities follow client projects and there is no support contract to buy
  • Layer coverage is a subset of deck.gl, so an analyst needing a less common layer type has to drop to pydeck or write JavaScript rather than staying in Python
  • It expects data already in GeoPandas or Arrow form, which means the performance benefit depends on the rest of your pipeline being Arrow-friendly; reading a large Shapefile is still the slow step
  • Rendering happens in the browser, so very large datasets are ultimately limited by the client machine's memory and GPU rather than by the server, and a laptop will still fail on data a workstation handles

How much do AWS CDK and Lonboard cost?

AWS CDK is free to use; Lonboard is free to use. Plan by plan below, from each vendor's own pricing page.

AWS CDK

Free

No published plan breakdown. See the AWS CDK review.

Lonboard

Free
  • LonboardFree
    • Open source, no licence fee
    • No usage limits
    • Installed from PyPI or conda

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 Lonboard if

  • You need geoarrow binary transfer.
  • You want to start without paying.
  • You work on Linux, macOS, Windows.
  • You also want geopandas input.

Questions people ask

Is AWS CDK or Lonboard better?
It depends on the job. AWS CDK fits defining AWS infrastructure in TypeScript or Python; Lonboard fits an analyst exploring a national road or parcel dataset in a notebook where pydeck or ipyleaflet becomes unusable at that size. AWS CDK starts at Free and Lonboard at Free.
Which is cheaper, AWS CDK or Lonboard?
AWS CDK starts at Free and Lonboard at Free.
Does AWS CDK or Lonboard run on more platforms?
AWS CDK runs on Windows, macOS, Linux. Lonboard runs on Linux, macOS, Windows.
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 Lonboard is typically brought in for.
What can AWS CDK do that Lonboard 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. Lonboard covers GeoArrow binary transfer, GeoPandas input, deck.gl layers, Jupyter widget.

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
Lonboard: Why not just use pydeck?

pydeck serialises geometry to GeoJSON to reach the browser. Lonboard uses a binary GeoArrow pipeline, which is the reason it handles far larger datasets in the same notebook.

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
Lonboard: Who maintains it?

Development Seed, a geospatial engineering consultancy, as an open source project. There is no commercial support offering.

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
Lonboard: Does it work outside Jupyter?

It is built as a Jupyter widget. Exporting to standalone HTML is possible, but the intended environment is a notebook.

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
Lonboard: Is it free for commercial use?

Yes, it is open source with no licence fee.

Share

Related pages

Other head to heads