Question

Total Disk Space for Ubuntu 22.04 and LAMP packages

Will the $4 DigitOcean droplet (512MB RAM + 10GB SSD) suffice for a 250MB Laravel app ?

I understand the Ubuntu 22.04 itself will come under 5 GiGs ? So having a Laravel app much under 1 GiG will do for a 10GB storage ?

How much disk-space will Ubuntu 22.04 with the server software (https://ploi.io/server-installation#what-software-gets-installed) take in total ? Is there any way to figure that out prior to setting up the server ?


Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

alexdo
Site Moderator
Site Moderator badge
August 4, 2022
Accepted Answer

Hello @anjanesh

If you’re expecting moderate to high traffic for the site, then I’m afraid 512MB RAM will not be enough the handle the requests. However, if this is a side project then it does not require a lot of resources for now it’s a good starting point.

You can make sure to add SWAP space on the droplet.

https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-22-04

Laravel is also available as a one-click installation app through our marketplace portal. You can find the application here:

https://marketplace.digitalocean.com/apps/laravel

We also have a pretty neat tutorial on How To Install and Configure Laravel with Nginx find the link for the article below:

https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-laravel-with-nginx-on-ubuntu-22-04

Regards

KFSys
Site Moderator
Site Moderator badge
August 4, 2022

Hi @anjanesh,

Yes the $4 Droplet should be enough in terms of space, at least at the beginning. The 10G of space would not last a lot of time. Your app will grow, your logs will grow and so on.

Having said that, it’s a great solution for starting up your project. Afterwards you can always decide on how to proceed. The good thing is that you can always upgrade at any time with minimal downtime.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.