<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
  <title>Reticularium - Servers</title>
  <id>tag:www.reticularium.com,2012:mephisto/servers</id>
  <generator version="0.8.0" uri="http://mephistoblog.com">Mephisto Drax</generator>
  <link href="http://www.reticularium.com/feed/servers/atom.xml" rel="self" type="application/atom+xml"/>
  <link href="http://www.reticularium.com/servers" rel="alternate" type="text/html"/>
  <updated>2012-01-25T15:00:38+01:00</updated>
  <entry xml:base="http://www.reticularium.com/">
    <author>
      <name>Igor</name>
    </author>
    <id>tag:www.reticularium.com,2012-01-25:2901</id>
    <published>2012-01-25T13:45:00+01:00</published>
    <updated>2012-01-25T15:00:38+01:00</updated>
    <category term="Servers"/>
    <category term="cloud servers"/>
    <category term="hosting"/>
    <category term="rackspace"/>
    <link href="http://www.reticularium.com/2012/1/25/2901" rel="alternate" type="text/html"/>
    <title>Rackspace Cloud Servers outbound bandwidth limits</title>
<content type="html">
            &lt;p&gt;&lt;strong&gt;Is there a throughput limit on my server&#8217;s network interface card?&lt;/strong&gt;&lt;/p&gt;


	&lt;p&gt;Your Cloud Server has a bandwidth cap that is applied in relation to the size of the server. Please note that the bandwidth caps are placed on outbound bandwidth only. Inbound bandwidth is not capped.&lt;/p&gt;


	&lt;table&gt;
		&lt;tr&gt;
			Server Size 
			Public Limit 
			ServiceNet Limit
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt; 256MB &lt;/td&gt;
			&lt;td&gt; 10 Mbps &lt;/td&gt;
			&lt;td&gt; 20 Mbps&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt; 512MB &lt;/td&gt;
			&lt;td&gt; 20 Mbps &lt;/td&gt;
			&lt;td&gt; 40 Mbps&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt; 1024MB &lt;/td&gt;
			&lt;td&gt; 30 Mbps &lt;/td&gt;
			&lt;td&gt; 60 Mbps&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt; 2048MB &lt;/td&gt;
			&lt;td&gt; 60 Mbps &lt;/td&gt;
			&lt;td&gt; 120 Mbps&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt; 4096MB &lt;/td&gt;
			&lt;td&gt; 100 Mbps &lt;/td&gt;
			&lt;td&gt; 200 Mbps&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt; 8192MB &lt;/td&gt;
			&lt;td&gt; 150 Mbps &lt;/td&gt;
			&lt;td&gt; 300 Mbps&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt; 15872MB &lt;/td&gt;
			&lt;td&gt; 200 Mbps &lt;/td&gt;
			&lt;td&gt; 400 Mbps&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt; 30720MB &lt;/td&gt;
			&lt;td&gt; 300 Mbps &lt;/td&gt;
			&lt;td&gt; 600 Mbps&lt;/td&gt;
		&lt;/tr&gt;
	&lt;/table&gt;




	&lt;p&gt;Chart valid as of December 8, 2011&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.reticularium.com/">
    <author>
      <name>Igor</name>
    </author>
    <id>tag:www.reticularium.com,2011-08-27:2309</id>
    <published>2011-08-27T17:42:00+02:00</published>
    <updated>2011-08-27T20:02:14+02:00</updated>
    <category term="Servers"/>
    <category term="balancer"/>
    <category term="cloud servers"/>
    <link href="http://www.reticularium.com/2011/8/27/2309" rel="alternate" type="text/html"/>
    <title>VPS network bandwidth limit</title>
<content type="html">
            &lt;p&gt;This doesn&#8217;t harm in most cases, but still is worth keeping in mind that if you have a 256MB &lt;span class=&quot;caps&quot;&gt;VPS&lt;/span&gt;, it is a 1/128 of the 32 GB server and thus its network bandwidth is usually limited to 1/128 of 1 Gigabit which equals 1 MB/sec.&lt;/p&gt;


	&lt;p&gt;Various gateway servers, balancers, caching proxies don&#8217;t need &lt;span class=&quot;caps&quot;&gt;CPU&lt;/span&gt; power and &lt;span class=&quot;caps&quot;&gt;RAM&lt;/span&gt;, so small 256MB &lt;span class=&quot;caps&quot;&gt;VPS&lt;/span&gt; choice looks natural. This is where the problem may arise.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.reticularium.com/">
    <author>
      <name>Igor</name>
    </author>
    <id>tag:www.reticularium.com,2011-07-31:2232</id>
    <published>2011-07-31T11:16:00+02:00</published>
    <updated>2011-07-31T13:26:23+02:00</updated>
    <category term="Linux"/>
    <category term="Notes"/>
    <category term="Servers"/>
    <category term="backup"/>
    <category term="cloud computing"/>
    <category term="monitoring"/>
    <link href="http://www.reticularium.com/2011/7/31/2232" rel="alternate" type="text/html"/>
    <title>M-Script's new home</title>
<content type="html">
            &lt;p&gt;M-Script project has been moved to its new home: &lt;a href=&quot;http://m-script.org&quot;&gt;http://m-script.org&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;It&#8217;s been under heavy development lately: old scripts have been renewed and enhanced, folders reorganized, files moved to proper locations, default monitors made more informative.&lt;/p&gt;


	&lt;p&gt;It&#8217;s also been published on &lt;a href=&quot;https://github.com/moskit/m-script&quot;&gt;Github&lt;/a&gt;&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.reticularium.com/">
    <author>
      <name>Igor</name>
    </author>
    <id>tag:www.reticularium.com,2011-05-13:1812</id>
    <published>2011-05-13T08:58:00+02:00</published>
    <updated>2011-05-13T09:06:56+02:00</updated>
    <category term="ERR"/>
    <category term="Servers"/>
    <category term="mysql"/>
    <link href="http://www.reticularium.com/2011/5/13/1812" rel="alternate" type="text/html"/>
    <title>LOAD DATA INFILE vs bulk inserts</title>
<content type="html">
            &lt;p&gt;This and a bit more &lt;b&gt;&lt;a href=&quot;http://kevin.vanzonneveld.net/techblog/article/improve_mysql_insert_performance/&quot;&gt;here&lt;/a&gt;&lt;/b&gt;&lt;/p&gt;


	&lt;p&gt;With graphs!&lt;/p&gt;


	&lt;p&gt;Everybody knows that &lt;span class=&quot;caps&quot;&gt;LOAD DATA INFILE&lt;/span&gt; is fast, many did benchmarks, but nobody cared to publish results with graphs, so that others could use them to illustrate the approach :) Thanks a lot, &lt;a href=&quot;http://kevin.vanzonneveld.net/techblog/&quot;&gt;Kevin&lt;/a&gt;&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.reticularium.com/">
    <author>
      <name>Igor</name>
    </author>
    <id>tag:www.reticularium.com,2011-02-18:1402</id>
    <published>2011-02-18T10:51:00+01:00</published>
    <updated>2011-02-18T11:42:27+01:00</updated>
    <category term="Servers"/>
    <category term="cloud computing"/>
    <category term="cloud servers"/>
    <link href="http://www.reticularium.com/2011/2/18/1402" rel="alternate" type="text/html"/>
    <title>Amazon S3 as a static website hosting</title>
<content type="html">
            &lt;p&gt;Amazon announced that S3 buckets now can be used for hosting static websites, not just files and images. It&#8217;s achieved by adding two properties to S3 buckets: document root and custom error pages.&lt;/p&gt;


	&lt;p&gt;Looks pretty useful. It was possible before, either by mounting S3 bucket as a folder via &lt;span class=&quot;caps&quot;&gt;S3FS&lt;/span&gt; or using complex rewrite rules, but it&#8217;s become so much easier now.&lt;/p&gt;


	&lt;p&gt;For example, this article, if you are reading it from the website, is a static &lt;span class=&quot;caps&quot;&gt;HTML&lt;/span&gt; page saved to disk by RoR cache controller. Using RoR routing I can easily remap such pages to e.g. static.reticularium.com and place this whole sub-domain to S3. This would decrease the load on my server and make access to such pages faster (via &lt;span class=&quot;caps&quot;&gt;CDN&lt;/span&gt;). Not sure I want it though, I have to double-check whether it affects &lt;span class=&quot;caps&quot;&gt;SEO&lt;/span&gt; things, but at least it&#8217;s possible now. For one project or another, it can be used to make access to your content faster and probably save you some money.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.reticularium.com/">
    <author>
      <name>Igor</name>
    </author>
    <id>tag:www.reticularium.com,2010-12-20:897</id>
    <published>2010-12-20T09:46:00+01:00</published>
    <updated>2010-12-20T09:51:56+01:00</updated>
    <category term="Servers"/>
    <category term="cloud computing"/>
    <category term="cloud servers"/>
    <link href="http://www.reticularium.com/2010/12/20/897" rel="alternate" type="text/html"/>
    <title>S3 file size limit raised</title>
<content type="html">
            &lt;p&gt;Files stored on Amazon S3 can be 5TB in size now.&lt;/p&gt;


	&lt;p&gt;If you are using &lt;a href=&quot;/downloads&quot;&gt;my backup scripts&lt;/a&gt; to backup your data to S3, you can now empty the &lt;code&gt;split_size&lt;/code&gt; parameter.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.reticularium.com/">
    <author>
      <name>Igor</name>
    </author>
    <id>tag:www.reticularium.com,2010-12-11:687</id>
    <published>2010-12-11T19:17:00+01:00</published>
    <updated>2010-12-13T09:24:24+01:00</updated>
    <category term="Servers"/>
    <category term="cloud computing"/>
    <category term="cloud servers"/>
    <link href="http://www.reticularium.com/2010/12/11/687" rel="alternate" type="text/html"/>
    <title>Cloud computing definition</title>
<summary type="html">&lt;p&gt;Despite the title, I am not going to provide any definition. You can find many definitions made by much smarter guys on the Internet. I saw many, but after reading most of them I had a stronge urge to say &#8220;Wow, it&#8217;s fantastic! So what you say cloud computing is?&#8221;&lt;/p&gt;


	&lt;p&gt;In fact, there is no definition. Because cloud computing is a paradigm shift. If you still need a definition, take this as one. I mean &#8220;A paradigm shift&#8221;. Shift towards what? Well, nobody knows exactly.&lt;/p&gt;


	&lt;p&gt;That&#8217;s why I am going to just explain what is usually meant by this, and I&#8217;ll try to do it in a sorted way.&lt;/p&gt;</summary><content type="html">
            &lt;p&gt;Despite the title, I am not going to provide any definition. You can find many definitions made by much smarter guys on the Internet. I saw many, but after reading most of them I had a stronge urge to say &#8220;Wow, it&#8217;s fantastic! So what you say cloud computing is?&#8221;&lt;/p&gt;


	&lt;p&gt;In fact, there is no definition. Because cloud computing is a paradigm shift. If you still need a definition, take this as one. I mean &#8220;A paradigm shift&#8221;. Shift towards what? Well, nobody knows exactly.&lt;/p&gt;


	&lt;p&gt;That&#8217;s why I am going to just explain what is usually meant by this, and I&#8217;ll try to do it in a sorted way.&lt;/p&gt;
