<?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>Sankasaurus &#187; api</title>
	<atom:link href="http://blog.pas.net.au/tag/api/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.pas.net.au</link>
	<description>Just another tech blog - ranting since 2006</description>
	<lastBuildDate>Wed, 25 Aug 2010 21:40:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Rackspace Cloud API PHP Library</title>
		<link>http://blog.pas.net.au/2009/08/rackspace-cloud-api-php-library/</link>
		<comments>http://blog.pas.net.au/2009/08/rackspace-cloud-api-php-library/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 05:42:21 +0000</pubDate>
		<dc:creator>Peter Sankauskas</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[rackspace cloud]]></category>

		<guid isPermaLink="false">http://blog.pas.net.au/?p=42</guid>
		<description><![CDATA[I am pleased to annouce my very first open source project hosted at github. The project, called Rackspace Cloud PHP Library is a simple, single PHP file to easily make Cloud Server API calls. Rackspace have not yet released any libraries for their API, possibly because it is still kind of in beta. If they [...]]]></description>
			<content:encoded><![CDATA[<p>I am pleased to annouce my very first open source project hosted at <a href="http://github.com/">github</a>. The project, called <strong><a href="http://github.com/pas256/Rackspace-Cloud-PHP-Library">Rackspace Cloud PHP Library</a></strong> is a simple, single PHP file to easily make <a href="http://www.rackspacecloud.com/cloud_hosting_products/servers/api">Cloud Server API</a> calls. Rackspace have not yet released any libraries for their API, possibly because it is still kind of in beta. If they do, I believe there will be of little use for my project, but right now, it has value.</p>
<p>So what was my motivation for this?</p>
<p>Well the <a href="https://manage.rackspacecloud.com/">Rackspace Cloud Management Console</a> is severly lacking in features. Things such as creating an image of a server (just like you can in AWS EC2), and sharing an IP address between servers (something you cannot do in EC2 &#8211; an IP address can only be attached to a single instance at a time). It is this second feature that I am most interested in because it means I can use a virtual IP address (floating IP) to create a HA (highly available) &#8220;cluster&#8221; of Tomcat servers. I plan on using <a href="http://www.keepalived.org/">keepalived</a> to do the IP switching, and Apache with <a href="http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html">mod_proxy_balancer</a> and <a href="http://httpd.apache.org/docs/2.2/mod/mod_proxy_ajp.html">mod_proxy_ajp</a> to talk to multiple Tomcat servers. Without reading the <a href="http://docs.rackspacecloud.com/servers/api/cs-devguide-latest.pdf">poorly written API documention</a> and learning that I could create a shared IP group, I would not have known this was possible.</p>
<p>This project is very much a work in progress, and what is in there now represents only about 8 hours of work. I welcome any feedback, and anyone else who wants to join.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.pas.net.au/2009/08/rackspace-cloud-api-php-library/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
