简体   繁体   中英

Connect my iOS app to my EC2 Instance on AWS?

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.

There is an existing StackOverflow article that might help:

Connect to an Amazon EC2 instance from an ios application

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM