Google CLoud install


#1

I’ve tried to follow the community install script which I do get running on a Google Cloud instance with 16.04 installed.

After that I am completely lost. I see if I goto the external IP provided it shows me nginx is installed but I cannot figure out how to access WEBODM… Is there a better guide out there that breaks down installing this on an instance of Google Cloud or Amazon AWS etc?

Like how you have it set up for the demo WebODM… That’s what I need :D!


#2

I’d recommend using docker. That’s what we are using with the demo site.


#3

I can’t figure out what the heck I’m doing. I follow all the instructions. I punch in ./webodm.sh start. Since I’m on Google Cloud computing I goto the public IP given and nothing connects. I try docker-machine ip and it says not found. :frowning:


#4

For people not tech savy with Linux, and docker, the instructions are horrible.

I run in Google Cloud all the time. Here are my steps, if you want to follow them leaves you with a running installation.

  1. Launch a Google Cloud instance of Ubuntu 18.0 TLS.
  2. Open the ternminal - Google offers SSH via the website.
  3. Run sudo apt-get update
  4. Run sudo apt-get upgrade
  5. Run sudo apt-get install docker-compose
  6. Run sudo apt-get install python-pip
  7. Run git clone https://github.com/OpenDroneMap/WebODM --config core.autocrlf=input --depth 1
  8. cd WebODM (Linux is case sensitive)
  9. sudo ./webodm.sh start
  10. You now can access webodm via the public IP address for your google instance. Remember the default port of 8000.
  11. Open http://GooglepublicIPaddressforyourinstance:8000
  12. Website will open, and you can create a userbname and password.

Done. If you follow my steps on Google Cloud, or Amazon AWS you will have a running instance of webodm.


#5

Wow thank you I will give it a try soon and let you know. What do you recommend for memory/storage setting up the instance?


#6

It would depend on how much you can afford, and how much you are willing to wait for processing.
Google Cloud offers per minute billing which is great for me.

I normally run 64 cores and 256GB of RAM with multiple projects running. I will be testing the latest 0.40 release which improves processing times / multi core support for WebODM.

I also run other orthomosaic software, as I have yet to find a good processing balance with WebODM. Half the time I get very poor results. But I really like this project.


#7

Followed these exactly. When I place my external up with :8000 it times out. Everything indicates it started. No errors notes in the install


#8

The only thing I noticed stoping the instance and restarting is i caught ‘no container’…


#9

Make sure you setup Firewall exclusions on the Google Console. Click on the instance to see its details, then see in the middle of the screen the eth0 (network adapter), open that up, and go into the firewall. You want to open port 8000.

Another option you can try is editing the docker-compose.yml file to change the default port that the website will use.

Run nano docker-compose.yml inside the WebODM directory.
That will bring the editor. Find the portion that shows PORT:8000
Change that to just 80:8000 . Save it by clicking Control+X, then type Y (for yes), and then press enter.
Make sure you issue the ./webodm.sh down to make the changes, and then after the changes ./webodm.sh start

You will then be able to access the website by the default http port 80. http://yourIPaddress , and thats it.

This has worked for me.


#10

That’s what it was the firewall. Thank you so very much!


#11

@korn704

just after reading this thread, my computer ran out of memory while trying to update webodm …
so following these clearly detailled steps , everything was working in a short time (on a 52 GB machine …)
very gratefull for this precious info


#12

@korn704 would you consider adding these steps in a section of the README? https://github.com/OpenDroneMap/WebODM/edit/master/README.md

It would help future users I’m sure.


#13

Piero,

Sure, would love to help.

I just added to the README:

Run it on the cloud (Google Compute, Amazon AWS)

12 steps, to have WebODM running on a cloud instance.

These steps are for Google Cloud, but can also be used for Amazon AWS, and other cloud platforms with small modifications:

  1. Launch a Google Cloud instance of Ubuntu 18.0 TLS.
  2. Open the SSH terminal - Google offers SSH via the website.
  3. Run sudo apt-get update
  4. Run sudo apt-get upgrade
  5. Run sudo apt-get install docker-compose
  6. Run sudo apt-get install python-pip
  7. Run git clone https://github.com/OpenDroneMap/WebODM --config core.autocrlf=input --depth 1
  8. cd WebODM (Linux is case sensitive)
  9. sudo ./webodm.sh start
  10. You now can access webodm via the public IP address for your google instance. Remember the default port of 8000.
  11. Open http://GooglepublicIPaddressforyourinstance:8000

The WebODM Website will open, and you can proceed to create a username and password.

Firewalll exclusions will need to be set, to be able to use the default TCP Port 8000 from the installation: Open the instance, on the middle of the instance settings page find NIC0. Open it, and then add the TCP Port 8000 for ingress, and egress on the Firewall.


#14

Thanks @korn704!

You’re almost there with your first contribution. After you’ve made changes to your local repository, you can go ahead and create a pull request for inclusion in the main WebODM repository.

If you visit https://github.com/OpenDroneMap/WebODM you should see the “Compare & Pull Request button” appear.