Sign in or sign up for an account on AWS
Click "EC2" to create the EC2 instance
Select an area at the top right of the page, and the example in Tokyo is good for domestic users with speed and stability
Click "Instances"
Select the instance type, and choose "RHEL 7.1" for the type of person you prefer.
Give the instance a name
Configuring security groups, which are similar to firewalls, are used to qualify inbound rules and outbound rules. As shown, create a security group named "Lanch-wizard-1", add the station rule "Type:all trraffic, Source:anywhere"
The AWS instance needs to be connected as SSH, the connection is authenticated with the key, and in one region (such as Tokyo in the example) multiple keys can be created, different instances can use the same key, or different keys can be created for each instance. The generated key is not saved on AWS, so you need to click on "Download key Pair" To download to the local and note the save, each time the remote connection instance needs this key. After downloading the key, click "Lanch Instances" to launch the instance.
Click Instance ID to return to the instance list after launch
Assigns an elastic IP and associates it to an instance. After the instance is started, there will be a public IP, which is dynamically allocated, and the public IP may change after each instance restart, and the elastic IP will not change.
After creating the elastic IP, associate it to the instance (if it is not associated, it will be charged)
Click the input box to select the instance you just created and confirm the association
Return an instance to see that the instance you just created is already associated with an elastic IP (Elastic IP)
After clicking "Connect" in the list of instances, a description of how to connect to the instance will pop up, for the Windows operating system, you can use PuTTY to connect, click "Connect using PuTTY" will open the following link, in fact, there are detailed instructions
Https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/putty.html?console_help=true
Create a private key in putty format and connect to the instance as described in the link above
Click Yes to confirm that the RSA fingerprint of the remote host is added to the putty cache
Connection Successful
Amazon AWS Creates a Rhel 7 instance