Guided Walkthroughs
Step-by-step configuration wizards for your environment
Dedicated Security Account
AWS Backup Strategy
VPC Connectivity Setup
Automated Patching
All Guides
Configuration to enable Traffic Mirroring from a network interface (ENI) of an Amazon EC2 instance, which can then be used for monitoring and security analysis. Traffic Mirroring supports filters and packet truncation so that only traffic of interest is monitored.
To enable Traffic Mirroring, the following template configures the following:
AWSTemplateFormatVersion: "2010-09-09"
Description: ""
Resources:
TrafficMirrorSession:
Type: "AWS::EC2::TrafficMirrorSession"
Properties:
NetworkInterfaceId: ""
SessionNumber: 1
TrafficMirrorFilterId:
Ref: "TrafficMirrorFitler"
TrafficMirrorTargetId:
Ref: "TrafficMirrorTarget"
TrafficMirrorTarget:
Type: "AWS::EC2::TrafficMirrorTarget"
Properties:
NetworkLoadBalancerArn: ""
TrafficMirrorFitler:
Type: "AWS::EC2::TrafficMirrorFilter"
Properties: {}
Parameters: {}
Metadata: {}
Conditions: {}