Frage

I've deployed a web app using Amazon AWS beanstalk. Could someone please throw some light on how AWS takes care of IP based throttling?

Earlier when I had my own tomcat instance running on EC2, I was using iptables for this purpose. But, now I'm confused about how to achieve this since AWS scales my webapp on multiple machines based on the load.

Thanks.

War es hilfreich?

Lösung

Well, internally Beanstalk is Cloudformation stack, which includes: loadbalancer, autoscalling group ans pre configured ami with tomcat.

You have two option how to implement throttling: 1. Setup iptables rules with help of EB configuration files: http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customize-containers.html 2. Create custom ami. Described:http://blog.jetztgrad.net/2011/02/how-to-customize-an-amazon-elastic-beanstalk-instance/

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top