Notifications
Clear all
Community Forum
2
Posts
1
Users
0
Likes
1,297
Views
Topic starter
08/05/2020 4:39 pm
Using aws cli
Topic starter
08/05/2020 4:40 pm
aws ec2 describe-instances --query "Reservations[].Instances[]| [? NetworkInterfaces [? starts_with(PrivateIpAddress, '10.')]].{InstanceId:InstanceId,PrivateDnsName:PrivateDnsName,State:State.Name, IP:NetworkInterfaces[0].PrivateIpAddress}"
Replace Private IP address with then desired ip range