Azure Bastion + Hardened Jumpbox
Bastion (Developer/Basic/Standard SKU) with optional hardened Linux VM, JIT-style NSG rules and boot diagnostics for secure VM access without public IPs.
Verification
Live-testedReally deployed to a cloud sandbox, verified against its outputs and assertions, then destroyed - with the teardown confirmed.
Conformance
- Static validation (fmt · validate · tflint)
- Security scan clean (Checkov)
- Plan test superseded by live test
Provenance
- SHA-256 checksum
- Cosign signature
Functional
- Live-tested - applied, verified, destroyed
Last verified 2026-06-29 · how we verify
Verify this download
cosign · sha-256Don't take our word for it. Every release is signed with cosign - check the bytes against our pinned public key before you trust them.
# 1. Our pinned public key - fetch once, trust out-of-band
curl -O https://www.iac-bazaar.com/cosign.pub
# 2. This module's Sigstore bundle
curl -o azure-bastion-jumpbox-1.0.0.sigstore.json \
https://www.iac-bazaar.com/api/artifacts/azure-bastion-jumpbox/signature
# 3. Verify the tarball you downloaded
cosign verify-blob \
--key cosign.pub \
--bundle azure-bastion-jumpbox-1.0.0.sigstore.json \
azure-bastion-jumpbox-1.0.0.tar.gz
# → Verified OK
# 4. (optional) confirm the checksum too
echo "57a33ac925a4d6b26707ed14e7000b12d708c11be1db25b5f83b99cb96c67a7d azure-bastion-jumpbox-1.0.0.tar.gz" | sha256sum -cUse it from the registry
terraform · opentofumodule "bastion_jumpbox" {
source = "www.iac-bazaar.com/iac-bazaar/azure-bastion-jumpbox/azure"
version = "1.0.0"
}Needs a registry token from /account/tokens. The module itself is free; the account is what identifies you. Full setup: registry docs.
Cite it in your README
badge · attributionPaste this beside the module in the repository that uses it. The badge is rendered from this artifact's verification record, so it reads live-tested because the record says so, and the link lands on this page.
[](https://www.iac-bazaar.com/catalog/azure-bastion-jumpbox?utm_source=syndication&utm_medium=readme&utm_campaign=artifact)
Terraform module 1.0.0, live-tested on IaC Bazaar: [Azure Bastion + Hardened Jumpbox](https://www.iac-bazaar.com/catalog/azure-bastion-jumpbox?utm_source=syndication&utm_medium=readme&utm_campaign=artifact)
```hcl
module "bastion_jumpbox" {
source = "www.iac-bazaar.com/iac-bazaar/azure-bastion-jumpbox/azure"
version = "1.0.0"
}
```Preview:
Inputs & outputs
Create a free account to read this module's contract
The declared contract - every input name, type, default and description, plus every output - is shown to signed-in accounts, not to anonymous visitors.
A free account sees the contract of every module in the catalogue. There is no subscription and nothing to buy - the modules are free to download, and they run under Vizier.
Documentation
azure-bastion-jumpbox
Prerequisites: an existing VNet with an
AzureBastionSubnetof/26or larger, and the Trusted Launch and encryption-at-host features registered on the subscription. Neither is created for you.
Secure VM access without public IPs: an Azure Bastion host (Developer /
Basic / Standard) plus an optional hardened Linux jumpbox reachable only
through the Bastion. Works with Terraform and OpenTofu (>= 1.6), azurerm
provider >= 4.0, < 5.0.
The Developer SKU is the free-tier-friendly option for short-lived tests (it
references the VNet directly and provisions no dedicated public IP or subnet);
Basic/Standard attach to an AzureBastionSubnet with a Standard public IP, and
Standard unlocks native-client tunneling, IP-connect and file-copy.
Secure defaults
- Jumpbox has no public IP — it is reachable only by going through Bastion.
- SSH-key auth only; password authentication is disabled (a precondition
requires
jumpbox_ssh_public_key). - Trusted Launch: Secure Boot + vTPM on, plus encryption at host.
- Deny-by-default NSG on the jumpbox NIC: an explicit catch-all denies all
inbound, and a single allow rule permits SSH from
jumpbox_allowed_ssh_source_address. This defaults to theVirtualNetworktag — the whole VNet (which contains Bastion, but also any other VM/workload in the VNet). For strict Bastion-only SSH, set it to theAzureBastionSubnetCIDR (see Requirements & notes). - System-assigned managed identity on the jumpbox for least-privilege role grants; boot diagnostics on a managed storage account by default.
- Bastion public IP is Standard / static / zone-deployable.
License
Commercial — LicenseRef-IaCBazaar-Commercial
Usage code & full reference need an account
The complete copy-paste usage, the full input/output reference, and operational notes are free with an account - shown here and bundled in the download. Sign in and this section fills in.
- Usage
- Inputs
- Outputs
- Requirements & notes
Related modules
azure-b2c
An Azure AD B2C tenant created where its customer directory should live, on PremiumP1 or P2, linked to the subscription that pays per monthly active user. Data residency and the onmicrosoft.com name are chosen once and cannot change; user flows, policies and app registrations are configured inside the tenant with an azuread provider pointed at the exported tenant ID.
azure-ddos-protection-plan
The plan is a fixed monthly charge of roughly three thousand dollars from the moment it exists, attached VNets or not; it protects only the VNets that reference it; and DDoS IP Protection on the addresses themselves is an order of magnitude cheaper for a handful. The charge accepted by name before the plan is created, the plan ID exported for azure-vnet, an output that says it bills unattached.
azure-firewall
Every security feature on this service defaults to telling you, not to stopping it: threat_intelligence_mode defaults to Alert, which logs traffic to known-malicious destinations and forwards it, and intrusion detection does the same. Deny for both here, with the DNS proxy on so FQDN rules and the client agree on an answer.
azure-entra-domain-services
Microsoft Entra Domain Services with NTLM v1, TLS 1.0 and RC4 off and Kerberos armoring on, the WinRM network security group the service insists on, the AAD DC Administrators group with the members you name, and the Domain Controller Services principal registered, all of which fail late when missing. Notifications go to the admins; filtered sync and LDAPS are inputs.
azure-purview
A Microsoft Purview account for the data map with public network access off, the managed Event Hub that bills monthly whether used or not turned off, a system identity, and Storage Blob Data Reader granted to that identity on every storage account it will scan, since a scan fails otherwise. The account bills for data map capacity from creation; public access is accepted by name.
azure-waf-policy
Detection mode evaluates every rule, logs every match and forwards every request - the dashboard fills with blocked-looking entries while the backend receives them all. Prevention by default, Detection only by name. A policy attached to no listener protects nothing, so the attached listeners are an output; every exclusion is a hole and has to carry a reason.