안녕하세요! 오늘 우리는 이미 구성된 AWS Chatbot을 활용하여, AWS EC2 인스턴스의 변화를 실시간으로 감지하고 그에 따른 알림을 받는 방법에 대해 알아보도록 하겠습니다.
(이미 AWS Chatbot이 구성되어 있고, Slack과 연동되어 있다는 가정하에 진행됩니다.)
- AWS User Notifications 란 ?
- 다양한 계정, 리전, 서비스와 관련하여 AWS 서비스에서의 모든 알림을 콘솔 알림 센터에서 중앙 집중식으로 설정하고 확인 가능한 서비스 입니다.
https://aws.amazon.com/ko/blogs/korea/new-set-up-your-aws-notifications-in-one-place/
SNS 주제 생성
- 표준 선택 및 이름, 표시 이름 작성 합니다.

AWS User Notifications 설정
AWS User Notifications -> 알림 허브 -> 서울 선택하여 줍니다.

AWS User Notifications -> 알림 구성 -> 알림 구성 생성 클릭
- 이름, 설명 작성 합니다.
- 이벤트 규칙은 아래와 같이 설정 합니다.

집계 설정은 알람을 즉시 받게 하기 위하여 집계 안 함 설정합니다.

전송 채널 -> AWS Chatbot 선택

완료 후 위에서 생성 한 SNS에 구독 생성 확인 및 Amazon EventBridge 들어가서 규칙 생성되었는지 확인


Test 시 확인 완료
