====== Automation ======
**Target audience:** DevOps, Sysadmins \\
**Content:** Deployment options \\
**Goal:** Run Gateway as service
Automated deployment and operation of the Data Gateway.
----
===== Workflow =====
flowchart LR
subgraph WINDOWS["WINDOWS"]
W1[Windows Service]
W2[IIS Integration]
end
subgraph LINUX["LINUX"]
L1[systemd]
L2[supervisord]
end
subgraph CONTAINER["CONTAINER"]
C1[Docker]
C2[Docker Compose]
C3[Kubernetes]
end
W1 --> C1
L1 --> C1
C1 --> C3
style W1 fill:#e3f2fd
style L1 fill:#e8f5e9
style C3 fill:#fff3e0
----
===== Deployment Options =====
^ Option ^ Platform ^ Recommended for ^
| [[.:windows-dienst|Windows Service]] | Windows Server | Enterprise environments |
| [[.:systemd|systemd]] | Linux | Server deployment |
| [[.:docker|Docker]] | Linux/Windows | Development, CI/CD |
| [[.:kubernetes|Kubernetes]] | Cloud | Scalable production |
----
===== Decision Guide =====
flowchart TD
A[Start] --> B{Platform?}
B -->|Windows| C{Container?}
B -->|Linux| D{Container?}
C -->|No| E[Windows Service]
C -->|Yes| F[Docker]
D -->|No| G[systemd]
D -->|Yes| F
F --> H{Scaling?}
H -->|Single| I[Docker Compose]
H -->|Cluster| J[Kubernetes]
style E fill:#e3f2fd
style G fill:#e8f5e9
style I fill:#fff3e0
style J fill:#fff3e0
----
===== Prerequisites =====
| Deployment | Prerequisite |
|------------|--------------|
| Windows Service | .NET 8 Runtime, Admin rights |
| systemd | .NET 8 Runtime, root/sudo |
| Docker | Docker Engine 20+ |
| Kubernetes | kubectl, Helm (optional) |
----
===== Related Runbooks =====
* [[..:tagesgeschaeft:server-starten|Start Server]] - Manual start
* [[..:monitoring:prometheus|Prometheus]] - Monitoring integration
* [[..:sicherheit:tls-einrichten|Set Up TLS]] - HTTPS for production
----
<< [[..:start|<- Operator Handbook]] | [[.:windows-dienst|-> Windows Service]] >>
----
//Wolfgang van der Stille @ EMSR DATA d.o.o. - Data Gateway Professional//
{{tag>operator automatisierung deployment}}