To ensure proper operation, the NAT gateway state should be available without any failure codes. If the NAT gateway could not be created, check the error code/status for the failure in the State message on the main screen.
Remediation
To check the status and failure code of NAT gateway, follow the steps below:
1. Sign in to the Amazon VPC console at https://console.aws.amazon.com/vpc/
2. Choose NAT Gateways
3. Check for State and State message in the main screen.
4. Follow the references according to the state message.