1
votes

I am configuring Amazon SES to send emails, through a lambda function. I am trying to understand the pricing model for doing this. As per the AWS docs, the pricing is as follows:

Sending email from an application hosted in Amazon EC2
$0 for the first 62,000 emails you send each month, and $0.10 for every 1,000 emails you send after that.

Sending email from an email client or other software package
$0.10 for every 1,000 emails you send.

Where do lambda functions fit into this pricing scenario? While I do understand AWS would host lambda functions on some variant of a virtual instance, will the pricing model of an EC2 instance apply while invoking SES through lambdas as well?

Thanks in advance!

2

2 Answers

1
votes

From the docs

With AWS Lambda, you pay only for what you use. You are charged based on the number of requests for your functions and the duration, the time it takes for your code to execute.

So you would be charged based on the execution time of your Lambda (will likely be milliseconds per call).

will the pricing model of an EC2 instance apply while invoking SES through lambdas as well?

It seems like there is some confusion regarding this issue. The same question is addressed here. It's unclear but it seems like it will be cheaper to run on Lambda than EC2.

0
votes

Although this question is quite old, my answer may help others. AWS updated their pricing page of SES and Lambda pricing is mentioned explicitly at the end of the page:

When you call Amazon SES from an application hosted in Amazon EC2 or via AWS Lambda, you can send 62,000 messages per month at no charge. This Free Usage Tier benefit does not expire.

See: https://aws.amazon.com/ses/pricing/