0
0

More than 1 year has passed since last update.

EC2 (プライベートサブネット) を Systems Manager で管理する設定

Last updated at Posted at 2021-09-27

環境

環境は以下の通り。
SSM エージェントが必要となるため、Amazon Linux 2 を使用。

パラメータ
VPC 10.0.0.0/16
AMI Amazon Linux 2

SSM 用の IAM ロールのアタッチ

以下にある通り、AmazonSSMManagedInstanceCore が含まれた IAM ロールを作成し、EC2 にアタッチする。

VPC エンドポイントの作成

以下の VPC エンドポイントを作成する

・com.amazonaws.region.ssm
・com.amazonaws.region.ec2messages
・com.amazonaws.region.ssmmessages

image.png

その際に、作成するセキュリティグループは以下の通り。

・HTTPS
・VPC の CIDR (今回は 10.0.0.0/16)

image.png

ここまですると、以下の通り、Systems Manager の管理下に入った。

image.png

参考資料

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