Softwr

Mobile Development · head to head

Apache Cordova vs AWS CodeBuild

Apache Cordova logo

Apache Cordova

Mobile Development

Open source framework for wrapping HTML, CSS and JavaScript apps as mobile apps

From
Free
Free plan
Yes
AWS CodeBuild logo

AWS CodeBuild

Mobile Development

Pay-per-minute managed build service for compiling, testing and packaging code

From
$0.005/minute
Free plan
No

The short version

  • Apache Cordova is free; AWS CodeBuild starts at $0.005/mo.
  • Only Apache Cordova lists targets iOS, Android and Electron; only AWS CodeBuild lists lambda and EC2 compute.
  • Where Apache Cordova falls short: apps render in a web view, so UI is not native by default.
  • Where AWS CodeBuild falls short: billing is rounded per minute on EC2 compute, so many short jobs cost more than their actual run time suggests.

How do Apache Cordova and AWS CodeBuild differ?

Apache Cordova and AWS CodeBuild differ on starting price (Free against $0.005/minute), pricing model and free tier (Yes against No). Only the attributes on which Apache Cordova and AWS CodeBuild actually diverge.

Attributes where Apache Cordova and AWS CodeBuild differ
AttributeApache CordovaAWS CodeBuild
Starting priceFree$0.005/minute
Pricing modelOpen-sourcePer build minute by instance type
Free tierYesNo
PlatformsiOS, Android, Windows, macOS, LinuxWeb, Linux, Windows

Not yet recorded: category for AWS CodeBuild, founded for AWS CodeBuild.

Which features does each one have?

They share no listed features; 6 appear only for Apache Cordova and 6 only for AWS CodeBuild. 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 Apache Cordova

  • Single JavaScript API for device functions
  • Plugin system managed from the command line
  • Targets iOS, Android and Electron
  • HTML, CSS and JavaScript app code
  • Apache 2.0 open source licence
  • Platform feature support documentation

Only in AWS CodeBuild

  • Managed build environments
  • Lambda and EC2 compute
  • Reserved capacity
  • Buildspec files
  • Caching
  • GitHub Actions runners

What is each one used for?

Apache Cordova is most often brought in for wrapping an existing web app as a mobile app; AWS CodeBuild for building and pushing container images to Amazon ECR from a CodePipeline stage. The jobs each tool is most often brought in to do.

Apache Cordova

  • Wrapping an existing web app as a mobile appnot AWS CodeBuild
  • Single codebase for iOS and Androidnot AWS CodeBuild
  • Prototyping mobile apps with web skillsnot AWS CodeBuild
  • Accessing device features from JavaScript through pluginsnot AWS CodeBuild

AWS CodeBuild

  • Building and pushing container images to Amazon ECR from a CodePipeline stagenot Apache Cordova
  • Running unit tests in parallel across many ephemeral containersnot Apache Cordova
  • Self-hosted GitHub Actions runners that need IAM access to AWS resourcesnot Apache Cordova
  • Compiling for Arm using cheaper Graviton-based build instancesnot Apache Cordova

Where do Apache Cordova and AWS CodeBuild fall short?

Apache Cordova's most cited limit: apps render in a web view, so UI is not native by default. AWS CodeBuild's: billing is rounded per minute on EC2 compute, so many short jobs cost more than their actual run time suggests. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Apache Cordova

  • Apps render in a web view, so UI is not native by default
  • No built-in UI component library or hosted build service
  • Adobe's PhoneGap Build cloud service was discontinued in 2020
  • Many platforms listed in older versions, such as BlackBerry and Tizen, are no longer supported

AWS CodeBuild

  • Each build starts from a clean environment, so dependency installs and image pulls repeat unless caching is configured, which inflates build minutes
  • Billing is rounded per minute on EC2 compute, so many short jobs cost more than their actual run time suggests
  • There is no built-in repository, pipeline UI or code review, so you need CodePipeline or a third-party system to trigger and track releases
  • Windows and larger instance types cost several times the Linux small rate, and the pricing table has dozens of instance rows to compare
  • Debugging a failed build is slower than on a local runner because you rely on logs or session manager rather than a persistent machine

