# Deployment options

> Deployment options for the DIDComm Mediator.

The DIDComm Mediator routes encrypted messages between participants. Choose a deployment option based on your infrastructure and operational requirements.

## Pages in this section
- [Affinidi Portal (Affinidi-hosted)](/products/affinidi-elements/affinidi-messaging/didcomm-mediator/deployment-options/mediator-affinidi-portal.md): Affinidi provides a fully managed, hosted DIDComm Mediator, a secure message relay service for decentralised messaging built on the DIDComm v2.1 protocol.
- [AWS Marketplace (self-hosted)](/products/affinidi-elements/affinidi-messaging/didcomm-mediator/deployment-options/mediator-aws-marketplace.md): DIDComm Mediator, published on AWS Marketplace, allows you to host the mediator in your AWS account using the CloudFormation template.
- [Open source (self-hosted)](/products/affinidi-elements/affinidi-messaging/didcomm-mediator/deployment-options/mediator-open-sourced.md): Affinidi provides an open-source DIDComm Mediator implementation based on the DIDComm v2.1 protocol.

