Skip to main content

Install an Intrusion Prevention System (IPS) on an EC2 Instance

Hands-On Lab


Photo of

Training Architect





Intrusion Prevention Systems (IPS) monitor systems for malicious activity or policy violation, and report them to systems administrators or take automatic action on suspicious traffic within the network.

In this learning activity, we will use the popular fail2ban ( to automate a response to an attack on our EC2 instance.

With two EC2 instances, we will attack one from the other, and fail2ban will automatically block the attacking host's IP.

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.