How much do Apache Cordova and AWS CodeBuild cost?

Apache Cordova is free to use; AWS CodeBuild starts at $0.005/mo. Plan by plan below, from each vendor's own pricing page.

Apache Cordova

Free

No published plan breakdown. See the Apache Cordova review.

AWS CodeBuild

$0.005/minute
  • Linux general1.small$0.005/minute
    • 3 GB memory, 2 vCPUs
    • 100 free build minutes per month on general1.small or arm1.small
  • Linux general1.large$0.02/minute
    • 15 GB memory, 8 vCPUs
    • general1.2xlarge is $0.20 per minute
  • Lambda compute$0.00001/second
    • Billed per second from $0.00001 (1 GB Arm) to $0.0002 (10 GB x86-64)
    • Suited to short builds

Which should you pick?

Choose Apache Cordova if

  • You need single javascript api for device functions.
  • You want to start without paying.
  • You work on iOS, Android, Windows, macOS, Linux.
  • You also want plugin system managed from the command line.

Choose AWS CodeBuild if

  • You need managed build environments.
  • You work on Web, Linux, Windows.
  • You also want lambda and ec2 compute.

Questions people ask

Is Apache Cordova or AWS CodeBuild better?
It depends on the job. Apache Cordova fits wrapping an existing web app as a mobile app; AWS CodeBuild fits building and pushing container images to Amazon ECR from a CodePipeline stage. Apache Cordova starts at Free and AWS CodeBuild at $0.005/minute.
Which is cheaper, Apache Cordova or AWS CodeBuild?
Apache Cordova has a free tier; the other does not. Paid plans start at Free for Apache Cordova and $0.005/minute for AWS CodeBuild.
Does Apache Cordova or AWS CodeBuild run on more platforms?
Apache Cordova runs on iOS, Android, Windows, macOS, Linux. AWS CodeBuild runs on Web, Linux, Windows.
Can I use Apache Cordova for free?
Yes. Apache Cordova has a free tier, so you can try it without paying. AWS CodeBuild starts at $0.005/minute.
What is Apache Cordova best used for?
Apache Cordova is most often used for wrapping an existing web app as a mobile app, single codebase for ios and android, prototyping mobile apps with web skills, accessing device features from javascript through plugins. Of those, wrapping an existing web app as a mobile app and single codebase for ios and android are not what AWS CodeBuild is typically brought in for.
What can Apache Cordova do that AWS CodeBuild cannot?
Apache Cordova covers Single JavaScript API for device functions, Plugin system managed from the command line, Targets iOS, Android and Electron, HTML, CSS and JavaScript app code. AWS CodeBuild covers Managed build environments, Lambda and EC2 compute, Reserved capacity, Buildspec files.

Answered from the vendors’ own pages

Apache Cordova: Is Apache Cordova free?

Yes. The project describes itself as free and open source under the Apache License 2.0, maintained by the Apache Software Foundation.

Source
AWS CodeBuild: How much does CodeBuild cost?

Linux general1.small is $0.005 per build minute, general1.medium $0.01 and general1.large $0.02, per the AWS pricing page. 100 build minutes per month on small instances are free.

Apache Cordova: How is Cordova related to PhoneGap?

Nitobi Software developed PhoneGap in 2008 and Adobe acquired Nitobi in October 2011. The code was contributed to Apache and renamed Cordova.

Source
AWS CodeBuild: Does CodeBuild replace Jenkins?

It replaces the build agents, not the orchestration. You still need CodePipeline, webhooks or another trigger for pipeline logic.

Apache Cordova: Which platforms does Cordova support?

As of version 11, iOS, Android, Windows 8.1, Windows Phone 8.1, Windows 10 and Electron are listed on Wikipedia. The project site has a page of per-platform feature support.

Source
AWS CodeBuild: Can CodeBuild run GitHub Actions?

Yes. CodeBuild can act as managed runners for GitHub Actions workflows, billed at CodeBuild compute rates.

Share

Related pages

Other head to heads