Softwr

Software · head to head

Amazon Rekognition vs AWS CloudFormation

Amazon Rekognition logo

Amazon Rekognition

Software

Image and video analysis API for labels, faces, text and content moderation

From
$0.001/image
Free plan
No
AWS CloudFormation logo

AWS CloudFormation

Software

Declarative infrastructure as code for AWS, free for AWS resources

From
Free
Free plan
Yes

The short version

  • AWS CloudFormation is free; Amazon Rekognition starts at $0.001/mo.
  • Only Amazon Rekognition lists face analysis and search; only AWS CloudFormation lists stacks and templates.
  • Where Amazon Rekognition falls short: each API call on an image is billed as a separate image, so running labels, text and moderation together triples the per-image cost.
  • Where AWS CloudFormation falls short: it only manages AWS, so multi-cloud estates need Terraform or Pulumi alongside it.

How do Amazon Rekognition and AWS CloudFormation differ?

Amazon Rekognition and AWS CloudFormation differ on starting price ($0.001/image against Free), pricing model and free tier (No against Yes). Only the attributes on which Amazon Rekognition and AWS CloudFormation actually diverge.

Attributes where Amazon Rekognition and AWS CloudFormation differ
AttributeAmazon RekognitionAWS CloudFormation
Starting price$0.001/imageFree
Pricing modelPer image or per video minute, tiered by volumeNo charge for AWS resource types; extensions per handler operation
Free tierNoYes
PlatformsWebWeb, Linux, macOS, Windows

Which features does each one have?

They share no listed features; 6 appear only for Amazon Rekognition and 6 only for AWS CloudFormation. 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 Amazon Rekognition

  • Label detection
  • Face analysis and search
  • Content moderation
  • Text detection
  • Face Liveness
  • Custom Labels

Only in AWS CloudFormation

  • Stacks and templates
  • Change sets
  • Drift detection
  • StackSets
  • Rollback
  • Registry extensions

What is each one used for?

Amazon Rekognition is most often brought in for moderating user-uploaded photos before they appear on a community site; AWS CloudFormation for recreating identical dev, staging and production environments on AWS. The jobs each tool is most often brought in to do.

Amazon Rekognition

  • Moderating user-uploaded photos before they appear on a community sitenot AWS CloudFormation
  • Identity verification flows that compare a selfie to an ID photo with liveness checksnot AWS CloudFormation
  • Auto-tagging a photo library with labels for searchnot AWS CloudFormation
  • Detecting protective equipment or text in site photosnot AWS CloudFormation

AWS CloudFormation

  • Recreating identical dev, staging and production environments on AWSnot Amazon Rekognition
  • Deploying one baseline of security resources across many accounts with StackSetsnot Amazon Rekognition
  • Serverless applications packaged with AWS SAMnot Amazon Rekognition
  • Previewing and auditing infrastructure changes through change setsnot Amazon Rekognition

Where do Amazon Rekognition and AWS CloudFormation fall short?

Amazon Rekognition's most cited limit: pricing is per request, so high-volume video or frame-by-frame analysis becomes expensive fast. AWS CloudFormation's: it only manages AWS, so multi-cloud estates need Terraform or Pulumi alongside it. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Amazon Rekognition

  • Each API call on an image is billed as a separate image, so running labels, text and moderation together triples the per-image cost
  • The general models cannot be tuned for specialised domains without training Custom Labels, which adds training and inference hours
  • Face recognition raises privacy and legal obligations such as consent and biometric regulations, and AWS restricts some uses
  • Pricing is per request, so high-volume video or frame-by-frame analysis becomes expensive fast
  • Accuracy varies by image quality, lighting and demographics, so results used for decisions need human review

AWS CloudFormation

  • It only manages AWS, so multi-cloud estates need Terraform or Pulumi alongside it
  • Raw templates are verbose and hard to reuse, which is why many teams add CDK on top
  • A failed update can leave a stack in a stuck state such as UPDATE_ROLLBACK_FAILED that needs manual intervention
  • New AWS features sometimes arrive in CloudFormation after the console and API, so you wait or script around the gap
  • Deleting a stack deletes its resources, so a mistaken delete of a stack with data needs DeletionPolicy discipline

