appsembler / sultan

An Open edX Remote Devstack Toolkit
GNU Affero General Public License v3.0
7 stars 4 forks source link

feature idea: dynamic DNS setup #48

Open thraxil opened 3 years ago

thraxil commented 3 years ago

I've been thinking about how we can avoid/fix some of the issues around hostnames, /etc/hosts, etc.

At least at Appsembler, we ought to be able to just set up .devstack.appsembler.com, delegate that to our devstack GCP project, and then use Cloud DNS to point A records at a user's instance. So, if my devstack instance is anders-at-mycomputer, I could just have anders-at-mycomputer.devstack.appsembler.com or lms.anders-at-mycomputer.devstack.appsembler.com or something automatically created and pointed at my sultan instance's IP address. Then we wouldn't have to modify the user's /etc/hosts which avoids sudo issues and cloud build weirdness. (we still need to edit ~/.ssh/config though to set ForwardAgent).

Potential issues: