
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
Steps:
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:
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/putty.html
https://aws.amazon.com/getting-started/projects/deploy-nodejs-web-app/
https://aws.amazon.com/getting-started/tutorials/