VPC のトラフィックミラーセッション作成時、「eni-xxx must be attached to a supported instance」エラーが発生する場合の対処方法
困っている内容
VPC のトラフィックミラーセッションを新規作成しようとしました。
しかし、「作成」ボタンを押下した所、以下のエラーメッセージが表示され作成ができない状況です。
eni-xxx must be attached to a supported instance
上記エラーが発生する場合、どのように対処すればいいのでしょうか?
どう対処すればいいの?
当該ネットワークインターフェイス(ENI) のアタッチ先のインスタンスを確認し、ミラーソースにて使用可能なインスタンスタイプか確認してください。
本ブログ執筆時点(2025 年 2 月 9 日) で、VPC トラフィックミラーセッションのミラーソースには、下記のインスタンスタイプのみ使用可能です。[1]
- C4, D2, G3, G3s, H1, I3, M4, P2, P3, R4, X1, X1e
Traffic Mirroring is not available on all instance types.
Instance types
The following limitations only apply to only the traffic mirroring source instance type.
Traffic Mirroring is not available on the following virtualized Nitro instance types:
- General purpose: M8g, M6a, M6i, M6id, M6idn, M6in, M7a, M7g, M7gd, M7i, M7i-flex
- Compute optimized: C8g, C6a, C6gd, C6gn, C6i, C6id, C6in, C7a, C7g, C7gd, C7gn, C7i
- Memory optimized: R8g, R6a, R6i, R6id, R6idn, R6in, R7a, R7g, R7gd, R7i, R7iz, X8g, X2idn, X2iedn, X2iezn
- Storage optimized: I4g, I4i, Im4gn, Is4gen
- Accelerated computing: Inf2, P5, Trn1, Trn1n
- High-performance computing: Hpc6a, Hpc6id, Hpc7a, Hpc7g
Traffic Mirroring is not available on bare metal instances.
Traffic Mirroring is available only on the following non-Nitro instances types: C4, D2, G3, G3s, H1, I3, M4, P2, P3, R4, X1, and X1e. Note that this does not include T2 instances.