Can someone guide me on how to create the following infrastructure (https://aws.amazon.com/blogs/compute/setting-up-an-envoy-front-proxy-on-amazon-ecs/) on aws using awsx.ecs.FargateService. For example, how do I set the networkMode? FargateServiceArgs interface does not define networkMode. I am assuming I have to create an instance of awsx.ecs.FargateTaskDefinition, but then again, that does not have networkMode in its args. not sure where to set this. thanks
10/09/2019, 4:35 AM
FargateTaskDefinition uses “awsvpc” mode by default (I believe Fargate itself does not support any other network modes). So you should be able to do everything noted in that blog post using the defaults from the awsx library.