Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 757 Bytes

bastion.md

File metadata and controls

11 lines (9 loc) · 757 Bytes

Deploy and connect to the Bastion (an EC2 Instance accessed securely via Systems Manager's Session Manager)

If you set deploy_bastion to True in cluster-bootstrap/cdk.json then the template will deploy an EC2 instance with all the tools to manage your cluster.

To access this bastion:

  1. Go to the Systems Manager Server in the AWS Console
  2. Go to Managed Instances on the left hand navigation pane
  3. Select the instance with the name EKSClusterStack/CodeServerInstance
  4. Under the Instance Actions menu on the upper right choose Start Session
  5. Run `aws eks update-kubeconfig --name --region to populate your ~/.kube/config file
  6. Run kubectl get nodes to see that all the tools are there and set up for you!