pm
Packet Mirroring
NetworkingGCP
General
General information about the service.
Description
Packet Mirroring clones the traffic of specified instances in your VPC network and forwards it for examination. It is useful for network security monitoring and troubleshooting.
Service ID
compute.googleapis.comResource Pattern
projects/{project}/regions/{region}/packetMirrorings/{mirroring}References
Chat
Powered by AITalk to this service to learn more about it.
Suggested questions:
Naming
The conventions, rules, and restrictions for naming this service.
Naming Convention
pm-{workload}-{env}Length
1-63
Valid Characters
Lowercase letters, numbers, hyphens
Scope
regional
Code
Deploy your infrastructure as code using your preferred tooling.
Official Documentation
terraform
1resource "google_compute_packet_mirroring" "main" {2 name = "pm-${var.workload}-${var.environment}"3 region = var.region4 network {5 url = google_compute_network.main.id6 }7 collector_ilb {8 url = google_compute_forwarding_rule.collector.id9 }10 mirrored_resources {11 subnetworks {12 url = google_compute_subnetwork.main.id13 }14 }15}
Utilities
Utilities to support app deployment or configuration.