proper way to deploy to one server (lxc based)

Andrew Wilkins andrew.wilkins at canonical.com
Wed Oct 8 06:35:07 UTC 2014


On Tue, Oct 7, 2014 at 10:55 PM, Vasiliy Tolstov <v.tolstov at selfip.ru>
wrote:

> Hello. What is the recommended way to install all-in-one (for example
> wordpress) and publicly available server?
> For example i have server with address 85.77.88.99 and want to install
> wordpress on it via running juju on this server and deploy all things
> to lxc containers.
> After that i need to go to my wordpress site, but nginx listens for
> connections inside container. Now i'm create nat rule inside iptables
> by hand... But does it possible to do it automatic?
>

Not as a first-class citizen in Juju. There's
https://github.com/cmars/juju-nat, but I've just spoken to the author who
informs me that it currently has some issues.


> Or does it possible to install for example http proxy charm on node 0
> that route all needed traffic to containers... ?


That should work. Deploy ha-proxy to machine 0 and relate it to nginx.


> --
> Vasiliy Tolstov,
> e-mail: v.tolstov at selfip.ru
> jabber: vase at selfip.ru
>
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20141008/c9527203/attachment.html>


More information about the Juju mailing list