how to connect ec2 instance to GitHub Enterprise server ?

0

we have a GitHub Enterprise server. my company is implementing aws accounts and roles. how can I configure vpc and other resources such that we can spin up and ec2 instance and do a git pull overt https , from our enterprise server url, say from https://github.example.com/

gefragt vor einem Jahr350 Aufrufe
1 Antwort
1

Your GitHub Enterprise server is not in AWS, and it's not in your on-prem facility with Direct Connect or site-to-site VPN in place, right? So you just need outbound internet access from your EC2 instance - which I assume you don't want to be public - to reach the server. In your instance's subnet, route default traffic to a NAT Gateway (IPv4) or Egress-only Gateway (IPv6). Place your NAT Gateway in a public subnet (i.e. one with default route to an Internet Gateway) in the same AZ.

The above is the minimum you need for this specific use case. Ideally this infrastructure should be repeated per-AZ.

EXPERTE
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen