Capture live network traffic using VPC Traffic Mirroring, deploy sensor instances with CloudFormation or CDK, and stream findings automatically to the platform. Audiencia: Platform engineers, network architects, security engineers. Tiempo típico de configuración: 15 minutes.
quickstart
Úsalo si
Capture live network traffic using VPC Traffic Mirroring, deploy sensor instances with CloudFormation or CDK, and stream findings automatically to the platform.
You have an AWS VPC with production workloads running in EC2 instances.
You have created an ingestion API key in Settings → API Keys with Ingestion scope.
You have permissions to create VPC Traffic Mirror resources and EC2 instances.
Camino rápido
Copy a working starter, run it in your environment, then come back here for the deeper rollout details.
Solo demostración
Esta configuración está diseñada para facilitar el uso. Para desplegar clientes de escaneo a escala, planifique su arquitectura de despliegue en consecuencia o contáctenos para obtener las mejores prácticas empresariales.
Obtén el bundle de código fuente
Descarga los archivos exactos usados en esta guía o ejecuta el instalador de un solo comando para escribirlos localmente antes del despliegue.
AWS network sensor CDK source
Creates the AWS CDK project under `deploy/aws-network-sensor/` with the current platform API URL prefilled so the deployment commands on this page are runnable without editing boilerplate first.
deploy/aws-network-sensor/
bash
BLACKSHIELD_NETWORK_SENSOR_IMAGE=public.ecr.aws/blackshield-security/network-sensor:1.0.6 \
BLACKSHIELD_API_URL=https://api.blackshield.chaplau.com \
bash <(curl -fsSL https://blackshield.chaplau.com/source-bundles/aws-network-sensor.sh)
cd deploy/aws-network-sensor
Use the guided steps below when you want to tailor the rollout, validate ownership, or expand the deployment safely.
Paso 1
Deploy sensor instance with CDK
Use the ready-made CDK stack to deploy a right-sized EC2 instance with the necessary IAM roles, security groups, and CloudWatch monitoring. This acts as the destination for mirrored traffic.
Use the source bundle below to download the AWS network sensor CDK project into `deploy/aws-network-sensor/`.
Store your ingestion API key in AWS Secrets Manager as `blackshield/network-sensor-key-prod`.
Open `deploy/aws-network-sensor/cdk.json` and set your VPC ID, subnet ID, and instance sizing.
Set up a Python 3 virtual environment and install dependencies (`pip install -r requirements.txt`).
Run `cdk bootstrap` (first time only) and `cdk deploy --require-approval never`.
Note the newly created EC2 Instance ID and ENI (Elastic Network Interface) ID from the CDK outputs — you'll need this for the mirror target.
Cómo se ve el éxito
Note the newly created EC2 Instance ID and ENI (Elastic Network Interface) ID from the CDK outputs — you'll need this for the mirror target.