How to set AWS SNS SMS notification from Mumbai?

AWS does not support Mumbai SMS. but I need to do this, when I try to create a cloud browsing alarm in the notification sending settings, I copied the ARN of the SNS theme, which is located in Virginia, but it shows an error message that something went wrong. . Is there any way to do the same, share your idea

+4
source share
1 answer

No, you cannot do this. CloudWatch will only post SNS themes that are in the same region as your cloud alerts / alarms.

But you may have a workaround like this answer

, :

> CloudWatch Alarm   (ap-south-1) 
>  -> SNS            (ap-south-1) 
>  -> Lambda         (you can have this in any region, cross region lambda can be invoked from sns)
>  -> SNS            (us-east-1), invoked from lambda
>  -> SMS subscriber (us-east-1)

UPDATE

AWS , https://forums.aws.amazon.com/thread.jspa?threadID=130530.

, SNS . CW ap-south-1 us-east-1,

[ec2-user@ip-**** ~]$ aws cloudwatch put-metric-alarm --alarm-name TestSMSAlarm --alarm-description "Test Alarm turned ON" --alarm-actions arn:aws:sns:us-east-1:*****:Test --metric-name HealthyHostCount --namespace AWS/ELB --statistic Maximum --dimensions "Name=LoadBalancerName,Value=awseb-e-z-AWSEBLoa-****" --period 300 --evaluation-periods 1 --threshold 1 --comparison-operator LessThanThreshold --region ap-south-1 

- , :

PutMetricAlarm (ValidationError): us-east-1. ap-south-1.

SMS , SNS:

AWS SMS?

1) --1 ( ), 2) --2 (), 3) --1 (), 4) - (), 5) - ), 6) - ().

+1

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


All Articles