Balaji Vajjala's Blog

A DevOps Blog from Trenches

05

  • 5.4 Lockdown Environments
    • Learning Objectives
    • Restrict SSH access from an instance

5.4 Lockdown Environments

Learning Objectives

By the end of this lesson you will be able to:

  • Restrict command-line access to shared environments.

Restrict SSH access from an instance

  1. Launch a new EC2 instance.
  2. When choosing a security group, choose a group that has no inbound access.
  3. Using CloudFormation, you can give instance limited resource-level SSH access to perform deployment, but restrict users from SSH or authenticating against the instance.