---
schema_version: "1"
id: bc078b109a1d2556ede83d10b9178ed23cc4f5184fd2605d6540cdb84baeff7a
title: Event Relay Considerations
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/ev_relay_considerations.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.ev_relay_considerations.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 44e78fa993180ff2e7c7f2d717ba74d935a934107c12dd9e73bad7b01f6ab43f
description: Keep these considerations in mind when using Event Relay.
products:
  - Salesforce Platform
  - Security
release: "264"
---
# Event Relay Considerations

Keep these considerations in mind when using Event Relay.

## Event Relay on GovCloud

Event Relay is available for customers using Salesforce Government Cloud orgs in civilian environments. GovCloud customers can configure event relay to send events to AWS GovCloud regions. You are responsible for configuring which data is transferred and for determining the data's destination. Depending on your choices, it's possible for data to leave the FedRAMP authorized environment.

## Deleting an Event Relay

When you delete an event relay, its corresponding partner event source in Amazon EventBridge is deleted. The event bus that is associated with the partner event source in AWS isn’t affected.

## Event Relays Aren't Copied to Sandbox

When you create, clone, or refresh a sandbox, event relays aren’t copied to sandbox. To test event relays in sandbox, recreate the event relays in your sandbox.

## Event Encryption with Platform Shield Encryption

Starting in Summer ’23, Event Relay supports Salesforce orgs with Shield Platform Encryption enabled. You can send platform events and change data capture events encrypted at rest with Shield Platform Encryption to Amazon EventBridge.

For more information about event encryption at rest with Shield Platform Encryption, see [Encrypting Platform Event Messages at Rest in the Event Bus](https://developer.salesforce.com/docs/atlas.en-us.platform_events.meta/platform_events/platform_events_encryption.htm) in the Platform Events Developer Guide and [Change Events for Encrypted Salesforce Data](https://developer.salesforce.com/docs/atlas.en-us.change_data_capture.meta/change_data_capture/cdc_security_shield_encryption.htm) in the Change Data Capture Developer Guide.

## AWS Regions

The Event Relay service is globally available and can connect Salesforce orgs to AWS accounts in default AWS regions. Event relay doesn't support opt-in AWS regions. For more information on AWS region availability, see the AWS [Regional availability reference](https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-regions.html#manage-acct-regions-regional-availability). Customer understands and agrees that the Event Relay service processes data, including Customer Data, on Hyperforce (a Salesforce-controlled Amazon Web Services instance), and such processing can occur in a region outside of the region in which Customer’s Salesforce org is located.

Processing occurs in these regions:

- United States
- European Union
- Australia
- India

Events aren’t persisted or stored outside the region where your org is located.

## Impact of Salesforce Maintenance Activities

Some Salesforce maintenance activities, such as an org migration to a new data center or instance refresh, reset the stream of stored platform events and change events. The stream reset results in the stored events no longer being available in the event bus. After org migration, event relays resume from the newly published events. Any events received during org migration or instance refresh aren’t forwarded to Amazon EventBridge.

You can configure event relays with an error-recovery option to resume from the earliest events stored in the event bus after an unrecoverable error occurs. If an unrecoverable error occurs after the maintenance activity, and the event relay is configured with this option, it doesn’t resume from the events stored before the maintenance activity. It resumes from the latest events received and events stored after the maintenance activity. For more information, see [Error Recovery Options](https://help.salesforce.com/s/articleView?id=platform.ev_relay_error_recovery.htm&release=264.0.0&type=5 "If transient errors occur, such as connectivity issues or errors in the event relay configurations, event relay resumes automatically after the connectivity issues are resolved or the configurations are fixed. The event relay attempts to resume sending events from the event bus from where it left off. In rare occasions, if it can't resume after the last relayed event, it uses the error recovery option to determine where to resume from."). For instructions about mitigating the impact of Salesforce maintenance activities, see [How to Prepare for an Org Migration](https://help.salesforce.com/s/articleView?id=000334938&type=1&language=en_US) and [Instance Refresh Maintenance](https://help.salesforce.com/s/articleView?id=000335655&type=1&language=en_US).