質問

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