How much do Amazon Rekognition and AWS CloudFormation cost?

Amazon Rekognition starts at $0.001/mo; AWS CloudFormation is free to use. Plan by plan below, from each vendor's own pricing page.

Amazon Rekognition

$0.001/image
  • Image analysis$0.001/image
    • $0.0010 per image for the first million images per month, $0.0008 for the next tier, lower at volume
    • Several API calls on one image count as several images
    • Free tier of 1,000 images per month for 12 months
  • Image Properties$0.00075/image
    • $0.00075 per image for the first million
    • No free tier
  • Face metadata storage$0.00001/mo
    • $0.00001 per face vector or user vector per month

AWS CloudFormation

Free
  • AWS resource typesFree
    • No additional charge for using CloudFormation with AWS resources
    • You pay for the resources the stack creates
  • Third-party extensionsOn request
    • $0.0009 per handler operation, first 1,000 per month free
    • $0.00008 per second of handler duration beyond 30 seconds

Which should you pick?

Choose Amazon Rekognition if

  • You need label detection.
  • You also want face analysis and search.

Choose AWS CloudFormation if

  • You need stacks and templates.
  • You want to start without paying.
  • You work on Web, Linux, macOS, Windows.
  • You also want change sets.

Questions people ask

Is Amazon Rekognition or AWS CloudFormation better?
It depends on the job. Amazon Rekognition fits moderating user-uploaded photos before they appear on a community site; AWS CloudFormation fits recreating identical dev, staging and production environments on AWS. Amazon Rekognition starts at $0.001/image and AWS CloudFormation at Free.
Which is cheaper, Amazon Rekognition or AWS CloudFormation?
AWS CloudFormation has a free tier; the other does not. Paid plans start at $0.001/image for Amazon Rekognition and Free for AWS CloudFormation.
Does Amazon Rekognition or AWS CloudFormation run on more platforms?
Amazon Rekognition runs on Web. AWS CloudFormation runs on Web, Linux, macOS, Windows.
Can I use AWS CloudFormation for free?
Yes. AWS CloudFormation has a free tier, so you can try it without paying. Amazon Rekognition starts at $0.001/image.
What is Amazon Rekognition best used for?
Amazon Rekognition is most often used for moderating user-uploaded photos before they appear on a community site, identity verification flows that compare a selfie to an id photo with liveness checks, auto-tagging a photo library with labels for search, detecting protective equipment or text in site photos. Of those, moderating user-uploaded photos before they appear on a community site and identity verification flows that compare a selfie to an id photo with liveness checks are not what AWS CloudFormation is typically brought in for.
What can Amazon Rekognition do that AWS CloudFormation cannot?
Amazon Rekognition covers Label detection, Face analysis and search, Content moderation, Text detection. AWS CloudFormation covers Stacks and templates, Change sets, Drift detection, StackSets.

Answered from the vendors’ own pages

Amazon Rekognition: How much does Amazon Rekognition cost?

Image analysis starts at $0.0010 per image for the first million images a month, with lower tiers at volume, per the AWS pricing page.

AWS CloudFormation: Does CloudFormation cost money?

Not for AWS resource types. You pay for the resources it creates; third-party extensions are billed at $0.0009 per handler operation after 1,000 free.

Amazon Rekognition: Is there a free tier?

Yes. 1,000 images per month for each of Group 1 and Group 2 APIs during the 12 month free tier period.

AWS CloudFormation: CloudFormation or Terraform?

CloudFormation is AWS-only with state managed by AWS; Terraform spans many providers and keeps its own state.

Amazon Rekognition: Can it detect faces in video?

Yes. Rekognition Video analyses stored and streaming video and is billed per minute.

AWS CloudFormation: How does CDK relate?

CDK lets you write infrastructure in a programming language and synthesises CloudFormation templates.

Share

Related pages

Other head to heads