Uly.me

cloud engineer

  • Home
  • About
  • Archives
Home/Archives for subnet

November 27, 2019

AWS CLI Add Network Interface

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

  • Cloud
  • Linux
  • Git

Copyright © 2012–2021