5.4 Lockdown Environments

Learning Objectives

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

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.