Question: Amazon has different types of EC2 virtual machines which can be hosted in the AWS Cloud. The pricing model for each type of machine

Amazon has different types of EC2 virtual machines which can be hosted in the AWS Cloud. The pricing model 

Amazon has different types of EC2 virtual machines which can be hosted in the AWS Cloud. The pricing model for each type of machine is different which is given in Table 1. EC2 Machine Type On-demand Reserved Spot Table 1. Pricing Model of AWS EC2 Machines Write a program which asks user to enter details of his all virtual machines hosted in the AWS Cloud. For each type of machine, user will be required to enter number of such machines such that monthly bill of the user can be calculated and displayed. Note that hourly rates are constants. Sample program run is show below. Make sure that you have exactly same output and text alignments. AWS Cloud Cost Calculator ***** How many On-demand machines you own: How many Reserved machines you own: How many Spot machines your own: Cost of On-demand instances: Cost of Reserved instances: Cost of Spot instances: Total Monthly Cost of AWS Machines: Hourly rate $3 $2 $0.5 2 5 4 $4320 $7200 $1440 $12960

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer Network Questions!