<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>服务器安全维护工作室 &#187; AWS如何创建EC2</title>
	<atom:link href="https://www.fuwuqiok.com/tag/aws%e5%a6%82%e4%bd%95%e5%88%9b%e5%bb%baec2/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.fuwuqiok.com</link>
	<description></description>
	<lastBuildDate>Sun, 01 Mar 2020 07:28:40 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.2.26</generator>
	<item>
		<title>AWS如何创建EC2</title>
		<link>https://www.fuwuqiok.com/aws%e5%a6%82%e4%bd%95%e5%88%9b%e5%bb%baec2/</link>
		<comments>https://www.fuwuqiok.com/aws%e5%a6%82%e4%bd%95%e5%88%9b%e5%bb%baec2/#comments</comments>
		<pubDate>Fri, 31 Jul 2015 15:25:51 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[AWS]]></category>
		<category><![CDATA[AWS如何创建EC2]]></category>
		<category><![CDATA[aws服务器代维]]></category>
		<category><![CDATA[EC2]]></category>
		<category><![CDATA[创建EC2]]></category>
		<category><![CDATA[服务器基础环境搭建]]></category>

		<guid isPermaLink="false">https://www.fuwuqiok.com/?p=2302</guid>
		<description><![CDATA[<p>EC2(Elastic Compute Cloud)是亚马逊提供的Amazon Web Services之一。 [&#8230;]</p>
<p><a rel="nofollow" href="https://www.fuwuqiok.com/aws%e5%a6%82%e4%bd%95%e5%88%9b%e5%bb%baec2/">AWS如何创建EC2</a>，首发于<a rel="nofollow" href="https://www.fuwuqiok.com">服务器安全维护工作室</a>。</p>
]]></description>
				<content:encoded><![CDATA[<p>EC2(Elastic Compute Cloud)是亚马逊提供的Amazon Web Services之一。<br />
如何创建AWS的EC2（以Linux系统为例），以及如何登录EC2。</p>
<h2>创建及登录EC2</h2>
<h3>第一步：登录AWS控制台</h3>
<p>打开官网地址 <a href="https://console.aws.amazon.com/console/home">Amazon Web Services管理页面</a></p>
<p>输入自己的账户及密码</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/07/aws-login.jpg"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/07/aws-login.jpg" alt="aws-login" width="1024" height="448" /></a></p>
<h3>第二步：进入控制台后选择</h3>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/07/aws-ec2-services.jpg"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/07/aws-ec2-services.jpg" alt="aws-ec2-services" width="1024" height="501" /></a></p>
<h3>第三步：创建实例</h3>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/07/aws-ec2-launch-instance.jpg"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/07/aws-ec2-launch-instance.jpg" alt="aws-ec2-launch-instance" width="1024" height="533" /></a></p>
<h3>第四步：选择操作系统（本文以RedHat为例）</h3>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/07/aws-ec2-choose-type.jpg"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/07/aws-ec2-choose-type.jpg" alt="aws-ec2-choose-type" width="1024" height="536" /></a></p>
<h3>第五步：选择实例配置（本文以免费的实例为例）</h3>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/07/t2-micro.jpg"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/07/t2-micro.jpg" alt="t2-micro" width="1024" height="538" /></a></p>
<h3>第六步：配置实例的详细（无特别要求保持默认即可）</h3>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/07/aws-ec2-configure-instance-details.jpg"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/07/aws-ec2-configure-instance-details.jpg" alt="aws-ec2-configure-instance-details" width="1024" height="524" /></a></p>
<p>Number of instances —-创建实例个数</p>
<p>Network —-配置VPC</p>
<p>Subnet —-配置Sbunet</p>
<p>Public IP —-是否分配公共IP</p>
<p>Shutdown behavior —-Shutdown操作选择</p>
<h3>第七步：添加系统盘及其他硬盘</h3>
<p>EC2现在默认是没有系统盘的，需要用户自行配置系统盘的大小，也可在此添加数据盘</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/07/aws-ec2-add-storage.jpg"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/07/aws-ec2-add-storage.jpg" alt="aws-ec2-add-storage" width="1024" height="533" /></a></p>
<h3>第八步：填写实例Tag （可以为空）</h3>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/07/aws-ec2-tag-instance.jpg"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/07/aws-ec2-tag-instance.jpg" alt="aws-ec2-tag-instance" width="1024" height="519" /></a></p>
<h3>第九步：选择安全组（用户可使用默认的安全组，也可自己创建新的，本文选择默认的安全组）</h3>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/07/aws-ec2-configure-security-group.jpg"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/07/aws-ec2-configure-security-group.jpg" alt="aws-ec2-configure-security-group" width="1024" height="521" /></a></p>
<h3>第十步：核对实例信息</h3>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/07/aws-ec2-review-instance-launch.jpg"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/07/aws-ec2-review-instance-launch.jpg" alt="aws-ec2-review-instance-launch" width="1024" height="521" /></a></p>
<h3>第十一步：创建密钥（这步很重要，如果没有使用已经存在的密钥的话，一定要先下载下来之后在创建实例，否则创建好的实例后也是无法登陆的）</h3>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/07/aws-ec2-select-an-existing-keypair.jpg"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/07/aws-ec2-select-an-existing-keypair.jpg" alt="aws-ec2-select-an-existing-keypair" width="1024" height="530" /></a></p>
<p>出现如下画面表示我们的实例已经创建成功了。</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/07/aws-ec2-launch-status.jpg"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/07/aws-ec2-launch-status.jpg" alt="aws-ec2-launch-status" width="1024" height="530" /></a></p>
<p>查看下我们的实例吧，可以看到实例的ID等信息，特别注意的是这个实例没有固定IP的，系统会分配一个IP，但这个IP重启后会变，所以需要我们为这个实例创建个固定IP，本文不做过多介绍，之后的文章会有详细介绍如何创建公共IP。这里我们就用系统分配的IP来登录。</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/07/aws-ec2-instances.jpg"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/07/aws-ec2-instances.jpg" alt="aws-ec2-instances" width="1024" height="539" /></a></p>
<p>我使用的工具书Tera Term，由于工作需要，安装的是日文版。输入系统分配好的公共IP：54.92.41.11</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/07/login-of-teraterm.jpg"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/07/login-of-teraterm.jpg" alt="login-of-teraterm" width="673" height="492" /></a></p>
<p>这里不可以用root登录，需要用ec2-user来登录</p>
<p>密钥就是我们在创建key pair的时候下载的文件，点击「OK」后成功登录。<br />
接下来我们就可以用这个免费的亚马逊云主机来创建个人网站啦。</p>
<p>如果使用的是CentOS的话，就可以直接用root用户登录。</p>
<p><a rel="nofollow" href="https://www.fuwuqiok.com/aws%e5%a6%82%e4%bd%95%e5%88%9b%e5%bb%baec2/">AWS如何创建EC2</a>，首发于<a rel="nofollow" href="https://www.fuwuqiok.com">服务器安全维护工作室</a>。</p>
]]></content:encoded>
			<wfw:commentRss>https://www.fuwuqiok.com/aws%e5%a6%82%e4%bd%95%e5%88%9b%e5%bb%baec2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
