Our new startup company is trying to create a mobile application with an accompanying site. We are trying to configure our application on Amazon Web Services.
We have Java code running on an EC2 instance that will store data in S3. We want clients (iOS and Web) to now interact with the Java Backend through the REST API. Ideally, the website will be hosted under a single AWS account.
The Java API and the REST API are already configured in a very simple way, but the configuration of the website is unclear, as this is new to all of us. We would also like to evaluate in advance whether such a setting is possible.
Since I am responsible for the Website, I already spend hours studying this particular installation, but I simply do not have experience developing cloud / backends to come to a conclusion.
Here are some questions we would like to answer:
- Where HTML files and accompanying JavaScript files will be stored, etc.
- How can I access data (images, etc.) that is stored in S3 using JAVA code from a website?
- How can something like self-tuning data in HTML files be achieved (preferably in JSON format)?
- How to configure the server to compress certain files, such as CSS or JavaScript?
Please point me in the right direction, any comments will be appreciated.
source
share