AWS Builder Center

AutoRAG on AWS, services only

AutoRAG on AWS, services only

 AutoRAG pipeline optimization in Red Hat OpenShift AI  is a Red Hat blog post by Matt Sykes, published 22 September 2026. Its argument fits in one line. A RAG system that fails in production is usually fixed by making everything bigger: more chunks, bigger chunks, a bigger model. That makes it slower and more expensive, but rarely better. The fix it proposes is to measure the pipeline and search its configurations automatically. Red Hat's product for that search is AutoRAG, in OpenShift AI 3.5.
This page reads the post against AWS-managed services only: no self-hosted vLLM, no GPUs to size, no MLflow you run yourself. Three things come out of it:
  • The post's architecture already exists on AWS as services. Its three pipelines (indexing, retrieval, maintenance) map onto Bedrock Knowledge Bases, S3 and EventBridge with almost nothing left over.
  • Its three metrics have Bedrock equivalents with exact names, so a team can score a pipeline without writing a judge.
  • The thing AutoRAG actually is — the automated search across configurations — has no AWS service. You build it. Bedrock's own API decides how expensive that is: some settings can be changed per query, and others are fixed when a knowledge base or data source is created.
Earlier pages cover the neighbours:  LLMs on AWS  for model choice,  Bedrock AgentCore on AWS  for agents that call a knowledge base,  Storage for AI on AWS  for where the corpus lives, and  Spring Boot 4 and Elasticsearch on AWS  for running OpenSearch directly.

The post in one table

the post says
holds up?
on AWS, services only
enterprise documents break the demo: multicolumn layouts, multipage tables, scans with no text layer
yes
a knowledge base's parsing strategy:  BEDROCK_DATA_AUTOMATION  or  BEDROCK_FOUNDATION_MODEL  instead of plain text extraction
widening retrieval (bigger chunks, 20 candidates, a frontier model) makes answers worse and costs more
yes, and it cites its sources: Databricks on long-context RAG, Liu et al. 2023 on "lost in the middle", Anthropic on contextual retrieval
the same on Bedrock, but the cost shows up as input tokens billed, not as GPU memory you provision
split RAG into indexing, retrieval and maintenance pipelines
yes
ingestion jobs,  Retrieve  /  RetrieveAndGenerate , and event-driven re-ingestion — see
 below 
measure context correctness, answer faithfulness and answer correctness
yes
Bedrock RAG evaluation jobs:  Builtin.ContextRelevance ,  Builtin.ContextCoverage ,  Builtin.Faithfulness ,  Builtin.Correctness ,  Builtin.Completeness 
high faithfulness with low context correctness is a silent retrieval failure
yes — the most useful sentence in the post
a floor on context coverage before any configuration is allowed onto the leaderboard — see
 the Pareto section 
AutoRAG searches parsing, chunking, embeddings, hybrid ratio, reranking and generation, then plots a Pareto front
it is a product claim; the post shows no numbers
no AWS equivalent. Step Functions plus evaluation jobs, written by you
small chunks plus a cross-encoder reranker "consistently" give better cost profiles
plausible, and widely reported; the post gives no figures of its own
test it: a reranker is a query-time setting on Bedrock, so the comparison is cheap
RAFT (fine-tuning on chunks plus distractors) when context is right but answers are not
yes, as a last step
Bedrock model customization ( FINE_TUNING ,  DISTILLATION ,  REINFORCEMENT_FINE_TUNING )
agent loops reprocess a growing prompt on every turn
yes
prompt caching ( cachePoint  in  Converse ) and compact retrievals

Three pipelines, three sets of services

The post's Figure 2 shows three pipelines that run on different schedules. On AWS, each one is a set of services you configure, not a set of containers you run.
pipeline
the post's stack
AWS services only
indexing (bulk, scheduled)
Docling for layout, Ray Data, embedding model on GPUs, a vector database
S3 as the data source; a knowledge base's  parsingConfiguration  ( BEDROCK_DATA_AUTOMATION  for scans and tables),  chunkingConfiguration  ( FIXED_SIZE ,  SEMANTIC ,  HIERARCHICAL ,  NONE ), an optional  customTransformationConfiguration  (a Lambda at the  POST_CHUNKING  step), and a Bedrock embedding model; storage in OpenSearch Serverless, Aurora PostgreSQL ( RDS ), S3 Vectors, or a managed OpenSearch cluster
retrieval (real-time)
hybrid search, a reranker, RBAC, vLLM and llm-d, guardrails
 Retrieve  or  RetrieveAndGenerate  with  overrideSearchType: HYBRID , a  rerankingConfiguration  of type  BEDROCK_RERANKING_MODEL , a metadata  filter  for access control ( equals ,  in ,  listContains ,  andAll  and others), and a guardrail with contextual grounding checks ( GROUNDING ,  RELEVANCE )
maintenance (event-driven)
updates, deletions, right-to-be-forgotten, re-embedding, drift detection with MLflow
S3 event → EventBridge →  StartIngestionJob  for incremental sync;  IngestKnowledgeBaseDocuments  and  DeleteKnowledgeBaseDocuments  for single documents, which is the right-to-be-forgotten path; a data source's  dataDeletionPolicy  ( DELETE  or  RETAIN ) decides whether vectors go when the source goes; SageMaker managed MLflow ( CreateMlflowTrackingServer ) for experiment tracking
Two details matter more than the diagram suggests.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article