I launched keep launching EC2 instances and for some reason i keep getting this email and then the server amazon shuts the server down...How do i restrict access to the port in question...
here is my email
We have detected that your instance(s):
have been behaving in the following way that is against our AWS Customer Agreement:
Please be aware that in terms of the Web Services License Agreement http://aws.amazon.com/agreement/ if your instance(s) continue such abusive behavior, your account may be subject to termination.
EC2 has taken the following administrative action(s) against your instance(s):
THROTTLED OUTBOUND PORT 22
It may be possible that you are not hosting this yourself, but your environment may have been compromised by an external attacker. It remains your responsibility to ensure that your instances and all applications are secured against attack. Furthermore, you should:
- Restrict access to specific and required ports and source addresses using the ’ec2-authorize’ command.