1 Answer
- Newest
- Most votes
- Most comments
0
Hello
As far as i know that you cannot modify the Primary interface, Here are my recommendations for you, I have done something like this with Cloud-formation both any stack could be the same.
Procedure:
- Create Two interaces or one interface eni(0) [I have created manually because there is custom requirement for us ]
- You can call One is primary and Second Interface as Secondary ENI
- You can refer those interfaces in your template
Primary network interface
Each instance has a default network interface, called the primary network interface. You cannot detach a primary network interface from an instance. You can create and attach additional network interfaces. The maximum number of network interfaces that you can use varies by instance type. For more information, see IP addresses per network interface per instance type.
If you still have any questions please let me know
Thank You GK
answered 2 years ago
Relevant content
- asked 3 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 3 years ago