Files
nomad/website/content/plugins/drivers/community/nomad-iis.mdx
Aimee Ukasick 8a597a172d Docs SEO: task drivers and plugins; refactor virt section (#24783)
* Docs SEO: task drivers and plugins; refactor virt section

* add redirects for virt driver files

* Some updates. committing rather than stashing

* fix content-check errors

* Remove docs/devices/ and redirect to plugins/devices

* Update docs/drivers descriptions

* Move USB device plugin up a level. Finish descriptions.

* Apply suggestions from Jeff's code review

Co-authored-by: Jeff Boruszak <104028618+boruszak@users.noreply.github.com>

* Apply title case suggestions from code review

Co-authored-by: Jeff Boruszak <104028618+boruszak@users.noreply.github.com>

* apply title case suggestions; fix indentation

---------

Co-authored-by: Jeff Boruszak <104028618+boruszak@users.noreply.github.com>
2025-02-10 15:43:02 -06:00

75 lines
1.8 KiB
Plaintext

---
layout: docs
page_title: Nomad IIS task driver plugin
description: >-
Use the community-supported Nomad IIS driver to run Windows IIS services in Nomad jobs.
---
# Nomad IIS task driver plugin
Name: `nomad_iis`
The `nomad_iis` plugin is a task driver to run IIS Web Applications on Windows Servers. Each allocation will create an AppPool and a Website.
For a full documentation please refer to the project's [Readme](https://github.com/sevensolutions/nomad-iis/blob/main/README.md).
Unlike most other Nomad task drivers, this one is written in the C# language using ASP.NET. It uses the Microsoft.Web.Administration-API to communicate with IIS.
<Note>
At the moment I'm developing this plugin as a hobby project. Version 1 has not yet been reached and breaking changes may still occur.
</Note>
## Sample Job
```hcl
job "iis-test" {
datacenters = ["dc1"]
type = "service"
group "iis-test" {
count = 1
network {
port "httplabel" {}
}
task "iis-test" {
driver = "iis"
config {
application {
path = "C:\\inetpub\\wwwroot"
}
application {
alias = "subapp"
path = "C:\\inetpub\\wwwroot"
}
binding {
type = "http"
port = "httplabel"
}
}
env {
my_key = "my-value"
}
resources {
cpu = 100
memory = 20
}
}
}
}
```
Please refer to the project's [Readme](https://github.com/sevensolutions/nomad-iis/blob/main/README.md) for the full documentation and configuration options.
## Download
Download the latest version from [here](https://github.com/sevensolutions/nomad-iis/releases).
## Source Code
You can get the full source code of this plugin on [Github](https://github.com/sevensolutions/nomad-iis).