======================================================================================== 事前作業2. セキュリティグループの更新 (Ingressの許可: ソースセキュリティグループ指定) ======================================================================================== .. include:: ./_defines-vpc.txt .. include:: ./_defines-vpc-sg-db-handson-cli.txt .. .. |AWS_DEFAULT_PROFILE| replace:: .. .. |AWS_DEFAULT_REGION| replace:: ap-northeast-1 .. .. |AWS_ID| replace:: .. .. |DIR_TMP| replace:: ${HOME}/tmp .. .. |DIR_CONF| replace:: ${HOME}/tmp/conf-ec2 .. .. |VPC_TAG_NAME| replace:: .. .. |VPC_SOURCE| replace:: 10.192.0.0/16 .. .. |VPC_ID| replace:: vpc-xxxxxxxx .. .. |VPC_SG_NAME| replace:: <セキュリティグループ名> .. .. |VPC_SG_NAME_SOURCE| replace:: <ソースセキュリティグループ名> .. .. |VPC_SG_ID| replace:: sg-xxxxxxxx .. .. |VPC_SG_ID_SOURCE| replace:: sg-yyyyyyyy .. .. |VPC_SG_PROTOCOL| replace:: <プロトコル名> .. .. |VPC_SG_PORT| replace:: <ポート番号> .. |EC2_TAG_KEY| replace:: Name ---------------------------------------------------------------- 作業の目的 [why] ---------------------------------------------------------------- VPC"\ |VPC_TAG_NAME|\ "のセキュリティグループ"\ |VPC_SG_NAME|\ "に、ソースセキュリティグループ"\ |VPC_SG_NAME_SOURCE|\ "から"\ |VPC_SG_PORT|\ /\ |VPC_SG_PROTOCOL|\ "への通信を許可するルールを追加します。 .. include:: ../../../resource-catalog/task-ec2/ec2-security_group_ingress_authorize-update/_display-condition-common-ec2-security_group_ingress_authorize-security_group-update.txt .. include:: ../../../resource-catalog/task-ec2/ec2-security_group_ingress_authorize-update/ec2-security_group_ingress_authorize-source_group-update.txt .. 3.3. 後処理に必要な作業 .. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% .. 後処理に必要な作業があれば実施します。 ---------------------------------------------------------------- 完了 ----------------------------------------------------------------