Amazon AWS Railo Setup - A Trial
After looking at ColdFusion hosting providers and the extreme costs and limitations they through at you, I've decided to look at running my own in the Cloud. Amazon AWS set of features and flexible price structure, including a free first year for development, made the decision easy to investigate first.
I got to say at first I was a little overwhelmed with the naming conventions of AWS products. But after stumbling and reading some articles, the terminology actually fits. Once I got a machine running (Ubuntu 32bit), which was really easy with the "launcher" wizard AWS (EC2) provides), the challenge of connecting became very obvious. I have used SSH in the past, I have always used it with a password. AWS by default does NOT allow this, key pairs are required. Again after a couple quick searches, I found Putty was the easiest. I wish I had the main page I used, but I can't find it in my browser history. Anyways, you take the PEM file given to you from Amazon (you can only download it once, so make sure you back it up). And have PUTTY convert it to a putty file. Once there, use putty to connect to the host name with the Key Pair file.
Now once you are connected, there is no UI, so linux command knowledge is required. You don't have to be an expert, but knowing the basics help!
I used Nicholas Tunney blog post http://blog.nictunney.com/2012/03/railo-tomcat-and-apache-on-amazon-ec2.html to install and configure Railo, Tomcat, and Apache2. The only commands he doesn't have in his blog is the change permissions command.
chown -R railo /var/www
and the restarting of the services apache2 and railo
sudo services apache2 restart
sudo /opt/railo/railo_ctl restart
I now have Railo setup on this server. My next steps will be setting MySQL and getting Coldbox and ContentBox running on this server.
I got to say at first I was a little overwhelmed with the naming conventions of AWS products. But after stumbling and reading some articles, the terminology actually fits. Once I got a machine running (Ubuntu 32bit), which was really easy with the "launcher" wizard AWS (EC2) provides), the challenge of connecting became very obvious. I have used SSH in the past, I have always used it with a password. AWS by default does NOT allow this, key pairs are required. Again after a couple quick searches, I found Putty was the easiest. I wish I had the main page I used, but I can't find it in my browser history. Anyways, you take the PEM file given to you from Amazon (you can only download it once, so make sure you back it up). And have PUTTY convert it to a putty file. Once there, use putty to connect to the host name with the Key Pair file.
Now once you are connected, there is no UI, so linux command knowledge is required. You don't have to be an expert, but knowing the basics help!
I used Nicholas Tunney blog post http://blog.nictunney.com/2012/03/railo-tomcat-and-apache-on-amazon-ec2.html to install and configure Railo, Tomcat, and Apache2. The only commands he doesn't have in his blog is the change permissions command.
chown -R railo /var/www
and the restarting of the services apache2 and railo
sudo services apache2 restart
sudo /opt/railo/railo_ctl restart
I now have Railo setup on this server. My next steps will be setting MySQL and getting Coldbox and ContentBox running on this server.
Comments
Post a Comment