DAY 36 - Let’s Nuke AWS - Day Thirty-Six
100 days of Cloud on GitHub - Read On iCTPro.co.nz - Read on Dev.to
A step-by-step tutorial to Delete Everything from an AWS Account
Prerequisites
Make sure you remove the account from the organisations.
Get your access keys for CLI , check out this link to see How to
Now Goto repository, clink on releases, select your appropriate file, and right-click copy.
I am using Linux so selecting cloud-nuke_linux_amd64,
Setup the nuke plant
- Now on your system create a folder called nuke, then cd into it
wget https://github.com/gruntwork-io/cloud-nuke/releases/download/v0.16.2/cloud-nuke_linux_amd64
- Check the folder once copied the file us
ls
- lets rename the folder to aws-nuke
mv cloud-nuke_linux_amd64 aws-nuke
- Change folder permissions
sudo chmod 777 aws-nuke
- lets copy this to /usr/bin
sudo cp aws-nuke /usr/bin
- verify the package
aws-nuke
You will be able to similar result as shown in the screenshot
Now lets enter the magic command
aws-nuke aws
We are not done yet,
let's nuke kaboooooom...
It will preview all the services gonna be destroyed
you will be prompted to confirm....
nuke
confirm by typing nuke
✅Connect with me on Twitter
🤝🏽Connect with me on Linkedin
🧑🏼🤝🧑🏻 Read more post on dev.to or iCTPro.co.nz
💻 Connect with me on GitHub
Top comments (0)