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
- log in via ssh / putty
- wait for ’screen’ (this might take a minute)
- start ./bin/start_opensim.sh
- login via Hippo or Second Life viewer
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]

June 23, 2009 at 7:32 am |
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!
June 23, 2009 at 8:23 am |
@labsji: you are absolutely right, of course, dont know how I missed it – thx! I’ll add this.
June 23, 2009 at 8:43 am |
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/
June 23, 2009 at 5:50 pm |
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.
July 30, 2009 at 7:47 am |
[...] ‘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? [...]