从 lambda 函数使用 Amazon SES 的定价是多少?

What would be the pricing for using Amazon SES from a lambda function?

我正在将 Amazon SES 配置为通过 lambda 函数发送电子邮件。我试图了解这样做的定价模型。 根据 AWS 文档,定价如下:

Sending email from an application hosted in Amazon EC2
[=10=] for the first 62,000 emails you send each month, and [=10=].10 for every 1,000 emails you send after that.

Sending email from an email client or other software package
[=11=].10 for every 1,000 emails you send.

lambda 函数在哪里适用于这种定价方案?虽然我知道 AWS 会在虚拟实例的某些变体上托管 lambda 函数,但在通过 lambda 调用 SES 时,EC2 实例的定价模型是否也适用?

提前致谢!

来自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.

因此,您将根据 Lambda 的执行时间(每次调用可能以毫秒计)向您收费。

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

似乎对这个问题有些困惑。解决了相同的问题 here。目前还不清楚,但似乎 运行 在 Lambda 上比 EC2 更便宜。

虽然这个问题很老,但我的回答可能会对其他人有所帮助。 AWS 更新了他们的 SES 定价页面,页面末尾明确提到了 Lambda 定价:

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.

参见:https://aws.amazon.com/ses/pricing/