Create a new server on any cloud provider. There are just 3 requirements for a server: a public IPv4 address, Ubuntu 22.04, and SSH access from your
local machine. Then, in the root folder of your project on your local machine, run the following command
(replace server_public_ip
with the IP of your server):
cd folder_with_project
curl https://turbocloud.dev/deploy | bash -s -- -i server_public_ip
For example, if your server’s IP address is 115.21.51.10
, the command will look like this:
curl https://turbocloud.dev/deploy | bash -s -- -i 115.21.51.10
If everything goes well, your Go project will be deployed to a server with the IP address you specified with the parameter -i
, and you’ll see an automatically
generated URL in the console that you can use to access your project.
If you want to use a custom domain, add the -d
with your domain (omit https://
,
http://
, ws://
, or wss://
). Ensure the domain's A record is
correctly pointed to your server's IP address. For example:
curl https://turbocloud.dev/deploy | bash -s -- -i server_ipv4 -d your_domain.com
TurboCloud is a deployment toolkit that simplifies the deployment of Go projects to different cloud providers or your own hardware (for example, Raspberry Pi computers). You even shouldn't create a new account to try TurboCloud. TurboCloud includes automated HTTPS, VPN communication between servers and machines inside a project, CI/CD pipelines, and much more.
Start a Cloud Server:
You can deploy multiple projects on a single server using TurboCloud, as long as sufficient resources are available.
How TurboCloud Deploys Go applications from local folders:
curl https://turbocloud.dev/deploy | bash -s -- -i server_ip
downloads the script from https://turbocloud.dev/deploy
and runs the downloaded script. You can inspect the script by opening https://turbocloud.dev/deploy in any browser.-i
, which specifies the IP address of the Hetzner server (of course, you can use other cloud providers too).scp
utility.Dockerfile
. If not, it
uses Nixpacks to generate one.Finally, your Go app should be online and accessible at the URL displayed in the console. Feel free to reach out to us if you have questions or encounter issues at hey@turbocloud.dev.