Softwr

Software · head to head

Amphetamine vs AWS CodeBuild

Amphetamine logo

Amphetamine

Software

Free Mac menu bar app that keeps your Mac awake on a timer or by trigger rules

From
Free
Free plan
Yes
AWS CodeBuild logo

AWS CodeBuild

Software

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

From
$0.005/minute
Free plan
No

The short version

  • Amphetamine is free; AWS CodeBuild starts at $0.005/mo.
  • Only Amphetamine lists timed sessions; only AWS CodeBuild lists managed build environments.
  • Where Amphetamine falls short: the app trigger can miss background daemons and some processes, so rules based on a headless process may not fire as expected.
  • 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 Amphetamine and AWS CodeBuild differ?

Amphetamine 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 Amphetamine and AWS CodeBuild actually diverge.

Attributes where Amphetamine and AWS CodeBuild differ
AttributeAmphetamineAWS CodeBuild
Starting priceFree$0.005/minute
Pricing modelFreePer build minute by instance type
Free tierYesNo
PlatformsmacOSWeb, Linux, Windows

Which features does each one have?

They share no listed features; 7 appear only for Amphetamine 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 Amphetamine

  • Timed sessions
  • Triggers
  • Display and lock options
  • Closed-display mode
  • Drive Alive
  • AppleScript support
  • Custom icons and sounds

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?

Amphetamine is most often brought in for A long download, render or backup that must finish with nobody at the Mac; 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.

Amphetamine

  • A long download, render or backup that must finish with nobody at the Macnot AWS CodeBuild
  • A laptop used with the lid closed and an external displaynot AWS CodeBuild
  • Keeping a remote database or VPN session alive during working hoursnot AWS CodeBuild
  • Preventing sleep only while a specific app, Wi-Fi network or USB device is presentnot AWS CodeBuild

AWS CodeBuild

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

Where do Amphetamine and AWS CodeBuild fall short?

AWS CodeBuild's most cited limit: 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.

Amphetamine

  • Closed-display mode on Apple Silicon laptops needs a helper script, and avoiding the authentication prompt needs a separate Power Protect download, which is extra setup
  • It is a one-developer project, so the roadmap and support depend on one person and the listing says support cannot be given through the App Store
  • The app trigger can miss background daemons and some processes, so rules based on a headless process may not fire as expected
  • The file-download option asks you to pick a file, which is awkward for browsers that create a placeholder and a partial file
  • Keeping a Mac awake overrides its power settings, so a forgotten session can drain a battery or keep a display on longer than intended

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 Amphetamine and AWS CodeBuild cost?

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

Amphetamine

Free
  • AmphetamineFree
    • Listed as free on the Mac App Store
    • No tiers or in-app plans shown on the listing

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

  • You need timed sessions.
  • You want to start without paying.
  • You work on macOS.
  • You also want triggers.

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 Amphetamine or AWS CodeBuild better?
It depends on the job. Amphetamine fits a long download, render or backup that must finish with nobody at the Mac; AWS CodeBuild fits building and pushing container images to Amazon ECR from a CodePipeline stage. Amphetamine starts at Free and AWS CodeBuild at $0.005/minute.
Which is cheaper, Amphetamine or AWS CodeBuild?
Amphetamine has a free tier; the other does not. Paid plans start at Free for Amphetamine and $0.005/minute for AWS CodeBuild.
Does Amphetamine or AWS CodeBuild run on more platforms?
Amphetamine runs on macOS. AWS CodeBuild runs on Web, Linux, Windows.
Can I use Amphetamine for free?
Yes. Amphetamine has a free tier, so you can try it without paying. AWS CodeBuild starts at $0.005/minute.
What is Amphetamine best used for?
Amphetamine is most often used for a long download, render or backup that must finish with nobody at the mac, a laptop used with the lid closed and an external display, keeping a remote database or vpn session alive during working hours, preventing sleep only while a specific app, wi-fi network or usb device is present. Of those, a long download, render or backup that must finish with nobody at the mac and a laptop used with the lid closed and an external display are not what AWS CodeBuild is typically brought in for.
What can Amphetamine do that AWS CodeBuild cannot?
Amphetamine covers Timed sessions, Triggers, Display and lock options, Closed-display mode. AWS CodeBuild covers Managed build environments, Lambda and EC2 compute, Reserved capacity, Buildspec files.

Answered from the vendors’ own pages

Amphetamine: Is Amphetamine free?

Yes. The Mac App Store lists it as free.

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.

Amphetamine: Does it work with the lid closed?

Yes, through Closed-Display Mode. On Apple Silicon laptops this uses a script, and Power Protect is an optional separate install that avoids the authentication prompt.

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.

Amphetamine: Which macOS does it need?

The listing says macOS 10.11 El Capitan or higher, with some features needing newer versions.

AWS CodeBuild: Can CodeBuild run GitHub Actions?

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

Amphetamine: Can it start automatically?

Yes. Triggers can start a session based on apps, displays, devices, network, battery or power state.

Share

Related pages

Other head to heads