Hi I am setting up a new development environment for my employees.
How can i restrict access to the Github repos / codebase to particular AWS EC2 Instances, which my employees will use as remote development environment instead of developing on their local machines.
Like Nuclide in Facebook, you remote SSH on to your virtual machine and work locally, but with Github you can export code via gitub.com or simply clone to another PC? I need some sort of restrictions.
I am prepared to change to a private git provider but unsure which supports these features.
Many Thanks in advance
Github Enterprise provides IP restrictions by SSH keys
I would allocate a set of elastic IP#s for the number of the instances (developers) you are needing, then allow access only from that set of IPs for each of the developer keys. For example if you have 4 developers, allocate 4 EIPs e.g
52.44.1.1,52.44.1.2,52.44.1.3,52.44.1.4
. Then in the Github management console, thefrom
would look like this:In this way a given instance can by spun up with a known IP# and the developers key would work for any given instance.