Transfer emails received using SES email receiving to another region?

0

We're heavily using eu-central-1, which does not support SES email receiving. To make email receiving work I'm trying to set something up in eu-west-1. What's the best way to transfer the emails to eu-central-1?

Some options I have considered:

  • Have a Lambda run on each email received that writes to some S3 bucket in eu-central-1. Is it possible to write from a Lambda in eu-west-1 to an S3 bucket in eu-central-1?
  • Write the email to an S3 bucket in eu-west-1 directly. Is this possible? If possible we could monitor the eu-central-1 bucket using e.g. EventBridge and do further processing from there.

This must have come up before.

1回答
0
承認された回答

Yes, you can do all of those things - and many others such as "run an EC2 instance to do the transfer".

The correct answer depends on what you want to do with the emails once they're in eu-central-1. If you need to write it into a bucket in the target region then a Lambda is definitely the easiest (and probably least expensive) way of doing that - noting that you will get some inter-region data transfer charges. But you're going to get those no matter what you do.

But if you've got some other system in the target region why not have the Lambda deliver directly to that?

profile pictureAWS
エキスパート
回答済み 1年前
  • In eu-central-1 I want to do some processing in a Lambda (e.g. do some lookups in a DynamoDB table in that region) and eventually write parts of the email to DynamoDB, again in that region.

    Another way of phrasing it: if I could receive emails in eu-central-1 I would have them delivered to a Lambda or a topic, listened to by a Lambda.

  • You can do it either way; if the majority of your processing is going to be in eu-central-1 then store the data there and trigger Lambda functions/Step Functions/whatever. It'll reduce inter-region data transfer charges and make access to the data quicker (less latency).

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