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 SourceCountSum
aws_natgateway_PacketsInFromDestination

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

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

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

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

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

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

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

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

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

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

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

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