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 MetricMetric Display NameUnitAggregation Type
aws_natgateway_PacketsInFromSource

Number of packets received by the NAT gateway from clients in the VPC.
Packets In From SourceCountAverage
aws_natgateway_PacketsInFromDestination

Number of packets received by the NAT gateway from the destination.
Packets In From DestinationCountAverage
aws_natgateway_BytesInFromSource

Number of bytes received by the NAT gateway from clients in the VPC.
Bytes In From SourceBytesAverage
aws_natgateway_BytesInFromDestination

Number of bytes received by the NAT gateway from the destination.
Bytes In From DestinationBytesAverage
aws_natgateway_PacketsDropCount

Number of packets dropped by the NAT gateway.
Packets Drop CountCountAverage
aws_natgateway_PacketsOutToDestination

Number of packets sent out through the NAT gateway to the destination.
Packets Out To DestinationCountAverage
aws_natgateway_PacketsOutToSource

Number of packets sent through the NAT gateway to the clients in the VPC.
Packets Out To SourceCountAverage
aws_natgateway_BytesOutToSource

Number of bytes sent through the NAT gateway to the clients in the VPC.
Bytes Out To SourceBytesAverage
aws_natgateway_BytesOutToDestination

Number of bytes sent out through the NAT gateway to the destination.
Bytes Out To DestinationBytesAverage
aws_natgateway_ConnectionEstablishedCount

Number of connections established through the NAT gateway.
Connection Established CountCountAverage
aws_natgateway_ConnectionAttemptCount

Number of connection attempts made through the NAT gateway.
Connection Attempt CountCountAverage
aws_natgateway_ActiveConnectionCount

Number of connection attempts made through the NAT gateway.
Active Connection CountCountAverage
aws_natgateway_ErrorPortAllocation

Number of times the NAT gateway could not allocate a source port.
Error Port AllocationCountAverage