Created
December 8, 2022 18:42
-
-
Save jkeam/38df983988595fff9b21d5c8d190563c to your computer and use it in GitHub Desktop.
Create Digital Ocean Droplet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Types of Droplets | |
# s-2vcpu-4gb | |
# s-4vcpu-8gb | |
# | |
# Creation Params | |
# doctl compute ssh-key list | |
# doctl compute droplet list | |
# | |
# List Droplet | |
# doctl compute droplet list | |
# | |
# Destroy | |
# doctl compute droplet delete drstrange | |
APP_NAME=drstrange | |
doctl compute droplet create \ | |
--image fedora-37-x64 \ | |
--size s-4vcpu-8gb \ | |
--region nyc1 \ | |
--vpc-uuid some-random-uuid \ | |
--tag-names 'working,awesome' \ | |
--ssh-keys ssh-key-id \ | |
--wait \ | |
${APP_NAME} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment