Jun 11 2012

CartoDB (version 1) : EC2 AMI & vmdk VM available

CartoDB is a beautiful beast but it takes some time to get all its components ( 1 rails app, 2 nodejs apps, postgis, redis, varnish, mapnik, nginx … ) to work in harmony. Assembling it was an interesting odyssey though which pushed me to read cartodb’s ruby & javascript source code (Windshaft & CartoDB-sql-api ) itself to get things rolling.  To avoid this constructive pain to others I am proposing two ubuntu distributions with CartoDB (version 1) pre-installed .

 

An Amazon EC2 AMI: https://aws.amazon.com/amis/cartodb-ubuntu11-10-server

system : ubuntu server 11.10 x86 64 bit

user : ubuntu
authentication : instance ssh keypair

Requirements:

  • open ports 22, 80, 8080, 8181 (optionally 8282 )  in your instance security group
  • point devuser.localhost.lan & admin.localhost.lan to the IP of the instance in your hosts file (on your machine, not on the AMI)

( 22: ssh, 80 : varnish, 8080 : cartodb sql api,
8181 : windshaft tileserver, 8282:  rails cartodb app)

remote access via freenx :  ubuntu / ubuntu

CartoDB urls : http://devuser.localhost.lan (user/password: devuser/devuser) , http://admin.localhost.lan (user/password: admin/admin)

 

 

Try it free during one year on a Amazon Free Usage Tier Micro Instance  : http://aws.amazon.com/en/free/

 


A vmware vmdk Virtual Machine :  https://docs.google.com/folder/d/0B7MWSdtS_8wWTjg5YmNHeDdIRUU/edit for download

 

system : ubuntu server 11.10 x86 64 bit
user : cartodb
password: cartodb

ports: all open
connection : ssh , freenx ( user/password : cartodb/cartodb)

The vmware VM is configured with a static IP ( 172.16.192.192) so you if you use vmware/vmplayer you need to run the Virtual Network Editor and change the NAT interface ( in my case VMnet8 ) to use 172.16.192.0 as Subnet IP . On Windows get the Virtual Network Editor vmnetcfg.exe using following
instructions : http://rednectar.net/2011/07/20/finding-vmnetcfg-exe-in-vmware-player-3-1-4/
or http://communities.vmware.com/message/1853079

CartoDB urls : http://devuser.localhost.lan (user/password: devuser/devuser) , http://admin.localhost.lan (user/password: admin/admin)

 

 

 

freenx session configuration  (Nomachine NX client , openNX ) :

 

use Unix custom settings :

– Run the following command :
exec openbox-session
– New virtual desktop

 

 

 

 

 

 

 

 

 

 

 

 CartoDB is a Vizzuality open source online mapping application based on postgis.

Related Posts:

  • No Related Posts

Tags: , , , , ,