2. Andreu Vallbona - PyconES Lighting Talks - October 2019localhost to the internet
Who am I
Andreu Vallbona @avallbona
Bachelor degree in computer science
Web developer at APSL, Mallorca, Spain
Mainly developing with Python and Django
3. Andreu Vallbona - PyconES Lighting Talks - October 2019localhost to the internet
What we do at APSL
Web development
Systems engineering - devops
Data science
Mobile apps
Consulting and formation
4. Andreu Vallbona - PyconES Lighting Talks - October 2019localhost to the internet
the scenarios
the scenarios
â to integrate our web application with other third
party services, such as payment gateways...
â we develop an API to be consumed by a mobile
application
â make a quick demo to a remote customer
â pair programming with a remote colleague
5. Andreu Vallbona - PyconES Lighting Talks - October 2019localhost to the internet
the problem
the problem
itâs cumbersome and slow to deploy our application
to a staging environment when we work side by side
with our coworkers
6. Andreu Vallbona - PyconES Lighting Talks - October 2019localhost to the internet
the ideal
the ideal
it would be great to be able to expose directly to the
internet the developer machine in order other third
party services or coworkers be able to access it
7. Andreu Vallbona - PyconES Lighting Talks - October 2019localhost to the internet
the solution
the solution
ngrok and serveo.net are tools
that allow us to implement it.
they expose local servers behind NATs and ïŹrewalls
to the public internet over secure tunnels.
8. Andreu Vallbona - PyconES Lighting Talks - October 2019localhost to the internet
serveo.net
serveo.net
simple free service
no installation required
uses the already installed openssh client
simple console request monitor
9. Andreu Vallbona - PyconES Lighting Talks - October 2019localhost to the internet
serveo.net
a
10. Andreu Vallbona - PyconES Lighting Talks - October 2019localhost to the internet
serveo.net
a
11. Andreu Vallbona - PyconES Lighting Talks - October 2019localhost to the internet
ngrok
ngrok
does the same as serveo.net
more complete solution
more robust and professional service
have paid plans
12. Andreu Vallbona - PyconES Lighting Talks - October 2019localhost to the internet
ngrok
ngrok
download ngrok
execute: ./ngrok http 8000
gives a public url that can be accessed,
such as: https://62c35fbd.ngrok.io
13. Andreu Vallbona - PyconES Lighting Talks - October 2019localhost to the internet
ngrok
ngrok
14. Andreu Vallbona - PyconES Lighting Talks - October 2019localhost to the internet
ngrok
ngrok
15. Andreu Vallbona - PyconES Lighting Talks - October 2019localhost to the internet
ngrok
16. Andreu Vallbona - PyconES Lighting Talks - October 2019localhost to the internet
ngrok
ngrok
17. Andreu Vallbona - PyconES Lighting Talks - October 2019localhost to the internet
Thanks
Thatâs all
Thank you!!!
@avallbona