aws cli security group1 aws cli를 통한 Security Group Inbound 설정 aws cli를 통한 Security Group Inbound Port Open #!/bin/bash sgid="sgid" echo "#### Security Grou Inbound : Security Group Id - ${sgid}" aws ec2 authorize-security-group-ingress \ --group-id ${sgid} \ --ip-permissions IpProtocol=tcp,FromPort=22,ToPort=22,\ IpRanges='[{CidrIp=0.0.0.0.0,Description="SSH Open"}]' echo "#### Done" ### 삭제 aws ec2 revoke-security-group-ingress --group-id \ --protocol --po.. 2024. 1. 21. 이전 1 다음