Last active
September 29, 2019 12:54
-
-
Save CliffyMk/e74f3312230a61f6b0880575081a2d03 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Allocate the Elastic IP | |
To Connect your instance | |
MAC | |
Traverse to your key(.pem) file. | |
*) go to your key(.pem file) location | |
make sure the key isnt public | |
*) chmod 400 carols-free-ec2.pem | |
ssh into your instance | |
*) ssh -i "carols-free-ec2.pem" 18.190.7.34 | |
Use Apt to install your packages. | |
My MEAN stack was fullfilled through apt package manager | |
Copy files to Server | |
SCP | |
scp -r -i(identity file) source.pem.file source file-url destination | |
scp -r -i ~location/to/your/key.pem ./config ubuntu@elastic-ip:~/path/to/your/destination | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment