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
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 Metric | AWS Metric | Metric Display Name | Unit | Aggregation Type | Description |
|---|---|---|---|---|---|
| aws_natgateway_ActiveConnectionCount | ActiveConnectionCount | Active Connection Count | Count | Maximum | The total number of concurrent active TCP connections through the NAT gateway. A value of zero indicates no active connections. |
| aws_natgateway_BytesInFromDestination | BytesInFromDestination | Bytes In From Destination | Bytes | Sum | The number of bytes received by the NAT gateway from the destination. |
| aws_natgateway_BytesInFromSource | BytesInFromSource | Bytes In From Source | Bytes | Sum | The number of bytes received by the NAT gateway from clients in your VPC. |
| aws_natgateway_BytesOutToDestination | BytesOutToDestination | Bytes Out To Destination | Bytes | Sum | The number of bytes sent out through the NAT gateway to the destination. |
| aws_natgateway_BytesOutToSource | BytesOutToSource | Bytes Out To Source | Bytes | Sum | The number of bytes sent through the NAT gateway to the clients in your VPC. |
| aws_natgateway_ConnectionAttemptCount | ConnectionAttemptCount | Connection Attempt Count | Count | Sum | The number of connection attempts made through the NAT gateway. |
| aws_natgateway_ConnectionEstablishedCount | ConnectionEstablishedCount | Connection Established Count | Count | Sum | The number of connections established through the NAT gateway. |
| aws_natgateway_ErrorPortAllocation | ErrorPortAllocation | Error Port Allocation | Count | Sum | The number of times the NAT gateway could not allocate a source port. |
| aws_natgateway_IdleTimeoutCount | IdleTimeoutCount | Idle Timeout Count | Count | Sum | The 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_PacketsDropCount | PacketsDropCount | Packets Drop Count | Count | Sum | The number of packets dropped by the NAT gateway. |
| aws_natgateway_PacketsInFromDestination | PacketsInFromDestination | Packets In From Destination | Count | Sum | The number of packets received by the NAT gateway from the destination. |
| aws_natgateway_PacketsInFromSource | PacketsInFromSource | Packets In From Source | Count | Sum | The number of packets received by the NAT gateway from clients in your VPC. |
| aws_natgateway_PacketsOutToDestination | PacketsOutToDestination | Packets Out To Destination | Count | Sum | The number of packets sent out through the NAT gateway to the destination. |
| aws_natgateway_PacketsOutToSource | PacketsOutToSource | Packets Out To Source | Count | Sum | The number of packets sent through the NAT gateway to the clients in your VPC. |
| aws_natgateway_PeakBytesPerSecond | PeakBytesPerSecond | Peak Bytes Per Second | Count | Maximum | Reports the highest 10-second bytes-per-second average in a given minute. |
| aws_natgateway_PeakPacketsPerSecond | PeakPacketsPerSecond | Peak Packets Per Second | Count | Maximum | Calculates the average packet rate (packets processed per second) every 10 seconds for 60 seconds, then reports the maximum of the six rates. |