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

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]

5 Responses to “‘OpenSim-in-a-box’ pt1: setting it up in the cloud”

  1. labsji Says:

    Here are a few more ports that are to be opened for smooth functioning of Opensim on EC2:
    tcp: 22 for SSH
    tcp and udp: 9000-9005
    [Provisioning for 6 regions on 9000 - 9005]

    Good initiative @dirkk , Hat tip!

  2. Dirk Says:

    @labsji: you are absolutely right, of course, dont know how I missed it – thx! I’ll add this.

  3. Dirk Says:

    I just see that you did Sim-On-Demand!

    So let me plug the link here for people to check out: http://labsji.wordpress.com/2008/11/07/sim-ondemand-application-opensim-as-data-visualization-tool/

  4. labsji Says:

    Dirk,
    Thanks for linking. My experience with ec2 based on Sim-OnDemand is, releasing an AMI to keep up with the opensim evolution is not very viable. The bundling, releasing part is easy( I use a build script to do that). It gets complex with users wanting their data migrated to the new version. It gets too technical for many users.
    Some of such learnings are getting incorporated in the next version. Dont ask me when it is going to be released – as you mentioned in one of your tweets, ‘things are more involved than anticipated’.
    Initiatives like this are encouraging – it just validates that there is market for the Cloud + Opensim combo.

  5. BotchagalupeMarks for July 29th - 19:52 | IT Management and Cloud Blog Says:

    [...] ‘OpenSim-in-a-box’ pt1: setting it up in the cloud « web3d-blog – So, how do you install the OpenSim-in-a-box into the cloud? [...]

Leave a Reply