Network address translation (NAT) gateways are used to enable instances in a private subnet to connect to the internet (for example, for software updates) or other AWS services but prevent the internet from initiating a connection with those instances.

A NAT device forwards traffic from the instances in the private subnet to the internet or other AWS services, and sends the response back to the instances.

When traffic goes to the internet, the source IPv4 address is replaced with the NAT device address. Similarly, when the response traffic goes to those instances, the NAT device translates the address back to those instances’ private IPv4 addresses.

Use the AWS public cloud integration to discover and collect metrics against the AWS service.

External reference

NAT gateways

Setup

To set up the AWS integration and discover the AWS service, go to AWS Integration Discovery Profile and select Nat Gateway.

Event support

CloudTrail event support

  • Supported (CreateNatGateway, DeleteNatGateway)
  • Configurable in OpsRamp AWS Integration Discovery Profile.

CloudWatch alarm support

  • Supported
  • Configurable in OpsRamp AWS Integration Discovery Profile.

Supported metrics

OpsRamp MetricAWS MetricMetric Display NameUnitAggregation TypeDescription
aws_natgateway_ActiveConnectionCountActiveConnectionCountActive Connection CountCountMaximumThe total number of concurrent active TCP connections through the NAT gateway. A value of zero indicates no active connections.
aws_natgateway_BytesInFromDestinationBytesInFromDestinationBytes In From DestinationBytesSumThe number of bytes received by the NAT gateway from the destination.
aws_natgateway_BytesInFromSourceBytesInFromSourceBytes In From SourceBytesSumThe number of bytes received by the NAT gateway from clients in your VPC.
aws_natgateway_BytesOutToDestinationBytesOutToDestinationBytes Out To DestinationBytesSumThe number of bytes sent out through the NAT gateway to the destination.
aws_natgateway_BytesOutToSourceBytesOutToSourceBytes Out To SourceBytesSumThe number of bytes sent through the NAT gateway to the clients in your VPC.
aws_natgateway_ConnectionAttemptCountConnectionAttemptCountConnection Attempt CountCountSumThe number of connection attempts made through the NAT gateway.
aws_natgateway_ConnectionEstablishedCountConnectionEstablishedCountConnection Established CountCountSumThe number of connections established through the NAT gateway.
aws_natgateway_ErrorPortAllocationErrorPortAllocationError Port AllocationCountSumThe number of times the NAT gateway could not allocate a source port.
aws_natgateway_IdleTimeoutCountIdleTimeoutCountIdle Timeout CountCountSumThe number of connections that transitioned from active to idle state. A connection transitions to idle if not closed gracefully and no activity for the last 350 seconds.
aws_natgateway_PacketsDropCountPacketsDropCountPackets Drop CountCountSumThe number of packets dropped by the NAT gateway.
aws_natgateway_PacketsInFromDestinationPacketsInFromDestinationPackets In From DestinationCountSumThe number of packets received by the NAT gateway from the destination.
aws_natgateway_PacketsInFromSourcePacketsInFromSourcePackets In From SourceCountSumThe number of packets received by the NAT gateway from clients in your VPC.
aws_natgateway_PacketsOutToDestinationPacketsOutToDestinationPackets Out To DestinationCountSumThe number of packets sent out through the NAT gateway to the destination.
aws_natgateway_PacketsOutToSourcePacketsOutToSourcePackets Out To SourceCountSumThe number of packets sent through the NAT gateway to the clients in your VPC.
aws_natgateway_PeakBytesPerSecondPeakBytesPerSecondPeak Bytes Per SecondCountMaximumReports the highest 10-second bytes-per-second average in a given minute.
aws_natgateway_PeakPacketsPerSecondPeakPacketsPerSecondPeak Packets Per SecondCountMaximumCalculates the average packet rate (packets processed per second) every 10 seconds for 60 seconds, then reports the maximum of the six rates.