Skip to main content

Networking and Firewall Rules

This document outlines the necessary networking and firewall rules to enable communication between various components of the Kubesense deployment, as well as external services required for proper functionality.

External Services​

Ensure the following external services are accessible from your Kubernetes cluster for the Kubesense server and sensor components:

ECR Registry​

  • ECR URL: 365639915496.dkr.ecr.us-east-1.amazonaws.com
  • Purpose: Used for pulling container images from AWS Elastic Container Registry.

Amazon SES for Email​

  • Service URLs:
    • https://email.ap-south-1.amazonaws.com/
    • https://signin.aws.amazon.com/
    • https://sts.amazonaws.com/
  • Purpose: Used for sending notification emails and secure token services (STS) in AWS.

Server-Sensor Deployment Ports​

For proper communication between the Kubesense Server and Sensor components, the following ports must be exposed and accessible:

ComponentPortPurposeFirewall Rule
Kubecol Controller32033Captures Kubernetes info and infrastructure attributesAllow inbound traffic from kubesensors
Kubecol Ingestor32133Processes traces and pushes data to the databaseAllow inbound traffic from kubesensors
Metrics Collector30060Captures infrastructure metrics like CPU, memory usageAllow inbound traffic from otel-agent
Events Port30051Captures Kubernetes event informationAllow inbound traffic from otel-agent
LogAggregator30052Captures, processes, transforms logs and pushes to the DBAllow inbound traffic from logsensors
ECR Access443Access to ECR for pulling container imagesAllow outbound traffic to 365639915496.dkr.ecr.us-east-1.amazonaws.com
Amazon SES443Access to SES for email notificationsAllow outbound traffic to email.ap-south-1.amazonaws.com

Firewall Considerations​

Ensure that firewall rules allow inbound and outbound traffic to the following:

  • ECR Registry: Traffic should be allowed to 365639915496.dkr.ecr.us-east-1.amazonaws.com for pulling container images.
  • Amazon SES: Allow traffic to the email service at https://email.ap-south-1.amazonaws.com/ for email notifications.
  • AWS Services: Allow connections to https://signin.aws.amazon.com and https://sts.amazonaws.com for authentication and secure token management.

Additionally, ensure that the ports for the Kubesense components (32033, 32133, 30060, 30051, and 30052) are open for internal communication between the server and sensors.

By configuring these network and firewall rules, you ensure that the Kubesense deployment can communicate with both internal components and external services efficiently and securely.