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

laravelnoobster's avatar

Deploy Laravel to AWS with DNS and DB credentials (URL, username/password) from windows using Putty

As a freelancer, I've been provided with following details to deploy the application to their sever.

Server DNS: xxx-x-xx-xxx-x.eu-west-2.compute.amazonaws.com DB: xxxxxxxx.xxxxxxxx.eu-west-2.rds.amazonaws.com user: xxxxxxxxxx password: xxxxxxxxxx

I've already read the putty and laravel docs regarding this but still couldn't figure out a way to deploy the laravel application from localhost (on windows) to the AWS with the above provided details. Any help is appreciated, thanks!

0 likes
1 reply
Tray2's avatar

I suggest using git.

If you haven't already create a git repo (private if you like then git clode your repo and run composer install and npm install and then update your .env to work with the db.

Please or to participate in this conversation.