sevensolutions / nomad-iis

🧩 A TaskDriver plugin for HashiCorp Nomad to run IIS workloads.
MIT License
13 stars 1 forks source link

Implement Exec #15

Open sevensolutions opened 11 months ago

sevensolutions commented 11 months ago

Try to implement the exec functionality if it is possible to do that under the AppPool identity.

sevensolutions commented 11 months ago

Ok, after some research it's not that easy to run another app as the AppPool's identity because it's a gMSA or virtual account :/

sevensolutions commented 11 months ago

An idea would be to co-host a separate web app in the same AppPool which acts as a proxy, runs the command and forwards stdio/stderr to the task driver. Similar to "Kudu" in Azure. Seems like Kudu is open-source: https://github.com/projectkudu/kudu