i have lambda function deployed in 3 aws regions. want invoke these functions write output file in s3 within region buckets.
then want collect these files (from 3 region buckets) further processing on them.
what best way using aws service.
i have explored below :
[1] use sns trigger cross-region lambda jobs. not sure how 3 output files region buckets further processing.
[2] use aws simple workflow again have create in 3 regions , cross-region activity not supported.
you're going want setup event on s3 bucket kick off lambda whenever item written it. from:
http://docs.aws.amazon.com/amazons3/latest/dev/notificationhowto.html
for use-case, lower-scale , simpler option trigger on putobject s3 bucket, publishes event sns directly initiate lambda via cloudwatch event.
for larger scale, you'll want publish event sqs queue can directly seen here.
also of-note: question don't think know lambdas can read/write region of s3. not need in region. read/write faster assets in region, , won't incur bandwidth fees
Comments
Post a Comment