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

engrlaravel's avatar

code deployment in laravel to aws ec2

I have website developing in Laravel. I am using bitbucket for code versioning and aws ec2 instance. I am uploading code via SFTP.

What is the best approach to deploy code having code on bitbucket and deploy to ec2 instance without live website interruption.

Good ideas will be appreciated

0 likes
1 reply
Sabin Chacko's avatar

You can clone your repo to the EC2 instance and pull the changes from git. Better you do it in a dev server first and then in the live.

Please or to participate in this conversation.