如何创建AWS虚拟机并进行ssh连接

参考:http://www.mzh.ren/aws-free-vps-ss.html
https://jingyan.baidu.com/article/a3a3f811d5fc338da2eb8a00.html

**

创建AWS虚拟机

**

Step 1: Choose an Amazon Machine Image (AMI) Cancel and Exit
选择要创建的系统模板,此例子选择UBUNTU x86模板
如何创建AWS虚拟机并进行ssh连接_第1张图片

Step 2: Choose an Instance Type
Instances are virtual servers that can run applications. They have varying combinations of CPU, memory, storage, and networking capacity, and give you the flexibility to choose the appropriate mix of resources for your applications.

如何创建AWS虚拟机并进行ssh连接_第2张图片
Step 3: Configure Instance Details 默认
Step 4: Add Storage 默认

Step 5: Add Tags
Cancel Previous Review and Launch Next: Configure Security Group
A tag consists of a case-sensitive key-value pair. For example, you could define a tag with key = Name and value = Webserver.
A copy of a tag can be applied to volumes, instances or both.
Tags will be applied to all instances and volumes.
如何创建AWS虚拟机并进行ssh连接_第3张图片

Step 6: Configure Security Group
Cancel Previous Review and Launch
A security group is a set of firewall rules that control the traffic for your instance. On this page, you can add rules to allow specific traffic to reach your instance. For example, if you want to set up a web server and allow Internet traffic to reach your instance, add rules that allow unrestricted access to the HTTP and HTTPS ports.

Step 7: Review Instance Launch
如何创建AWS虚拟机并进行ssh连接_第4张图片
建立、下载或选择现有的KEY,For Linux AMIs, the private key file allows you to securely SSH into your instance.
如何创建AWS虚拟机并进行ssh连接_第5张图片

建立成功!
如何创建AWS虚拟机并进行ssh连接_第6张图片

查看建立的INSTANCE-虚拟机实例

如何创建AWS虚拟机并进行ssh连接_第7张图片

注意:

  1. 机器访问地址:18.206.228.130
  2. 虚拟机已经打开,如果不用了需要停止,否则要计算费用。
    Your instances are launching, and it may take a few minutes until they are in the running state, when they will be ready for you to use. Usage hours on your new instances will start immediately and continue to accrue until you stop or terminate your instances.

**

ssh连接AWS虚拟机

**

如何创建AWS虚拟机并进行ssh连接_第8张图片
此处注意:

  1. 用户名是ubuntu,而不是能其它的
  2. 在建立AWS时曾创建了一堆公钥和私钥,私钥保存在个人电脑中。此处要选择这个私钥,才能建立连AWS的连接。
    如何创建AWS虚拟机并进行ssh连接_第9张图片

你可能感兴趣的:(AWS)