

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 申請者受管的網路介面
<a name="requester-managed-eni"></a>

請求者受管的網路介面是 AWS 服務 代表您在您的 VPC 中建立的網路介面。網路介面與其他服務的資源相關聯，例如來自 Amazon RDS 的資料庫執行個體、NAT 閘道或來自 AWS PrivateLink的介面 VPC 端點。

**考量事項**
+ 您可以檢視您帳戶中請求者受管的網路介面。您可以新增或移除標籤，但不能變更請求者受管網路介面的其他屬性。
+ 您無法分離請求者受管網路介面。
+ 當您刪除與申請者受管網路介面相關聯的資源時， 會 AWS 服務 分離網路介面並將其刪除。如果服務分離網路介面，但沒有將其刪除，則可以刪除分離的網路介面。

------
#### [ Console ]

**若要檢視請求者管理的網路介面**

1. 前往 [https://console.aws.amazon.com/ec2/](https://console.aws.amazon.com/ec2/) 開啟 Amazon EC2 主控台。

1. 在導覽窗格中，依序選擇 **Network & Security** (網路與安全) 和 **Network Interfaces** (網路介面)。

1. 選取網路介面 ID，開啟其詳細資訊頁面。

1. 下列為可用來確定網路介面用途的重點欄位：
   + **Description** (說明)：由建立介面的 AWS 服務提供的說明。例如，"VPC Endpoint Interface vpce 089f2123488812123"。
   + **申請者受管**：指出網路界面是否由 管理 AWS。
   + **申請者 ID**：建立網路界面的委託人或服務別名或 AWS 帳戶 ID。如果您建立了網路界面，這是您的 AWS 帳戶 ID。否則，其他主體或服務將會加以建立。

------
#### [ AWS CLI ]

**若要檢視請求者管理的網路介面**  
使用 [describe-network-interfaces](https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-network-interfaces.html) 命令，如下所示。

```
aws ec2 describe-network-interfaces \
    --filters "Name=requester-managed,Values=true" \
    --query "NetworkInterfaces[*].[Description, InterfaceType]" \ 
    --output table
```

下列為顯示可用來確定網路介面用途之重點欄位的範例輸出：`Description` 和 `InterfaceType`。

```
-------------------------------------------------------------------------------
|                          DescribeNetworkInterfaces                          |
+---------------------------------------------------+-------------------------+
|  VPC Endpoint Interface: vpce-0f00567fa8477a1e6   |  interface              |
|  VPC Endpoint Interface vpce-0d8ddce4be80e4474    |  interface              |
|  VPC Endpoint Interface vpce-078221a1e27d1ea5b    |  vpc_endpoint           |
|  Resource Gateway Interface rgw-0bba03f3d56060135 |  interface              |
|  VPC Endpoint Interface: vpce-0cc199f605eaeace7   |  interface              |
|  VPC Endpoint Interface vpce-019b90d6f16d4f958    |  interface              |
+---------------------------------------------------+-------------------------+
```

------
#### [ PowerShell ]

**若要檢視請求者管理的網路介面**  
使用 [Get-EC2NetworkInterface](https://docs.aws.amazon.com/powershell/latest/reference/items/Get-EC2NetworkInterface.html) cmdlet，如下所示。

```
Get-EC2NetworkInterface -Filter @{Name="requester-managed"; Values="true"} | Select Description, InterfaceType
```

下列為輸出範例，它顯示可用來確定網路介面用途之重點欄位：`Description` 和 `InterfaceType`。

```
Description                                      InterfaceType
-----------                                      -------------
VPC Endpoint Interface: vpce-0f00567fa8477a1e6   interface
VPC Endpoint Interface vpce-0d8ddce4be80e4474    interface
VPC Endpoint Interface vpce-078221a1e27d1ea5b    vpc_endpoint
Resource Gateway Interface rgw-0bba03f3d56060135 interface
VPC Endpoint Interface: vpce-0cc199f605eaeace7   interface
VPC Endpoint Interface vpce-019b90d6f16d4f958    interface
```

------