I am just getting started with AWS and have been playing around with EMR and CloudFormation. My goal is to write a Cloudformation template that will:
1. Create an EMR cluster with Spark and Hadoop installed
2. Run Spark jobs on the EMR cluster. Jobs will be submitted as a JAR or Pyspark files.
I have been able to successfully complete Step 1 but I am not sure how Step 2 is supposed to be done via CloudFormation.
I have been trying to look at a couple of examples on the AWS documentation and other sites but I could not see one where a spark job was being deployed via CloudFormation template.
Any examples or pointers in the right direction would be very helpful. Thanks in advance!