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 CDNComputer Science

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).

Computer Science Experts

expert
Eleanor Ken
Computer Science

62 Answers

expert
Amit
Computer Science

50 Answers

View More Experts
Disclaimer

The ready solutions purchased from Library are already used solutions. Please do not submit them directly as it may lead to plagiarism. Once paid, the solution file download link will be sent to your provided email. Please either use them for learning purpose or re-write them in your own language. In case if you haven't get the email, do let us know via chat support.

Get Free Quote!

255 Experts Online