Skip to content

Commit

Permalink
add cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrostr committed May 13, 2022
1 parent 564343d commit cc27f58
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,20 @@ then, you can pull data from the chain by calling
```bash
curl http://$NODE_IP:8545/
```

### cleanup

cleanup after the ip address, destroy the resources

```bash
cd ./terraform
terraform destroy
aws ec2 release-address --allocation-id $TF_VAR_ALLOCATION_ID
rm /etc/allocated-address
```

and dont forget to remove the host `$(echo $NODE_IP)` from `/etc/ansible/hosts`

### License

[MIT](https://github.com/piotrostr/bsc-full-node/blob/main/LICENSE)

0 comments on commit cc27f58

Please sign in to comment.