Reputation: 11
I’ve been using the Luigi visualizer for pipelining my python code. Now I’ve started using an aws instance, and want to access the visualizer from my own machine. Any ideas on how I could do that?
Upvotes: 1
Views: 308
Reputation: 28728
Good question and I'm amazed I can't find a duplicate on StackOverflow. You broadly need to do two things:
site.conf
, or you can probably do it via luigi's default-scheduler-host
property. This corresponds to @PierluigiPuce second point. Your primary consideration is whether it is okay for this to be public facing. Probably not. Then you can secure the instance via IP address ranges, via a VPN, or even via SSH port forwarding through a jump host.
Having it completely open is the easiest and worst solution. Putting the instance in a public subnet, and restricting access based on IP address, is probably the second easiest solution, and might be a reasonable compromise for you.
Upvotes: 0
Reputation: 181
We had the very same problem today on GCP, and solved with the following steps:
That's it. Hope this can help.
Upvotes: 1