Deleting an FNI

You can delete a flexible network interface (FNI) at any time.

Deleting an FNI Using Cockpit

Before you begin: Detach the FNI from any instance it is attached to. For more information, see Detaching an FNI from an Instance.

  1. Click Network/Security > Flexible Network Interfaces.

  2. Click the FNI you want to delete.
    The FNI is selected.

  3. Click Delete .
    A confirmation dialog box appears.

  4. Click Delete to validate.
    The FNI is deleted, and no longer appears on the Flexible Network Interfaces page

Deleting an FNI Using AWS CLI

Before you begin: Detach the FNI from any instance it is attached to. For more information, see Detaching an FNI from an Instance.

To delete an FNI, use the delete-network-interface command following this syntax:

Request sample
$ aws ec2 delete-network-interface \
  --profile YOUR_PROFILE \
  --network-interface-id eni-12345678 \
  --endpoint https://fcu.eu-west-2.outscale.com

This command contains the following attributes that you need to specify:

  • (optional) profile: The named profile you want to use, created when configuring AWS CLI. For more information, see Installing and Configuring AWS CLI.

  • network-interface-id: The ID of the FNI.

  • endpoint: The endpoint corresponding to the Region you want to send the request to.

The FNI is deleted.

Related Pages

Corresponding API Method

AWS™ and Amazon Web Services™ are trademarks of Amazon Technologies, Inc or its affiliates in the United States and/or other countries.