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

20 Most asked Odoo Interview Questions

Odoo Accounting Interview Questions

Know More »
shopify sections and blocks

How to create Custom Sections in Shopify[Dawn Theme]

Are you looking to customize your Shopify store beyond the standard templates and themes? Do you want to create unique...

Know More »
fix japanese keyword hack

Looking for Video Tutorials?

Explore Our Youtube Channel for in-depth Tutorials

Yes I am Curious »