Opentaps Amazon EC2 Images
Finding opentaps Amazon EC2 Images
Beginning with opentaps-1.4-preview2, you can use Amazon EC2 images to install opentaps on an Amazon Elastic Computing Cloud virtual server. You can find Amazon Machine Images (AMI) for opentaps which allow you to set up a virtual server with opentaps pre-installed with demo data.
To use an opentaps AMI, login to the Amazon AWS Management console. From the "Instances" screen, click on "Launch Instances", and then click on "Community AMIs" and search for "opentaps". You should see a list of opentaps machine images available, listing the version of opentaps and the preinstalled database, like this:
Simply choose the image with the opentaps version and database that you would like to use, click on [Select] next to it, and then Amazon will take you to the next screen to finish setting up your server.
Accessing your New opentaps Instance
Once Amazon has set up your new opentaps instance, you can use the DNS to access it. For example, if your instance's public DNS is ec2-123-456-78-90.compute-1.amazonaws.com, that you can access opentaps from your browser at
and you will be able to access your instance of opentaps, preloaded with the demo data.
Managing your opentaps Instance
To manage your opentaps instance, use your Amazon .pem key and login as root:
$ ssh ec2/mysecurekey.pem firstname.lastname@example.org
By convention, opentaps will be installed in the /opt/opentaps directory, so you can go to your version as the root user:
$ cd /opt/opentaps/opentaps-1.4-preview-2
and modify the configuration files.
For example, if you want opentaps to run on port 80 and 443, edit the files framework/base/config/ofbiz-containers.xml and framework/webapp/config/url.properties and change the ports 8080 and 8443 to 80 and 443.
To start, stop, or restart opentaps, you can use the /etc/init.d/opentaps script:
$ /etc/init.d/opentaps stop $ /etc/init.d/opentaps start
Now you should be able to access opentaps at http://ec2-123-456-78-90.compute-1.amazonaws.com/opentaps