hcho3 / xgboost-devops

DevOps / Continuous Integration tools for XGBoost project
Apache License 2.0
3 stars 2 forks source link

Mitigate possible bandwidth surge #13

Open hcho3 opened 4 years ago

hcho3 commented 4 years ago

AWS charges a premium for outgoing traffic:

This results in surprise bills for many users. Here's one recent example: https://news.ycombinator.com/item?id=23956671

Here are some ways the XGBoost CI server can be hit with massive bandwidth bill:

We need to implement the following mitigation measures:

cc @trivialfis

hcho3 commented 4 years ago

It might be easier to configure an alarm on the S3 bucket, instead of dealing with another VPS provider. Will investigate.

hcho3 commented 4 years ago

I created a new Lambda function that will monitor all outbound traffic from the S3 buckets.