• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

AWS CLI Add Network Interface

November 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

Search This Website

Subscribe Via Email

  • Home
  • About
  • Archives

Copyright © 2023