&lt;p&gt;Despite the title, I am not going to provide any definition. You can find many definitions made by much smarter guys on the Internet. I saw many, but after reading most of them I had a stronge urge to say &#8220;Wow, it&#8217;s fantastic! So what you say cloud computing is?&#8221;&lt;/p&gt;


	&lt;p&gt;In fact, there is no definition. Because cloud computing is a paradigm shift. If you still need a definition, take this as one. I mean &#8220;A paradigm shift&#8221;. Shift to what? Well, nobody knows exactly. What we know is direction.&lt;/p&gt;


	&lt;p&gt;That&#8217;s why I am going to just explain what is usually meant by this, and I&#8217;ll try to do it in a sorted way.&lt;/p&gt;


	&lt;p&gt;To understand the direction of abovementioned &#8220;paradigm shift&#8221; it is necessary to start from the point where we were before that cloud computing buzzword appeared. So here is the traditional stack:&lt;/p&gt;


	&lt;table&gt;
		&lt;tr&gt;
			&lt;td&gt;Infrastructure &lt;/td&gt;
			&lt;td&gt; Hardware: servers and network &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt; Host operating system &lt;/td&gt;
			&lt;td&gt;These two are optional and can be replaced by a single row representing the more traditional &#8220;one server &#8211; one system&#8221; approach. I wanted to emphasize here that virtualization alone doesn&#8217;t mean cloud computing. &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt; Guest operating system &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt; Platform &lt;/td&gt;
			&lt;td&gt; LAMP, for example. Includes frameworks, e.g. Ruby on Rails, Symphony, Django.. &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt; Software &lt;/td&gt;
			&lt;td&gt; Your own application or &lt;span class=&quot;caps&quot;&gt;CMS&lt;/span&gt;, blog engine e.g. Wordpress and so on &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt; Content &lt;/td&gt;
			&lt;td&gt; Texts, images, videos or whatever users can see &lt;/td&gt;
		&lt;/tr&gt;
	&lt;/table&gt;




	&lt;p&gt;In spite of early experiments on &lt;a href=&quot;http://www.readwriteweb.com/cloud/2010/11/mirage-cloud-development.php&quot;&gt;cutting the fat out&lt;/a&gt;, the stack stays the same in cloud environment. So &lt;cite&gt;each&lt;/cite&gt; of its levels can be put into the cloud, and this is the main reason why it is so difficult to make a single definition. This is why you might find cloud computing definitions that mean rather different things: they are about the different stack levels. By the way, there are those ugly acronyms like SaaS (Software as a Service), PaaS (Platform as a Service) and so on. Think of the &#8220;aaS&#8221; part as &#8220;in the cloud&#8221; and you can get all of them from the stack above, like this: software in the cloud = SaaS, platform in the cloud = PaaS, Infrastructure in the cloud = IaaS.&lt;/p&gt;


	&lt;p&gt;So let&#8217;s put the whole stack &#8220;into the cloud&#8221; to see what has changed:&lt;/p&gt;


	&lt;table&gt;
		&lt;tr&gt;
			&lt;td&gt;Infrastructure &lt;/td&gt;
			&lt;td&gt; In the cloud everything is virtualized. So servers are virtual, as well as storage, network interfaces and so on. There is hardware of course, somewhere behind, but you don&#8217;t need to know what hardware there is, neither you want to know where it is located (except from connectivity point of view) and how all these components are connected. The most pertinent example is &lt;a href=&quot;http://aws.amazon.com&quot;&gt;&lt;span class=&quot;caps&quot;&gt;AWS&lt;/span&gt;&lt;/a&gt; of course &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt; Host operating system &lt;/td&gt;
			&lt;td&gt;These two don&#8217;t exist in the cloud (yet). See my speculations below. &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt; Guest operating system &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt; Platform &lt;/td&gt;
			&lt;td&gt; It&#8217;s &lt;strong&gt;not&lt;/strong&gt; a cloud server with some platform preinstalled. It&#8217;s easy to distinguish: traditional platform is something you buy with some server (or part of a server) and certain operating system. But if you buy a cloud platform, you never ever should bother about operating systems and anything underlying at all. You only need to know how to interact with the platform. That is, how to upload the code and deploy the app. The best example here yet is &lt;a href=&quot;http://appengine.google.com&quot;&gt;Google AppEngine&lt;/a&gt; &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt; Software &lt;/td&gt;
			&lt;td&gt; Basically, everything that is able to run in your browser. Note that it should &lt;cite&gt;run&lt;/cite&gt;, not &lt;cite&gt;be shown&lt;/cite&gt;. I think the most relevant example is &lt;a href=&quot;http://docs.google.com&quot;&gt;Google Docs&lt;/a&gt;. Note that similar to platform we don&#8217;t even need to know about anything related to the previous stack level, that is, about platform in this case. &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt; Content &lt;/td&gt;
			&lt;td&gt; Texts, images, videos or whatever users can see. Looks the same, huh? It&#8217;s because this stack level was &lt;cite&gt;always&lt;/cite&gt; in the cloud. You never needed to know where text or images were located or what software, platform and operating system were installed on the server sending those files to your browser. This is the point. Since you don&#8217;t know the details, you can&#8217;t draw them on diagrams, and you draw something like a cloud instead. This is where the term &#8220;cloud&#8221; has appeared from. &lt;/td&gt;
		&lt;/tr&gt;
	&lt;/table&gt;




	&lt;p&gt;So, now, what I think a cloud operating system&lt;sup&gt;&lt;a href=&quot;#fn1&quot;&gt;1&lt;/a&gt;&lt;/sup&gt; could be.&lt;/p&gt;


Theorizing based on tables above, I&#8217;d figure it as:
	&lt;ol&gt;
	&lt;li&gt;something that the uplying stack level (Platform) is installed upon.&lt;/li&gt;
		&lt;li&gt;something making unnecessary for Platform to &#8220;know&#8221; about anything below its level, i.e. certain cloud environment, number of servers, OS they have, their location and so on.&lt;/li&gt;
	&lt;/ol&gt;


	&lt;p&gt;Does it sound fantastic? Not at all. Take a look at &lt;a href=&quot;http://www.eucalyptus.com&quot;&gt;Eucalyptus&lt;/a&gt; and &lt;a href=&quot;http://www.openstack.org&quot;&gt;Openstack&lt;/a&gt;. Basically, they are cloud management systems, and I am not sure they will turn out to be a full-featured Cloud Operating System some time in the future. But they are definitely a step in this direction.&lt;/p&gt;


	&lt;p&gt;&lt;sup&gt;1&lt;/sup&gt; Don&#8217;t confuse with &lt;a href=&quot;http://www.readwriteweb.com/cloud/2010/11/5-cloud-operating-systems.php&quot;&gt;cloud-oriented operating systems&lt;/a&gt;, either web-based or traditional. Despite the fact that they are often referred to as cloud operating system, too, it is not correct and they are not what I mean.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.reticularium.com/">
    <author>
      <name>Igor</name>
    </author>
    <id>tag:www.reticularium.com,2010-02-02:168</id>
    <published>2010-02-02T22:12:00+01:00</published>
    <updated>2011-01-25T22:43:07+01:00</updated>
    <category term="ERR"/>
    <category term="Linux"/>
    <category term="Servers"/>
    <category term="mysql"/>
    <link href="http://www.reticularium.com/2010/2/2/168" rel="alternate" type="text/html"/>
    <title>MySQL export to CSV</title>
<content type="html">
            &lt;p&gt;Pretty easy:&lt;/p&gt;


&lt;div&gt;
&lt;table class=&quot;CodeRay&quot;&gt;&lt;tr&gt;
  &lt;td title=&quot;click to toggle&quot; class=&quot;line_numbers&quot;&gt;&lt;pre&gt;&lt;tt&gt;
&lt;/tt&gt;&lt;/pre&gt;&lt;/td&gt;
  &lt;td title=&quot;double click to expand&quot; class=&quot;code&quot; alt=&quot;double click to expand&quot;&gt;&lt;pre&gt;mysql -u&amp;lt;username&amp;gt; -p&amp;lt;password&amp;gt; &amp;lt;dbname&amp;gt; -B -e &amp;quot;select * from &amp;lt;tablename&amp;gt;&amp;quot; | sed 's/\t/&amp;quot;,&amp;quot;/g;s/^/&amp;quot;/;s/$/&amp;quot;/;s/\n//g' &amp;gt; &amp;lt;filename.csv&amp;gt;&lt;/pre&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;
          </content>  </entry>
  <entry xml:base="http://www.reticularium.com/">
    <author>
      <name>Igor</name>
    </author>
    <id>tag:www.reticularium.com,2010-01-04:160</id>
    <published>2010-01-04T20:59:00+01:00</published>
    <updated>2010-02-07T13:09:17+01:00</updated>
    <category term="ERR"/>
    <category term="Linux"/>
    <category term="Servers"/>
    <category term="amavis"/>
    <category term="error"/>
    <link href="http://www.reticularium.com/2010/1/4/160" rel="alternate" type="text/html"/>
    <title>auto-whitelist: Inappropriate ioctl for device</title>
<content type="html">
            &lt;p&gt;If Amavis reports this scary error, it doesn&#8217;t necessarily means that your disk is cracked. Usually this means that the file it is talking about has wrong format. This happens, for example, if you upgraded Amavis or Spamassassin. Check current format with the &lt;code&gt;file&lt;/code&gt; utility and upgrade it with &lt;code&gt;dbX.X_upgrade&lt;/code&gt; where X.X is appropriate version. Or simply remove the auto-whitelist file, it will be re-created. Same with bayes_seen and bayes_toks files.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.reticularium.com/">
    <author>
      <name>Igor</name>
    </author>
    <id>tag:www.reticularium.com,2009-11-28:140</id>
    <published>2009-11-28T01:56:00+01:00</published>
    <updated>2009-11-29T11:17:13+01:00</updated>
    <category term="Notes"/>
    <category term="Servers"/>
    <category term="cloud servers"/>
    <category term="hosting"/>
    <category term="rackspace"/>
    <category term="vat"/>
    <link href="http://www.reticularium.com/2009/11/28/140" rel="alternate" type="text/html"/>
    <title>Rackspace confused by VAT - part 2</title>
