Amazon NAT Gateway

Présentation

Utilisez les passerelles NAT Amazon pour autoriser les instances d’un sous-réseau privé à se connecter à Internet, mais empêcher Internet de lancer une connexion avec ces instances.

Activez cette intégration pour visualiser dans Datadog toutes vos métriques de passerelles NAT.

Configuration

Installation

Si vous ne l’avez pas déjà fait, configurez d’abord l’intégration Amazon Web Services.

Collecte de métriques

  1. Dans le carré d’intégration AWS, assurez-vous que l’option NATGateway est cochée dans la section concernant la collecte des métriques.
  2. Installez l’intégration Datadog/Amazon NAT Gateway.

Collecte de logs

Activer le logging

Configurez Amazon NAT Gateway de façon à ce que ses logs soient envoyés vers un compartiment S3 ou vers CloudWatch.

Remarque : si vous envoyez vos logs vers un compartiment S3, assurez-vous que amazon_nat_gateway est défini en tant que Target prefix.

Envoyer des logs à Datadog

  1. Si vous ne l’avez pas déjà fait, configurez la fonction Lambda de collecte de logs AWS avec Datadog.

  2. Une fois la fonction Lambda installée, ajoutez manuellement un déclencheur sur le compartiment S3 ou sur le groupe de logs CloudWatch qui contient vos logs Amazon NAT Gateway dans la console AWS :

Données collectées

Métriques

aws.natgateway.active_connection_count
(count)
The total number of concurrent active TCP connections through the NAT gateway.
Shown as connection
aws.natgateway.active_connection_count.maximum
(count)
The maximum number of concurrent active TCP connections through the NAT gateway.
Shown as connection
aws.natgateway.active_connection_count.minimum
(count)
The minimum number of concurrent active TCP connections through the NAT gateway.
Shown as connection
aws.natgateway.bytes_in_from_destination
(gauge)
The number of bytes received by the NAT Gateway from the destination.
Shown as byte
aws.natgateway.bytes_in_from_destination.sum
(gauge)
The sum of bytes received by the NAT Gateway from the destination.
Shown as byte
aws.natgateway.bytes_in_from_source
(gauge)
The number of bytes received by the NAT Gateway from the VPC clients.
Shown as byte
aws.natgateway.bytes_in_from_source.sum
(gauge)
The sum of bytes received by the NAT Gateway from the VPC clients.
Shown as byte
aws.natgateway.bytes_out_to_destination
(gauge)
The number of bytes sent through the NAT Gateway to the destination.
Shown as byte
aws.natgateway.bytes_out_to_destination.sum
(gauge)
The sum of bytes sent through the NAT Gateway to the destination.
Shown as byte
aws.natgateway.bytes_out_to_source
(gauge)
The number of bytes sent through the NAT Gateway to the VPC clients.
Shown as byte
aws.natgateway.bytes_out_to_source.sum
(gauge)
The sum of bytes sent through the NAT Gateway to the VPC clients.
Shown as byte
aws.natgateway.connection_attempt_count
(count)
The number of connection attempts made through the NAT gateway.
Shown as attempt
aws.natgateway.connection_attempt_count.sum
(count)
The sum of connection attempts made through the NAT gateway.
Shown as attempt
aws.natgateway.connection_established_count
(count)
The number of connections established through the NAT gateway.
Shown as connection
aws.natgateway.connection_established_count.sum
(count)
The sum of connections established through the NAT gateway.
aws.natgateway.error_port_allocation
(count)
The number of times the NAT gateway could not allocate a source port.
Shown as error
aws.natgateway.error_port_allocation.sum
(count)
The sum of times the NAT gateway could not allocate a source port.
Shown as error
aws.natgateway.idle_timeout_count
(count)
The number of timeouts caused by connections going from active to idle state.
Shown as timeout
aws.natgateway.idle_timeout_count.sum
(count)
The sum of timeouts caused by connections going from active to idle state.
Shown as timeout
aws.natgateway.packets_drop_count
(count)
The number of packets dropped by the NAT Gateway.
Shown as packet
aws.natgateway.packets_drop_count.sum
(count)
The sum of packets dropped by the NAT Gateway.
Shown as packet
aws.natgateway.packets_in_from_destination
(count)
The number of packets received by the NAT Gateway from the destination.
Shown as packet
aws.natgateway.packets_in_from_destination.sum
(count)
The sum of packets received by the NAT Gateway from the destination.
Shown as packet
aws.natgateway.packets_in_from_source
(count)
The number of packets received by the NAT Gateway from the VPC clients.
Shown as packet
aws.natgateway.packets_in_from_source.sum
(count)
The sum of packets received by the NAT Gateway from the VPC clients.
Shown as packet
aws.natgateway.packets_out_to_destination
(count)
The number of packets sent through the NAT Gateway to the destination.
Shown as packet
aws.natgateway.packets_out_to_destination.sum
(count)
The sum of packets sent through the NAT Gateway to the destination.
Shown as packet
aws.natgateway.packets_out_to_source
(count)
The number of packets sent through the NAT Gateway to the VPC clients.
Shown as packet
aws.natgateway.packets_out_to_source.sum
(count)
The sum of packets sent through the NAT Gateway to the VPC clients.
Shown as packet

Événements

L’intégration Amazon NAT Gateway n’inclut aucun événement.

Checks de service

L’intégration Amazon NAT Gateway n’inclut aucun check de service.

Dépannage

Besoin d’aide ? Contactez l’assistance Datadog.

PREVIEWING: esther/docs-8632-slo-blog-links