Skip to content

Scripts detect local ip on EC2 and not external IP #131

@djvanderlaan

Description

@djvanderlaan

Hi, I am trying to setup bbb on ec2 using the install script, but I seem to be running into the problem that the install scripts detects the local IP of the instance and not the external IP. Is there some way to pass the IP address the script should use?

See below for the input and resulting output:

Checking my IP:

ubuntu@ip-172-31-YY-YYY:~$ wget -qO- http://169.254.169.254/latest/meta-data/public-ipv4 && echo
18.156.XX.XXX
ubuntu@ip-172-31-YY-YYY:~$ dig +short bbb.domain.nl
18.156.XX.XXX

Runnig the install script

root@ip-172-31-YY-YYY:~# wget -qO- https://ubuntu.bigbluebutton.org/bbb-install.sh | bash -s -- -v xenial-220 -s bbb.domain.nl -e jan@domain.nl -g
--2020-03-24 13:42:38--  https://ubuntu.bigbluebutton.org/repo/bigbluebutton.asc
Resolving ubuntu.bigbluebutton.org (ubuntu.bigbluebutton.org)... 167.99.180.121
Connecting to ubuntu.bigbluebutton.org (ubuntu.bigbluebutton.org)|167.99.180.121|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3112 (3.0K) [application/octet-stream]
Saving to: 'STDOUT'

-                                              100%[=================================================================================================>]   3.04K  --.-KB/s    in 0s      

2020-03-24 13:42:39 (1004 MB/s) - written to stdout [3112/3112]

OK
bash: line 386:  2217 Terminated              nc -l -p 443 > /dev/null 2>&1
bbb-install: DNS lookup for bbb.domain.nl resolved to 18.156.XX.XXX but didn't match local 172.31.YY.YYY.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cloudSpecific to cloud deployments

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions