Beginner guide to Installing Meteor 1.4 on AWS EC2
Signup for AWS Service
Since lots of beginners are confused about cloud hosting.I am writing this guide to walk through setting meteor on aws with ubuntu os. If you already have your instance running feel free to skip this step and go straight to installing meteor on aws.
Login into AWS Console.Select EC2. Go to EC2 Dashboard. Under Create Instance click launch instance.
Select ubuntu instance in next step
Create key pair & download private key to your local machine.
Login via shell to aws (using private key, make sure private key is in your path or run command from directory which contains private key)
ec2-xx-xx-xx-xx.ap-south-1.compute.amazonaws.com is public dns instance name on amazon console. ubuntu is username. You can also use public ip address.
STEPS TO INSTALL METEOR ON AWS INSTANCE (using mupx)
copy private key from local machine to aws server ssh folder
update packager to latest version
install python software properties
install npm and node(optionally also install nvm)
Install aws cli
Install meteor up
(meteor 1.4 is currently available only by mpux-letsencrypt)
Initialize mupx by going into your project directory or create new directory if not exists
If you get error like below , then may legacy node is there you need to create link
edit mup.json (Make sure to fill username:ubuntu and correct location of private key from step 1)
use nano file editor (to edit on files on ubuntu, also can use vi)
Setup Meteor including mongo running following command in project directory.
deploy project using mupx
Some helpful commands
To check mupx logs
To check Docker
To check network status
To check current running process including cpu and memory utilization
Install mongo client to get mongo shell acccess on aws