Enterprise architecture
Cody Enterprise can run in the Sourcegraph Cloud environment or on your own infrastructure. Here are a few possible deployment architectures.
Sourcegraph Cloud deployment
![](https://sourcegraphstatic.com/docs/enterprise-architecture-cloud-v2.png)
Sourcegraph Enterprise Server (self-hosted) on Amazon Bedrock
![](https://sourcegraphstatic.com/docs/enterprise-architecture-aws-v0.png)
Data flow
![](https://sourcegraphstatic.com/docs/enterprise-architecture-data-flow-v0.png)