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 Risposta
1
Risposta accettata

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
ESPERTO
con risposta 6 mesi fa
  • Thanks your reply, I found the cause. it's problem in event pattern of EventBridge.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande