‘OpenSim-in-a-box’ pt1: setting it up in the cloud

June 22, 2009

So, how do you install the OpenSim-in-a-box into the cloud?

  • goto the AWS console
  • open the ‘Launch Instance’ dialog, select the public images tab ‘Community AMIs’
  • search for OpenSim-in-a-box, and select the latest version

  • run 1 small instance with your keypair and the default security group

  • optional: get elastic IP
  • optional: get a dyndns (or similar) entry that point so the elastic IP

Then you switch to your favourite ssh client and

Important: open the right ports for freeswitch and OpenSim

Yes, these are quite few (mostly freeswitch) but you need to do this only the first time. You do this in the security group section of the AWS console.

tcp: 22 for SSH
tcp and udp: 9000-9005
[Provisioning for 6 regions on 9000 - 9005]#

TCP

22 (for ssh)

UDP
16384 – 32768

TCP and UDP
5060
5070
5080
64738,64739

9000

(or 9000 to 9000+N with N= number of regions, provided you entered these ports while creating the regions)

[EDITED missing ports]