<?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; 未分类</title>
	<atom:link href="https://www.fuwuqiok.com/tag/uncategorized/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>ECS安全组设置</title>
		<link>https://www.fuwuqiok.com/ecs%e5%ae%89%e5%85%a8%e7%bb%84%e8%ae%be%e7%bd%ae/</link>
		<comments>https://www.fuwuqiok.com/ecs%e5%ae%89%e5%85%a8%e7%bb%84%e8%ae%be%e7%bd%ae/#comments</comments>
		<pubDate>Tue, 01 Dec 2015 13:57:45 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[未分类]]></category>
		<category><![CDATA[ECS安全组设置]]></category>

		<guid isPermaLink="false">https://www.fuwuqiok.com/?p=2764</guid>
		<description><![CDATA[<p>安全组是一个逻辑上的分组，这个分组是由同一个地域内具有相同安全保护需求并相互信任的实例组成。 安全组，类似防火 [&#8230;]</p>
<p><a rel="nofollow" href="https://www.fuwuqiok.com/ecs%e5%ae%89%e5%85%a8%e7%bb%84%e8%ae%be%e7%bd%ae/">ECS安全组设置</a>，首发于<a rel="nofollow" href="https://www.fuwuqiok.com">服务器安全维护工作室</a>。</p>
]]></description>
				<content:encoded><![CDATA[<p>安全组是一个逻辑上的分组，这个分组是由同一个地域内具有相同安全保护需求并相互信任的实例组成。</p>
<p>安全组，类似防火墙，用于设置单台或多台云服务器的网络访问控制，它是重要的安全隔离手段。</p>
<p>每个实例至少属于一个安全组，在创建的时候就需要指定。</p>
<p>不同安全组的实例之间默认内网不通，可以授权两个安全组之间互访。<a href="https://docs.aliyun.com/#/pub/ecs/product-introduction/network&amp;securitygroup">更多详情</a></p>
<h2 id="ecs-">ECS安全组配置</h2>
<p>目前，ECS安全组有三种方式</p>
<ul>
<li>配置方式1：阿里云管理控制台配置 目前，<code>非VPC用户无法在阿里云控制台看到安全组配置，可提交工单申请开通，注明“开通控制台显示‘本实例安全组’”</code>。</li>
</ul>
<p>在开通安全组之后，用户可以在ECS实例控制台看到安全组，如图:</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/12/1.jpg"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/12/1.jpg" alt="1" width="344" height="399" /></a></p>
<p>点击右上角 <code>“创建安全组”</code>：</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/12/2.jpg"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/12/2.jpg" alt="2" width="293" height="272" /></a></p>
<p>填写安全组名称和备注，选择网络类型:</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/12/3.jpg"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/12/3.jpg" alt="3" width="586" height="438" /></a></p>
<p>安全组创建成功后，需要配置规则，点击安全组的<code>“配置规则”</code>链接:</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/12/4.jpg"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/12/4.jpg" alt="4" width="263" height="155" /></a></p>
<p>添加安全组配置规则时，规则方向需要选<code>“入方向”</code>，网卡类型选<code>“内网”</code>:</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/12/6.jpg"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/12/6.jpg" alt="6" width="589" height="619" /></a></p>
<p>规则创建成功后，可以看到此时的安全组还没有应用到任何ECS实例，如图显示，相关实例是0:</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/12/7.jpg"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/12/7.jpg" alt="7" width="645" height="87" /></a></p>
<p>下面，还需要将安全组绑定到ecs实例，才能使ecs按此安全组规则生效。</p>
<p>选择ecs实例的<code>“安全组配置”</code>选项</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/12/8.jpg"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/12/8.jpg" alt="8" width="285" height="489" /></a></p>
<p>点击右上角<code>“加入安全组”</code>:</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/12/9.jpg"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/12/9.jpg" alt="9" width="304" height="214" /></a></p>
<p>在弹出对话框中，选择刚刚创建的安全组:</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/12/10.jpg"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/12/10.jpg" alt="10" width="609" height="308" /></a></p>
<p>此时返回安全组列表，可以看到相关实例的值已经变为1:</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/12/11.jpg"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/12/11.jpg" alt="11" width="448" height="101" /></a></p>
<p>此时测试从配置的网段访问此ecs的特定端口，即可访问。</p>
<ul>
<li>配置方式2：命令行jar包配置 首先<a href="http://bbs.aliyun.com/job.php?spm=5176.7189909.0.0.tzpjnf&amp;action=download&amp;aid=52527">下载jar包</a>到一个有java环境的linux上。执行如下命令，进入交互模式：</li>
</ul>
<p><code>$ java -jar ~/aliyuncs.jar -id &lt;您的Access Key ID&gt; -secret &lt;您的Access KeySecret&gt; -service ECS:2014-05-26</code></p>
<p>其中，aliyuncs.jar为上面下载的文件解压得到，2014-05-26为ECS api版本，此处可以指定为2014-05-26</p>
<p>然后创建安全组实例，如下命令，RegionId为ecs所在城市，Description为安全组名称</p>
<p><code>@ECS:/&gt;CreateSecurityGroup RegionId=cn-qingdao,Description=gpu_test</code></p>
<p>创建成功后，会返回安全组实例名，当前操作是sg-28fcdqtel，接着可以给安全组赋予更多的属性。下例是实现10.239.23.101/28网段的所有机器可以访问当前ecs的80端口。</p>
<p><code>@ECS:/&gt;AuthorizeSecurityGroup SecurityGroupId=sg-28fcdqtel,IpProtocol=TCP,PortRange=80/80,SourceCidrIp=10.239.23.101/28,NicType=intranet,RegionId=cn-qingdao</code></p>
<p>完善安全组实例属性后，就可以将安全组实例和ecs实例进行绑定。</p>
<p><code>@ECS:/&gt;JoinSecurityGroup SecurityGroupId=sg-28fcdqtel,InstanceId=i-28weu9ksr</code></p>
<p>以上步骤操作后，即可实现10.239.23.101/28网段的所有主机访问当前ecs的80端口。</p>
<p>除以上操作外，还有以下一些相关操作。</p>
<p>列出所有安全组 <code>@ECS:/&gt;DescribeSecurityGroups RegionId=cn-qingdao</code> 列出当前安全组的所有属性 <code>@ECS:/&gt;DescribeSecurityGroupAttribute SecurityGroupId=sg-28fcdqtel,NicType=intranet,RegionId=cn-qingdao</code> 解除当前安全组和当前ecs实例的绑定 @ECS:/&gt;LeaveSecurityGroup SecurityGroupId=sg-28fcdqtel,InstanceId=i-28weu9ksr 删除安全组 <code>@ECS:/&gt;DeleteSecurityGroup SecurityGroupId=sg-28fcdqtel,RegionId=cn-qingdao</code> 授权从当前ecs向外访问的安全组规则 <code>@ECS:/&gt;AuthorizeSecurityGroupEgress SecurityGroupId=sg-28fcdqtel,IpProtocol=TCP,PortRange=1/65535,DestCidrIp=0.0.0.0/0,NicType=intranet,RegionId=cn-qingdao</code></p>
<p>更多信息可以参考<a href="http://bbs.aliyun.com/read/161774.html">Jar包实践</a></p>
<ul>
<li>配置方式3：API方式配置 详见<a href="https://docs.aliyun.com/?spm=5176.750001.1863381.486.2BsnrR#/pub/ecs/open-api/securitygroup&amp;createsecuritygroup">ECS API</a> 使用文档，使用方式较复杂，不推荐使用。</li>
</ul>
<p>注：</p>
<p>当前的RegionId，可参考：</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/12/region_id_12.jpg"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/12/region_id_12.jpg" alt="region_id_12" width="589" height="192" /></a></p>
<p><a rel="nofollow" href="https://www.fuwuqiok.com/ecs%e5%ae%89%e5%85%a8%e7%bb%84%e8%ae%be%e7%bd%ae/">ECS安全组设置</a>，首发于<a rel="nofollow" href="https://www.fuwuqiok.com">服务器安全维护工作室</a>。</p>
]]></content:encoded>
			<wfw:commentRss>https://www.fuwuqiok.com/ecs%e5%ae%89%e5%85%a8%e7%bb%84%e8%ae%be%e7%bd%ae/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在亚马逊AWS上建立Git服务器</title>
		<link>https://www.fuwuqiok.com/%e5%9c%a8%e4%ba%9a%e9%a9%ac%e9%80%8aaws%e4%b8%8a%e5%bb%ba%e7%ab%8bgit%e6%9c%8d%e5%8a%a1%e5%99%a8/</link>
		<comments>https://www.fuwuqiok.com/%e5%9c%a8%e4%ba%9a%e9%a9%ac%e9%80%8aaws%e4%b8%8a%e5%bb%ba%e7%ab%8bgit%e6%9c%8d%e5%8a%a1%e5%99%a8/#comments</comments>
		<pubDate>Sat, 22 Aug 2015 16:27:35 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[未分类]]></category>
		<category><![CDATA[在亚马逊AWS上建立Git服务器]]></category>

		<guid isPermaLink="false">https://www.fuwuqiok.com/?p=2675</guid>
		<description><![CDATA[<p>本文可以算是前文用亚马逊的云(AWS)免费建立wordpress blog的 一个延续，在上文的基础上我们可以 [&#8230;]</p>
<p><a rel="nofollow" href="https://www.fuwuqiok.com/%e5%9c%a8%e4%ba%9a%e9%a9%ac%e9%80%8aaws%e4%b8%8a%e5%bb%ba%e7%ab%8bgit%e6%9c%8d%e5%8a%a1%e5%99%a8/">在亚马逊AWS上建立Git服务器</a>，首发于<a rel="nofollow" href="https://www.fuwuqiok.com">服务器安全维护工作室</a>。</p>
]]></description>
				<content:encoded><![CDATA[<p>本文可以算是前文用亚马逊的云(AWS)免费建立wordpress blog的 一个延续，在上文的基础上我们可以建立一个属于自己的git服务器。这里介绍的方法会用到gitolite和gitlist，gitolite是一个 git的用户管理层，方便的管理用户和git repository，而gitlist是一个方便从网页查看git reposito的工具。本文假设你对git有基本的了解，并且基于提到的前文已经假设好了环境<br />
<span id="more-205"></span></p>
<h2>在EC2上安装配置gitolite (<code>sudo su</code>)</h2>
<pre><code>cd /tmp
# 准备key文件,或者使用你现有的key文件
ssh-keygen -t rsa
cp id_rsa.pub /tmp/your-name.pub

# install packages 安装工具
sudo apt-get install git gitolite git-daemon-run
# create git user 创建git用户
sudo adduser --system --shell /bin/bash --gecos 'git version control' --group --disabled-password --home /home/git git
sudo su - git
cd /home/git
echo "PATH=$HOME/bin:$PATH" &gt; .bashrc
# gl-setup gitolite初始化
gl-setup /tmp/your-name.pub
# 执行上面命令后gitolite会让选择熟悉的编辑器你修改配置文件，打开配置后座如下修改
	$REPO_UMASK = 0022;</code></pre>
<p>至此gitolite安装完毕，建议</p>
<h2>配置你工作机上的<code>~/.ssh/config</code>文件</h2>
<p>以方便连接<br />
config文件如下</p>
<pre><code>Host 你喜欢的名字，如gs
Hostname 亚马逊PUBLIC DNS
User git
IdentityFile C:/Users/test/.ssh/id_rsa #你的私钥路径
#PreferredAuthentications publickey
</code></pre>
<h2>在工作机上管理gitolite</h2>
<p>这样你就可以在你的工作机上进行连接了，现在clone管理目录<br />
<code>git clone git@gs:gitolite-admin.git</code><br />
编辑conf/gitolite.conf可以添加repository如</p>
<pre><code>repo    anothertest
        RW+     =   @all</code></pre>
<p>添加用户只需将的公钥添加到keydir就可以了，如果用户有多个公钥，如工作机一个，笔记本一个，可以在keydir下添加目录然后添加key如为tom添加 laptop/tom.pub和workspace/tom.pub即可<br />
修改完成之后commit并push回主机相应的repositoy和user了</p>
<h2>在EC2上配置gitlist</h2>
<p>用git来管理repository和user很方便，但如果你的老板要查看git上的提交就不那么方便了(:P),通过安装gitlist网页查看就会方便很多<br />
从<a href="http://gitlist.org/" target="_blank">gitlist.org</a> 上下载最新版并完成配置</p>
<pre><code>cd /tmp
wget https://s3.amazonaws.com/gitlist/gitlist-0.4.0.tar.gz
tar -zxf gitlist-0.4.0.tar.gz
mv gitlist /sites/
cd /sites/gitlist
mv config.ini-example config.ini
edit config.ini
    repositories[] = '/data/git/repositories/'
    hidden[] = '/data/git/repositories/gitolite-admin.git' #建议添加，管理目录不必被网页查看
mkdir cache #必须手动添加
chown -Rh www-data:www-data /sites/gitlist</code></pre>
<p>创建site的nginx配置<code>/etc/nginx/sites-available/gitlist</code></p>
<pre><code>server {
	listen 80;
	server_name gitlist;
	keepalive_timeout 70;

	access_log /var/log/nginx/gitlist-access.log;
	error_log /var/log/nginx/gitlist-error.log;

	root /sites/gitlist;
	index index.php;
	location ~ /include {
	deny all;
	return 403;
	}

	location ~ ^/api/(tickets|tasks)(.*)$ {
	try_files $uri $uri/ /api/http.php;
	}

	location ~ ^/scp/ajax.php/(.*)$ {
	try_files $uri $uri/ /scp/ajax.php;
	}

	location / {
	index index.php;
	try_files $uri $uri/ /index.php?$args;
	}

	location ~ .php$ {
	fastcgi_split_path_info ^(.+.php)(/.+)$;
	include fastcgi_params;
	fastcgi_pass unix:/var/run/php5-admin.sock;
	#fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
	}
}</code></pre>
<p>如果你此处用的fastcgi_pass是之前用过的那不需要额外的设置，如果没有那需要建立</p>
<pre><code>cd /etc/php5/fpm/pool.d/
cp www.conf gitlist.conf
edit gitlist.conf
    name -&gt;gitlist
    listen -&gt;nginx config 中的</code></pre>
<p>然后重启php5-fpm 和nginx访问你的地址就可以见到gitlist页面了<br />
如果你在第一步设置配置是没有问题，那网页应该就可以正常显示了，如果那时设置的不对那么<br />
编辑 <code>/home/git/.gitolite.rc</code>找到<code>$REPO_UMASK</code>改成0022然后手动设置已有的文件权限 <code>chmod -R 755 /home/git</code>应该就可以了</p>
<p><a rel="nofollow" href="https://www.fuwuqiok.com/%e5%9c%a8%e4%ba%9a%e9%a9%ac%e9%80%8aaws%e4%b8%8a%e5%bb%ba%e7%ab%8bgit%e6%9c%8d%e5%8a%a1%e5%99%a8/">在亚马逊AWS上建立Git服务器</a>，首发于<a rel="nofollow" href="https://www.fuwuqiok.com">服务器安全维护工作室</a>。</p>
]]></content:encoded>
			<wfw:commentRss>https://www.fuwuqiok.com/%e5%9c%a8%e4%ba%9a%e9%a9%ac%e9%80%8aaws%e4%b8%8a%e5%bb%ba%e7%ab%8bgit%e6%9c%8d%e5%8a%a1%e5%99%a8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EBS创建快照及通过快照恢复</title>
		<link>https://www.fuwuqiok.com/ebs%e5%88%9b%e5%bb%ba%e5%bf%ab%e7%85%a7%e5%8f%8a%e9%80%9a%e8%bf%87%e5%bf%ab%e7%85%a7%e6%81%a2%e5%a4%8d/</link>
		<comments>https://www.fuwuqiok.com/ebs%e5%88%9b%e5%bb%ba%e5%bf%ab%e7%85%a7%e5%8f%8a%e9%80%9a%e8%bf%87%e5%bf%ab%e7%85%a7%e6%81%a2%e5%a4%8d/#comments</comments>
		<pubDate>Sat, 08 Aug 2015 07:11:44 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[未分类]]></category>
		<category><![CDATA[AWS 快照]]></category>
		<category><![CDATA[EBS Snapshot]]></category>
		<category><![CDATA[EBS创建快照及通过快照恢复]]></category>

		<guid isPermaLink="false">https://www.fuwuqiok.com/?p=2431</guid>
		<description><![CDATA[<p>Amazon EC2实例，是使用Elastic Block Store（EBS）作为存储的，必要时可以通过EB [&#8230;]</p>
<p><a rel="nofollow" href="https://www.fuwuqiok.com/ebs%e5%88%9b%e5%bb%ba%e5%bf%ab%e7%85%a7%e5%8f%8a%e9%80%9a%e8%bf%87%e5%bf%ab%e7%85%a7%e6%81%a2%e5%a4%8d/">EBS创建快照及通过快照恢复</a>，首发于<a rel="nofollow" href="https://www.fuwuqiok.com">服务器安全维护工作室</a>。</p>
]]></description>
				<content:encoded><![CDATA[<div class="entry-text clearfix">
<p>Amazon EC2实例，是使用Elastic Block Store（EBS）作为存储的，必要时可以通过EBS快照，进行数据的恢复。在这里就介绍一下如何创建EBS快照和通过快照复旧。</p>
<h2>创建快照（Snapshot）</h2>
<p>1.打开EC2控制面板。如下，点击「卷」，选择需要创建快照的卷，点击「操作」从下拉菜单选择「创建快照」。</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Volumes1.png"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Volumes1.png" alt="Volumes1" width="683" height="337" /></a></p>
<p>2.填写快照名称，描述。点击「创建」。「Name」填写为容易区别的快照名，以便以后选择使用。</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Create-Snapshot1.png"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Create-Snapshot1.png" alt="Create-Snapshot1" width="625" height="277" /></a></p>
<p>3.创建完成，点击「关闭」。</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Snapshot-close.png"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Snapshot-close.png" alt="Snapshot-close" width="321" height="229" /></a></p>
<p>4.可以确认，快照创建完成。</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Snapshot-ok.png"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Snapshot-ok.png" alt="Snapshot-ok" width="694" height="443" /></a></p>
<h2>通过创建的快照，进行EBS复旧</h2>
<p>通过快照恢复数据时，要按照一下步骤进行：</p>
<ul>
<li>利用之前创建的快照作成EBS卷</li>
<li>停止EC2实例</li>
<li>分离连接到EC2实例的卷</li>
<li>把作成的卷连接到EC2实例</li>
<li>起动EC2实例</li>
</ul>
<p>1.利用之前创建的快照作成EBS 卷。</p>
<p>选择新创建的「快照」，点击「操作」，从下拉菜单选择「创建卷」。</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Create-volumes.png"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Create-volumes.png" alt="Create-volumes" width="695" height="444" /></a></p>
<p>2.如下，默认即可，点击创建。</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Create-Volume1.png"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Create-Volume1.png" alt="Create-Volume1" width="695" height="342" /></a></p>
<p>注：需创建与EC2实例相同可用区域 (AZ)的卷。</p>
<p>3.卷创建完成，点击「关闭」。</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Volume-close.png"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Volume-close.png" alt="Volume-close" width="294" height="232" /></a></p>
<p>4.确认新创建的卷。</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Volume-ok.png"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Volume-ok.png" alt="Volume-ok" width="1071" height="198" /></a>5.更换卷，需要停止EC2实例。</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/08/EC2-stop.png"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/08/EC2-stop.png" alt="EC2-stop" width="760" height="111" /></a></p>
<p>6.分离之前连接到EC2实例的卷。</p>
<p>选择卷，点击「操作」，从下拉菜单选择「断开卷」。 <a href="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Volumes-Detach.png"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Volumes-Detach.png" alt="Volumes-Detach" width="902" height="407" /></a>7.点击「是，请断开」。</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/08/yes-Detach.png"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/08/yes-Detach.png" alt="yes-Detach" width="470" height="206" /></a></p>
<p>8.把作成的卷连接到EC2实例。</p>
<p>选择新创建的卷，点击「操作」，从下拉菜单选择「连接卷」。如下：</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Attach-Volume1.png"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Attach-Volume1.png" alt="Attach-Volume1" width="900" height="404" /></a>9.默认即可，点击「添加」。</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Attach.png"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Attach.png" alt="Attach" width="1210" height="324" /></a>10.可以确认，卷被连接上了。</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Attach-Instance1.png"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Attach-Instance1.png" alt="Attach-Instance1" width="1088" height="141" /></a>11.重新成功启动实例。</p>
<p><a href="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Attach-ok.png"><img class="attachment-medium" src="https://www.fuwuqiok.com/wp-content/uploads/2015/08/Attach-ok.png" alt="Attach-ok" width="1051" height="174" /></a></p>
<h2>后话</h2>
<p>EBS快照还可以共享给特定用户，感兴趣读者，请查阅本博客【<a title="AWS之AMI或EBS快照共享" href="http://www.awsok.com/aws-ami-ebs/">AWS之AMI或EBS快照共享</a>】一文。</p>
</div>
<p><a rel="nofollow" href="https://www.fuwuqiok.com/ebs%e5%88%9b%e5%bb%ba%e5%bf%ab%e7%85%a7%e5%8f%8a%e9%80%9a%e8%bf%87%e5%bf%ab%e7%85%a7%e6%81%a2%e5%a4%8d/">EBS创建快照及通过快照恢复</a>，首发于<a rel="nofollow" href="https://www.fuwuqiok.com">服务器安全维护工作室</a>。</p>
]]></content:encoded>
			<wfw:commentRss>https://www.fuwuqiok.com/ebs%e5%88%9b%e5%bb%ba%e5%bf%ab%e7%85%a7%e5%8f%8a%e9%80%9a%e8%bf%87%e5%bf%ab%e7%85%a7%e6%81%a2%e5%a4%8d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>世界，你好！</title>
		<link>https://www.fuwuqiok.com/hello-world/</link>
		<comments>https://www.fuwuqiok.com/hello-world/#comments</comments>
		<pubDate>Sun, 24 May 2015 11:23:16 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://127.0.0.1/?p=1</guid>
		<description><![CDATA[<p>欢迎使用WordPress。这是系统自动生成的演示文章。编辑或者删除它，然后开始您的博客！</p>
<p><a rel="nofollow" href="https://www.fuwuqiok.com/hello-world/">世界，你好！</a>，首发于<a rel="nofollow" href="https://www.fuwuqiok.com">服务器安全维护工作室</a>。</p>
]]></description>
				<content:encoded><![CDATA[<p>欢迎使用WordPress。这是系统自动生成的演示文章。编辑或者删除它，然后开始您的博客！</p>
<p><a rel="nofollow" href="https://www.fuwuqiok.com/hello-world/">世界，你好！</a>，首发于<a rel="nofollow" href="https://www.fuwuqiok.com">服务器安全维护工作室</a>。</p>
]]></content:encoded>
			<wfw:commentRss>https://www.fuwuqiok.com/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
