Deploy an ExtraHop Flow Sensor with AWS
This guide explains how to deploy the ExtraHop flow sensor virtual appliance (EFC 1291v) on the Amazon Web Services (AWS) platform.
The EFC 1291v is designed to connect to Reveal(x) 360 and collect flow-based traffic from your network. Packet analysis is not available.
Your environment must meet the following requirements to deploy an EFC 1291v appliance in AWS:
- An AWS account
- Access to the Amazon Machine Image (AMI) of the ExtraHop 1100v appliance
- An EFC 1291v appliance product key
- An AWS instance type that most closely matches the EFC appliance VM size, as
follows:
Appliance Supported Instance Type Reveal(x) EFC 1291v c5.xlarge (4 vCPU and 8 GB RAM)
Deployment overview
Collecting flow logs requires the following configuration setup.
- Configure an IAM policy and IAM role.
- Deploy the ExtraHop flow sensor instance in AWS.
- Download and configure an ExtraHop-supplied Lambda function. The Lambda function runs whenever new flow logs become available and then relays any new events to your sensor. See the following AWS documentation for more information: Using Lambda with CloudWatch Logs.
- Enable VPC Flow Logs publishing for a set of VPCs in your environment.
- Add a Lambda trigger.
- Configure Route 53.
Configure the Lambda function
An ExtraHop-supplied lambda function routes new flow log events to the ExtraHop flow sensor whenever called by a CloudWatch lambda trigger.
For more information about creating Lambda functions, see the AWS documentation.
Important: | The Lambda function must be on the same VPC and subnet as the flow log sensor. The function must also be part of a security group that allows outbound TCP 443 traffic to the management interface of the collector. |
Publish flow logs to CloudWatch
For more information about publishing flow logs, see the following AWS documentation: Publish flow logs to CloudWatch Logs.
Add a Lambda trigger
Add a CloudWatch Logs trigger to the Lambda function you created in the Publish flow logs to CloudWatchsection. Create the trigger with the following properties:
Type: CloudWatch Logs
Log group: The log group you created in the Publish flow logs to CloudWatch section.
Filter name: Type a name for the trigger.
Filter pattern: Leave this field blank.
Configure Route 53 logs (optional)
Amazon Route 53 provides DNS query logging, which is not required for the flow log configuration but is strongly recommended when the Amazon DNS server is configured.
To configure Route 53 to log DNS queries that originate in your VPCs, see the following AWS documentation: Managing Resolver query logging configurations.
- Go to the Route 53 service.
- In the Resolver section, click Query logging.
- Click Configure query logging.
- Type a query logging configuration name.
- Select CloudWatch Logs log group as the query logs destination.
- From the CloudWatch Logs log groups drop-down list, select the log group you created in the Publish flow logs to CloudWatch section.
- In the VPCs to log queries for section, click Add VPC.
- Select the VPCs that you want to log queries for and then click Add.
- Click Configure query logging.
Thank you for your feedback. Can we contact you to ask follow up questions?