I would like to understand how to use cloud computing to make relatively simple programs very fast and store the results in a table (possibly AWS NoSQL). I am not interested in web hosting or web applications. I have not yet found a tutorial that suits my needs so am setting this problem for myself as a kind of hello world example: "What is the best way(s) to leverage AWS EC2 (or lambda) to accomplish two things.
- compute the values of the fizz buzz function for each integer from 1 up to some value X. The fizz buzz function is as follows: return "fizz" for numbers evenly divisible by 3 and "buzz" for those evenly divisible by 5. Return "Ugz" if evenly divisible by neither.
- Store the results in a two column table such that the first column contains the inputs to the fizz buzz function and the second the outputs. "
I am meditating on many questions here. The first: should I use EC2 or Lambda? The second: If EC2, which of the instance types should I use? Compute optimized? Accelerated? The third: If EC2, Do I/should I write my code to take advantage of parallelism (calculate the fizz buzz function on many different processors at the same time)? The forth: how much is the choice of language relevant for a problem like this? The fifth: Is using an AWS NoSQL table to persistently store the results of my functions the best option here?
As you can tell, this is a very open ended question. I could spend weeks exploring courses and articles that are directed at different audiences and very different needs. But if someone could point me in the right direction I believe it would be very helpful for myself and others in a similar position. No indolence intended.