I have an EC2 instance set up on my AWS and I can easily connect using SSH through terminal. I have some jar files on my EC2 that I can run through this SSH connection. Now I would like to know:
How can I connect to my EC2 and run these same jar files from an iOS app that I am developing, and NOT use the SSH because that's not safe.
I looked into Apache web server, PHP, Amazon API, REST API, Dropwizard, endpoints, JSON, and a myriad of other things, and I am very confused. (I am a beginner still)
Please help!
Also - not sure if this is worth mentioning - I added port 80 and 443 on my EC2 security groups.