• Skip to primary navigation
  • Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives
  • Contact

network-interface

AWS CLI Add Network Interface

by Ulysses · Nov 27, 2019

Create a new interface via AWS CLI with static IP.

$ aws ec2 create-network-interface \
--subnet-id subnet-xxxxxxx \
--description "second ip" \
--groups sg-xxxxxxx \
--private-ip-address 10.0.0.16

$ aws ec2 create-network-interface \ --subnet-id subnet-xxxxxxx \ --description "second ip" \ --groups sg-xxxxxxx \ --private-ip-address 10.0.0.16

Filed Under: Cloud Tagged With: aws, cli, network-interface, subnet

Copyright © 2012–2021

  • Cloud
  • Linux
  • Git