Run Python SimpleHttpServer on Amazon AWS EC2

With Python's SimpleHTTPServer you can quickly setup a webserver without any hassle. In order to use it, you don't need to install or configure anything.. you just need to have python installed on your server.

Step 1: Open up your AWS console and in your instance security group make the Inbound & Outbound settings like shown in the sceenshots below



Step 2: Login into your remote server via ssh

example:
aman@vostro:~$ ssh -i yourkeyfile.pem ubuntu@your-server-ip

Read more »

Comments

Popular posts from this blog

How to install python-gst (pygst) in ubuntu 16.04

How to make a gui Calculator in Python using Tkinter

How to Install Antlr4 in Ubuntu/Linux