aws-samples / http-requests-mirroring

BSD 3-Clause "New" or "Revised" License
25 stars 31 forks source link

Replay handler fails health check from Target group #2

Open shalseban opened 3 years ago

shalseban commented 3 years ago

I tried running the stack to spin up the replay handler but the Target group fails health checks for the instances. The health check is configured for TCP: 4789 (Target port). I am not quite sure what I am missing here.

SimonePomata commented 3 years ago

have you followed the Walkthrough section of the blog post? https://aws.amazon.com/blogs/networking-and-content-delivery/mirror-production-traffic-to-test-environment-with-vpc-traffic-mirroring/ From the prerequisites listed in the Walkthrough section: "You first need a VPC with private subnets that route internet-bound traffic to a NAT Gateway". That may be the cause of your issue.

ddshore commented 1 year ago

Hi,

I'm having this same problem, and the VPC routes internet bound traffic to a nat gateway and works correctly. This is running directly the cloud formation script. Is there anything that can be done?

SimonePomata commented 1 year ago

Hi,

I'm having this same problem, and the VPC routes internet bound traffic to a nat gateway and works correctly. This is running directly the cloud formation script. Is there anything that can be done?

This is now solved. The issue was that the CloudFormation template linked in the blog post was not updated (the template is in S3, and it was out-of-sync with GitHub).