aboutsummaryrefslogtreecommitdiff
path: root/toss-aws-eip/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'toss-aws-eip/README.md')
-rw-r--r--toss-aws-eip/README.md24
1 files changed, 19 insertions, 5 deletions
diff --git a/toss-aws-eip/README.md b/toss-aws-eip/README.md
index caa0355..1c81eb1 100644
--- a/toss-aws-eip/README.md
+++ b/toss-aws-eip/README.md
@@ -43,12 +43,13 @@ specified and the script will exit if an address from any of the ranges is
allocated.
```bash
+# In us-west-1 region, get an EIP with the name "tosser" from the ranges
./toss-aws-eip.py \
- -r us-west-1 \ # not required if the default region is set in the profile
- -l "tosser" \ # resource name for identification purposes
- 52.94.249.80/28 \ # range
- 52.95.255.96/28 \ # range
- 52.94.248.128/28 # range
+ -r us-west-1 \
+ -l "tosser" \
+ 52.94.249.80/28 \
+ 52.95.255.96/28 \
+ 52.94.248.128/28
```
In the example, the script will allocate and release EIP addresses until one
@@ -62,6 +63,19 @@ processes that returned 0.
Run with `-h` option for more.
+
+To run it concurrently, use [multitoss.sh](multitoss.sh). Check the quota on
+your account to determine the `-p` value. It's usually not that high.
+
+```sh
+multitoss.sh -p3 './toss-aws-eip.py
+ -r us-west-1
+ -l tosser
+ 52.94.249.80/28
+ 52.95.255.96/28
+ 52.94.248.128/28'
+```
+
## Why?
I was having issues with the reputations of IP addresses allocated for EC2. It
is a known fact that many EC2 instances are hacked and used as bots for