Quantcast
Viewing all articles
Browse latest Browse all 21760

Re: Coldfusion AMI in EC2: how to add more web servers?

If you are looking to have just two additional web servers and a single CF server - you can launch two more linux server instance (does not need to be a ColdFusion AMI, you can use the Amazon Linux AMI for example).

 

Then copy the contents of the /opt/coldfusion10/config/wsconfig/1/ folder over to the new linux servers.

 

In that directory edit the workers.properties file and change the line that says

 

worker.cfusion.host=localhost

 

To something like this:

 

worker.cfusion.host=ip.of.your.cf.server

 

Make sure the firewalls allow traffic to the port specified in this file from the web servers.

 

Next copy the /etc/httpd/conf/mod_jk.conf file from the CF server on to the web server, and add that to you httpd.conf (eg add Include mod_jk.conf, or put the file in a conf.d folder).

 

I think all that should work -- I haven't tested it. For security you might want to make sure you have setup a connector shared secret, see the CF10 Lockdown guide for instructions on setting that up.

 

--

Pete Freitag

Foundeo Inc.

ColdFusion Consulting & Products (FuseGuard, HackMyCF)


Viewing all articles
Browse latest Browse all 21760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>