AWS - Sending Email from EC2 or Lambda

Amazon Web Services (AWS) has put limitations in place by default on EC2 instances and Lambda serverless functions to limit abuse.

See AWS's documentation Restriction on email sent using port 25.   

Requesting your SMTP Relay

The UW Email team has set up an SMTP relay service to help manage email sending and monitoring. See SMTP Authenticated Secure Email Relay sending for additional details.
 
Prior to making this request, you will need to have established a static IP. For an AWS EC2 server, one way to do this is using an Elastic IP and assigning it to your server.  See the following AWS documentation on how to use AWS Elastic IP addresses. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html

Lifting Email Sending Limitations

AWS puts email sending limitations in place on its resources by default.   To request that the email sending be lifted, you must send a request from your account.
It may be helpful to include a link to the SMTP relay service KB (SMTP Authenticated Secure Email Relay sending) as part of the request, to indicate that this is an actively monitored and managed SMTP server.

Need Assistance?

The Public Cloud team is here to help!   Contact the Public Cloud Team

If you have any questions, feedback or ideas please Contact Us

Commonly Referenced Docs:

UW Madison Public Cloud Team Events Online Learning Classes for Cloud Vendors What Data Elements are allowed in the Public Cloud



Keywordsaws SMTP email EC2 Lambda serverless functions   Doc ID111170
OwnerKelly R.GroupPublic Cloud
Created2021-06-03 09:17:57Updated2023-09-05 15:26:49
SitesPublic Cloud
Feedback  1   0