From 5f554c928e272e4bed5b03139b867e01887ce759 Mon Sep 17 00:00:00 2001 From: Donne Martin Date: Tue, 17 Feb 2015 20:03:27 -0500 Subject: [PATCH] Added AWS commands IPython Notebook. Currently contains command lines to connect to AWS Linux and Ubuntu instances. --- commands/aws.ipynb | 63 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 commands/aws.ipynb diff --git a/commands/aws.ipynb b/commands/aws.ipynb new file mode 100644 index 0000000..dd9e818 --- /dev/null +++ b/commands/aws.ipynb @@ -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": {} + } + ] +} \ No newline at end of file