I’m doing a university student club workshop on Amazon EC2 with Namecheap, so I created a YouTube tutorial about the setup and Cloud Computing concept.
Berkeley paper, explaining Cloud Computing:
Amazon Web Services:
1) Create an AWS account if you haven’t already
2) New accounts get a year of free micro instances.
3) Select your region on the management console.
4) Launch an instance with Ubuntu AMI.
5) Up to Step 6 is default. Make sure for Step 6, configure Security Group with HTTP, HTTPS, and a Custom TCP Rule for 8080.
6) Launch the instance, but make sure that you download the key file.
You will need a program that can use the ssh protocol. On windows, it’s a bit of a pain. Mac and Linux terminals come with SSH by default.
Cygwin is what I use for the SSH protocol.
My tutorial on Cygwin:
Link to Cygwin for download:
My Commands after opening the command prompt:
chown :Users basicwebsite.pem
chmod 600 basicwebsite.pem
ssh -i basicwebsite.pem [email protected]_address
sudo apt-get update
sudo apt-get install apache2
If you open a browser tab and visit the IP address from the management console for the instance you created, you can see that the apache2 webserver works and gives you the default success page!
On the management console, you can maneuver to Elastic IPs. Create a new IP and allocate to your instance. Your instance of your virtual server will now have a new static IP.
On Namecheap, you can purchase a domain or website name. Make a free account if you don’t have one already.
University students can get a free .me domain name:
Log into your account. Manage your domains. Click on the domain name of your choice. Maneuver to All Host Records. Copy the new IP address for your virtual instance from EC2. On both host records, you place that IP address for @ and www. Make sure that both records are A (Address). Save.
Your website name will now be the website name for the IP address of your virtual server. Your domain name from Namecheap is connected to your EC2 virtual instance.
ssh -i basicwebsite.pem [email protected]_name
Editing the index.html of your website. Editing the HTML of your website:
sudo rm index.html
sudo nano index.html
I put hello world on index.html, and when I visited my website name, it reflected the change instantly. Any changes you make to your instance shows on your website name.