0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

connect ec2 by session manager

Last updated at Posted at 2023-08-03

以下の条件を満たすことが必要

  1. EC2 instance IAM role: policy AmazonSSMManagedInstanceCore とAmazonSSMPatchAssociation を追加
  2. EC2 instance にSystem manager agent install
    • confirm the status: sudo systemctl status amazon-ssm-agent
  3. 以下のどちらか
    3-1. internet accessできること:public ip + internet gateway or NAT
    3-2. VPC endpoint( ssm, ssmmessages)作成
    ⇒endpointに付与されているsecurity groupが443 portを開放する必要

上記の通りになっているに関わらず、session manager経由での接続ができていない場合、try rebooting the EC2 instance

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?