I have 3 scripts: the 1st and the 3rd are written in R, and the 2nd in Python.
The output of the 1st script is the input of the 2nd script, and its output is the input of the 3rd one.
The inputs and outputs are search keywords or phrases.
For example, the output of the 1st script is Hello, then the 2nd turns the word to olleH, and the 3rd one converts the letters to uppercase: OLLEH.
My question is how can I connect those scripts and let them run automatically, without my intervention, on AWS. What will be the commands? How can the output of the 1st script be saved, and play a role as the input of the 2nd one, etc.?
I have never used AWS so I'm unfamiliar with that, but this seems like a workflow management system would solve these issues. Take a look into snakemake or nextflow. With these tools you can easily (after you get used to it) do exactly what you describe. Run scripts/tools that depend on each other sequentially (and also in parallel).
Running three "connected" scripts on AWS EC2