<summary type="html">&lt;p&gt;I have just found where that Rackspace decision to add &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; to the price resulted from. First I wanted to edit the previous article, but then decided to leave it as is. It&#8217;s still correct except a couple of details.&lt;/p&gt;


	&lt;p&gt;These details are as follows.&lt;/p&gt;</summary><content type="html">
            &lt;p&gt;I have just found where that Rackspace decision to add &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; to the price resulted from. First I wanted to edit the previous article, but then decided to leave it as is. It&#8217;s still correct except a couple of details.&lt;/p&gt;


	&lt;p&gt;These details are as follows.&lt;/p&gt;
&lt;p&gt;I have just found where that Rackspace decision to add &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; to the price resulted from. First I wanted to edit the previous article, but then decided to leave it as is. It&#8217;s still correct except a couple of details.&lt;/p&gt;


	&lt;p&gt;These details are as follows.&lt;/p&gt;


	&lt;p&gt;There are new &lt;span class=&quot;caps&quot;&gt;EU VAT&lt;/span&gt; regulations forthcoming. The best explanation I&#8217;ve found is the so-called &lt;a href=&quot;http://customs.hmrc.gov.uk/channelsPortalWebApp/channelsPortalWebApp.portal?_nfpb=true&amp;amp;_pageLabel=pageLibrary_ShowContent&amp;amp;id=HMCE_PROD1_029955&amp;amp;propertyType=document#P38_5206&quot;&gt;Notice 741A&lt;/a&gt; from UK &lt;acronym title=&quot;Her Majesty’s Revenue and Customs&quot;&gt;HMRC&lt;/acronym&gt; website.&lt;/p&gt;


	&lt;p&gt;The most important moments there are:&lt;/p&gt;


	&lt;p&gt;&lt;cite&gt;&#8220;From 1 January 2010 there are two general rules for the place of supply of services, one for business to business (B2B) and one for business to consumer (B2C) supplies.&#8221;&lt;/cite&gt;&lt;/p&gt;


	&lt;p&gt;&lt;cite&gt;&#8220;The &lt;acronym title=&quot;business-to-business&quot;&gt;B2B&lt;/acronym&gt; general rule for supplies of services is that the supply is made where the customer belongs&#8221;&lt;/cite&gt;&lt;/p&gt;


	&lt;p&gt;&lt;cite&gt;&#8220;The &lt;acronym title=&quot;business-to-customer&quot;&gt;B2C&lt;/acronym&gt; general rule for supplies of services is that the supply is made where the supplier belongs&#8221;&lt;/cite&gt;&lt;/p&gt;


	&lt;p&gt;Thus, starting from 2010, Rackspace will have to pay &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; if they supply their services to non-business customer (private individual or any body with no business activities or any body who receives a supply wholly for private purposes).&lt;/p&gt;


	&lt;p&gt;So, I agree that Rackspace did have a good reason to add &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; to the price for non-business customers. And the &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; they add should be the &lt;span class=&quot;caps&quot;&gt;UK VAT&lt;/span&gt;, this is correct too in accordance to the new regulations.&lt;/p&gt;


	&lt;p&gt;But still two important questions left:&lt;/p&gt;


	&lt;p&gt;&lt;cite&gt;Notice: I am talking about Rackspace only because they were the first (as I know) who were kind enough to warn about these changes. I am afraid there going to be others.&lt;/cite&gt;&lt;/p&gt;


	&lt;p&gt;&lt;ins&gt;The first question&lt;/ins&gt; is how Rackspace is going to tell business from non-business customers. Notice 741A explains possible options:&lt;/p&gt;


	&lt;p&gt;&lt;cite&gt;&#8220;VAT registration numbers are the best evidence that the supply is not received for a wholly private purpose and should be requested. If your customer is unable to provide a &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; number, you can accept alternative evidence. This includes certificates from fiscal authorities, business letterheads or other commercial documents indicating the nature of the customer’s activities. Such evidence should be kept as part of your records. Where &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; numbers are available, they should be shown on your invoice.&#8221;&lt;/cite&gt;&lt;/p&gt;


	&lt;p&gt;Rackspace in their message and on their website mentions &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; number only. This affects sole traders and small businesses that are not registered for &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt;. I am sure there are plenty of such customers. This affects me too since I operate as a sole proprietorship and I am not registered for &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt;. So I will have to get a clear answer from Rackspace regarding this, follow the updates.&lt;/p&gt;


	&lt;p&gt;&lt;ins&gt;The second question&lt;/ins&gt; is more complicated. Why Rackspace is going to &lt;strong&gt;add&lt;/strong&gt; VAT instead of deducting it? Let me explain.&lt;/p&gt;


	&lt;p&gt;There are 7 possible Rackspace/customer relationship combinations. Look at the table:&lt;/p&gt;


	&lt;table&gt;
		&lt;tr&gt;
			Rackspace location 
			Customer type 
			Customer location 
			Who pays &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; now 
			Who will pay &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; in 2010 
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt; UK &lt;/td&gt;
			&lt;td&gt; Business &lt;/td&gt;
			&lt;td&gt; UK &lt;/td&gt;
			&lt;td&gt; Customer &lt;/td&gt;
			&lt;td&gt; Customer &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt; UK &lt;/td&gt;
			&lt;td&gt; Non-business &lt;/td&gt;
			&lt;td&gt; UK &lt;/td&gt;
			&lt;td&gt; Rackspace &lt;/td&gt;
			&lt;td&gt; Rackspace &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt; UK &lt;/td&gt;
			&lt;td&gt; Business &lt;/td&gt;
			&lt;td&gt; EC / non-UK &lt;/td&gt;
			&lt;td&gt; Customer &lt;/td&gt;
			&lt;td&gt; Customer &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt; UK &lt;/td&gt;
			&lt;td&gt; Non-business &lt;/td&gt;
			&lt;td&gt; EC / non-UK &lt;/td&gt;
			&lt;td&gt; Customer &lt;/td&gt;
			&lt;td&gt; Rackspace &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt; UK &lt;/td&gt;
			&lt;td&gt; Business &lt;/td&gt;
			&lt;td&gt; non-EC &lt;/td&gt;
			&lt;td&gt; Customer &lt;/td&gt;
			&lt;td&gt; Rackspace&lt;sup&gt;&lt;a href=&quot;#fn1&quot;&gt;1&lt;/a&gt;&lt;/sup&gt; &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt; UK &lt;/td&gt;
			&lt;td&gt; Non-business &lt;/td&gt;
			&lt;td&gt; non-EC &lt;/td&gt;
			&lt;td&gt; Customer &lt;/td&gt;
			&lt;td&gt; Rackspace&lt;sup&gt;&lt;a href=&quot;#fn1&quot;&gt;1&lt;/a&gt;&lt;/sup&gt; &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt; US &lt;/td&gt;
			&lt;td&gt; Any &lt;/td&gt;
			&lt;td&gt; Any &lt;/td&gt;
			&lt;td&gt; Not Applicable &lt;/td&gt;
			&lt;td&gt; Not Applicable &lt;/td&gt;
		&lt;/tr&gt;
	&lt;/table&gt;




	&lt;p&gt;&lt;sup&gt;1&lt;/sup&gt; &lt;cite&gt;I am not sure (I assume nobody is), the rule of &#8220;where it is used and enjoyed&#8221; applies here, and telecommunications services is a pretty specific case. I think that I am correct here, because e.g. TV broadcasting is used and enjoyed where customer is located but servers hosting logically is rather used and enjoyed where datacenter &lt;ins&gt;or&lt;/ins&gt; supplier is located.&lt;/cite&gt;&lt;/p&gt;


	&lt;p&gt;I would assume that non-EC customers will be supplied from US office, so it&#8217;s not the case. But this may be the case if related to other service providers established in Europe and their non-EC customers.&lt;/p&gt;


	&lt;p&gt;One obvious moment is notable: UK non-business customers that are currently paying prices without &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; will be paying price + &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; despite of new regulations don&#8217;t affect them!&lt;/p&gt;


	&lt;p&gt;And finally this comes to the main question: why &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; should be added to the prices? My vision is that prices should remain the same except prices for business customers, where &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; should be &lt;em&gt;deducted&lt;/em&gt;&#8212;because business customers pay it themselves (you may want to google about the &#8220;reverse charge&#8221; or &#8220;tax shift&#8221; procedure).&lt;/p&gt;


	&lt;p&gt;I know that there is no &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; in the &lt;span class=&quot;caps&quot;&gt;USA&lt;/span&gt;, so it looks kind of logical to add it to the price that &lt;span class=&quot;caps&quot;&gt;USA&lt;/span&gt; customers pay. This fact is always confusing European customers and they agree to pay extra money. But it&#8217;s wrong. I have &lt;span class=&quot;caps&quot;&gt;USA&lt;/span&gt; clients and I don&#8217;t have corporate tax. Should I add US corporate tax to my usual prices for my &lt;span class=&quot;caps&quot;&gt;USA&lt;/span&gt; clients?&lt;/p&gt;


	&lt;p&gt;OK, another calculation. According to &lt;a href=&quot;http://en.wikipedia.org/wiki/Corporate_tax_in_the_United_States&quot;&gt;Wikipedia&lt;/a&gt;, in the US the average combined federal and state corporate tax rate is estimated at 39.3%. In the UK corporate tax is 21 to 28% and &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; is 17.5% which totals to 38.5 to 45.5%. I know that this is quite inaccurate, but accurate enough to give an idea: operating from Europe, US companies have less tax burden if they claim that their usual prices don&#8217;t include &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt;. They like this situation of course, so, when they are forced to pay &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt;, they want to add it to the price to maintain status quo.&lt;/p&gt;


	&lt;p&gt;As I mentioned on &lt;a href=&quot;http://forum.slicehost.com/comments.php?DiscussionID=4343&amp;amp;page=1#Item_3&quot;&gt;Slicehost forum&lt;/a&gt;, it&#8217;s not about the price. I inderstand, there may be higher business and operational expenses in Europe, so if they simply had separate prices for &lt;span class=&quot;caps&quot;&gt;USA&lt;/span&gt; and Europe, I would understand. But I feel like me and all European customers are being fooled with that &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; trick. Correct me if I am wrong..&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.reticularium.com/">
    <author>
      <name>Igor</name>
    </author>
    <id>tag:www.reticularium.com,2009-11-27:139</id>
    <published>2009-11-27T13:38:00+01:00</published>
    <updated>2009-11-28T02:20:35+01:00</updated>
    <category term="Notes"/>
    <category term="Servers"/>
    <category term="cloud servers"/>
    <category term="hosting"/>
    <category term="rackspace"/>
    <category term="vat"/>
    <link href="http://www.reticularium.com/2009/11/27/139" rel="alternate" type="text/html"/>
    <title>Rackspace confused by VAT</title>
