The requirement is to create an estimation function restricted towards EC2 instances in a cloud formation stack. The ideal solution would behave as follows:
- The estimation engine should be auto-triggered when a Cloud Formation stack is created
- AWS Pricing APIs can be used to estimate the cost of EC2 instances
per month in the cloud formation template. [login to view URL] -
-If the cost goes above a threshold amount ( $ 90 /month)an action could be taken like sending notice to cloud watch.
Expectation is to create a cloud formation template to deploy the required services and integration of the services. Testing : create cloud form
Note: need to be done in ASAP and future projects depends on how fast you can deliver this