My goal is to forward messages from EventBridge over HTTPS to an instance in EC2 running httpd server. The instance only has its private IP.
It turned out that the EventBridge's API Destination with its Targets and Connections works beautifully with external IPs, but no communication is happening to the Private IP. As part of the experiment Security is set to accept all https/http connections from all 0.0.0.0/0.
I am seriously considering EventBridge -> Lambda function with VPC bind -> EC2 Private IP.
But I am having that nagging feel that I maybe missing something with the API Destination, some network magic? An endpoint?
Any advice is welcome!