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 | Metric Display Name | Unit | Aggregation Type |
---|---|---|---|
aws_natgateway_PacketsInFromSource Number of packets received by the NAT gateway from clients in the VPC. | Packets In From Source | Count | Sum |
aws_natgateway_PacketsInFromDestination Number of packets received by the NAT gateway from the destination. | Packets In From Destination | Count | Sum |
aws_natgateway_BytesInFromSource Number of bytes received by the NAT gateway from clients in the VPC. | Bytes In From Source | Bytes | Sum |
aws_natgateway_BytesInFromDestination Number of bytes received by the NAT gateway from the destination. | Bytes In From Destination | Bytes | Sum |
aws_natgateway_PacketsDropCount Number of packets dropped by the NAT gateway. | Packets Drop Count | Count | Sum |
aws_natgateway_PacketsOutToDestination Number of packets sent out through the NAT gateway to the destination. | Packets Out To Destination | Count | Sum |
aws_natgateway_PacketsOutToSource Number of packets sent through the NAT gateway to the clients in the VPC. | Packets Out To Source | Count | Sum |
aws_natgateway_BytesOutToSource Number of bytes sent through the NAT gateway to the clients in the VPC. | Bytes Out To Source | Bytes | Sum |
aws_natgateway_BytesOutToDestination Number of bytes sent out through the NAT gateway to the destination. | Bytes Out To Destination | Bytes | Sum |
aws_natgateway_ConnectionEstablishedCount Number of connections established through the NAT gateway. | Connection Established Count | Count | Sum |
aws_natgateway_ConnectionAttemptCount Number of connection attempts made through the NAT gateway. | Connection Attempt Count | Count | Sum |
aws_natgateway_ActiveConnectionCount Number of connection attempts made through the NAT gateway. | Active Connection Count | Count | Maximum |
aws_natgateway_ErrorPortAllocation Number of times the NAT gateway could not allocate a source port. | Error Port Allocation | Count | Sum |