Added AWS commands IPython Notebook. Currently contains command lines to connect to AWS Linux and Ubuntu instances.

This commit is contained in:
Donne Martin 2015-02-17 20:03:27 -05:00
parent f591857c77
commit 5f554c928e

63
commands/aws.ipynb Normal file
View File

@ -0,0 +1,63 @@
{
"metadata": {
"name": "",
"signature": "sha256:b65124c49718f35b0c88555bf8a8a9c76c41dc50c2b980ec01ebe55e39688d3e"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# AWS Command Lines"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Connect to EC2"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Connect to an Ubuntu EC2 instance through SSH with the given key:"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"ssh -i key.pem ubuntu@ipaddress"
],
"language": "python",
"metadata": {},
"outputs": []
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Connect to an Amazon Linux EC2 instance through SSH with the given key:"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"ssh -i key.pem ec2-user@ipaddress"
],
"language": "python",
"metadata": {},
"outputs": []
}
],
"metadata": {}
}
]
}