Remote connect to Amazon EC2 instance, amazonec2

Source: Internet
Author: User

Remote connect to Amazon EC2 instance, amazonec2
Remote Connect to Amazon EC2 Linux Instance such as NAT from Windows Using PuTTY

Http://docs.aws.amazon.com/gettingstarted/latest/wah-linux/getting-started-deploy-app-connect.html

Note:

  • The username for the linux AMI is ec2-user. (used in PuTTY)
  • Add the following rule to that linux instance security group so that you can connect to that instance via port 22 (SSH ):

 


Remote Connect to Amazon EC2 Windows Instance such as web server through Amazon EC2 Linux Instance such as Bastion

Sometimes you need to remote connect to EC2 windows instance through EC2 linux instance (Bastion)

  • Config as the section "Connect to Your Amazon EC2 Linux such as NAT Instance from Windows Using PuTTY" describes above.

  • Add map between localhost and web server as follows,

Note:

Source port: port for localhost.

Destination: the Windows server you want to connect such as web server.

  • Connect to Your Amazon EC2 Linux such as NAT Instance from Windows Using PuTTY
  • Then you can remote connect to the Windows server as follows,





Linux instances applied in amazon EC2 cannot be stopped.

In this case, I think there are only two possibilities:
1. An error occurred while using Elasticfox or Hybirdfox, and the new instance is automatically launch.
2. the AMI file you are using has built-in HA (high reliability) Protection, which prevents you from stopping it.
In addition, if you are not using the EBS storage, you should not be able to stop an instance. Only terminate is allowed

How to Implement amazon ec2 Virtualization

Amazon EC2 is a cloud computing platform. The underlying virtualization is implemented by the background Xen. AWS users do not need to worry about it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.