reference deployment

Amazon EC2 with Suricata on AWS

Monitor network traffic for security threats

This solution deploys Amazon Elastic Compute Cloud (Amazon EC2) instances with Suricata to the Amazon Web Services (AWS) Cloud. Suricata is an open-source tool for network security monitoring. This solution is for security, DevSecOps, and network engineers who want to use Suricata to monitor EC2 instances.

The solution provides parameters for deploying Sucata on a single EC2 instance or on multiple instances in an Auto Scaling Group. After deployment, you can configure Amazon Virtual Private Cloud (Amazon VPC) Traffic Mirroring to copy traffic from the elastic network interfaces of EC2 instances and send the traffic for out-of-band security inspection to Suricata. This solution deploys only Suricata and does not configure Traffic Mirroring. 

AWS logo

This solution was developed by AWS.

  •  What you'll build
  • This solution deploys the following:

    • A highly available architecture that spans multiple Availability Zones.*
    • A VPC configured with public and private subnets according to AWS best practices, to provide you with your own virtual network on AWS.*
    • In the public subnets:
      • Managed network address translation (NAT) gateways to allow outbound internet access for resources in the private subnets.*
      • A Linux bastion host in an Auto Scaling group to allow inbound Secure Shell (SSH) access to EC2 instances in public and private subnets.*
    • In the private subnets:
      • EC2 instances running open-source Suricata in an Auto Scaling group used for deploying across two Availability Zones, offering high availability.
      • A Network Load Balancer to balance traffic between the EC2 instances. 

    * The template that deploys the solution into an existing VPC skips the components marked by asterisks and prompts you for your existing VPC configuration.

  •  How to deploy
  • To deploy this solution, follow the instructions in the deployment guide. A standard deployment takes about 10 minutes and includes these steps:

    1. Sign in to your AWS account. If you don't have an account, sign up at https://aws.amazon.com.
    2. Launch the solution. Before you create the stack, choose the AWS Region from the top toolbar. You can choose from two options:
    3. Perform postdeployment tasks. 

    Amazon may share user-deployment information with the AWS Partner that collaborated with AWS on this solution.  

  •  Costs and licenses
  • This solution installs Suricata on an Amazon Linux 2 EC2 instance. The Suricata source code is licensed under version 2 of the GNU General Public License.

    You are responsible for the cost of the AWS services and any third-party licenses used while running this solution. There is no additional cost for using the solution.

    This solution includes configuration parameters that you can customize. Some of these settings, such as instance type, affect the cost of deployment. For cost estimates, refer to the pricing pages for each AWS service you use. Prices are subject to change.

    Tip: After you deploy a solution, create AWS Cost and Usage Reports to track associated costs. These reports deliver billing metrics to an Amazon Simple Storage Service (Amazon S3) bucket in your account. They provide cost estimates based on usage throughout each month and aggregate the data at the end of the month. For more information, refer to What are AWS Cost and Usage Reports?