How to Create a digital Ocean droplet for deploying a Laravel application (part 1)

Sylvester C. Amaechi
3 min readMay 17, 2021
Image from Unsplash by Jefferson Santos

Hello,Welcome to my First Series, today I will be explaining how you can deploy your Laravel application to Ubuntu Server on Digital Ocean.

This series is divided into 5 parts

  1. How to Create a digital Ocean droplet for deploying a Laravel application.
  2. Setting up our environment to host our Laravel application with MySQL ,Apache.
  3. Setting up our environment to host our Laravel application with MySQL ,Nginx
  4. Adding a domain name and securing our Laravel application on digital ocean
  5. Adding free SSL certification to our laravel application
  6. Adding PhpmyAdmin to Ubuntu server so we can import and export database

Note: when you are signing up on Digital Ocean you will be required to add your card details so that it will be associated with your account in case of future payment. Digital Ocean will make a debit of $1 to the account but it will be credited back,as this is use to verify that the card linked is a valid card.

When you are done with creating your account you can click here so it will open the link on a new tab ( a quickly navigate you to your control panel).

At the top right,you will see a green button like the one below,click on it and select Droplet(Create cloud server). Please ensure you select droplet because that is our main focus in this article.

It will load another page so you can configure the capacity of your Ubuntu cloud server.Follow the screen shot below as they are self explanatory

Here I am using a basic server to host my Laravel app

Enter the host name and click on the green button to create the droplet using the specification.

Hurray,We have succeeded in creating a digital ocean droplet, you should be able to see a similar page as the one below

Now we need to ssh into the Ubuntu server so we can install the necessary extension to run the Laravel App,we continue that part in part 2 of this series.

Thanks for reading,Cheers

Originally published at https://slycreator1.hashnode.dev.

--

--

Sylvester C. Amaechi

Senior Software and DevOps Engineer skilled in building cutting-edge applications and optimizing development workflows for seamless deployment and scalability