Guided Walkthroughs

Configuration Packages

AI CloudAdvisor (Beta)

By Implementation

Service Control PoliciesConfig RulesAuto Remediation RulesConformance PacksAmazon GuardDutyAmazon InspectorAWS Security HubAWS Network FirewallRoute53 Resolver SecurityAmazon MacieS3 Bucket PoliciesCloudWatch Alarms and Event RulesAWS WAFAWS Secrets ManagerAWS Systems ManagerSecurity Groups & NACLsAWS KMSAWS SSOIAM PoliciesVPC Endpoint PoliciesCloudFormation Guard RulesLoad BalancersRDS Event SubscriptionsAWS Resource Access Manager (RAM)

By Service Protected

Reference Guides


VPC Security Controls

VPC Traffic Mirroring

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: 

  • Traffic Mirror Filter: Configure filter rules to specify which packets are selected to be copied.
  • Traffic Mirror Target: Configure the destination where mirrored packets are sent to. Targets can be network interfaces of EC2 instances or a Network Load Balancer (NLB).
  • Traffic Mirror Session: Establishes the relationship between the mirror filter and target specified, and specifies the source network interface (ENI) to mirror traffic from. 
Try out CloudAdvisor: Your AI-Powered Assistant for AWS Cloud

0.6 KB
Missing Parameters
AWSTemplateFormatVersion: "2010-09-09"
Description: ""
    Type: "AWS::EC2::TrafficMirrorSession"
      NetworkInterfaceId: ""
      SessionNumber: 1
        Ref: "TrafficMirrorFitler"
        Ref: "TrafficMirrorTarget"
    Type: "AWS::EC2::TrafficMirrorTarget"
      NetworkLoadBalancerArn: ""
    Type: "AWS::EC2::TrafficMirrorFilter"
    Properties: {}
Parameters: {}
Metadata: {}
Conditions: {}


Customize Template

Session Settings

Target Settings

Filter Settings

* Required field

Upgrade to Premium for More Features
Sign up

Guided Walkthroughs
Step-by-step configuration wizards for your environment
Dedicated Security Account
AWS Backup Strategy
VPC Connectivity Setup
Automated Patching
All Guides
Configuration Packages
Pre-built packages for common configuration
Common SCPs
CloudFormation Guard Rules
Auto Remediation Rules
IAM Monitoring & Compliance
All Packages
Automated Assessments
  • 350+ security checks
  • Well-architected reviews
  • Detailed compliance reports
  • Remediation templates
  • Email summaries
  • Learn more