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.

有帮助吗?

解决方案

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/

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top