About choosing the right instance type for Varnish in AmazonEC2

Craig Servin cservin-varnish at cromagnon.com
Fri Mar 10 21:16:42 CET 2017


We found that we run into the network IO limits before we had CPU 
issues.  You have to use trial and error to figure out how much IO you 
can get from each instance type as we couldn't find good documentation 
defining that.  However it seemed that the network limit goes up as you 
step up machine sizes in each family.

You could also put your varnish into an ASG and add instances on CPU or 
Network IO.  The cache wouldn't be shared between them, but depending on 
your traffic that may not matter.

At our busiest time we were running 6 c4.4xlarge instances 3 east 3 
west.  Now, we run 4 r4.xlarge instances.  The nice thing about them 
being virtual is you can load test them and then load test another 
instance type fairly easily.

Cheers,

Craig


On 2017-03-10 03:58, Jordi Llach wrote:
> Hi guys,
> any suggestion choosing an Amazon EC2 instance type for Varnish ?




More information about the varnish-misc mailing list