<summary type="html">&lt;p&gt;Yesterday I received an email message from Rackspace:&lt;/p&gt;


	&lt;p&gt;&lt;cite&gt;&#8220;Dear Igor Simonov,&lt;/cite&gt;&lt;/p&gt;


	&lt;p&gt;&lt;cite&gt;The Rackspace Cloud would like to inform you of an important change to our billing system that will enable us to correctly handle &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; invoicing for our European customers.&lt;/cite&gt;&lt;/p&gt;


	&lt;p&gt;&lt;cite&gt;As an existing Rackspace Cloud customer, you will need to enter your &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; registration number in your control panel prior to January 1, 2010 to avoid being charged the 17.5% tax for &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt;.  If you do not have a &lt;span class=&quot;caps&quot;&gt;VAT ID&lt;/span&gt; number, or choose not to supply one, The Rackspace Cloud will begin charging you the 17.5% &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; tax on all invoices after January 1, 2010.&#8221;&lt;/cite&gt;&lt;/p&gt;</summary><content type="html">
            &lt;p&gt;Yesterday I received an email message from Rackspace:&lt;/p&gt;


	&lt;p&gt;&lt;cite&gt;&#8220;Dear Igor Simonov,&lt;/cite&gt;&lt;/p&gt;


	&lt;p&gt;&lt;cite&gt;The Rackspace Cloud would like to inform you of an important change to our billing system that will enable us to correctly handle &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; invoicing for our European customers.&lt;/cite&gt;&lt;/p&gt;


	&lt;p&gt;&lt;cite&gt;As an existing Rackspace Cloud customer, you will need to enter your &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; registration number in your control panel prior to January 1, 2010 to avoid being charged the 17.5% tax for &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt;.  If you do not have a &lt;span class=&quot;caps&quot;&gt;VAT ID&lt;/span&gt; number, or choose not to supply one, The Rackspace Cloud will begin charging you the 17.5% &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; tax on all invoices after January 1, 2010.&#8221;&lt;/cite&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;cite&gt;There is an &lt;a href=&quot;http://www.reticularium.com/2009/11/28/140&quot;&gt;update&lt;/a&gt; for this article&lt;/cite&gt;&lt;/b&gt;&lt;/p&gt;


	&lt;p&gt;Yesterday I received an email message from Rackspace:&lt;/p&gt;


	&lt;p&gt;&lt;cite&gt;&#8220;Dear Igor Simonov,&lt;/cite&gt;&lt;/p&gt;


	&lt;p&gt;&lt;cite&gt;The Rackspace Cloud would like to inform you of an important change to our billing system that will enable us to correctly handle &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; invoicing for our European customers.&lt;/cite&gt;&lt;/p&gt;


	&lt;p&gt;&lt;cite&gt;As an existing Rackspace Cloud customer, you will need to enter your &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; registration number in your control panel prior to January 1, 2010 to avoid being charged the 17.5% tax for &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt;.  If you do not have a &lt;span class=&quot;caps&quot;&gt;VAT ID&lt;/span&gt; number, or choose not to supply one, The Rackspace Cloud will begin charging you the 17.5% &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; tax on all invoices after January 1, 2010.&lt;/cite&gt;&lt;/p&gt;


	&lt;p&gt;I got stuck for a little. From what I know about &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; nothing can result in any price difference for customers are they &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; payers or not. So I have come up to conclusion that Rackspace billing guys just don&#8217;t understand what &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; is and how it works. They might have been confused by necessity to enter it in invoices as a separate line, and they obviously missed the point: &lt;strong&gt;if I am not a &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; payer, it&#8217;s me who don&#8217;t include &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; in my invoices, and it&#8217;s my clients who pay &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; instead of me&lt;/strong&gt;. It&#8217;s me who is a client for Rackspace, not vice versa.&lt;/p&gt;


	&lt;p&gt;Here&#8217;s a simplified example:&lt;/p&gt;


	&lt;ol&gt;
	&lt;li&gt;Rackspace produces a service from scratch and sells it to me for 10 dollars.&lt;/li&gt;
		&lt;li&gt;I produce my service based on a service provided by Rackspace and sell it for 20 dollars.&lt;/li&gt;
		&lt;li&gt;My client offers a service based on my service for 30 dollars.&lt;/li&gt;
	&lt;/ol&gt;


	&lt;p&gt;If there is no &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; at all (e.g. if these three entities all are in &lt;span class=&quot;caps&quot;&gt;USA&lt;/span&gt;), everything is clear. Each participant makes 10 dollars and pays taxes calculated on this basis. Income tax, corporate tax, whatever.&lt;/p&gt;


	&lt;p&gt;If there is &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; and each side is registered as a &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; payer, it looks like this:&lt;/p&gt;


	&lt;ol&gt;
	&lt;li&gt;Rackspace supplies their service to me for 10 dollars and pays &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; tax based on 10 dollars&lt;/li&gt;
		&lt;li&gt;I receive their service and supply my service for 20 dollars. From their invoice I get their &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; and claim that the service I&#8217;ve received had &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; included in its price, so I pay &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; based only on my 10 dollars earnings, i.e. same amount as Rackspace.&lt;/li&gt;
		&lt;li&gt;My client supplies his service for 30 dollars, but like me he pays only &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; based on 10 dollars, because his cost basis has already &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; included.&lt;/li&gt;
	&lt;/ol&gt;


	&lt;p&gt;Total &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; calculated on basis of the final service price is exactly  the same as the sum of VATs paid by all participants of this chain together, but each pays the own part.&lt;/p&gt;


	&lt;p&gt;Well, this is simple. Now where has Rackspace mistaken.&lt;/p&gt;


	&lt;p&gt;If Rackspace is a &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; payer, I am not a &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; payer and my client is a &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; payer, how it &lt;strong&gt;should be&lt;/strong&gt;:&lt;/p&gt;


	&lt;ol&gt;
	&lt;li&gt;Like in the previous case, Rackspace supplies their service to me for 10 dollars and pays &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; tax based on 10 dollars&lt;/li&gt;
		&lt;li&gt;I am not a &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; payer and therefore I cannot deduct Rackspace&#8217;s &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; from my &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt;, but I don&#8217;t need this &#8211; I am not a &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; payer! I still should receive the same service from Rackspace for the same price, the only difference is that I don&#8217;t care if they enter their &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; in invoice or not.&lt;/li&gt;
		&lt;li&gt;Now, if my client receive my service for the same 10 dollars price, it&#8217;s no good: I cannot show &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; in &lt;strong&gt;my&lt;/strong&gt; invoices, so &lt;strong&gt;my&lt;/strong&gt; client will pay &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; based on the whole price, i.e. on basis of 30 dollars. Apparently this cannot affect Rackspace at all, they already have gotten their money. For me personally being or not a &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; payer doesn&#8217;t make much difference, because:&lt;/li&gt;
	&lt;/ol&gt;


	&lt;ul&gt;
	&lt;li&gt;my services are not being re-sold&lt;/li&gt;
		&lt;li&gt;my prices are lower by (at least) &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; percentage &#8211; because I don&#8217;t have to pay it. &lt;/li&gt;
		&lt;li&gt;95% of my clients are from &lt;span class=&quot;caps&quot;&gt;USA&lt;/span&gt; anyway&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;&lt;cite&gt;Note: to make for my clients possible to pay &lt;span class=&quot;caps&quot;&gt;VAT I&lt;/span&gt; don&#8217;t supply my service for 20 dollars. My actual price is 10 + 10 / 117.5 * 100 = 18.51, so my clients still can supply their service for 30 dollars and make same money as if I was a &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; payer.&lt;/cite&gt;&lt;/p&gt;


	&lt;p&gt;How it looks like if Rackspace doesn&#8217;t change their decision (I hope they do):&lt;/p&gt;


	&lt;ol&gt;
	&lt;li&gt;They simply supply their service for higher price to non-corporate users. And they will have to pay &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; based on 10 dollars &lt;strong&gt;plus&lt;/strong&gt; VAT based on additional 17.5% dollars that they call &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; but in fact it is just a higher price.&lt;/li&gt;
		&lt;li&gt;I can&#8217;t supply my service for $18.51 anymore, I want to keep my earnings unchanged, so my clients can&#8217;t supply their services for $30 for the same reason, they have to pay my &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt; too, and I can&#8217;t compensate it, because the compensation is paid to Rackspace, but it should be paid to the treasury! This is very very wrong.&lt;/li&gt;
	&lt;/ol&gt;


	&lt;p&gt;So in this scenario I make less money, my clients make less money, treasury gets same taxes, Rackspace is the only one who gets more money. Well, probably this is the real reason..&lt;/p&gt;


	&lt;p&gt;To make this even more idiotic I have to mention that my &lt;span class=&quot;caps&quot;&gt;VAT&lt;/span&gt;, if I paid it (Czech Republic) would be 19%, not 17.5%  :)&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.reticularium.com/">
    <author>
      <name>Igor</name>
    </author>
    <id>tag:www.reticularium.com,2009-11-22:138</id>
    <published>2009-11-22T23:47:00+01:00</published>
    <updated>2010-02-22T19:50:33+01:00</updated>
    <category term="Servers"/>
    <category term="cloud servers"/>
    <category term="hosting"/>
    <link href="http://www.reticularium.com/2009/11/22/138" rel="alternate" type="text/html"/>
    <title>Rackspace Cloud at the first glance</title>
