Duplicate EC2 creation notification in Config

0

I created an EC2 creation notification SNS email by referring to the following link.

https://repost.aws/knowledge-center/config-email-resource-created

The overall architecture is as follows.

Once EC2 is created >> Config >> EventBridge >> SNS Mail

Notifications work well, but there is an issue where the email is received twice when EC2 is created.

In the EventBridge log, we confirmed that EventBridge is called twice when EC2 is created.

EventBridge Log

How do I solve this problem?

1 Answer
1
Accepted Answer

Hello.

I tried the same settings in my environment, but I was able to confirm that the email was only delivered once.
So, I thought that there was no problem with the document settings themselves.

The email contains the EC2 instance ID, but are the first and second IDs the same?
If this ID is different, you may have started EC2 twice.

profile picture
EXPERT
answered 5 months ago
  • Thanks your reply, I found the cause. it's problem in event pattern of EventBridge.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions