aws ec2 免费主机配置

参考: http://blog.developer.tw/post/740-aws-ec2-free-instance

1) 终端 ssh 连接
To access your instance:

  1. Open an SSH client. (find out how to connect using PuTTY)
  2. Locate your private key file (ec2key.pem). The wizard automatically detects the key you used to launch the instance.
  3. Your key must not be publicly viewable for SSH to work. Use this command if needed:
    chmod 400 ec2key.pem
  4. Connect to your instance using its Public IP:
    54.65.48.255
Example:

ssh -i ec2key.pem ubuntu@54.65.48.255

2)putty ssh 连接  
参考: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/putty.html