Modified security groups to support SSL and ipython notebook.