1 Answer
- Newest
- Most votes
- Most comments
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?
Relevant content
- asked 2 months ago
- asked 5 years ago
- asked 5 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
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).