Skip to main content
Cloud / DevOpsCloud SecurityDiagramBeginner

Bastion Host

KO: 배스천 호스트·EN: Bastion Host·JA: 踏み台サーバー(バスティオン)

A hardened jump server placed at the network edge that serves as the single audited entry point for administrators accessing isolated servers and databases inside private subnets

Table of Contents

Structure Diagram

Bastion Host (Jump Box) Audited Access to Private SubnetsTap a node
Allowlist+Internal STunnelAdmin (MF…Bastion H…Private A…Private D…
ROOTAdmin (MFA/SSH)
1 link
Quick Answer

What is Bastion Host?

A hardened jump server placed at the network edge that serves as the single audited entry point for administrators accessing isolated servers and databases inside private subnets. It is a core concept in Cloud Security within Cloud / DevOps.

Core Principles

A Bastion Host (or Jump Box) is a single hardened gateway server placed in a public subnet so administrators can securely reach isolated instances and databases inside private subnets without assigning public IPs to internal hosts.

By stripping unnecessary software, restricting inbound access to strict IP allowlists with SSH key/MFA authentication, and centralizing session audit logs, a bastion concentrates external administrative exposure into one tightly monitored choke point.

Practical Takeaways

  • Prefer modern "Bastionless" access: Even a hardened bastion requires OS patching, SSH key rotation, and carries an open public port. Modern cloud teams replace bastions with AWS SSM Session Manager, GCP IAP TCP Forwarding, or Teleport, requiring zero open inbound ports.
  • Never store private keys on the bastion: Copying internal .pem keys onto a bastion host turns a single compromise into full internal network takeover. Use ssh -J (ProxyJump) or short-lived SSH certificates instead.
  • Use ephemeral on-demand bastions: If a jump box is still required for legacy tooling, spin it up on demand via IaC and auto-terminate it after the maintenance window closes.

Notable Examples

  • AWS SSM Session Manager: Provides IAM-authenticated shell access and RDS port forwarding to private subnets with zero open inbound ports or bastion VMs.
  • GCP IAP TCP Forwarding: Tunnels SSH/RDP traffic through Google's Identity-Aware Proxy using SSO and MFA.
  • HashiCorp Boundary & Teleport: Modern identity-based access proxies with session recording and just-in-time approvals.