List of assigned IPs in subnet
EC2: List of assigned IPs in subnet
aws ec2 describe-network-interfaces
--filters "Name=subnet-id,Values=<subnet-id>"
--query 'NetworkInterfaces[*].PrivateIpAddress'
How to make EC2 user data script run again on startup?
How to make EC2 user data script run again on startup?
rm /var/lib/cloud/instances/*/sem/config_scripts_user
rm /var/lib/cloud/instance/sem/config_scripts_user