Using Deb Proxy to cache Debs to minimize time starting-up machines and its installation scripts
N. S.
n5pascal at hotmail.com
Wed Jul 5 19:17:23 UTC 2017
Hi,
I am running juju latest version on local LXD.
When deploying services,
FOR each new machine, the "cloud init log" of the LXC in question captures some "apt-get install <some debs>"
before starting up the machine and then i see that it's up to the "install" hook to install additional software and configure them.
In my situation,
I have some repetitive machines.
I am thinking of using SQUID DEB PROXY or SIMILAR to cache the Debs for faster deploy of subsequent machines.
My questions are:
I.
Where should I install and configure SQUID DEB PROXY or a similar PROXY?
Is it on
1.
The host machine running the LXD including the controller juju-abcd-0?
Or
2.
The controller machine juju-abcd-0 itself?
So that I increase the "hit" rate of the needed-to-be-downloaded Debs and decease the readiness time?
II. What proxy do you recommend?
Thanks
Br
Naz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20170705/0f7b8476/attachment.html>
More information about the Juju
mailing list