I am having something strange using AWS subnet with ubuntu instances.
I have create the public/private subnet schema with one ubuntu instance on the private one. Everything is working smoothly, I can git clone, curl...
However when creating any other ubuntu instance on the private subnet within the same VPC, I can't use git at all, even a simple curl to https://gitlab.com is not working (getting no answer).
I tried an other url like google and got a successful result.
Do you have an idea why I am getting this behaviour and specially only for gitlab?
Appreciate your help