<?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>Xi Group Ltd. Company Blog &#187; Xi Group Ltd. Company Blog &#187; allocation time</title>
	<atom:link href="http://blog.xi-group.com/tag/allocation-time/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.xi-group.com</link>
	<description>High-quality DevOps Services</description>
	<lastBuildDate>Tue, 09 Jun 2015 11:38:46 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.2.2</generator>
	<item>
		<title>Small Tip: EBS volume allocation time is linear to the size and unrelated to the instance type</title>
		<link>http://blog.xi-group.com/2014/06/small-tip-ebs-volume-allocation-time-is-linear-to-the-size-and-unrelated-to-the-instance-type/</link>
		<comments>http://blog.xi-group.com/2014/06/small-tip-ebs-volume-allocation-time-is-linear-to-the-size-and-unrelated-to-the-instance-type/#comments</comments>
		<pubDate>Mon, 23 Jun 2014 07:20:27 +0000</pubDate>
		<dc:creator><![CDATA[Ivo Vachkov]]></dc:creator>
				<category><![CDATA[AWS]]></category>
		<category><![CDATA[DevOps]]></category>
		<category><![CDATA[Operations]]></category>
		<category><![CDATA[Small Tip]]></category>
		<category><![CDATA[allocation time]]></category>
		<category><![CDATA[AWS CLI]]></category>
		<category><![CDATA[EBS]]></category>
		<category><![CDATA[volume]]></category>

		<guid isPermaLink="false">http://blog.xi-group.com/?p=66</guid>
		<description><![CDATA[Due to fluctuations in startup times for instances in AWS, it was speculated that allocation of EBS volumes may be the reason for the nondeterministic behavior. This led to an interesting discussion and finally to a small test to determine how volume size of an EBS volume allocated with an instance affect its startup time. [&#8230;]]]></description>
				<content:encoded><![CDATA[<p style="text-align: justify;">Due to fluctuations in startup times for instances in AWS, it was speculated that allocation of EBS volumes may be the reason for the nondeterministic behavior. This led to an interesting discussion and finally to a small test to determine how volume size of an EBS volume allocated with an instance affect its startup time.</p>
<p style="text-align: justify;">To gather some results the following script was created: <a href="https://s3-us-west-2.amazonaws.com/blog.xi-group.com/aws-ebs-allocation-times/aws-single.sh">https://s3-us-west-2.amazonaws.com/blog.xi-group.com/aws-ebs-allocation-times/aws-single.sh</a>. It will create one instance of the specified type with <strong>N</strong> GB of Root EBS volume, wait for the instance to properly start and then terminate it. The time for the whole process is measured (e.g. full &#8216;time-to-service&#8217;).</p>
<p>The script was run multiple times for each instance type and EBS volume size. Results are presented in the following table:</p>
<table  width="100%" class="table table-bordered table-striped">
<tr>
<th></th>
<th>t1.micro</th>
<th>c1.xlarge</th>
<th>m3.xlarge</th>
<th>m3.2xlarge</th>
<th>m2.4xlarge</th>
</tr>
<tr>
<td>20 GB</td>
<td>~ 1m 50s</td>
<td>~ 1m 45s</td>
<td>~ 1m 50s</td>
<td>~ 2m 15s</td>
<td>~ 3m 20s</td>
</tr>
<tr>
<td>50 GB</td>
<td>~ 2m 45s</td>
<td>~ 2m 40s</td>
<td>~ 2m 50s</td>
<td>~ 2m 40s</td>
<td>~ 3m 10s</td>
</tr>
<tr>
<td>100 GB</td>
<td>~ 3m 45s</td>
<td>~ 3m 30s</td>
<td>~ 3m 30s</td>
<td>~ 4m 20s</td>
<td>~ 5m 00s</td>
</tr>
<tr>
<td>200 GB</td>
<td>~ 6m 00s</td>
<td>~ 6m 10s</td>
<td>~ 9m 00s</td>
<td>~ 5m 45s</td>
<td>~ 7m 30s</td>
</tr>
</table>
<p>Graphical representation:<br />
<a href="http://blog.xi-group.com/wp-content/uploads/2014/06/Screen-Shot-2014-06-23-at-9.49.13-AM.png"><img src="http://blog.xi-group.com/wp-content/uploads/2014/06/Screen-Shot-2014-06-23-at-9.49.13-AM.png" alt="Screen Shot 2014-06-23 at 9.49.13 AM" width="968" height="600" class="alignnone size-full wp-image-167 img-thumbnail img-responsive" /></a></p>
<p style="text-align: justify;">As shown, instance start time grows linearly with the size of the EBS Root volume. Moral of the story:</p>
<p><center><strong>The more EBS storage you allocate at boot, the slower the instance will start!</strong></center></p>
<p style="text-align: justify;">NOTE: The whole procedure is reasonably time consuming if you gather multiple data points (in this case, for each instance type / volume size the script was run 3 times and the average value is shown). It will cost money, since all EC2 allocations will be charged for at least an hour. The script, provided here is &#8216;AS IS&#8217; and can be used as reference. Be sure to understand it and properly modify it before running it!</p>
<div class="rpbt_shortcode">
<h3>Related Posts</h3>
<ul>
					
			<li><a href="http://blog.xi-group.com/2015/01/small-tip-how-to-use-aws-cli-filter-parameter/">Small Tip: How to use AWS CLI &#8216;&#8211;filter&#8217; parameter</a></li>
					
			<li><a href="http://blog.xi-group.com/2014/11/small-tip-how-to-use-block-device-mappings-to-manage-instance-volumes-with-aws-cli/">Small Tip: How to use &#8211;block-device-mappings to manage instance volumes with AWS CLI</a></li>
					
			<li><a href="http://blog.xi-group.com/2014/07/small-tip-how-to-use-aws-cli-to-start-spot-instances-with-userdata/">Small Tip: How to use AWS CLI to start Spot instances with UserData</a></li>
					
			<li><a href="http://blog.xi-group.com/2015/02/how-to-deploy-single-node-hadoop-setup-in-aws/">How to deploy single-node Hadoop setup in AWS</a></li>
					
			<li><a href="http://blog.xi-group.com/2015/01/userdata-teplate-for-ubuntu-14-04-ec2-instances-in-aws/">UserData Template for Ubuntu 14.04 EC2 Instances in AWS</a></li>
			</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.xi-group.com/2014/06/small-tip-ebs-volume-allocation-time-is-linear-to-the-size-and-unrelated-to-the-instance-type/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
