Earn Higher Grades With Instant Assignment Help.Ask Question!

Computer Science
(5/5)

This assignment will allow you to explore using Amazon AWS as a web content provider and benchmark speed using a single server, multiple servers with load balancing, and a CDN

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

This assignment will allow you to explore using Amazon AWS as a web content provider and benchmark speed using a single server, multiple servers with load balancing, and a CDN.

 

There are 7 tasks for this assignment:

 

  1. Create a static website on a t2.micro EC2 instance with the following properties.  Be sure to watch the video on how to do this! It does NOT need to look good, but it needs to have the following entities/properties
  • At least two HTML pages.
  • In total, have at least 4 images on the HTML pages, all stored and served from the server.
  • At least one of each of the following tags on each page: <p> <h1> <h2> <table>

You may use any web server you choose, with Apache Http (as shown in the video) a good choice.  You may use any other, but be sure to mention it in your writeup below.

You’ll need to submit your site’s files to ACE as well as leave it running on AWS for grading. 

  1. Run benchmarking on your website.
    There are 2 benchmarking tools to use: Apache Bench (ab)(how to) and the built-in Google Chrome benchmarking system.  For all tests below, choose one of your pages above. Here are the metrics we are interested in:
    1. In Apache Bench, what is the mean “Connect, Processing, Waiting, and Total” times, for a concurrency level of 10 with 100 requests?
    2. Google’s policy is to deliver pages completely within 200ms.  Change your concurrency level in order to make the 99% percentile at or below 200ms.  That is the number of simultaneous users your server can handle.
    3. In Google Chrome, Developer tools, there is a ‘Network’ tab.  What is the final “Load” time for each of your pages? Be sure to NOT use the cache, so when the tool is up, click the refresh button while holding the shift key.     


  2. Enable load balancing and rerun the benchmarking above.
    Replicate the load-balancing setup in the video with at least 2 ec2 instances. I suggest making the pages each server serves slightly different so you can verify the two servers are actually working.
    Rerun the benchmarking tests above for this setup.

  3. Enable a CDN for your site and rerun the benchmarking above.
    You can turn off the load balancing but enable the AWS Cloudfront.  HTTP is ok, you don’t need HTTPS. Watch the video for details on setting this up.
    Use the CDN URL provided and verify you get the correct pages.
    Rerun the benchmarking tests above for this setup.


  4. That’s it!  Verify your site is available online (single server is OK) and submit the following to Ace:
    1. EC2 Public IP address of your site (make sure it works)
    2. One page report for the configuration used above and the benchmarking figures.  Be sure to include type of instance, AMI, and webserver you used. These should be for each section 2,3,4 above.  Include a short description commenting on if the benchmarking values make sense.
    3. Zipped folder of your website (HTML & images).
Attachments:
(5/5)

Related Questions

CSI 1420 Introduction to C Programming & Unix Fall 2018, CRN 44882, Oakland University Homework Assignment 6 - Using Arrays and Functions in C

DescriptionIn this final assignment, the students will demonstrate their ability to apply two majorconstructs of the C programming language – Fu

The standard path finding involves finding the (shortest) path from an origin to a destination, typically on a map. This is an

Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t

Develop a program to emulate a purchase transaction at a retail store. This program will have two classes, a LineItem class and a Transaction class. The LineItem class will represent an individual

Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th

SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

Ask This Assignment To Be Done By Our ExpertsGet A+ Grade Solution Guaranteed

expert
joyComputer science
(4/5)
12 Answers Hire Me
expert
Robert DLaw
(4.8/5)
828 Answers Hire Me
expert
Dr Samuel BarberaStatistics
(5/5)
959 Answers Hire Me
expert
Tutor For YouEconomics
(5/5)
599 Answers Hire Me