Reputation: 1086
Hi came to know that I can enable AWS cloud watch alarm
for AWS EC2 spot intance
if there is intrputtion for termination notice, here is more details
Now CloudWatch users can setup a rule that automatically sends the EC2 Spot two-minute warning to an SNS topic to get a push notification.
I have no clue how to setup SNS topic to get intrputtion for termination notice?
Upvotes: 3
Views: 1247
Reputation: 5615
Create an SNS topic and subscribe to this topic to get notifications.
Create a CloudWatch Event Rule to trigger an action whenever a spot instance is terminated. Configure your event as shown in the screenshot below.
Upvotes: 3