Integrated Tech Solutions

How to Deploy Vue Js App on AWS EC2

By - Admin December 26, 2021

Introduction

Vue is a progressive web application framework, that helps you make advanced interactive web applications quickly.

But, once a Vue app is developed, developers face problems publishing the app on the server.

In this article, we’ll cover how we can publish our Vue app to AWS EC2 instance for free.

#1 Configure Apache Server on EC2

Amazon Web services(AWS) is one of the most popular cloud services providers.

After creating an account, you get a free 1 year trial on AWS to explore and test it out.

Update Dependencies

sudo apt update

Install Apache

sudo apt install apache2
sudo ufw app list
sudo ufw allow 'Apache'
sudo ufw status
sudo systemctl status apache2

Now open the Public IP address provided in your browser

#2 Install Node Js and NPM

sudo apt install nodejs

Verify the installation and check node version

node -v

Install NPM to run commands

sudo apt install npm

Other Platforms For Deploying Vue Js Apps

  1. Netlify
  2. Github pages
  3. Heroku

You May Also Like –

Keep Reading

👋 Hi, Find this Helpful? There is More

You Asked,
We made it!

fix japanese keyword hack

Step by Step Video Tutorials on trending topics in software development

Yes I am Curious »

5 Tips to Pick the Most Engaging Live Chat for Your Website

In today’s fast-paced digital world, providing excellent customer service is a key differentiator for businesses. One of the most effective...

Know More »
next js deployed on aws

Beginners Guide to deploy NextJs App on AWS EC2 Server

In this blog post, we will walk you through the step-by-step process of deploying a Next.js application on an AWS...

Know More »