How do I resolve network interface provision errors for Amazon ECS on Fargate?

Last updated: 2020-12-17

I want to resolve network interface provision errors for Amazon Elastic Container Service (Amazon ECS) on AWS Fargate.

Short description

You can receive the following errors when Fargate has intermittent API issues with the underlying host:

  • If the Fargate service tries to attach an elastic network interface to the underlying infrastructure that the task is meant to run on, then you can receive the following error message: "Timeout waiting for network interface provisioning to complete."
  • If your Fargate tasks can't launch because the elastic network interface wasn't created during the task provisioning state, then you can receive the following error message: "network interface provision complete error timeout wait for network interface provision."

Note: To rule out any issues with the creation of the elastic network interface itself, create a test elastic network interface manually. You can also check the AWS Service Health Dashboard for API issues.

Resolution

Manually retry the Fargate task.

You can automate retries using AWS Step Functions.

Note: By default, an AWS SDK implements automatic retry logic.


Did this article help?


Do you need billing or technical support?