Thanks. This is actually for when I have deployed a unit on ec2 machine but 
within a new lxc on that machine so not for local. Does this still apply? I am 
not quite sure how these network bridges need to be configured so if anybody is 
familiar with their setup and how to access the units within them through the 
machine public ip, I would really appreciate that. 

On Oct 7, 2013, at 12:36 AM, John Arbash Meinel <[email protected]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 2013-10-07 7:35, Mike Sam wrote:
>> If one deploys a service unit like wordpress inside an lxc, is 
>> there a way to access it to from the browser using the machine 
>> public ip? Basically, does juju setup any kinda of dns/routing on 
>> the machine to point to the units inside the lxc through machine 
>> public IP? If not, how should I add this?
>> 
>> -- Thanks, Mike
> 
> I'm guessing you are talking about using the local provider? If so,
> then I believe Tim Penhey just landed a patch that will let you
> configure what network bridge the LXC containers are connected to. And
> then you'll need to set them up to be on "br0" connected to your
> normal network port, rather than the default "lxcbr0". I'm not
> personally 100% sure how to set up those bridges, but hopefully this
> hint can set you off on a useful path.
> 
> I believe you need juju-core 1.15.1 or newer to be able to configure
> the network bridge.
> 
> John
> =:->
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.13 (Cygwin)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
> 
> iEYEARECAAYFAlJSZGoACgkQJdeBCYSNAAOnwwCghAV4fd0khemUN1VYM/lvdGHC
> iqwAn1X6+mfZnvne22G4aS/pzWgsTDP7
> =GYU/
> -----END PGP SIGNATURE-----

-- 
Juju-dev mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju-dev

Reply via email to