Problem with Amazon S3 and varnish

Hugo Cisneiros (Eitch) hugo.cisneiros at gmail.com
Thu Jun 28 20:06:23 CEST 2012


On Wed, Jun 27, 2012 at 8:42 PM, Abraham Cruz Sustaita
<abraham.sustaita at buscacorp.com> wrote:
> I have this configuration:
>
> # Amazon S3 Backend Metatube
> # --
> backend s3 {
>   .host = "metatube.s3-website-us-east-1.amazonaws.com";
>   .port = "80";
> }
>
> But the amazon url sometimes resolves to more of one IP (I guess is a normal
> behaviour from Amazon), so I have to try several times to load the
> configuration file (via varnishadm) until it compiles correctly. The problem
> is I have a 5 different domains with amazon, so when finally one of them
> resolves to just one IP, the others resolve to more than one, so I can never
> compile the configuration file. Is there anyway to fix this via
> configuration?

Currently varnish does not support multiple IPs on one backend.
There's no easy and native way to do this. Please see the mailing list
archives for many discussions and some approaches about this issue :)

-- 
[]'s
Hugo
www.devin.com.br



More information about the varnish-misc mailing list