Does AWS SES support mail sending from ipv6 instances ?

0

IPv6 was added to the ec2 instance,

No public ipv4,

Sending an email from the instance over the smtp endpoint doesn't work,

So does SES even support ipv6?

5 Answers
0

Hi,

According to the link AWS SES doesn't have IPv6 support.

profile picture
EXPERT
answered 5 months ago
  • I find the page you linked isn't very well written. Is it talking about IPv6 support of AWS Service APIs, or connections to provisioned services themselves (e.g. the smtp endpoint in this case) or both? For example I think the page is saying that the SES API doesn't support IPv6, but I'm not sure whether it's providing any information about the smtp endpoint at all.

  • Where do you specifically see that SES is not supported on that page? I don't see it. Or is it because, it is not listed at all?

0

That page Dmytro linked has a table "Services that support IPv6" which includes only services that have some form of IPv6 support, so because SES isn't listed at all it means it has no IPv6 support. As I commented before though, the scope of "no IPv6 support" is a bit ambiguous to me as to whether that's referring only to the service API or provisioned resources like smtp endpoints as well. So I checked at https://docs.aws.amazon.com/general/latest/gr/ses.html where SMTP endpoint domain names are listed, and tried "nslookup" on the us-east-1 ones - email-smtp.us-east-1.amazonaws.com and email-smtp-fips.us-east-1.amazonaws.com. These both returned only IPv4 addresses so I'm convinced that the SMTP endpoints don't support IPv6.

EXPERT
answered 5 months ago
  • Thanks! Would be nice if someone from AWS could confirm. It seems odd that something as simple as email sending doesn't work with IPv6.

0

A possible solution would be to use NAT Gateway or NAT Instance on public network https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html https://docs.aws.amazon.com/vpc/latest/userguide/VPC_NAT_Instance.html (cheaper, tested)

Oren
answered 3 months ago
0

This question is a few months old, so I'm wondering if there has been any movement toward more completely supporting certain AWS services, including SES, with IPv6 endpoints. It's kind of crazy that they're charging for IPv4 addresses, implying it's a limited resource; but at the same time not really completing the ability to support IPv6-only EC2 instances by making them able to connect to all the surrounding managed services.

profile picture
wz2b
answered 2 months ago
0

It does not. However, you can create an SMTP endpoint for your VPC so that your EC2 instances can send emails using their private IPv4 addresses. Here are the steps:

  1. Create a smtp-endpoint Security Group, allowing Port 587 to/from 0.0.0.0/0
  2. Go to VPC > Endpoints
  3. Create a new Endpoint for the smtp service (e.g. email-smtp.us-east-1.amazonaws.com) for the desired VPC
  4. Assign all subnets within the desired VPC
  5. Check the security group created in step 0

If you have done everything correctly, then nslookup for your endpoint should return a private IP, and you should be able to see a 220 response from telnet, as well. E.g.

  1. nslookup email-smtp.us-east-1.amazonaws.com
  2. telnet email-smtp.us-east-1.amazonaws.com 587
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions