Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Inpanic4's avatar

Deployment

The time has finally come where i am ready to deploy my app!!

Any suggestions on laravel hosting cheap services? After a research i was suggested digital ocean but 15$ per month for database it seems a lot to me, the app i want to deploy is really really lightweight with 2 simple crud operations and 5,6 pages for frontend.

I want to deploy my app for years for real purposes and not testing.

Thank you

0 likes
9 replies
petrit's avatar

You can use a basic droplet at Digitalocean which costs 5$/month. Cheaper servers you may find also at contabo.com

Dont forget these servers are unmanageable, and you have to install and configure webserver and database on your own.

1 like
aurelianspodarec's avatar

Like petrit said, you can use DO and a $5 droplet, however you might need MySQL as well which would be additional cost.

I use digital ocean new feature Apps that lets you deploy a laravel application in 5minutes - they do all the configuration for you, all you have to do is connect it to your github or upload files.

I suggest checking out that option.

This is a great video explaining it https://www.youtube.com/watch?v=QnNA7YdvCYA&t

I pay $30 a month for my app.

Alternatively, you can use something like heroku for starters, and once you make money off it you can then go to digital ocean.

But setting up web servers from scratch its a skill in itself as well unless you're already comfortable with it, which I don't think you are if you're asking the question, so that could take some time to learn as well depending what patch you choose - at least talking for myself here.

1 like
Snapey's avatar

You can run mysql directly on the web server (at no cost). Suitable for most small sites.

1 like
Inpanic4's avatar

Really thank you all, i will definitely check each suggestion, separately. Thank you again guys

Inpanic4's avatar

Hello again guys i hope you are doing well!

I made some basic research on the tools you suggested .

Heroku:

I have already deployed an app on heroku super easy, free stuff. I think with free i cant use the server at 24 hours a day, using a basic dyno which provides no server sleep and 24/7 running costs 7$. I also added a heroku postgres free of charge, is that what you mean by run mysql directly on server? @snapey

Digital Ocean:

So, after research i found out that i can use docker and host with droplet at DO, as @petrit mentioned. I found an awesome video from Andrew who has also some videos on laracasts. https://www.youtube.com/watch?v=G5Nk4VykcUw

My question here is: i did not see anywhere on the video extra payments on database, does droplet supports free database?(free in my case that i have only 5 tables)

I am sorry for asking these maybe stupid questions but i need some basic knowledge in order to dig deeper into some technologies. Any answers are welcome.

Thank you for your time i appreciate it.

Inpanic4's avatar

@petrit I think your approach fits the best for me,

Thank you for your time

sr57's avatar

@inpanic4

did not see anywhere on the video extra payments on database

Just to reformulate what @petrit and co wrote, with a simple VPS (DO, OVH, ...) you can setup a small website with database (a laravel app)

A vps is your host where you install what you want, web and db servers for instance..

1 like

Please or to participate in this conversation.