Skip to content

SES Endpoint Cross Region

0

Does anyone know; is it possible for RDS SQL Server to use an SES Endpoint created in a different region? for example SES Endpoint is in Region (us-east-1) while RDS SQL Server is in Region (us-east-2). From my test; I have been able to send emails successfully by configuring RDS SQL Server to use Database Mail for an SES Endpoint created in the same region ,but not cross region(VPC).

1 Answer
0

You certainly can. In fact, the sender doesn't even have to be on AWS to use SES. Note, however, that SMTP endpoint is different: in us-east-1 it is email-smtp.us-east-1.amazonaws.com and in us-east-2 it is email-smtp.us-east-2.amazonaws.com

answered 3 years ago
  • Thanks for the response. In my case we have a scenario where the RDS SQL Server is in a VPC which is different to where the VPC endpoint has been configured. For RDS SQL Server Database Mail to be configured you need to create a VPC endpoint and this endpoint needs to be used when creating the Database Mail account. The @mailserver_name parameter needs to use the DNS name obtained from the endpoint; example (vpce-0a9cxxxxxxxxxxxxx-xxxxxxxx.email-smtp.ap-southeast-2.vpce.amazonaws.com).

    When i follow the documentation (https://aws.amazon.com/premiumsupport/knowledge-center/rds-sql-server-ses-email/) i am able to get the Database Mail to Send emails from RDS SQL Server.

    The issue is when i try to use an endpoint i have created in another VPC. When i use that SMTP endpoint i cannot send emails.

    Now i am thinking; does this reference documentation (https://docs.aws.amazon.com/ses/latest/dg/send-email-set-up-vpc-endpoints.html#send-email-set-up-vpc-endpoints-procedure) mean that there is a limitation when using SMTP endpoint within your own VPC? Meaning only services within the same region can be accessed by the Endpoint?

    The SMTP endpoint used within the VPC is restricted to the AWS Region currently being used for your account.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.