Search code examples
gitamazon-web-servicesamazon-ec2gitlab-ee

Gitlab Repository not cloning to aws ec2


I'm trying to clone a repository in my private enterprise git to aws ec2 and it throws error as could not resolve host.

Using Ubuntu Image in EC2.

All the ports are open and firewall status is active.

Cloning into 'node_chatapp'...
fatal: unable to access 'http://*******.com/yjagilanka/node_chatapp.git/': Could not resolve host: ******.corp.com

Solution

  • gitlab corporate is allowed only on private vpn which is not configured in public aws dns.So cloning was failing. Need to create VPC with inter vpn for cloning the same.