How to Manage VPS and Deploy Laravel Applications?
Good Day,
I used shared hosting for a long time and lately I feel a lack of freedom. So, I decided to deploy my Laravel & Non-Laravel applications on my own VPS. But it turns out it's not that easy and there are no detailed guides or courses on how to do this.
Where to start?
Operating system? LEMP vs LAMP? Proper configuration? Security? Updates? DDOS? Backups? Performance? Uptime?
Databases?
MySQL vs PostgreSQL? Configuration? Which version?
I do not ask to answer all the questions, but if you know some good courses or guides, it would be nice if you could share and maybe together we will be able to collect all the information.
Also please do not share 3rd party services, such us Mailgun, Laravel Forge, etc... This is not a solution.
Some Answers: you can have multiple domains on a VPS, just create vhosts.
It is possible to set up a mail server for sending and receiving emails.
Laravel has some requirement for database and php. So if you choose for a lamp package, you need to takes this into consideration as well.
Regarding OS, if you ask 10 people, you will get 9 good, but different answers. I will go for Ubuntu.. (is one of the tutorials as well.)