Hosting ADempiere in the cloud has its benefits. Amazon makes it easy and free for a period of time. When you sign up for a new AWS account, you are eligible for their free tier. The purpose of this article is to help you find the easiest and least expensive way to host ADempiere in cloud.
Much has changed in the last year. I created a script that handles the entire iDempiere installation for you. Here is a post that describes the details. I recommend that you use this process instead of the details listed below. Unless you perform heavy manufacturing, I recommend that you start with iDempiere instead of ADempiere.
Here are some important points to consider when deploying ADempiere cloud ERP:
- PostgreSQL on Ubuntu runs nicely on an AWS micro instance.
- PostgreSQL and ADempiere (JBoss) do not run nicely on a single AWS micro instance. There is not enough horse power.
- AWS gives you 750 hours of EC2 micro instance usage per month for free as part of their free tier.
- 750 hours is just enough one time to run on instance 24 hours per day all month long.
- 750 hours is also long enough to two micro instances on and off during the month. One instance for the PostgreSQL database; and one for the ADempiere JBoss server.
- I illustrate the steps to install PostgreSQL and ADempiere on separate linux servers below.
Important note: The process of installing both components on a single machine is definitely easier. In my case, installing anything on a Windows server is much easier than Linux. Therefore, the easiest installation is on an AWS Small Instance running Windows. Since I want free cloud ERP, I am choosing the more challenging path.
Simple Windows Cloud ERP Installation: Here is a helpful link to install ADempiere on Windows.
Here are the resources I used to install PostgreSQL on an Ubuntu Linux server on AWS:
- I signed up for an AWS account and launched a new EC2 instance. I chose an Ubuntu 12 LTS server.
- I used this tutorial to connect to my instance.
- I used Nano as a text editor on linux. It is MUCH easier than VI.
- I used this tutorial to install PostgreSQL. Note that Ubuntu installs PostgreSQL version 9.1. This means the sudo -u postgres psql < /usr/share/postgresql/8.4/contrib/adminpack.sql command has changed. Here is the tutorial that helped me uncover the new path.
- I used this tutorial to open up PostgreSQL to other machines. I chose to open the database up to all IPs. Instead, I used AWS’s security groups to limit IPs. I used this tutorial to familiarize myself with IPTables.
- I installed PGAdmin on my local machine to confirm I could connect to my remote DB. All worked!
Here are the steps to install ADempiere on a separate linux server:
Coming soon…. I am currently getting my PostgreSQL Professional Certification and I needed the above server to help complete the courses. I will finish the ADempiere installation soon. If you are in a bind to finish this process, call me! I will make the time.
FYI – I am currently running my personal business on ADempiere on a windows server. I will migrate to the linux version as soon as I am done with the above class.