Reputation: 23025
I’m using Amazon RDS (MySQL) for DB and it is connected to mobile app via REST API we have. I know creating EC2 and hosting it, is there a better and easy way to host this REST API? FYI, REST is developed in Java 8. The output of it is a .war
file, so we have to deploy it.
I am asking this because now lot are moving to PaaS systems and they do lot of work we should be doing in server configurations and security.
Upvotes: 2
Views: 3596
Reputation: 1668
Elastic Beanstalk, can do all that you want. You can do a single instance if you want or you can put it behind a Load Balancer.
Give this Getting Started Guide a run.
Upvotes: 2
Reputation: 7802
I think Amazon API Gateway is the solution you are looking for . There you can define the rest-interface with GET/POST etc., connect your Mysql RDS instance and connect this to a Lambda stream.
I am working on a similar setup with a DynamoDB-instance.
Upvotes: 1