Cli-sec-group-edit » 履歴 » バージョン 1
蒲池 晃, 2023/02/14 12:36
1 | 1 | 蒲池 晃 | h1. CLIを使ってセキュリティーグループを編集 |
---|---|---|---|
2 | 1 | 蒲池 晃 | |
3 | 1 | 蒲池 晃 | セキュリティーグループ設定の確認 |
4 | 1 | 蒲池 晃 | <pre>aws ec2 describe-security-groups --group-id sg-xxxxxxxxxxxxxx --output table</pre> |
5 | 1 | 蒲池 晃 | セキュリティー設定の追加 |
6 | 1 | 蒲池 晃 | <pre>aws ec2 authorize-security-group-ingress --group-id sg-xxxxxxxxxxxxxx --protocol tcp --port 80 --cidr 0.0.0.0/0</pre> |
7 | 1 | 蒲池 晃 | セキュリティー設定の削除 |
8 | 1 | 蒲池 晃 | <pre>aws ec2 revoke-security-group-ingress --group-id sg-xxxxxxxxxxxxxx --protocol tcp --port 80 --cidr 0.0.0.0/0</pre> |