Created
September 1, 2016 13:35
-
-
Save lengerfulluse/72a2d6556f1528f846ae4c390c7fefa5 to your computer and use it in GitHub Desktop.
common used aws commands collection
This file contains 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
# change pem file mode | |
chmod 400 /path/my-key-pair.pem | |
# use ssh to login ec2 instance. | |
ssh -i /path/my-key-pair.pem ec2-user@ec2-198-51-100-1.compute-1.amazonaws.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment