Find the Best Cosmetic Hospitals

Explore trusted cosmetic hospitals and make a confident choice for your transformation.

“Invest in yourself — your confidence is always worth it.”

Explore Cosmetic Hospitals

Start your journey today — compare options in one place.

How to deploy Laravel application on AWS EC2

In the first step you should login to your putty using user name and password.

After Login you should run command sudo -s for root access

then you should change your directory to Xampp htdocs location so for that you should type command
cd /opt/lampp/htdocs

Now you should clone your project directory from bitbucket using clone command
git clone git@bitbucket.org:repo/reponame.git

after cloning repo you should jump into that folder using cd repoName and run some below commands for installtion of node_modules and vendor file and also setup of .env file.

first of all you should copy .env file using cp .env.example .env

run below some commands for some setup
npm install for node_modules
composer install for vendor files
npm run dev ( combines all your Vue components and other JavaScript files into a browser-friendly combined file )

if all the above command runs successfully then a create a virtual host in Xampp. for this you should change the dir to cd /opt/lampp/etc and open httpd.conf file to uncomment below line and save file

#Virtual hosts
#Include conf/extra/httpd-vhosts.conf

Now again change directory and went into cd /opt/lampp/etc/extra and below line to httpd-vhosts.conf file

After following above steps you can easily run any laravel project in AWS EC2 Machine. and you should also know that xampp is already installed in your machine if you want to learn the xampp installtion then follow below urls.

Resource 1 : Link
Resource 2 : Link

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
MotoShare.in provides the perfect two-wheeler for every occasion—daily commuting, weekend escapes, tourist exploration, or test-riding your dream bike. Simplify your mobility with us!

Related Posts

AWS CLI Credentials Setup: Configure, Verify, and Secure Access

Learn how to configure AWS credentials with the AWS CLI, verify your identity, and understand where credentials are stored. This updated guide also compares profiles, environment variables, and role-based access.

Read More

Provision an AWS EC2 Instance with Chef (Legacy ChefDK Workflow)

A practical, step-by-step walkthrough for provisioning an AWS EC2 VM using the classic ChefDK and chef-provisioning approach. Includes workflow, commands, recipe examples, and validation checks for legacy environments.

Read More

EC2 Boot from EBS Explained: Architecture, Trade-offs, and an AWS CLI Workflow

Booting Amazon EC2 instances from Amazon EBS was a major shift from ephemeral root disks to persistent root volumes. This guide explains what changed, why it mattered, and how to use the model safely in modern operations.

Read More

Deploying Java EE on Amazon EC2 with EC2Deploy: Workflow, Script, and Modern Lessons

This revised guide breaks down the original EC2Deploy approach for provisioning EC2 instances, deploying Java EE apps, and running JMeter tests. It also maps the same deployment pattern to modern DevOps practices.

Read More

EC2Deploy and the Cloud Tools Maven Plugin: Architecture, Goals, and Deployment Workflow

This revised guide explains what the 2010 EC2Deploy and Cloud Tools release actually introduced, how its components fit together, and how the Maven goals map to deployment operations on EC2. It also covers what modern teams should verify before relying on this legacy toolchain.

Read More

Cloud Tools Adds Amazon EBS Support: Durable EC2 Storage for Database Workloads

This historical update covers when Cloud Tools introduced Amazon EBS support for EC2 applications, including database-backed deployments. It explains the supported storage modes, the backup/restore flow, and practical command-level equivalents.

Read More