Integrated Tech Solutions

How to Deploy Vue Js App on AWS EC2

By - Admin, Updated on 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 »

AR in Websites – Top 3 Platforms for Bringing Augmented Reality to Your Web Experience

As technology advances, augmented reality (AR) is no longer limited to gaming or social media apps. Integrating AR into websites...

Know More »

Webhook Explained for Beginners: Everything You Need to Know

In the world of APIs, automation, and modern web applications, the term “webhook” often comes up. But what exactly is...

Know More »