Skip to content
Permalink
Browse files

update README

  • Loading branch information
xfanwu committed Sep 17, 2019
1 parent d0f749c commit 709a7eb6612957b8ca058514ea7a7280e0d4554a
Showing with 0 additions and 17 deletions.
  1. +0 −17 README.md
@@ -24,20 +24,3 @@ CONST INSTANCE_ID = 'yourInstanceId'

`node changeIP.js`

## How it works

### 1. allocate a new IP address

`aws ec2 allocate-address`

### 2. associate the new IP to your instance

`aws ec2 associate-address --instance-id {YOUR_INSTANCE} --public-ip {NEW_IP}`

### 3. get all unassociated addresses

`aws ec2 describe-addresses | grep AllocationId`

### 4. release all unassociated addresses (you have been warning)

`aws ec2 release-address --allocation-id {OLD_IP}`

0 comments on commit 709a7eb

Please sign in to comment.
You can’t perform that action at this time.