Hi guys.
I’m new to deployment of a server and digital ocean. I want to create an API Server that use go language and also want to create a database server using MySQL.
My question is :
Thankyou.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!
Hello @dickywijayaa,
You can follow the steps here on how to deploy a Go Web application with Nginx:
https://www.digitalocean.com/community/tutorials/how-to-deploy-a-go-web-application-using-nginx-on-ubuntu-18-04
By using Nginx, you will then be able to secure your web application by adding an SSL certificate, you can take a look at this tutorial here:
https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-18-04
Regarding your MySQL question, you can install MySQL directly on your Droplet, I would recommend enabling backups for your Droplet so that if anything goes wrong, you would be able to restore to an older backup.
Hope that this helps! Regards, Bobby