COSC 6377 : Computer Networks

Spring 2020

MW 4-530pm at F 162

Homework 3: Cloud Networking

Due: 4/27/2020

In this homework, we will learn a few networking concepts as relevant to the cloud. We will use Amazon Web Services as an example in this HW but the concepts should be applicable also to other cloud providers.

1. First create a compute (EC2) instance on AWS. You may want to create a micro instance that is the least expensive. You may be able to obtain free credits when you sign up with AWS.

2. Determine the public IP of your EC2 instance. Run a web server on your instance. Make sure you have used appropriate firewall setting to allow web traffic through to your web server. Create an index.html HTML page that includes an img with the IMG SRC tag. The image file should be stored locally in the same folder as the index.html file. Grab one screenshot showing the IP address of the EC2 instance on the AWS console and grab another screenshot showing your browser loading the page with the URL bar of the browser visible on the screenshot.

3. Sign up for a free account with dyn.com and create a hostname. Please be creative with your hostname. Then create an A record. Please grab a screenshot showing the configuration for your A record. Then load the website you created using domain name. Please grab a screenshot showing you are able to access the website using the domain name.

4. Now deploy the server from HW2 on your EC2 instance. Change firewall setting so your client/server are allowed to communicate over port 5000. Demonstrate using console screenshots what happens to the client when you have port 5000 open and close.

5. Setup to serve the same image from question 2 using CloudFront. Please grab a screenshot showing CloudFront setting for the image.

6. Edit your index.html to include the image served over CloudFront using IMG SRC tag. Now your page should display two copies of the image on your browser: one served locally and one served over CloudFront.

7. Load the index.html page on your browser. use Chrome Developer Tool to show which one loads faster on your browser. Please grab a screenshot.

8. Please share any comments or reflection about what you did in this assignment and if there was anything that is interesting that caught your attention.

This has been a whirlwind tour of some of the networking concepts that are useful in the context of cloud computing. Please grab all the screenshots and organize them into question by question and create a single pdf with the name hw3.pdf for submission.

Submission

Please submit hw3.pdf through the HW submission system.