<?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>Sonatype Blog &#187; cloud</title>
	<atom:link href="http://www.sonatype.com/people/tag/cloud/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sonatype.com/people</link>
	<description>Sonatype is transforming software development with tools, information and services that enable organizations to build better software, faster, using open-source components.</description>
	<lastBuildDate>Wed, 23 May 2012 14:24:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Nexus Open Source and Hudson on EC2</title>
		<link>http://www.sonatype.com/people/2009/06/nexus-open-source-and-hudson-on-ec2/</link>
		<comments>http://www.sonatype.com/people/2009/06/nexus-open-source-and-hudson-on-ec2/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 17:11:49 +0000</pubDate>
		<dc:creator>Tim O'Brien</dc:creator>
				<category><![CDATA[Nexus]]></category>
		<category><![CDATA[cloud]]></category>

		<guid isPermaLink="false">http://www.sonatype.com/people/?p=2447</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.sonatype.com/people/2009/06/nexus-open-source-and-hudson-on-ec2/' addthis:title='Nexus Open Source and Hudson on EC2 '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>If you are interested in running Nexus and Hudson on Amazon&#8217;s Elastic Computing (EC2) service, there is now a public image that contains Maven, Nexus, Hudson, and the OpenJDK. If you use Amazon&#8217;s easy-to-use AWS Console, running a state-of-the-art build service with Nexus and Hudson is one click away. Here are the details for those [...]]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.sonatype.com/people/2009/06/nexus-open-source-and-hudson-on-ec2/' addthis:title='Nexus Open Source and Hudson on EC2 '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div><p>If you are interested in running Nexus and Hudson on Amazon&#8217;s Elastic Computing (EC2) service, there is now a public image that contains Maven, Nexus, Hudson, and the OpenJDK.    If you use Amazon&#8217;s easy-to-use <a href="http://console.aws.amazon.com">AWS Console</a>, running a state-of-the-art build service with Nexus and Hudson is one click away.    Here are the details for those of you interested in running Nexus and Hudson on the cloud:</p>

<ul>
  <li><b>Manifest:</b> <a href="http://s3.amazonaws.com/sonatype-images/nexus-os-1.3.4_hudson-20090608.manifest.xml">sonatype-images/nexus-os-1.3.4_hudson-20090608.manifest.xml</a></li>
  <li><b>AMI ID:</b> ami-7314f21a</li>
  <li><b>Operating System:</b> Fedora Core 8</li>
  <li><b>Platform:</b> i386</li>
</ul>

<p>Launch it.  In minutes, you will have a capable build server.   Read more to find out about some suggested next steps to secure your new build server.</p>

<p><span id="more-2447"></span></p>

<p><b>What&#8217;s Installed?</b>  This instance is simply the latest installation of <a href="https://hudson.dev.java.net/">Hudson 1.309</a>, <a href="http://nexus.sonatype.org">Nexus 1.3.4 Open Source</a>, <a href="http://openjdk.java.net/install/#fedora">OpenJDK 1.6.0</a>, and <a href="http://maven.apache.org">Maven 2.1.0</a>.      Nexus is installed in /usr/local/nexus and Hudson is installed on Tomcat 6.0.20 in /usr/local/hudson.    Both Nexus and Hudson are configured to startup in /etc/init.d/nexus and /etc/init.d/hudson. </p>

<p><b>Post Launch Instructions:</b>  Since Nexus and Hudson are both running with the default authentication configuration, it is imperative that you <b>change the default administrative password of Nexus after installation (the default is &#8220;admin123&#8243;)</b>.    To change the Nexus password:</p>

<ol>
  <li>Go to http://&lt;host&gt;/nexus</li>
  <li>Log in as &#8220;admin&#8221; using the default password &#8220;admin123&#8243;</li>
  <li>Click on &#8220;Change Password&#8221; in the Security Menu</li>
</ol>

<p>Also, it is imperative that you turn on security for your Hudson instance.  To do this:</p>

<ol>
  <li>Go to http://&lt;host&gt;/hudson</li>
  <li>Click on &#8220;Manage Hudson&#8221;</li>
  <li>Click on &#8220;Configure System&#8221;</li>
  <li>Make sure that &#8220;Enable Security&#8221; is checked, and configure Hudson security.    If you don&#8217;t have an LDAP server, just use Hudson&#8217;s on Security Database</li>
</ol>

<p>While you are at it, you will need to configure Hudson&#8217;s JDK and Maven installation.   To do this:</p>

<ol>
  <li>Go to http://&lt;host&gt;/hudson</li>
  <li>Click on &#8220;Manage Hudson&#8221;</li>
  <li>Click on &#8220;Configure System&#8221;</li>
  <li>Click on ADD JDK.  At this point, you can download a JDK directly from Sun, or you can point your Hudson instance at the OpenJDK 1.6.0 installed on this EC2 instance.   The JAVA_HOME directory for OpenJDK on this box is: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/</li>
  <li>Click on Add Maven to add a Maven installation.   At this point, you can install Maven directly from Apache, or you can point Hudson at the Maven 2.1.0 instance installed on this machine.   M2_HOME on this machine is /usr/local/maven.</li>
</ol>

<h3>Long-lived Build Machines on EC2 (Get an EBS Volume)</h3>

<p>If you are planning on running this instance as a long-running build server, you will likely want to configure the sonatype-work directory to run on an EBS volume.     If you do end up running Hudson and Nexus on this instance for a long time, and you are planning on depending on it: invest in an EBS volume and move /usr/local/nexus and /usr/local/hudson to run on that persistent volume.    This way, you&#8217;ll have the peace of mind that your build and repository data will persistent in the event of unforeseen downtime.</p>

<p>Happy Nexusing</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sonatype.com/people/2009/06/nexus-open-source-and-hudson-on-ec2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

