How to Setup Amazon AWS EC2 with Namecheap - Cloud Computing Workshop

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:
cd Desktop
ls -l
chown :Users basicwebsite.pem
chmod 600 basicwebsite.pem
ssh -i basicwebsite.pem ubuntu@ip_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 ubuntu@website_name

Editing the index.html of your website. Editing the HTML of your website:
cd /var/www/html
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.

Extra Tags:
How,to,Setup,Amazon,AWS,EC2,with,Namecheap,Cloud,Computing,Workshop,Tutorial,How to Setup Amazon Web Services EC2,How to Setup AWS EC2,Elastic Compute,Cloud Computing,Amazon Elastic Compute Cloud,Elastic Compute Cloud,Amazon AWS,Amazon Web Services,AWS EC2 with Namecheap,Virtual Server,EC2 Instance,How to Setup AWS EC2 Instance,How to Setup AWS EC2 with Namecheap,Cloud Computing Workshop,AWS EC2 Workshop,AWS EC2 Tutorial"

  • Aucune note. Soyez le premier à attribuer une note !

Ajouter un commentaire


7 choses à savoir si Tu débutes en automatisme...

7 choses que tu dois savoir si tu debutes en automatismeCliquez ici pour télécharger le guide PDF

Superv 3