Expose FLASK web server API to the internet
Posted: Mon Jul 29, 2019 8:54 am
I've created RESTful API using Flask and I can access the API in local network.
In order for any network to access this API, I understand I need to expose this Flask web server to the internet.
I would not like to configure port forwarding on my router, so this method is put aside.
I tried using NGROK to expose web server in the RPi, it works nicely.
As I know I need to create a free account for a process. But if I were to go into production, I will have hundreds to millions of Raspberry Pi and I will have to create a million NGROK account.
Is it possible to host/setup a NGROK server and manage it ourselves?
Or are there any methods to expose local web server to the internet?
In order for any network to access this API, I understand I need to expose this Flask web server to the internet.
I would not like to configure port forwarding on my router, so this method is put aside.
I tried using NGROK to expose web server in the RPi, it works nicely.
As I know I need to create a free account for a process. But if I were to go into production, I will have hundreds to millions of Raspberry Pi and I will have to create a million NGROK account.
Is it possible to host/setup a NGROK server and manage it ourselves?
Or are there any methods to expose local web server to the internet?