Amazon Web Services (AWS)

Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides resizable compute capacity in the cloud.

We can basically think of it as a virtual computer/machine that we can access through the internet.

AWS has a Free tier with:

EC2 750 hours per month (1month) windows t2.microinstance free 12months


Create an EC2 instance of AWS

Use SSH to connect to EC2 over the internet

SHH is different for windows vs mac/linux

Set up a website and hosting on our virtual machine

Set up Spark & Jupyter on EC2 Instance

SSH (Secure Shell Connection) for windows (I use windows):

Goal is to connect to command line of our virtual machine on Amazon EC2

Use Putty to connect to Linux shell of your instance via SSH

Use WINSCP for GUI to connect to your instance.

WinSCP is a GUI-based file manager for Windows that allows you to upload and transfer files to a remote computer using the SFTP, SCP, FTP, and FTPS protocols. WinSCP allows you to drag and drop files from your Windows machine to your Linux instance or synchronize entire directory structures between the two systems.

Rerequirements: Systems or linux administration experience & Computer Networks

An Amazon Machine Image is a special type of virtual appliance that is used to create a virtual machine within the Amazon Elastic Compute Cloud. It serves as the basic unit of deployment for services delivered using EC2.

Create Route 53 to connect to domain

Create S3 bucket to store website files

EC2 server compute

PuTTY is a free and open-source terminal emulator, serial console and network file transfer application. It supports several network protocols, including SCP, SSH, Telnet, rlogin, and raw socket connection. It can also connect to a serial port.

Install Apache2: apache2 is open-source HTTP server. It is still the most popular web-server used worldwide today.

Install Apache web server on your EC2 Instance:

Go to Putty, and type in the command line:

Apache HTTP Server, also known as httpd, is a web server. It listens to one or more TCP ports (usually port 80) for incoming requests from browsers and serves the requested files accordingly. In addition to its basic operation, httpd can be extended with modules.

To read more:

Recent Posts

See All

Dijkstra shortest path algorithm

Word ladder game (change only one letter to go from Fool to Sage): Fool, Pool, Poll, Pole, Pale, Sale, Sage. How? Dijkstra shortest path algorithm

Deep Learning for Algorithmic Trading

Finance is highly nonlinear and sometimes stock price data can even seem completely random. Machine learning and Deep Learning have found their place in the financial institutions for their power in p

Statistical Arbitrage Trading Pairs

What are z score values? A Z score is the value of a supposedly normal random variable when we subtract the mean and divide by the standard deviation, thus scaling it to the standard normal distributi

©2020 by Arturo Devesa.