- Newest
- Most votes
- Most comments
You are correct that email sending through an SMTP server is not directly available in the AWS OpenSearch implementation. For email alerts and notifications from OpenSearch, Amazon Simple Email Service (SES) is indeed the recommended approach.
OpenSearch in AWS integrates with a unified notification system that supports various channel types for sending alerts. One of the supported channel types is Amazon Simple Notification Service (Amazon SNS), which can be used in conjunction with Amazon SES to send email notifications.
To set up email alerts from OpenSearch, you would typically follow these steps:
- Configure Amazon SES to handle the email sending.
- Set up a notification channel in OpenSearch, using Amazon SNS as the channel type.
- Create alerts or monitors in OpenSearch that use this notification channel.
When setting up the notification channel, you'll need to provide the necessary permissions for OpenSearch to use Amazon SNS, which in turn can trigger Amazon SES to send the emails.
It's worth noting that while SMTP is not directly supported, using Amazon SES provides several advantages, including scalability, deliverability, and integration with other AWS services. This approach aligns with AWS best practices for sending emails from their services.
Sources
Configuring alerts in Amazon OpenSearch Service - Amazon OpenSearch Service
Use SendEmail with an AWS SDK or CLI - AWS SDK Code Examples
Yes, you are correct. Email sender through an SMTP server is not available in the AWS OpenSearch implementation. If you need to set up email alerts, you will have to use the Amazon Simple Email Service (SES).
Relevant content
- asked 2 years ago