Softwr

Software · head to head

Amazon Kendra vs AWS CodeBuild

Amazon Kendra logo

Amazon Kendra

Software

Managed enterprise search with connectors and a GenAI retrieval index for RAG

From
$0.32/hour
Free plan
No
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

  • Amazon Kendra starts at $0.32/mo, AWS CodeBuild at $0.005/mo.
  • Only Amazon Kendra lists GenAI Enterprise index; only AWS CodeBuild lists managed build environments.
  • Where Amazon Kendra falls short: the index bills by the hour whether or not anyone searches, so even the smallest GenAI index is about $230 a month.
  • 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 Amazon Kendra and AWS CodeBuild differ?

Amazon Kendra and AWS CodeBuild differ on starting price ($0.32/hour against $0.005/minute), pricing model and platforms. Only the attributes on which Amazon Kendra and AWS CodeBuild actually diverge.

Attributes where Amazon Kendra and AWS CodeBuild differ
AttributeAmazon KendraAWS CodeBuild
Starting price$0.32/hour$0.005/minute
Pricing modelPer index hour by editionPer build minute by instance type
PlatformsWebWeb, Linux, Windows

Identical on both: free tier (No).

Which features does each one have?

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

  • GenAI Enterprise index
  • Data source connectors
  • Access control
  • Basic Enterprise index
  • Incremental sync
  • Bedrock integration

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?

Amazon Kendra is most often brought in for retrieval for an Amazon Bedrock assistant that answers from company documents; 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.

Amazon Kendra

  • An internal knowledge search across SharePoint, Confluence and file shares with permission trimmingnot AWS CodeBuild
  • Retrieval for an Amazon Bedrock assistant that answers from company documentsnot AWS CodeBuild
  • Customer support portals that search a large document basenot AWS CodeBuild
  • Compliance teams searching policies spread across many repositoriesnot AWS CodeBuild

AWS CodeBuild

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

Where do Amazon Kendra and AWS CodeBuild fall short?

Amazon Kendra's most cited limit: the index bills by the hour whether or not anyone searches, so even the smallest GenAI index is about $230 a month. 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.

Amazon Kendra

  • The index bills by the hour whether or not anyone searches, so even the smallest GenAI index is about $230 a month
  • Cost jumps quickly with scale: the AWS worked example with nine extra storage units reaches $1,981 a month
  • Basic Enterprise Edition starts at $1.40 per hour, over four times the GenAI base index, which makes classic indexes costly for small corpora
  • Connector coverage and sync behaviour vary by source, and large initial syncs bill per document scanned on the older edition
  • It is tied to AWS and its connector model, so teams on other clouds find open search stacks such as OpenSearch more flexible

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

Amazon Kendra starts at $0.32/mo; AWS CodeBuild starts at $0.005/mo. Plan by plan below, from each vendor's own pricing page.

Amazon Kendra

$0.32/hour
  • GenAI Enterprise Edition$0.32/hour
    • Base index $0.32 per hour with 20,000 documents or 200 MB and about 8,000 queries a day
    • Extra storage unit $0.25 per hour, extra query unit $0.07 per hour
    • Connectors $30 per index per month
  • Basic Enterprise Edition$1.4/hour
    • Base index $1.40 per hour with 100,000 documents and about 8,000 queries a day
    • Storage $0.70 per hour, query capacity $0.70 per hour
    • Connectors $0.35 per hour while syncing plus $1 per million documents scanned

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 Amazon Kendra if

  • You need genai enterprise index.
  • You also want data source connectors.

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 Amazon Kendra or AWS CodeBuild better?
It depends on the job. Amazon Kendra fits an internal knowledge search across SharePoint, Confluence and file shares with permission trimming; AWS CodeBuild fits building and pushing container images to Amazon ECR from a CodePipeline stage. Amazon Kendra starts at $0.32/hour and AWS CodeBuild at $0.005/minute.
Which is cheaper, Amazon Kendra or AWS CodeBuild?
Amazon Kendra starts at $0.32/hour and AWS CodeBuild at $0.005/minute.
Does Amazon Kendra or AWS CodeBuild run on more platforms?
Amazon Kendra runs on Web. AWS CodeBuild runs on Web, Linux, Windows.
What is Amazon Kendra best used for?
Amazon Kendra is most often used for an internal knowledge search across sharepoint, confluence and file shares with permission trimming, retrieval for an amazon bedrock assistant that answers from company documents, customer support portals that search a large document base, compliance teams searching policies spread across many repositories. Of those, an internal knowledge search across sharepoint, confluence and file shares with permission trimming and retrieval for an amazon bedrock assistant that answers from company documents are not what AWS CodeBuild is typically brought in for.
What can Amazon Kendra do that AWS CodeBuild cannot?
Amazon Kendra covers GenAI Enterprise index, Data source connectors, Access control, Basic Enterprise index. AWS CodeBuild covers Managed build environments, Lambda and EC2 compute, Reserved capacity, Buildspec files.

Answered from the vendors’ own pages

Amazon Kendra: How much does Amazon Kendra cost?

The GenAI Enterprise Edition base index is $0.32 per hour, roughly $230 a month, per the AWS pricing page. The Basic Enterprise Edition starts at $1.40 per hour.

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.

Amazon Kendra: Is there a free tier?

AWS lists 750 hours free for the first 30 days on the Basic Developer or GenAI Enterprise editions; connector usage does not qualify.

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.

Amazon Kendra: Does Kendra work with Bedrock?

Yes. It can serve as a retriever for Amazon Bedrock Knowledge Bases.

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