aws ec2 describe-instances --filters "Name=instance-state-name,Values=running" --query 'Reservations[*].Instances[*].{InstanceId:InstanceId}'
aws ec2 describe-instances --filters "Name=instance-state-name,Values=running" --query 'Reservations[*].Instances[*].{InstanceId:InstanceId, IP:PublicIpAddress}'
aws ec2 describe-instances --filters "Name=platform,Values=windows" --query 'Reservations[*].Instances[*].{InstanceId:InstanceId, IP:PublicIpAddress, OS:PlatformDetails}'
aws ec2 get-password-data --instance-id i-0047b8aa669bc50ff --priv-launch-key .\Paul-360.pem
Username for windows rdp is administrator (Make sure to open rdp in security group)