Skip to content

Commit

Permalink
Add instructions for deleting jump-host to start fresh if needed (#122)
Browse files Browse the repository at this point in the history
* Add instructions for deleting jump-host to start fresh if needed
  • Loading branch information
lavjain authored Sep 20, 2023
1 parent 0e7cd7f commit 0452cd9
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions solutions_builder/template_root/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ ls -l /tmp/jumphost_ready
sudo journalctl -u google-startup-scripts.service
```

Note: For a fresh start, here are the steps to delete/destroy jump host and corresponding resources from project. However, this not clean up any resources that were deployed from the jump host
```
gcloud compute instances update jump-host --no-deletion-protection --project="${PROJECT_ID}"
sb infra destroy 0-jumphost
```
### Continue to Cloud Infra and foundation steps
Initialize the Cloud infra:
```
gcloud auth login
Expand Down Expand Up @@ -80,11 +86,7 @@ Follow README files of each microservice to setup:
sb deploy
```

## Destroy
Turn off deletion protection for the jump host (for `terraform destroy`)
```
gcloud compute instances update jump-host --no-deletion-protection
```
## Development

Please refer to [DEVELOPMENT.md](docs/DEVELOPMENT.md) for more details on development and code submission.

Expand Down

0 comments on commit 0452cd9

Please sign in to comment.