Open main menu

CDOT Wiki β

Changes

OPS345 Assignment 1

No change in size, 01:34, 26 January 2022
no edit summary
[[File:AWSAsg1Overview.png|800px|border|center]]
= Part 1: first First slave =
* Go to your www VM in the AWS Console and find the button to create an image from it.
* You can also '''see the private IP address on your web page change''': that's the actual IP address of the server processing the request, not the IP address of the load balancer.
= Part 3: two Two more slaves =
Once you're happy with all your work above: you are ready to create two more slaves and distribute the web server load across all four of your web servers.
* Modify the iptables rules on your load balancer to make sure the load is distributed equally among all four web servers.
= Part 4: load Load test =
Refreshing your webpage in Firefox over and over again is not the best way to test your load balancer. You'll set up a Python script to do it instead. I wrote most of it for you:<source lang="python">#!/usr/bin/env python3