<summary type="html">&lt;p&gt;Rackspace Cloud is a division of Rackspace focused on cloud technologies development. Their own service (actually three &#8211; Rackspace Cloud Servers, Rackspace Cloud Files and Rackspace Cloud Sites) is based on the recently acquired Slicehost &lt;span class=&quot;caps&quot;&gt;VPS&lt;/span&gt; servers infrastructure. Since I am a Slicehost client myself and have many clients being hosted there, I was really curious how the Rackspace services look like.&lt;/p&gt;</summary><content type="html">
            &lt;p&gt;Rackspace Cloud is a division of Rackspace focused on cloud technologies development. Their own service (actually three &#8211; Rackspace Cloud Servers, Rackspace Cloud Files and Rackspace Cloud Sites) is based on the recently acquired Slicehost &lt;span class=&quot;caps&quot;&gt;VPS&lt;/span&gt; servers infrastructure. Since I am a Slicehost client myself and have many clients being hosted there, I was really curious how the Rackspace services look like.&lt;/p&gt;
&lt;p&gt;Rackspace Cloud is a division of Rackspace focused on cloud technologies development. Their own service (actually three &#8211; Rackspace Cloud Servers, Rackspace Cloud Files and Rackspace Cloud Sites) is based on the recently acquired Slicehost &lt;span class=&quot;caps&quot;&gt;VPS&lt;/span&gt; servers infrastructure. Since I am a Slicehost client myself and have many clients being hosted there, I was really curious how the Rackspace services look like.&lt;/p&gt;


	&lt;p&gt;Because of my relocation to Prague I was too busy and didn&#8217;t have a chance, but better later.. so starting now.&lt;/p&gt;


	&lt;p&gt;Creating an account was a bit disappointing: when I tried to log in to a just created account, it didn&#8217;t allow claiming that my account is suspended. Their live support (they call it &#8220;our famous Fanatical support&#8221;) explained me that it is not a bug, it is a feature, needed for fraud protection, and my account will be activated only after they have me verified by a phone call. I didn&#8217;t understand if it&#8217;s a random procedure or every new client has to be verified, neither do I know how long would I have to wait if I didn&#8217;t address the question to their live support right away. Also, I would feel much more comfortable if I got some warning that this may or should happen.. But OK, no real problem, they called me in several minutes and the rest of the process was absolutely seamless.&lt;/p&gt;


	&lt;p&gt;They have a really cool interface, well designed, pretty looking and quite intuitive. I got my server up and running in minutes and found that it looks exactly like my Slicehost servers. Two IPs &#8211; internal and external, initial root password which is a combination of the server name and random part and so on, everything looks familiar. Quite expected. But there is one notable difference. I don&#8217;t know why, but Rackspace 256M server shows 329036k of &lt;span class=&quot;caps&quot;&gt;RAM&lt;/span&gt; while Slicehost&#8217;s 256M slice shows 262364k as expected. I don&#8217;t know if there is similar difference between higher memory slices, I&#8217;ll check this later. Disk space is same &#8211; 10GB for 256M server, 20GB for 512M and so on.&lt;/p&gt;


	&lt;p&gt;&lt;cite&gt;Update: Looks like in my case Xen balloon driver doesn&#8217;t work properly. According to /proc/xen/balloon 262144kB is allocated, 270336kB is the maximal target, but I see 329036kB of usable memory. Also, there is no usual message about &#8220;Setting mem allocation&#8221; in dmesg. But shhhh.. I don&#8217;t mind having a bit more &lt;span class=&quot;caps&quot;&gt;RAM&lt;/span&gt; :)&lt;/cite&gt;&lt;/p&gt;


	&lt;p&gt;I am going to play with both APIs a little and describe this in another article, but in general both APIs are similar (yes, Slicehost and Rackspace have different APIs).&lt;/p&gt;


	&lt;p&gt;So, now it&#8217;s time to look at pricing.&lt;/p&gt;


	&lt;p&gt;Slicehost offers 256MB slices for $20 a month, and it looks more expensive than $10.95 a month from Rackspace. But don&#8217;t forget about bandwidth. Slicehost&#8217;s 256MB plan includes 100GB of bandwidth, similar plan from Rackspace doesn&#8217;t include any bandwidth. They count it separately: $0.08/GB for incoming and $0.22/GB for outgoing bandwidth. Thus, if incoming to outgoing ratio is e.g. 1:10, you will pay the same $20 a month for 256MB server and 40GB of outgoing bandwidth as you pay for Slicehost&#8217;s 256MB slice and 100GB of bandwidth.  So, it depends. If you don&#8217;t need more than 40GB/month for a 256MB server, Rackspace is cheaper for you. On the other hand, Rackspace charges on the per hour basis, you can turn servers on and off via their web interface or use &lt;span class=&quot;caps&quot;&gt;API&lt;/span&gt; and pay only for time when servers are on.&lt;/p&gt;


	&lt;p&gt;This comes to another interesting question: Slicehost and Rackspace servers share the same internal network. I am pretty sure that they treat any data transfer between them as local and don&#8217;t charge for it. I am going to check this tomorrow (billing statements available for previous day only). If it&#8217;s true, it&#8217;s possible to use Slicehost&#8217;s server as a frontend/proxy and save some cost..  Updates will follow.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.reticularium.com/">
    <author>
      <name>Igor</name>
    </author>
    <id>tag:www.reticularium.com,2009-10-10:20</id>
    <published>2009-10-10T11:21:00+02:00</published>
    <updated>2009-10-16T09:07:53+02:00</updated>
    <category term="ERR"/>
    <category term="Linux"/>
    <category term="Servers"/>
    <category term="error"/>
    <category term="java"/>
    <link href="http://www.reticularium.com/2009/10/10/20" rel="alternate" type="text/html"/>
    <title>Java VM initialization error</title>
<content type="html">
            &lt;p&gt;Error message:&lt;/p&gt;


&lt;table class=&quot;CodeRay&quot;&gt;&lt;tr&gt;
  &lt;td title=&quot;click to toggle&quot; class=&quot;line_numbers&quot;&gt;&lt;pre&gt;1&lt;tt&gt;
&lt;/tt&gt;2&lt;tt&gt;
&lt;/tt&gt;&lt;/pre&gt;&lt;/td&gt;
  &lt;td class=&quot;code&quot;&gt;&lt;pre&gt;Error occurred during initialization of VM&lt;tt&gt;
&lt;/tt&gt;Could not reserve enough space for object heap&lt;/pre&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/table&gt;


	&lt;p&gt;means: not enough Virtual Memory for Java VM to initialize. Weird for a first glance, but are you sure you have it enough? Quite probable that you have ulimits setup, which, in turn, is quite probable if you have cPanel.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.reticularium.com/">
    <author>
      <name>Igor</name>
    </author>
    <id>tag:www.reticularium.com,2009-10-06:19</id>
    <published>2009-10-06T20:14:00+02:00</published>
    <updated>2009-10-09T23:29:21+02:00</updated>
    <category term="ERR"/>
    <category term="Servers"/>
    <category term="security"/>
    <category term="servers"/>
    <link href="http://www.reticularium.com/2009/10/6/19" rel="alternate" type="text/html"/>
    <title>Injected iframes</title>
<summary type="html">&lt;p&gt;Looking through job alerts I receive by email from &lt;a href=&quot;http://www.odesk.com&quot;&gt;oDesk&lt;/a&gt; I often see requests similar to this:&lt;/p&gt;


	&lt;p&gt;&lt;cite&gt;Some malicious user infected all htm and php files off our server with a iframe in the end off each file. I need to remove it from all files&lt;/cite&gt;&lt;/p&gt;


	&lt;p&gt;These requests make me think that some webmasters don&#8217;t understand how it works.&lt;/p&gt;</summary><content type="html">
            &lt;p&gt;Looking through job alerts I receive by email from &lt;a href=&quot;http://www.odesk.com&quot;&gt;oDesk&lt;/a&gt; I often see requests similar to this:&lt;/p&gt;


	&lt;p&gt;&lt;cite&gt;Some malicious user infected all htm and php files off our server with a iframe in the end off each file. I need to remove it from all files&lt;/cite&gt;&lt;/p&gt;


	&lt;p&gt;These requests make me think that some webmasters don&#8217;t understand how it works.&lt;/p&gt;
&lt;p&gt;Looking through job alerts&lt;sup&gt;&lt;a href=&quot;#fn1&quot;&gt;1&lt;/a&gt;&lt;/sup&gt; I receive by email from &lt;a href=&quot;http://www.odesk.com&quot;&gt;oDesk&lt;/a&gt; I often see requests similar to this:&lt;/p&gt;


	&lt;p&gt;&lt;cite&gt;Some malicious user infected all htm and php files off our server with a iframe in the end off each file. I need to remove it from all files&lt;/cite&gt;&lt;/p&gt;


	&lt;p&gt;These requests make me think that some webmasters don&#8217;t understand how it works.&lt;/p&gt;


	&lt;p&gt;This wasn&#8217;t some malicious user who infected your files. &lt;em&gt;This was you!&lt;/em&gt;&lt;/p&gt;


	&lt;p&gt;So, how it works (at least how it worked in all the cases I had to deal with).&lt;/p&gt;


	&lt;p&gt;You or your developers use &lt;acronym title=&quot;File Transfer Protocol&quot;&gt;FTP&lt;/acronym&gt; to upload edited files. Some of the computers connecting to the server via &lt;span class=&quot;caps&quot;&gt;FTP&lt;/span&gt; have Windows installed, which is infected by a trojan. That trojan discovers &lt;span class=&quot;caps&quot;&gt;FTP&lt;/span&gt; password and makes it accessible for botnet. Botnet is a network of other infected desktops controlled by, well, some malicious person, but not your user! That guy probably never seen your website at all. Each of the computers in that botnet now can download any file from your server, add iframe to it and then upload it back again. They do it again and again, not only because you probably remove those iframes, they also have to change links in those iframes quite often. So, if you simply remove those iframes, it won&#8217;t help.&lt;/p&gt;


	&lt;p&gt;What you can do.&lt;/p&gt;


	&lt;p&gt;I am not going to insist that you or developers should use different operating systems (some of my clients forced developers to do this though). I personally don&#8217;t believe that there exists such thing as non-infected Windows computer connected to the Internet in this world, but many people do. So, if you believe, you may rely on antivirus software and try to find and destroy the trojan. Then change &lt;span class=&quot;caps&quot;&gt;FTP&lt;/span&gt; passwords, remove injected iframes from your website and wait if they appear again.&lt;/p&gt;


	&lt;p&gt;Better approach is to disable &lt;span class=&quot;caps&quot;&gt;FTP&lt;/span&gt; access to your server and use &lt;acronym title=&quot;Secure File Transfer Protocol&quot;&gt;SFTP&lt;/acronym&gt; or &lt;acronym title=&quot;Secure Copy&quot;&gt;SCP&lt;/acronym&gt; to upload files. Maybe trojans will learn to recognize them too, but I haven&#8217;t seen such trojans so far.
If you can&#8217;t or don&#8217;t want to use &lt;span class=&quot;caps&quot;&gt;SFTP&lt;/span&gt; or &lt;span class=&quot;caps&quot;&gt;SCP&lt;/span&gt; and disable &lt;span class=&quot;caps&quot;&gt;FTP&lt;/span&gt;, there is another good idea: you may block access to &lt;span class=&quot;caps&quot;&gt;FTP&lt;/span&gt; for all IPs except those you need access from. This will block access from botnet computers but trojan still can use developers&#8217; computers to access your website.&lt;/p&gt;


	&lt;p&gt;Of course, you may use all three recipes simultaneously together with some script searching for and removing injected iframes every 5 minutes, and this combined solution is probably the best you can do.&lt;/p&gt;


	&lt;p&gt;&lt;sup&gt;1&lt;/sup&gt; Note for my current employer: I am not searching for a job, I am just curious enough to take a look sometimes :)&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.reticularium.com/">
    <author>
      <name>Igor</name>
    </author>
    <id>tag:www.reticularium.com,2009-09-27:14</id>
    <published>2009-09-27T20:42:00+02:00</published>
    <updated>2010-02-16T18:09:24+01:00</updated>
    <category term="ERR"/>
    <category term="Servers"/>
    <category term="postgresql"/>
    <link href="http://www.reticularium.com/2009/9/27/14" rel="alternate" type="text/html"/>
    <title>Another way to make changes on all tables in PostgreSQL</title>
<content type="html">
            &lt;p&gt;For example, to grant all privileges on all tables of the current database to user &lt;cite&gt;username&lt;/cite&gt;:&lt;/p&gt;


&lt;div&gt;
&lt;table class=&quot;CodeRay&quot;&gt;&lt;tr&gt;
  &lt;td title=&quot;click to toggle&quot; class=&quot;line_numbers&quot;&gt;&lt;pre&gt;&lt;tt&gt;
&lt;/tt&gt;&lt;/pre&gt;&lt;/td&gt;
  &lt;td title=&quot;double click to expand&quot; class=&quot;code&quot; alt=&quot;double click to expand&quot;&gt;&lt;pre&gt;&lt;span class=&quot;r&quot;&gt;select&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&lt;span class=&quot;dl&quot;&gt;'&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;grant all on &lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;'&lt;/span&gt;&lt;/span&gt;||schemaname||&lt;span class=&quot;s&quot;&gt;&lt;span class=&quot;dl&quot;&gt;'&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;'&lt;/span&gt;&lt;/span&gt;||tablename||&lt;span class=&quot;s&quot;&gt;&lt;span class=&quot;dl&quot;&gt;'&lt;/span&gt;&lt;span class=&quot;k&quot;&gt; to username;&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;'&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;r&quot;&gt;from&lt;/span&gt; pg_tables &lt;span class=&quot;r&quot;&gt;where&lt;/span&gt; schemaname=&lt;span class=&quot;s&quot;&gt;&lt;span class=&quot;dl&quot;&gt;'&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;'&lt;/span&gt;&lt;/span&gt;;&lt;/pre&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;


	&lt;p&gt;Change username to what you need.&lt;/p&gt;


	&lt;p&gt;The output of this is a list of commands that that can be copied via clipboard and run all at once.&lt;/p&gt;
          </content>  </entry>
</feed>

