AWS Email Notification for Web Service Security

I have deployed a web service for AWS EC2 instances. I also implemented a rest call /getStatusthat returns the status of the modules in my service in JSON format, for example, the status of the database connection, the status of the ActiveMQ cache, etc.

I want to create an automatic trigger to create that will send mail when there is any problem found in response to the /getStatusrest call .

I see if its possible use of cloudwatch is welcome, but any other suggestions

+4
source share
3 answers

cloudwatch, , (.. 5 ).

, /getStatus , - , AWS SES (), .

"", , .

+1

, HTTP, , - (, 500), Route53 Health ( SNS).

+2

. -, .

Route Warning 53

, , AWS , .

:

  • Route53;
  • Route53 ;
  • URL;

4. , TCP 10 , HTTP 2xx 3xx 2 ;

4b. : TCP- , TCP, HTTP - 4xx, 5xx (, 200 );

  1. ;
  2. ;
  3. AWS SNS
  4. AWS SNS
  5. Advanced customization can be applied to improve the content of notifications and the delivery method in the above guide.

I work for a team that is developing the Axibase Time Series (atsd) database.

+2
source

Source: https://habr.com/ru/post/1695653/


All Articles