<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Alfresco 4.0 in Amazon EC2 in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-4-0-in-amazon-ec2/m-p/252560#M205690</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks AB, post updated accordingly&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Dec 2011 10:42:12 GMT</pubDate>
    <dc:creator>wabson</dc:creator>
    <dc:date>2011-12-19T10:42:12Z</dc:date>
    <item>
      <title>Alfresco 4.0 in Amazon EC2</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-4-0-in-amazon-ec2/m-p/252558#M205688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;{{Obsolete content}}&lt;/P&gt;&lt;STRONG&gt;Update January '12: These instructions are now deprecated. A simpler procedure, allowing easy creation of EBS-boot images is now documented as a follow-up post.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've just added a new AMI for Alfresco 4 onto my &lt;/SPAN&gt;Alfresco EC2 Images list.&lt;SPAN&gt;. Running these files is now even easier, based on the method used by Eric Hammond's &lt;/SPAN&gt;&lt;A href="http://alestic.com" target="_blank" rel="nofollow noopener noreferrer"&gt;alestic.com&lt;/A&gt;&lt;SPAN&gt;, with a link next to each image that allows you to click directly through to the AWS Management Console. If you have an AWS account, you're now just a few clicks away from launching your own cloud-based instance of Alfresco 4.0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course, the usual disclaimers apply here. These are not official images in any way, and should not be used for production purposes. But if you want to try out Alfresco 4 without the hassle of managing your own install, hopefully it will be useful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's also worth pointing out that the scripts I use to create these are public, hosted on the &lt;/SPAN&gt;&lt;A href="http://code.google.com/p/alfresco-ubuntu-qs/" target="_blank" rel="nofollow noopener noreferrer"&gt;alfresco-ubuntu-qs&lt;/A&gt;&lt;SPAN&gt; project on Google Code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should be able to create your own Alfresco 4 AMIs by following these simple steps&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;LI&gt;Start by running up a preconfigured Ubuntu or other Linux AMI - I use &lt;A href="http://alestic.com" target="_blank" rel="nofollow noopener noreferrer"&gt;Eric Hammond's list&lt;/A&gt; for the latest versions. Pick the right one for your geography and size requirements, I use the most recent 32-bit instance-store AMI from the W Europe region&lt;/LI&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;LI&gt;While the instance is starting up, download the latest Quickstart scripts from Google Code&lt;/LI&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;LI&gt;Once the machine is started, check you can connect to it via SSH, using the keypair you specified when starting the image and the username 'ubuntu'&lt;/LI&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;LI&gt;Create a new directory named 'ec2' in your home directory on the running instance&lt;/LI&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;LI&gt;Use SCP or rsync to copy the quickstart scripts bundle, plus your AWS certificate and private key files (cert-blah.cert and cert-blah.pk) from your local machines. Place the script bundle in &lt;TT&gt;/home/ubuntu&lt;/TT&gt; and the certificate and key files in the new &lt;TT&gt;/home/ubuntu/ec2&lt;/TT&gt; directory&lt;/LI&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;LI&gt;Back in your SSH session on the instance, extract the contents of the quickstart bundle and change into the new alfresco-ubuntu-qs directory&lt;/LI&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;LI&gt;Use the install.sh script to install Alfresco and its dependencies on the instance by typing &lt;TT&gt;sudo ./install.sh&lt;/TT&gt;. For 4.0.a and 4.0.b, which do not support the DOD Records Management module, you will need to add the &lt;TT&gt;--no-install-dod&lt;/TT&gt; option to the command.&lt;/LI&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;LI&gt;The script will run through and you will be prompted for a MySQL password. You &lt;STRONG&gt;must &lt;/STRONG&gt;enter 'alfresco' unless you have changed the value of &lt;TT&gt;$MYSQL_USER&lt;/TT&gt; in the script to something else.&lt;/LI&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;LI&gt;The script will indicate that it has finished installing Alfresco. Do not start Tomcat, since this will bootstrap the repository data, which you do not want to do before bundling.&lt;/LI&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;LI&gt;Change back into your home directory&lt;/LI&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;LI&gt;Create the AMI files using the &lt;TT&gt;sc2-bundle-vol&lt;/TT&gt; command&lt;BR /&gt;&lt;BR /&gt;&lt;TT&gt;sudo ec2-bundle-vol -d /mnt -p alfresco-community-mysql-4.0.a-i386 -u&amp;nbsp; 111111111111 -k ec2/pk-*.pem -c ec2/cert-*.pem -e&amp;nbsp; /home/ubuntu/ec2,/home/ubuntu/.ssh,/home/ubuntu/.cache,/home/ubuntu/.sudo_as_admin_successful,/home/ubuntu/.byobu,/home/ubuntu/alfresco-ubuntu-qs,/home/ubuntu/alfresco-ubuntu-qs-*.tar -s 4096&lt;/TT&gt;&lt;BR /&gt;&lt;BR /&gt;You must set your numerical AWS account ID using the &lt;TT&gt;-u&lt;/TT&gt; flag. Also you should review the list of excluded files to ensure that you are not bundling any files that you do not want to.&lt;/LI&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;LI&gt;Once the bundling process has finished, upload it to your S3 bucket using the &lt;TT&gt;ec2-upload-bundle&lt;/TT&gt; command&lt;BR /&gt;&lt;BR /&gt;&lt;TT&gt;ec2-upload-bundle -b my-s3-bucket -m /mnt/alfresco-community-mysql-4.0.a-i386.manifest.xml -a aid -s secret --location EU&lt;/TT&gt;&lt;BR /&gt;&lt;BR /&gt;You must specify your S3 bucket name using the &lt;TT&gt;-b&lt;/TT&gt; option, and ensure that you set your AWS access key and AWS secret key using the &lt;TT&gt;-a&lt;/TT&gt; and &lt;TT&gt;-s&lt;/TT&gt; options&lt;/LI&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;LI&gt;Once the upload has completed, log into your AWS EC2 web console, navigate to the AMIs section and click the &lt;STRONG&gt;Register New AMI&lt;/STRONG&gt; button to register your new image. Enter the path of the uploaded manifest file within the bundle you just uploaded, this will be something like 'my-s3-bucket/alfresco-community-mysql-4.0.a-i386.manifest.xml'&lt;/LI&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;LI&gt;Now your AMI is registered you can see if it works by creating a new instance of it. If it does, then you can safely shut down the originial Ubuntu instance as you will no longer need this.&lt;/LI&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;LI&gt;If you want others to be able to run your image then you will need to add the necessary permissions for this, using the web console.&lt;/LI&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Oct 2011 12:35:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-4-0-in-amazon-ec2/m-p/252558#M205688</guid>
      <dc:creator>wabson</dc:creator>
      <dc:date>2011-10-16T12:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco 4.0 in Amazon EC2</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-4-0-in-amazon-ec2/m-p/252559#M205689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Great article -- thanks for posting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;'You must set your numerical AWS account ID using the -i flag'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Should be the -u flag.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Dec 2011 08:25:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-4-0-in-amazon-ec2/m-p/252559#M205689</guid>
      <dc:creator>blog_commenter</dc:creator>
      <dc:date>2011-12-18T08:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco 4.0 in Amazon EC2</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-4-0-in-amazon-ec2/m-p/252560#M205690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks AB, post updated accordingly&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2011 10:42:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-4-0-in-amazon-ec2/m-p/252560#M205690</guid>
      <dc:creator>wabson</dc:creator>
      <dc:date>2011-12-19T10:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco 4.0 in Amazon EC2</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-4-0-in-amazon-ec2/m-p/252561#M205691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;[...] Will Abson on Alfresco Alfresco development, customisation and related themes&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; « Alfresco 4.0 in Amazon EC2 [...]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2012 14:25:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-4-0-in-amazon-ec2/m-p/252561#M205691</guid>
      <dc:creator>blog_commenter</dc:creator>
      <dc:date>2012-01-23T14:25:39Z</dc:date>
    </item>
  </channel>
</rss>

