Lab 3.2: AWS EC2 with CLI - Lab 2
Submit Screenshot: Use the describe-instances command to just output the instance-ids of running instances
aws ec2 describe-instances --filters "Name=instance-state-name,Values=running" --query 'Reservations[*].Instances[*].{InstanceId:InstanceId}'
Submit Screenshot: Use the describe-instances command to just output the instance-ids and public IP address of running instances
aws ec2 describe-instances --filters "Name=instance-state-name,Values=running" --query 'Reservations[*].Instances[*].{InstanceId:InstanceId, IP:PublicIpAddress}'
Submit Screenshot: Use the describe-instances command to just output the instance-ids and public IP address of only Windows
aws ec2 describe-instances --filters "Name=platform,Values=windows" --query 'Reservations[*].Instances[*].{InstanceId:InstanceId, IP:PublicIpAddress, OS:PlatformDetails}'
Connect Windows Instance (RDP)
Get the password of the windows instance
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)