bosh-notes icon indicating copy to clipboard operation
bosh-notes copied to clipboard

Feature-request: DNS management via CPI

Open evanfarrar opened this issue 6 years ago • 3 comments

Typically DNS for BOSH deployed software is seen as a pre-install concern, but I would like to propose that it be something that can be implemented in each CPI. CFAR and CFCR both have some implicit requirements for configuring external DNS to meet their conventions (CFAR has always had this need, CFCR has just added this pre-requisite).

AWS, GCP, Azure, and Openstack all have some form of DNSaaS, so this is nearly a universal Cloud resource. Even for users of vSphere or in regions which do not support DNS (China, GovCloud), there could be significant benefit just to know explicitly what are the requirements around DNS in the sample deployment manifest for a specific SemVer of a BOSH release rather than correlate documentation and software to infer this information.

If this were available to be configured via manifests and cloud configs, then we also could begin to implement BOSH releases which are much more dependent on runtime modification of DNS records. For example, Let's Encrypt's wildcard certs only work with DNS based validation, where a DNS entry must be made containing a challenge response. This challenge must be renewed every three weeks, so doing this during bootstrapping is of limited benefit.

Some counterpoints / risks I see:

  • Roles/Permissions/IAM: How would we enable an operator to say "these users/deployments can modify DNS rules on this CPI but these users/deployments cannot"? Perhaps the operator would have to install one cpi with a role that doesn't allow modification of DNS, and another version of the cpi with roles that can modify DNS.

evanfarrar avatar May 07 '18 19:05 evanfarrar