/nguyenchungvan.github.io/ Create connect to EC2 server :: Deploy Spring Boot Application on EC2

Create connect to EC2 server

EC2 is located on a private subnet and cannot be connected in the usual way. In this lab, we use session manager to create a connection to the server.

Create a connection to EC2

  1. Access the admin interface of the AWS System Manager service.
  • Select Fleet Manager.
  • Select Account management.
  • Select Configure Default Host Management Configuration.

Connect

  1. On the Configure Default Host Management Configuration page.
  • Select Enable Default Host Management Configuration.
  • Select IAM Role for Systems Manager to be able to manage your EC2.
  • Select Configure.

Connect

Create a connection to EC2

  1. Access the EC2 service management interface.
  • Select Instance
  • Select the newly created EC2.
  • Select Connect.

Connect

  1. On the Connect to instance page.
  • Select Session Manager
  • Select Connect.

Connect

The interface after connection is as shown below.

Connect