<?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>VPS Archives - Sky&#039;s Blog</title>
	<atom:link href="https://blog.red7.com/tag/vps/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.red7.com/tag/vps/</link>
	<description>Communicating in a networked world</description>
	<lastBuildDate>Tue, 03 Jan 2017 20:55:14 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://blog.red7.com/wp-content/uploads/2018/01/skyhi-wind-icon-256x256-120x120.png</url>
	<title>VPS Archives - Sky&#039;s Blog</title>
	<link>https://blog.red7.com/tag/vps/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Slicehost- Tomcat installation on a tiny virtual server</title>
		<link>https://blog.red7.com/slicehost-tomcat-installation-on-a-tiny-virtual-server/</link>
					<comments>https://blog.red7.com/slicehost-tomcat-installation-on-a-tiny-virtual-server/#respond</comments>
		
		<dc:creator><![CDATA[sky]]></dc:creator>
		<pubDate>Mon, 07 Sep 2009 16:00:48 +0000</pubDate>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Geeks only!]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[JSP]]></category>
		<category><![CDATA[Slicehost]]></category>
		<category><![CDATA[Tomcat]]></category>
		<category><![CDATA[virtual host]]></category>
		<category><![CDATA[virtual server]]></category>
		<category><![CDATA[VPS]]></category>
		<guid isPermaLink="false">http://sky.dlfound.org/?p=1879</guid>

					<description><![CDATA[<p>Geek alert! This article is for Slicehost geeks only. Talk about playing on the edge, I almost fell off this time. I have eight slices (virtual servers, that is) on Slicehost (which is now owned by Rackspace) and believe me they are tiny![1] But they can serve low-volume to medium-volume web sites pretty well. For [&#8230;]</p>
<p>The post <a href="https://blog.red7.com/slicehost-tomcat-installation-on-a-tiny-virtual-server/">Slicehost- Tomcat installation on a tiny virtual server</a> appeared first on <a href="https://blog.red7.com">Sky&#039;s Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><span style="color: #800000;"><em><img decoding="async" class="size-full wp-image-583 alignleft" style="border: 0pt none; margin: 2px 12px;" title="Slicehost" src="/wp-content/uploads/2009/01/picture-2.png" alt="Slicehost" width="40" height="45" /> <span style="color: #ff9900;">Geek alert! This article is for <strong>Slicehost</strong> geeks only.</span></em></span></p>
<p>Talk about playing on the edge, I almost fell off this time. I have eight <em>slices</em> (virtual servers, that is) on <a href="http://slicehost.com/" target="_blank">Slicehost</a> (which is now owned by Rackspace) and believe me they are tiny!<sup>[1]</sup> But they can serve low-volume to medium-volume web sites pretty well. For instance, <a href="http://www.shapingyouth.org/" target="_blank">Shaping Youth</a> (several thousand visitors a day) and <a href="http://girlshorseclub.com/" target="_blank">GirlsHorseClub</a> are on these little servers and they serve up pretty rapidly.<sup>[2]</sup> Nice thing about Slicehost is that any host can be scaled up from the tiny size to 16x that size, and because it’s cloud computing, you can also bring up multiple instances of any server and have them share load. This allows me to implement the traditional three-tiered architecture (web/application/database) quite well without having to worry about whether my servers will be able to handle the load because I can scale ’em up whenever I need to.</p>
<p>But, the catch is that when you start with the tiniest slice (256MB RAM) you really have to fine-tune your operating system and applications in order to get good performance out of them.<span id="more-1879"></span></p>
<p>This has led me to some fun discoveries about 1) how to make Apache work in a really tight space; 2) how to add additional web serving using NGINX (engine-X); 3) how to run MySQL in less space; and finally 4) how to use Java and Tomcat wedged into a non-existent memory slice.</p>
<p>Today’s lesson for me was installing Tomcat 5.5 on Slicehost. I started by reading <a href="http://www.mkyong.com/tomcat/how-to-install-tomcat-in-ubuntu/" target="_blank">How to Install Tomcat on Ubuntu</a> in the mkyong blog. Not bad at all. The essence is to first find out what version of Tomcat is available on your slice:</p>
<blockquote><p>sudo apt–cache search tomcat</p></blockquote>
<p>Then install that version and the admin app for it:</p>
<blockquote><p>apt–get ––fix–missing install tomcat5.5<br />
apt–get ––fix–missing install tomcat5.5-webapps<br />
apt–get ––fix–missing install tomcat5.5-admin</p></blockquote>
<p>Then I like to have /usr/local/tomcat defined (like on all my other servers):</p>
<blockquote><p>ln –s /usr/share/tomcat5.5/server/ /usr/local/tomcat</p></blockquote>
<p>That was about all it took. It serves by default on port 8180 &#8211; and the admin app was there and ready to go. My next step was to port a Java app that I have been running on bigger servers over to this little server. That actually worked quite well, requiring about 6 hours to port, recompile (to eliminate a few warnings) and test.</p>
<hr class="hr_dashed" />[1] Six of them are 256MB (RAM) and two are 512MB.</p>
<p>[2] These two slices actually had to be boosted to 512MB recently in order to handle anticipated high traffic. But I can reduce their size after the stress-out period passes.</p>
<p>The post <a href="https://blog.red7.com/slicehost-tomcat-installation-on-a-tiny-virtual-server/">Slicehost- Tomcat installation on a tiny virtual server</a> appeared first on <a href="https://blog.red7.com">Sky&#039;s Blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.red7.com/slicehost-tomcat-installation-on-a-tiny-virtual-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1879</post-id>	</item>
		<item>
		<title>Small slices of computing (Slicehost) require small MySQL and Apache</title>
		<link>https://blog.red7.com/small-slices-of-computing-slicehost-require-small-mysql-and-apache/</link>
					<comments>https://blog.red7.com/small-slices-of-computing-slicehost-require-small-mysql-and-apache/#comments</comments>
		
		<dc:creator><![CDATA[sky]]></dc:creator>
		<pubDate>Wed, 14 Jan 2009 20:15:32 +0000</pubDate>
				<category><![CDATA[Technology and geeky stuff]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[Slicehost]]></category>
		<category><![CDATA[virtual private servers]]></category>
		<category><![CDATA[VPS]]></category>
		<guid isPermaLink="false">http://sky.dlfound.org/?p=597</guid>

					<description><![CDATA[<p>I'm bringing up web sites on Slicehost - a cloud computing environment - and that means I don’t know and don’t care exactly what or where the server is, and I only buy as much as I need.</p>
<p>The post <a href="https://blog.red7.com/small-slices-of-computing-slicehost-require-small-mysql-and-apache/">Small slices of computing (Slicehost) require small MySQL and Apache</a> appeared first on <a href="https://blog.red7.com">Sky&#039;s Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="http://mysql.com/" target="_blank"><img decoding="async" class="alignright size-full wp-image-636" style="border: 0pt none; margin: 2px 12px;" title="MySQL" src="/wp-content/uploads/2009/01/mysql-logo.jpg" alt="MySQL" width="101" height="52" /></a>{Geeks off the starboard bow, matey, arrrrrr!}</p>
<p>I&#8217;ve mentioned before that I&#8217;m bringing up web sites on <a href="http://www.slicehost.com/" target="_blank">Slicehost</a>. It’s a cloud computing environment and that means I don’t know and don’t care exactly what or where the server is, and I only buy as much as I need.</p>
<p><a href="http://www.apache.org/" target="_blank"><img decoding="async" class="size-full wp-image-635 alignright" style="border: 0pt none; margin: 2px 12px;" src="/wp-content/uploads/2009/01/asf_logo_wide.gif" alt="Apache Software Foundation" width="243" height="23" /></a>It’s an interesting experience because in the rest of my life I’m constantly expanding my (personal) computers by adding storage and processor power so they can run faster and faster, but in the case of cloud computing, instead, I’m scaling down the pieces of software so they can run more efficiently in a small “computer” instead.<span id="more-597"></span>I was wondering a few days ago why one of my slices was running so “hot” &#8211; it was using up all of its memory and it was swapping to disk like crazy. I thought that Apache (web server) and MySQL (database) would be smart enough to make good use of whatever memory was available, whether it be large or small.</p>
<p>So in the interest of geekiness I took a look at what I could do to save the situation.</p>
<p>Turns out that my reducing the number of processes that Apache is allowed to run, and my using an <em>example</em> configuration file that MySQL provides for small installations, I was able to tune my slice so that it hardly ever swaps (which reduces disk utilization to minimum) and just barely fills up the available RAM in the virtual computer.</p>
<p>Here are the references that were most useful to me in this process. It probably took me 30 minutes to get it all tuned up. And wow it runs great now!</p>
<ul>
<li><a href="http://wiki.vpslink.com/Low_memory_MySQL_/_Apache_configurations" target="_blank">Lowering Apache memory usage</a> (just read the Apache part, not the MySQL part)</li>
<li><a href="http://www.theodorenguyen-cao.com/2008/12/07/reduce-mysql-memory-usage/" target="_blank">Finding and using the my-small.cfg MySQL configuration</a> file (this is specifically designed for Slicehost, which I use)</li>
</ul>
<p>The post <a href="https://blog.red7.com/small-slices-of-computing-slicehost-require-small-mysql-and-apache/">Small slices of computing (Slicehost) require small MySQL and Apache</a> appeared first on <a href="https://blog.red7.com">Sky&#039;s Blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.red7.com/small-slices-of-computing-slicehost-require-small-mysql-and-apache/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">597</post-id>	</item>
		<item>
		<title>Slicing up the Cloud</title>
		<link>https://blog.red7.com/slicing-up-the-cloud/</link>
					<comments>https://blog.red7.com/slicing-up-the-cloud/#respond</comments>
		
		<dc:creator><![CDATA[sky]]></dc:creator>
		<pubDate>Mon, 05 Jan 2009 09:14:01 +0000</pubDate>
				<category><![CDATA[Cyber-nomads]]></category>
		<category><![CDATA[Our networked world]]></category>
		<category><![CDATA[Technology and geeky stuff]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[scalability]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Slicehost]]></category>
		<category><![CDATA[Sustainability]]></category>
		<category><![CDATA[virtual private servers]]></category>
		<category><![CDATA[VPS]]></category>
		<guid isPermaLink="false">http://sky.dlfound.org/?p=581</guid>

					<description><![CDATA[<p>Cloud Computing&#8211; it&#8217;s a relatively new term for a relatively old concept. For at least six months now I&#8217;ve been thinking about two inevitabilities: 1) that my servers will fail some day soon; and 2) that I may have to rapidly scale (up) some customer&#8217;s site because it will suddenly have traffic needs well beyond [&#8230;]</p>
<p>The post <a href="https://blog.red7.com/slicing-up-the-cloud/">Slicing up the Cloud</a> appeared first on <a href="https://blog.red7.com">Sky&#039;s Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="size-full wp-image-583 alignleft" style="border: 0pt none; margin: 2px 12px;" title="Slicehost" src="/wp-content/uploads/2009/01/picture-2.png" alt="Slicehost" width="40" height="45" /></p>
<p><strong>Cloud Computing</strong>&#8211; it&#8217;s a relatively new term for a relatively old concept. For at least six months now I&#8217;ve been thinking about two inevitabilities: 1) that my servers will fail some day soon; and 2) that I may have to rapidly scale (up) some customer&#8217;s site because it will suddenly have traffic needs well beyond the capacity of my servers.</p>
<p>The answer is pretty obvious to me &#8211; I&#8217;ll soon be eliminating my own serves in favor of purchasing computing power in whatever quantities I need at the time. Scalable on demand. From one of the cloud service providers that are coming online now.</p>
<p><span id="more-581"></span>Buying <a href="http://en.wikipedia.org/wiki/Cloud_computing" target="_blank">cloud computing</a> essentially means buying computing power without knowing or caring exactly where it is physically located or what type of equipment it&#8217;s on. Someone else buys the servers, puts them in racks, powers them, cools them, and connects them to the Internet. And they stand there ready to go into service whenever they&#8217;re needed.</p>
<p>I looked at <a href="http://aws.amazon.com/ec2/" target="_blank">Amazon EC2</a> first, because it&#8217;s been getting a lot of publicity. Amazon has built server farms that could scale up and down rapidly, and has been supporting its own services on those computers, for years. It&#8217;s was logical that they&#8217;d be in a position to sell &#8220;time&#8221; on servers to anyone who wants it&#8230;as long as they had the spare capacity. But Amazon charges $0.10 per hour for a basic &#8220;server&#8221; instance, which means $2.40 a day or over $72 a month for even one server. That&#8217;s pretty close to what I was paying Verio for a virtual private server in the late 1990s, and it&#8217;s probably 50% of what it costs me to have my own server with several times the capacity.</p>
<p>Then I ran across a company called <a href="http://slicehost.com/" target="_blank">Slicehost</a> &#8211; recently acquired by Rackspace. These guys offer raw server instances (virtual private servers) starting at $20 a month. These $20 &#8220;slices&#8221; are small, but they get the job done and they&#8217;re ideal for hosting web sites that are simple, have low traffic requirements, and yet might have to be scaled up at a future date. To scale, you access the Slicehost online control panel, and within minutes you can have a much larger slice of a server &#8211; still &#8220;private&#8221; &#8211; with literally the click of a button.</p>
<p>Oh, and the &#8220;private&#8221; is important. My clients need pretty tight security, and running a web site on a virtual private server means they don&#8217;t have to worry about some other user of the same server having a weak password and getting hacked, consequently opening up a window to my client also getting hacked. With a virtual private server, there&#8217;s only one user, and you&#8217;re responsible for your own problems.</p>
<p>So the site you&#8217;re looking at right now is on Slicehost. On their smallest and cheapest offering. And yet handling the traffic pretty well. And on top of that, I have several sites all on the same slice. This isn&#8217;t for the faint of heart &#8211; I had a Ubuntu 8.04 server instance installed and from there I installed all of the services I needed, but this really requires some middling sysadmin expertise. (Takes me under an hour to provision one slice and bring up a WordPress instance. Then about 30 minutes for additional WordPress instances or web sites.)</p>
<p>This is the future and it&#8217;s slick.</p>
<p>Oh, by the way, the new look of the web site is not related to the switch to Slicehost. I just got tired of the old look, and loved this new theme, and switched over during the migration to Slicehost.</p>
<p>The post <a href="https://blog.red7.com/slicing-up-the-cloud/">Slicing up the Cloud</a> appeared first on <a href="https://blog.red7.com">Sky&#039;s Blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.red7.com/slicing-up-the-cloud/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">581</post-id>	</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 

Served from: blog.red7.com @ 2026-03-30 11:04:17 by W3 Total Cache
-->