ca5
4/3/2018 - 2:11 AM

ec2からEIPをつける

aws ec2 associate-address --region ap-northeast-1 --instance-id $(curl http://169.254.169.254/latest/meta-data/instance-id) --public-ip [EIP]