Starting from:
$30

$24

Cloud Computing Assignment 3 Solution

You need to create an auto-scaling configuration for the web tier of a cloud application. Follow the steps below.

    • Create a static website with one or two HTML pages and copy the pages and dependent files in an Amazon S3 bucket.

    • Create a startup script to install Apache server and copy the website files from S3 to the instance.

    • Create a Python program using boto that creates an Amazon AutoScaling group. Define scale up and scale down policies and corresponding CloudWatch alarms. Supply the startup script you created in previous step while launching a new instance from the program. Use a security group with port 80 open.

    • Open the public DNS of the newly launched instance in a browser and verify if the static website works.

More products