Skip to content

Instantly share code, notes, and snippets.

1. Create Amazon Instance and install Anaconda

  • Use public AMI or manually install like described here. Continuum Analytics provides AMIs across many providers, see link.

2. Create encrypted password using iPython:

from IPython.lib import passwd
passwd()

3. Create certificate for HTTPS connection.

@carloshmir
carloshmir / roll_ipython_in_aws.md
Created October 6, 2015 19:18 — forked from iamatypeofwalrus/roll_ipython_in_aws.md
Create an iPython HTML Notebook on Amazon's AWS Free Tier from scratch.

What

Roll your own iPython Notebook server with Amazon Web Services (EC2) using their Free Tier.

What are we using? What do you need?

  • An active AWS account. First time sign-ups are eligible for the free tier for a year
  • One Micro Tier EC2 Instance
  • With AWS we will use the stock Ubuntu Server AMI and customize it.
  • Anaconda for Python.
  • Coffee/Beer/Time
@carloshmir
carloshmir / leaflet-google.js
Created September 23, 2015 22:08 — forked from crofty/leaflet-google.js
Leaflet plugin that enables the use of Google Map tiles
/*
* L.TileLayer is used for standard xyz-numbered tile layers.
*/
L.Google = L.Class.extend({
includes: L.Mixin.Events,
options: {
minZoom: 0,
maxZoom: 18,
tileSize: 256,
#Example using SparkR
# Download Spark 1.4 from http://spark.apache.org/downloads.html
#
# Download the nyc flights dataset as a CSV from https://s3-us-west-2.amazonaws.com/sparkr-data/nycflights13.csv
# Launch SparkR using
# ./bin/sparkR --packages com.databricks:spark-csv_2.10:1.0.3
# The SparkSQL context should already be created for you as sqlContext