# set up event-driven architecture AWS

An event-driven architecture on AWS uses events and an event bus to decouple applications and services.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## How Country Road Group built a pattern-driven integration solution on AWS

DevFeed: [How Country Road Group built a pattern-driven integration solution on AWS](<https://devfeed.tech/articles/how-country-road-group-built-a-pattern-driven-integration-solution-on-aws-145275.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/architecture/how-country-road-group-built-a-pattern-driven-integration-solution-on-aws/>)

Author: Aman Sharma

Published: 2026-11-19T23:07:30Z

Content type: article

Language: en

Sources: [AWS Architecture Blog](<https://devfeed.tech/sources/aws-architecture-blog.md>)

Topics: [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [set up event-driven architecture AWS](<https://devfeed.tech/topics/set-up-event-driven-architecture-aws.md>), [Amazon EventBridge](<https://devfeed.tech/topics/amazon-eventbridge.md>), [AWS Lambda](<https://devfeed.tech/topics/aws-lambda.md>), [AWS Step Functions](<https://devfeed.tech/topics/aws-step-functions.md>), [AWS Fargate](<https://devfeed.tech/topics/aws-fargate.md>), [Publish-subscribe pattern](<https://devfeed.tech/topics/pubsub.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Spec Driven Development](<https://devfeed.tech/topics/spec-driven-development.md>), [rate-limiting](<https://devfeed.tech/topics/rate-limiting.md>), [AWS Amplify](<https://devfeed.tech/topics/aws-amplify.md>), [Apache Kafka](<https://devfeed.tech/topics/apache-kafka.md>)

Tags: [approach](<https://devfeed.tech/tags/approach.md>), [aws](<https://devfeed.tech/tags/aws.md>), [cdk](<https://devfeed.tech/tags/cdk.md>), [country](<https://devfeed.tech/tags/country.md>), [customer-solutions](<https://devfeed.tech/tags/customer-solutions.md>), [enterprise](<https://devfeed.tech/tags/enterprise.md>), [enterprise-integration](<https://devfeed.tech/tags/enterprise-integration.md>), [integration](<https://devfeed.tech/tags/integration.md>), [lanes](<https://devfeed.tech/tags/lanes.md>), [library](<https://devfeed.tech/tags/library.md>), [microsoft](<https://devfeed.tech/tags/microsoft.md>), [middleware](<https://devfeed.tech/tags/middleware.md>), [open](<https://devfeed.tech/tags/open.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [pattern](<https://devfeed.tech/tags/pattern.md>), [patterns](<https://devfeed.tech/tags/patterns.md>), [platform](<https://devfeed.tech/tags/platform.md>), [processing](<https://devfeed.tech/tags/processing.md>), [serverless](<https://devfeed.tech/tags/serverless.md>), [solution](<https://devfeed.tech/tags/solution.md>), [source](<https://devfeed.tech/tags/source.md>)

### AI overview

Country Road Group replaced its 21-interface BizTalk setup with a pattern-driven AWS platform organized into batch, API, JDBC, and event lanes. Teams declare standard integration patterns, while Terraform provisions the infrastructure. Lambda handles shorter stateless work; Apache Camel on ECS Fargate supports long-running or stateful flows. SIP pulls from sources on its own schedule; push-only sources enter queues for paced processing. A shared Error Management System stores failed payloads in S3 and metadata in DynamoDB, allowing L1/L2 operators to inspect and resubmit transactions. CRG reports annual integration costs falling from about $300,000 to $60,000, consolidation of four tools, and new interfaces deploying in hours rather than weeks. The accompanying open-source AWS CDK library provides 29 reusable constructs with messaging, IAM, DLQs, and retries; consumers configure CloudWatch alarms. Its agent-assisted path helps select and configure patterns, but leaves deployment to a human. Terraform users can use the library as a reference.

### Source excerpt

Country Road Group replaced Microsoft BizTalk with a pattern-driven, serverless integration platform on AWS. Learn how its Strategic Integration Platform works across four processing lanes, and get the open-source Enterprise Integration Patterns CDK library to apply the same approach to your own middleware.

## Inside an enterprise AI agent: A governed, observable loop architecture

DevFeed: [Inside an enterprise AI agent: A governed, observable loop architecture](<https://devfeed.tech/articles/inside-an-enterprise-ai-agent-a-governed-observable-loop-architecture-132421.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/architecture/inside-an-enterprise-ai-agent-a-governed-observable-loop-architecture/>)

Author: Rushabh Lokhande

Published: 2026-11-12T19:31:28Z

Content type: article

Language: en

Sources: [AWS Architecture Blog](<https://devfeed.tech/sources/aws-architecture-blog.md>)

Topics: [AI Architecture](<https://devfeed.tech/topics/ai-architecture.md>), [Cloud Architecture](<https://devfeed.tech/topics/cloud-architecture.md>), [LLM security](<https://devfeed.tech/topics/llm-security.md>), [human in the loop agent](<https://devfeed.tech/topics/human-in-the-loop-agent.md>), [software-architecture](<https://devfeed.tech/topics/software-architecture.md>), [Agent Harness](<https://devfeed.tech/topics/agent-harness.md>), [Zero Trust](<https://devfeed.tech/topics/zero-trust.md>), [Amazon Bedrock Knowledge Bases](<https://devfeed.tech/topics/amazon-bedrock-knowledge-bases.md>), [set up event-driven architecture AWS](<https://devfeed.tech/topics/set-up-event-driven-architecture-aws.md>), [Multi Agent Systems](<https://devfeed.tech/topics/multi-agent-systems.md>), [supervisor agent pattern](<https://devfeed.tech/topics/supervisor-agent-pattern.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>)

Tags: [advanced-300](<https://devfeed.tech/tags/advanced-300.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agent-runtime](<https://devfeed.tech/tags/agent-runtime.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [amazon-bedrock](<https://devfeed.tech/tags/amazon-bedrock.md>), [api](<https://devfeed.tech/tags/api.md>), [api-gateway](<https://devfeed.tech/tags/api-gateway.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [avoid](<https://devfeed.tech/tags/avoid.md>), [aws](<https://devfeed.tech/tags/aws.md>), [control](<https://devfeed.tech/tags/control.md>), [cross](<https://devfeed.tech/tags/cross.md>), [design](<https://devfeed.tech/tags/design.md>), [design-patterns](<https://devfeed.tech/tags/design-patterns.md>), [enterprise](<https://devfeed.tech/tags/enterprise.md>), [enterprise-ai](<https://devfeed.tech/tags/enterprise-ai.md>), [enterprise-ai-agents](<https://devfeed.tech/tags/enterprise-ai-agents.md>), [inside](<https://devfeed.tech/tags/inside.md>), [observable](<https://devfeed.tech/tags/observable.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>)

### AI overview

The article presents a five-layer AWS reference architecture for enterprise agents: an API gateway enforces identity and policy; a five-phase runtime understands, plans, retrieves, reasons, then acts and observes; knowledge and state provide RAG, memory, and session data; platform services supply models, tools, secrets, and events; and trust controls and governance span the system. Every tool call passes permission, input, policy, rate, and budget checks, while destructive actions can require approval. Step-level traces capture execution paths, tool status, latency, and token use; output gates check safety, groundedness, confidence, and human approval for high-risk actions. Recommended safeguards include least privilege, read-only starts with graduated autonomy, explicit tool schemas, model routing by task, and hard limits on iterations, time, and tokens with escalation paths. AWS service mappings are starting points to tune for workload, residency, latency, and cost; the article notes compliance remains the customer's responsibility under AWS's shared responsibility model.

### Source excerpt

This post lays out a five-layer reference architecture for governed, observable enterprise AI agents on AWS: an API gateway, a five-phase agent runtime, a knowledge and state tier, platform services, and a cross-cutting trust and control framework. Each layer maps to managed AWS services, with the design patterns worth copying and the mistakes to avoid.

## Automating AWS Agent Registry updates with push-based architecture

DevFeed: [Automating AWS Agent Registry updates with push-based architecture](<https://devfeed.tech/articles/automating-aws-agent-registry-updates-with-push-based-architecture-129621.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/machine-learning/automating-aws-agent-registry-updates-with-push-based-architecture/>)

Author: Prachi Kulkarni

Published: 2026-11-11T20:52:48Z

Content type: article

Language: en

Sources: [Artificial Intelligence](<https://devfeed.tech/sources/artificial-intelligence.md>)

Topics: [set up event-driven architecture AWS](<https://devfeed.tech/topics/set-up-event-driven-architecture-aws.md>), [Amazon EventBridge](<https://devfeed.tech/topics/amazon-eventbridge.md>), [event driven](<https://devfeed.tech/topics/event-driven.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [Amazon Cognito](<https://devfeed.tech/topics/amazon-cognito.md>)

Tags: [advanced-300](<https://devfeed.tech/tags/advanced-300.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agentcore](<https://devfeed.tech/tags/agentcore.md>), [amazon-bedrock-agentcore](<https://devfeed.tech/tags/amazon-bedrock-agentcore.md>), [amazon-eventbridge](<https://devfeed.tech/tags/amazon-eventbridge.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [automatically](<https://devfeed.tech/tags/automatically.md>), [aws](<https://devfeed.tech/tags/aws.md>), [aws-cloudtrail](<https://devfeed.tech/tags/aws-cloudtrail.md>), [aws-lambda](<https://devfeed.tech/tags/aws-lambda.md>), [event-driven](<https://devfeed.tech/tags/event-driven.md>), [identity](<https://devfeed.tech/tags/identity.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [mcp-server](<https://devfeed.tech/tags/mcp-server.md>), [metadata](<https://devfeed.tech/tags/metadata.md>), [multi-account](<https://devfeed.tech/tags/multi-account.md>), [pipeline](<https://devfeed.tech/tags/pipeline.md>), [registry](<https://devfeed.tech/tags/registry.md>), [secrets](<https://devfeed.tech/tags/secrets.md>), [server](<https://devfeed.tech/tags/server.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>), [tool](<https://devfeed.tech/tags/tool.md>), [updates](<https://devfeed.tech/tags/updates.md>)

### AI overview

The article describes an event-driven pipeline that updates existing AWS Agent Registry records after MCP server changes. CloudTrail captures `UpdateAgentRuntime` calls, EventBridge routes them to a Lambda, and the Lambda uses AgentCore Identity to authenticate, fetch tools with MCP `initialize` and `tools/list`, compare schemas, and update a matching record. It supports single-account deployments and cross-account forwarding to a central registry; the example uses no stored client secrets. CloudTrail delivery takes about 5-15 minutes. Updates move records back to Draft, so a curator must approve changed metadata before consumers can discover it. The sample requires a pre-registered record and does not automatically register new servers; it also does not retry if a cold server returns zero tools.

### Source excerpt

This post shows how to keep the AWS Agent Registry current automatically. Using AWS CloudTrail, Amazon EventBridge, AWS Lambda, and AgentCore Identity, an event-driven pipeline detects MCP server changes and pushes updated tool metadata to the registry with no stored secrets, across single- and multi-account environments.

## Replaying events using AWS S3

DevFeed: [Replaying events using AWS S3](<https://devfeed.tech/articles/replaying-events-using-aws-s3-23901.md>)

Original publisher: [Read original article](<https://medium.com/smg-real-estate/replaying-events-using-aws-s3-3cc84242025e?source=rss----2186e5b9bd8f---4>)

Author: Marko Savic

Published: 2022-04-08T08:40:24Z

Content type: article

Language: en

Sources: [Homegate Engineering Blog - Medium](<https://devfeed.tech/sources/homegate-engineering-blog-medium.md>)

Topics: [event driven](<https://devfeed.tech/topics/event-driven.md>), [AWS Step Functions](<https://devfeed.tech/topics/aws-step-functions.md>), [set up event-driven architecture AWS](<https://devfeed.tech/topics/set-up-event-driven-architecture-aws.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [AWS CloudFormation](<https://devfeed.tech/topics/aws-cloudformation.md>), [event-sourcing](<https://devfeed.tech/topics/event-sourcing.md>)

Tags: [amazon-sqs](<https://devfeed.tech/tags/amazon-sqs.md>), [api](<https://devfeed.tech/tags/api.md>), [api-gateway](<https://devfeed.tech/tags/api-gateway.md>), [aws](<https://devfeed.tech/tags/aws.md>), [aws-lambda](<https://devfeed.tech/tags/aws-lambda.md>), [aws-s3](<https://devfeed.tech/tags/aws-s3.md>), [aws-sns](<https://devfeed.tech/tags/aws-sns.md>), [cloudformation](<https://devfeed.tech/tags/cloudformation.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [event-driven](<https://devfeed.tech/tags/event-driven.md>), [event-sourcing](<https://devfeed.tech/tags/event-sourcing.md>), [events](<https://devfeed.tech/tags/events.md>), [failed](<https://devfeed.tech/tags/failed.md>), [failure](<https://devfeed.tech/tags/failure.md>), [microservices](<https://devfeed.tech/tags/microservices.md>), [resource](<https://devfeed.tech/tags/resource.md>), [s3](<https://devfeed.tech/tags/s3.md>), [serverless](<https://devfeed.tech/tags/serverless.md>), [sns](<https://devfeed.tech/tags/sns.md>), [software-architecture](<https://devfeed.tech/tags/software-architecture.md>), [step-functions](<https://devfeed.tech/tags/step-functions.md>), [storage](<https://devfeed.tech/tags/storage.md>), [versioning](<https://devfeed.tech/tags/versioning.md>)

### AI overview

Homegate describes using versioned AWS S3 objects to retain event history and replay failed or selected resource imports through AWS Step Functions. The importer stores each event in S3, using the resource ID as the key; bucket versioning preserves prior event versions for replay and debugging. For failures, a DLQ-based approach could have a scheduled Lambda fetch messages and restart the flow with the latest event when conditions such as retryability are met. For manual or flexible replays, an API Gateway endpoint accepts parameters such as resource selections or special handling; Replay SQS sits between handler and listener Lambdas, and the listener fetches events from S3 and starts Step Functions. The text presents these as possible mechanisms, not a guarantee that every failure is automatically recoverable.

### Source excerpt

In the world of event-driven microservices one of the important tasks is to have a mechanism to recover from failed events, as well as to have possibility to replay certain events. We at Homegate deal with serverless microservices. If, at any of these services, we encounter a failure during processing of an resource, we might need to recreate the last event or series of events for given resource. Usecase The central part of ingestion process is AWS StepFunctions that lives in a, so called, importer service. It is responsible for various enrichments and conditional actions on resource. The last step of the step function is sending an event to the AWS SNS which is consumed by many downstream services as you can see in the following diagram. Step functions as central part of ingestion process Here, many open questions can be identified: How to deal with failure within AWS StepFunctions? How to recreate SNS event if needed for downstream system? Would it be possible to replay the whole step function? Solution Possible answer to these questions would be to store events that goes through AWS StepFunctions into some kind of event storage, in Homegate case, we chose AWS S3. In order to support the whole history of events for given resource, S3 bucket versioning is used. This is quite handy for replaying series of events or even for debugging purposes. Here is a sample CloudFormation which enables that functionality: EventLogBucket: Type: 'AWS::S3::Bucket' Properties: BucketName: 'sample-unnique-bucket-name' AccessControl: Private PublicAccessBlockConfiguration: BlockPublicAcls: true BlockPublicPolicy: true IgnorePublicAcls: true RestrictPublicBuckets: true Tags: - Key: service Value: sample-service - Key: env Value: !FindInMap [ Stages, !Ref Stage , Env ] VersioningConfiguration: Status: Enabled That way we can replay the whole step functions flow using last logged event for given resource. That functionality could be available from different places, like DLQ or via api end