Skip to content

example(iaas): restrict the egress of a VM with the STACKIT Server Agent - #37

Merged
mauritzuph merged 38 commits into
stackitcloud:mainfrom
devpie:example/iaas-server-agent-restricted-egress
Oct 20, 2026
Merged

mauritzuph merged 38 commits into
stackitcloud:mainfrom
devpie:example/iaas-server-agent-restricted-egress

Conversation

@devpie

@devpie devpie commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Description

This PR adds the example iaas-server-agent-restricted-egress: a VM with the STACKIT Server Agent behind an egress allow-list and a jump host.
The provider cannot remove the two default egress rules of a security group (stackitcloud/terraform-provider-stackit#1810), so remove-default-egress-rules.sh deletes them through the IaaS API.
Test runs on 15 and 19 October 2026 showed that cloud-init, the Server Agent and Run Command need only DHCP and the metadata service.
A service account gets the project role run-command.editor, because the role owner on a folder carries no Run Command permission.
Please review the README, the deletion script and the open egress of the jump host.

Checklist

  • The CI pipeline passed successfully.

Jan Marco Schreier added 30 commits October 15, 2026 09:02
@devpie
devpie force-pushed the example/iaas-server-agent-restricted-egress branch from 8017bf1 to c7c58d1 Compare October 19, 2026 13:31
@mauritzuph
mauritzuph merged commit 061ae3b into stackitcloud:main Oct 20, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants