Yeah Yuvi. Super frustrating!

below is an update.

Update: As of June 28, AWS seems to have restricted access to remote ports 22 and 3389, so we can only ssh and RDP to EC2 instances. We will have to see if they allow access to other remote ports again. 😞

When trying to connect to other remote ports such as RDS, getting the below error now:

2023-06-28 14:08:02,226 - awscli.customizations.ec2instanceconnect.websocket - ERROR - {"ErrorCode":"InvalidParameter","Message":"The specified RemotePort is not valid. Specify either 22 or 3389 as the RemotePort and retry your request."}

AWS_ERROR_HTTP_WEBSOCKET_UPGRADE_FAILURE: Failed to upgrade HTTP connection to Websocket.

Responses (1)