Deny all outbound traffic except cloudwatch on AWS

时光毁灭记忆、已成空白 提交于 2021-02-07 10:17:36

问题


I have a server(Java/Tomcat running) which was creating huge outbound traffic. This server can not be accessed from outside world only internal network server can access it. i.e. inbound is allowed only from internal network.

To solve huge outbound traffic we have blocked all outbound traffic via aws security group except internal network servers.

But now it has also stopped aws custom monitoring scripts to send data to cloudwatch.

So what is the ip range that I need to open in outbound rules to send traffic to cloudwatch?


回答1:


For Singapore region:

The Cloudwatch IP can be found if you ping the end point monitoring.ap-southeast-1.amazonaws.com
via any AWS server.

For any other region in AWS please refer to the link below. http://docs.aws.amazon.com/general/latest/gr/rande.html#cw_region

The above page lists the endpoints of All the AWS services.



来源:https://stackoverflow.com/questions/32437103/deny-all-outbound-traffic-except-cloudwatch-on-aws

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!