Cleanup EC2 linux instance

Cleanup EC2 linux bastion host and Security groups

  1. Go to EC2 service management console.
  • Click Instances.
  • Choose labBastionHost01.
  • Click Instance state.
  • Click Terminate (delete) instance. Cleanup
  • At the popup, click Terminate (Delete). Cleanup
  1. At EC2 service management console page.
  • On the left panel, scroll down and click Key Pairs.
  • Choose labBastionHostSSHKey01.
  • Click Actions.
  • Click Delete. Cleanup
  • At the popup, enter Delete and click Delete. Cleanup
  1. At EC2 service management console page.
  • On the left panel, scroll down and click Security Groups.
  • Choose labEKSClusterSG01, labBastionHostSG01 and labEFSSG01.
  • Click Actions.
  • Click Delete security groups. Cleanup
  • At the popup, enter delete and click Delete. Cleanup

Next, we will cleanup vpc.