At a glance
| Feature | SaaS + BYOC | Fully Self-Hosted | SaaS + MergeWatch Bedrock |
|---|---|---|---|
| Orchestration (Lambda, DynamoDB, API Gateway) | MergeWatch hosts | You host | MergeWatch hosts |
| Bedrock model access | Your AWS account | Your AWS account | MergeWatch account |
| Code leaves your infra? | Diff transits MergeWatch in-memory | No | Yes (to MergeWatch) |
| Who pays Bedrock? | You | You | MergeWatch (included in pricing) |
| AWS account required? | Yes (Bedrock only) | Yes (full stack) | No |
| Model choice | You choose | You choose | MergeWatch default |
| Setup time | ~10 min | ~30 min | ~5 min |
| Maintenance | MergeWatch manages infra | You manage everything | MergeWatch manages everything |
1. SaaS + Customer Bedrock (BYOC)
Best for teams that want AWS control without managing infrastructure
MergeWatch hosts the orchestration layer. You provide your own AWS account with Bedrock access. You control which models run and pay your own Bedrock bill.
How it works
MergeWatch runs the Lambda functions, DynamoDB tables, API Gateway, and SQS queue. When a review needs a model invocation, MergeWatch assumes a cross-account IAM role in your AWS account and calls Bedrock there.Cross-account role setup
You create an IAM role in your AWS account with a trust policy that allows MergeWatch to assume it. An external ID prevents confused deputy attacks.Data residency
- Diff data transits MergeWatch infrastructure in-memory during orchestration. It is not persisted to disk or stored in any database.
- Bedrock calls go directly to your AWS account in your chosen region. Model inputs and outputs stay within your AWS boundary.
- Review metadata (timestamps, repo names, review status) is stored in MergeWatch-managed DynamoDB.
2. Fully Self-Hosted
Best for strict compliance, air-gapped environments, or full control
You deploy the entire MergeWatch stack in your own AWS account via SAM. Nothing touches MergeWatch infrastructure.
How it works
You runnpx mergewatch@latest init, which deploys all resources to your AWS account. The GitHub App webhook points to your API Gateway. Every component runs in your environment.
What you manage
| Resource | Your responsibility |
|---|---|
| Lambda functions | Deploying updates, monitoring, concurrency settings |
| DynamoDB tables | Backups, capacity planning, TTL policies |
| API Gateway | Custom domains, WAF rules, throttling |
| SQS FIFO queue | Dead-letter queue monitoring, redrive policies |
| SSM parameters | Credential rotation, KMS key management |
| Bedrock | Model access requests, quotas, cost monitoring |
Updates are applied by re-running the SAM deploy. MergeWatch publishes new SAM templates with each release. You control when to upgrade.
Data residency
- All data stays in your AWS account, in the region you choose.
- No data is sent to MergeWatch. There is no telemetry, no phone-home, no external dependency.
- Suitable for air-gapped environments when combined with VPC endpoints for Bedrock, DynamoDB, SQS, and SSM.
3. SaaS + MergeWatch Bedrock
Best for teams that want zero infrastructure overhead
Everything is hosted by MergeWatch. Install the GitHub App and start getting reviews. No AWS account needed.
How it works
MergeWatch runs the full stack, including Bedrock model access. You install the GitHub App and configure your repositories. That is it.What you get
- No AWS account required
- No infrastructure to manage
- Bedrock costs are included in your MergeWatch subscription
- Automatic updates to the latest review pipeline
Data residency
- Diff data is processed on MergeWatch infrastructure. It is held in-memory during review and not persisted after the review completes.
- Bedrock calls run in MergeWatch’s AWS account. Model inputs and outputs are not logged or stored beyond the review lifecycle.
- Review metadata is stored in MergeWatch-managed DynamoDB.
Decision guide
Strict compliance or air-gapped?
Choose Fully Self-Hosted. No data leaves your AWS account. You control every component and can run behind a VPC with no internet egress.
Want AWS control with easy setup?
Choose SaaS + Customer Bedrock (BYOC). MergeWatch manages the infrastructure. You keep control of model selection and Bedrock billing in your own account.
No AWS account?
Choose SaaS + MergeWatch Bedrock. Install the GitHub App and you are done. No cloud account, no infrastructure, no Bedrock configuration.
Data residency summary
| Data type | BYOC | Self-Hosted | SaaS |
|---|---|---|---|
| PR diff | In-memory transit through MergeWatch, not persisted | Never leaves your account | Processed on MergeWatch infra, not persisted |
| Bedrock inputs/outputs | Your AWS account | Your AWS account | MergeWatch AWS account |
| Review metadata | MergeWatch DynamoDB | Your DynamoDB | MergeWatch DynamoDB |
| GitHub credentials | MergeWatch SSM | Your SSM | MergeWatch SSM |
| Configuration (.mergewatch.yml) | Your GitHub repo | Your GitHub repo | Your GitHub repo |
