跳至內容

Using SES in Glue Job and VPC

0

Hi,

I have a glue job and used SES to send email from glue job, and my python client = boto3.client('ses', region_name=<AWS region>)

VPC Endpoint Service Name : com.amazonaws.<AWS region>1.email-smtp

Getting Connect timeout on endpoint URL: "https://email.<AWS region>.amazonaws.com/"for ses.

<AWS region> is my region

Could you please help me to resolve the issue

已提問 1 年前檢視次數 408 次
1 個回答
1

Hello.

Is your Glue Job connected to the same VPC as your VPC endpoint?
https://docs.aws.amazon.com/glue/latest/dg/start-connecting.html

Also, does the VPC endpoint's security group allow SMTPS connections from the security group used by Glue Job?
Specifically, the following inbound rules must be set in the security group of the VPC endpoint.
https://docs.aws.amazon.com/ses/latest/dg/send-email-set-up-vpc-endpoints.html
https://docs.aws.amazon.com/vpc/latest/privatelink/create-interface-endpoint.html#prerequisites-interface-endpoints

TypeProtocolPortSource
SMTPSSMTPSTCP465Glue Job Security Group
專家
已回答 1 年前
專家
已審閱 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。