For cost savings it's better to use vpc endpoints for retrieving ECR images when you launch ECS tasks in a private subnet. The thing is that you have a little bit more work to do to set that.
I deployed fargate task in private subnet with NAT gateway for whitelisting purpose. Even though I attached load balancer but I can't able to access the task from internet. So what can I do for that?
Thanks for this awesome video. So we need NAT gateway only if we want to make outbound calls to third party Rest APIs, else it will work fine with VPC endpoints if we only want to connect S3 and ECR. right?
Hi, thanks a lot for this video... When I'm trying to create a new cluster it is not asking me to select vpc, networking option itself is not there... why it is?
Thank you. I'm going to be dealing such an issue. But why did you use Internet gateways or Egress-only internet gateways? On my side, these two do not work. I am trying your variant.
Sorry for delayed reply...from private subnet, its safe to use NAT gateway (one way access to internet). OR you can setup VPC endpoints (if do not want NAT gateway).
I was struggling with my tasks being stuck in Provisioning state.
Finally found this awesome video
Thanks a lot
For cost savings it's better to use vpc endpoints for retrieving ECR images when you launch ECS tasks in a private subnet. The thing is that you have a little bit more work to do to set that.
There is another video explaining how to setup WITHOUT NAT gateway - ruclips.net/video/AyFiJqoulpY/видео.html
I just saw it, it's awesome thank you!
Just what I needed, thank you!
well done, thank you! It was nice to see how the NAT gateway should be setup and what errors you run into if you set it up wrong/ do not have it
Thank you for your video! it helped me a lot to understand how to link de NAT Gatway to the outside!
how to SSH into above conatiner. because it is running on private subnet so how can achieve this.
I deployed fargate task in private subnet with NAT gateway for whitelisting purpose. Even though I attached load balancer but I can't able to access the task from internet. So what can I do for that?
how to add the public ip which is static to ECS
Thank you for the video!
Thanks for this awesome video. So we need NAT gateway only if we want to make outbound calls to third party Rest APIs, else it will work fine with VPC endpoints if we only want to connect S3 and ECR. right?
Yes, correct
Hi, thanks a lot for this video...
When I'm trying to create a new cluster it is not asking me to select vpc, networking option itself is not there... why it is?
Because the console has been updated recently. If you create a service in the cluster, there you can select your networking configurations.😊
how to acces it throgh internal load balancer
Thank you. I'm going to be dealing such an issue. But why did you use Internet gateways or Egress-only internet gateways? On my side, these two do not work. I am trying your variant.
Sorry for delayed reply...from private subnet, its safe to use NAT gateway (one way access to internet). OR you can setup VPC endpoints (if do not want NAT gateway).
Thank You Sir
Most welcome