简体   繁体   中英

Can I use AWS Traffic Mirroring with ECS?

I'm trying to find a way to relay real requests of production to test environment. And I've found this. https://aws.amazon.com/ko/blogs/networking-and-content-delivery/mirror-production-traffic-to-test-environment-with-vpc-traffic-mirroring/

However, I'm using ECS not EC2, and they comprise of ALB and ECS. So I'm wondering if this 'Traffic Mirroring' works with ECS or not, and how to.

Any help would be appreciated.

Leaving answer for someone who might have question same with me.

After spent several hours, I could set up Traffic Mirroring from ecs to ecs. However the automation for various port could be pretty tricky so I decided not to use traffic mirroring for traffic relay from prod to test.

I chose to use request log instead of Traffic Mirroring feature.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM