How to access exposed services inside Juju environment?

Xander Maas xjmaas at gmail.com
Thu Mar 13 20:04:13 UTC 2014


Hi,

I am trying to understand Juju combined with MAAS and have setup an environment with 6 units.
- 1 MAAS Region/Cluster controller, with two nics, 1 for our school LAN (10.0.0.0/20), 1 for the MAAS/Juju environment (192.168.3.1/24)
- 5 nodes, connected to the MAAS/Juju network
- MAAS/Juju network has internet access through the MAAS controller (ipv4 forward enabled, iptables configured to masquerade)
- Juju has been bootstrapped and is running

I followed several tutorials, but fail to connect to the Wordpress service (which nearly all tut's use). It seems all tut's use AWS or similar cloud providers, which seem to expose the nodes directly to the 'net.

What would be the best method to connect to my exposed service(s) (mostly HTTP/HTTPS) from our school LAN? 
- Is a separate server as a reverse proxy the best solution?
- Can I use the MAAS controller as reverse proxy?
- Should I deploy/expose a reverse proxy charm in Juju? (if so, how should I configure it? / I can add a second nic to a node)
- Other.....

Regards,

Xander


More information about the Juju mailing list