Site icon 엘스트림

mup deploy into Amazon ec2

When you want to aws ec2 use this mup.json by customizing bold ones
You can have hint for deploy success.
I am using EC2 on ubuntu
—————————————————————————–

{
// Server authentication info
“servers”: [
{
“host”: “54.xxx.xx.x”,
“username”: “ubuntu”,

“pem”: “/home/mkxxxx/xxxxxxx.pem”
}
],

// Install MongoDB in the server, does not destroy local MongoDB on future setup
“setupMongo”: true,

// WARNING: Node.js is required! Only skip if you already have Node.js installed on server.
“setupNode”: true,

// WARNING: If nodeVersion omitted will setup 0.10.33 by default. Do not use v, only version number.
“nodeVersion”: “0.10.33”,

// Install PhantomJS in the server
“setupPhantom”: true,

// Application name (No spaces)
“appName”: “likenet”,

// Location of app (local directory)
“app”: “/home/mkxxxxxx/linkxxx-nst”,

// Configure environment
“env”: {
“ROOT_URL”: “http://ec2-XX-XXX-XX-X.us-west-2.compute.amazonaws.com/”
},

// Meteor Up checks if the app comes online just after the deployment
// before mup checks that, it will wait for no. of seconds configured below
“deployCheckWaitTime”: 15
}

—————————————————————————

you can use pwd to see the path
or using Mac by watching folder details.

way to go~

http://likenet.net

Exit mobile version