logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
HimanshuComputer science
(/5)

727 Answers

Hire Me
expert
Zuber KhanEconomics
(5/5)

517 Answers

Hire Me
expert
Sabir AhmadFinance
(5/5)

879 Answers

Hire Me
expert
Sikhar AggarwalMathematics
(5/5)

720 Answers

Hire Me
Computer 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

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:

     

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

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. 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

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme