For an EC2 instance that we have created earlier, the public IP is 54.209.21.209. To ease the connectivity demonstration, I spun up the EC2 server in the public subnet. You should follow the appropriate practice in your environment to get connected to your EC2 instance. Whether to use the bastion server, build IPsec VPN, or use direct connect is something you need to think about, considering your network infrastructure requirement. In order to access the EC2 instance, ensure that you have the OpenSSH module installed in your PowerShell environment. Microsoft announced OpenSSH support on PowerShell in 2015. You can download the OpenSSH from https://github.com/PowerShell/Win32-OpenSSH/releases, and follow the instructions posted on https://github.com/PowerShell/Win32-OpenSSH/wiki/Install-Win32-OpenSSH. This is not the only way that you can get connected...
United States
Great Britain
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Singapore
Canary Islands
Hungary
Ukraine
Luxembourg
Estonia
Lithuania
South Korea
Turkey
Switzerland
Colombia
Taiwan
Chile
Norway
Ecuador
Indonesia
New Zealand
Cyprus
Denmark
Finland
Poland
Malta
Czechia
Austria
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Netherlands
Bulgaria
Latvia
South Africa
Malaysia
Japan
Slovakia
Philippines
Mexico
Thailand