Open taikedz opened 4 years ago
@taikedz can I suggest something,
here is what I did on one other project that requires a dedicated IP, on an instance that I put off and on when I need (on-demand)
I assigned an elastic IP to the instance, for the duration the instance is on, I will not be charged but when the instance is off, I will be charged on $0.01/hr so in a day the maximum I can be charge is $0.01/hr x 24 = $0.24
in a month the maximum I can be charged for not using the IP is $0.24 X 30 = $7.2
and not all the time I am charged up to that amount, it saves me the stress of going into my application software to modify the static IP all the time
I can still trade $7.2 for some confort
After the IP address changes, if you update the DNS entry for my-b3-server.duckdns.org
to point to the new public IP address, you should be able to run
sudo bash bbb-install.sh -s "my-b3-server.duckdns.org" -e "myemail@example.com" -g -v xenial-22
again, which will setup BigBlueButton with the new public/private IP address of your server.
Hi @ffdixon - sorry it was not prominent, but I did mention attempting to do this. Re-running the install script did resolve the issue a couple of times when I attempted it, but after a couple of times doing this, it seems to have no effect, the problem persists despite re-running the installer.
@oyekanwahab - yes this is the route I ended up going down, Elastic IP.
Hello
Summary
I am trying to set up BBB so that I can stop it and leave it dormant (cost saving on AWS, c5.xlarge is expensive for a personal use case!), and start it again later.
The problem is that when the IP changes, there seems to be no way to tell BBB and its services to use the new IP such that the server audio can work again - either
ICE 1007
orWebRTC 1002
errors occur, and I am unable to find a way of fixing them.Problem description
I am wanting to run a BBB server for personal use, and for meetup groups I host. Since the server spec is quite hefty, I want to be able to stop it when not in use, and bring it up just when I need it (cost saving).
I am deploying on AWS EC2, which means that when the server is stopped, and then started again, the IP address changes. When trying to join audio
ICE 1007
error occurs in client.Using
bbb-conf --setip $FQDN ; bbb-conf --restart
does not help; WebRTC reports an error (cannot connect on port 1935, in logs)I used
grep
to locate where else the old IP is used, and manually changed those to the new IP, and restarted. At this point, along with the wevrtc error, I also get an error where FreeSwitch cannot be contacted on 5060Originally I had found that running bbb-install.sh again would "fix" the situation (server became fully operational again), but after a couple more stop/starts even that no longer resolved the issue, and errors 1007 and 1002 cropped up once again with no resolution.
Environment
bbb-install.sh
script with greenlight and-v xenial-22
Steps to reproduce
The following are some general "human" notes, followed by a script workflow demonstrating exactly the steps taken, by-commands.
Steps
bbb-install.sh -s $FQDN -e $EMAIL -g -v xenial-22
cd ~/greenlight; sudo docker exec greenlight-v2 bundle exec rake admin:create
At this point I can log in, and start a meeting, audio joins fine. Then:
sudo bbb-conf --setip $FQDN
, andsudo bbb-conf --restart
At this point,
ICE 1007
errors when trying to connect to meeting audio.I checked on the server for any configs with the old IP, find them, and replace them with the new IP. I restart BBB as above.
At this point,
Script
The following is a step-by-step script demonstrating the exact steps I take. I use
awscli
andjq
to further document it here, you should be able to reproduce this, editing the sg IDs and instance IDs as appropriate.The outputs mentioned in the script are bundled in attachment. outputs.tar.gz