An elastic, scalable SaaS application using Amazon IaaS to calculate the value of ’Pi’ using SFFT C program.
It follows the typical three-tier architecture:
- the web tier services the requests for computing Pi
- the application tier performs the computation and
- the data tier stores the computing result. The application tier needs to automatically scales up and down based on the demand of the requests.
- start.sh starts your web tier and application tier instances and initializes your S3 storage.
- stop.sh stops all your instances.
- list_instances.sh list all your instances’ IDs and their current CPU usages, one instance per line.
- list_data.sh list all the input-output pairs stored in S3, one input-output pair per line. Note that it should list the results from only the current run of CloudPi.