-
-
Notifications
You must be signed in to change notification settings - Fork 10
-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ Github runner error ] - Not explicit error when running nuke with github runner and a largely used AWS account #304
Comments
First off, that's impressive, 1.4 million items to nuke. This is a pure memory problem more than anything else. It has to store data for 1.4 million resources, that's a ton. For that many resources you are looking at needing probably somewhere between 24-32gb of memory at a minimum. I would suggest doing the initial run on your laptop and then use GitHub actions to do the periodic clean once it's to a more manageable size. |
Hello, Thanks a lot for your quick return, really appreciate it.
The most of the objects are s3 objects, which each file ( and version of a file) counts for 1 object. Thanks a lot |
@brice-jacquin I would 100% recommend adding S3Object to the resource types excludes list. S3Bucket will handle removing all the objects if you are going to remove the bucket. The only time S3Object is useful is if you need to clean specifics out of a bucket and leave the bucket. It's much more manageable that way. |
@ekristen Thanks so much, it worked easily with excluding s3 objects, didn't knew that nuke deleted s3 objects when deleting the bucket. Thanks for the help and reactivity. |
Glad that helped! Appreciate the kind words! |
Hello,
I'm running in an implementation recurrent error that i'm not able to fix for now.
Context:
I'm implementing for a company, a monthly cron that will wipe out all ressources on 4 AWS accounts that are heavily used as sandboxes by users.
I also have 1 "dev" account where I can try all my automation, with very few ressources.
Issue:
When testing on the "dev" account, everything works more than fine.
When testing, in dry run, aws nuke on heavily used account:
On my laptop:
No issue, less than 30 min running nuke:
Scan complete: 1420363 total, 1419762 nukeable, 601 filtered.
Using Github runner:
I have this error:
[manual-nuke]
The hosted runner: GitHub Actions 174 lost communication with the server. Anything in your workflow that terminates the runner process, starves it for CPU/Memory, or blocks its network access can cause this error.
Being on github, It is difficult to have all the logs, but it do not seems to have specifc error logs from nuke (except for "normal" errros such as denied API or whatever ).
Have you ever been confronted to such issue ?
thanks for your help and time
The text was updated successfully, but these errors were encountered: