Index page not rendering on elastic Beanstalk hosted Spring Boot application - spring-boot

I need help, I’ve been trying to host a Spring Boot application on AWS using Elastic Beanstalk but once it is hosted it fails to render the home or index page, other pages are being rendering okay. Do you guys have any idea as to why I’m getting this problem?

Related

How to deploy spring boot application using couchbase on GCP

I have created a spring boot app, and using couchbase buckets as database, I want to deploy my docker image of application on Google kubernetes engine. But I don't know how to deploy the buckets on Google cloud. Please help

Jhipster backend deploy to AWS Beanstalk API Call Failure

The backend can be deployed but API call is not working.
The frontend project and backend project are separated, I am trying to deploy the backend(Spring Boot) project onto AWS Beanstalk using sub-generator and everything looks fine:
I have configured the server port to 5000 Deploying a Spring Boot Application on AWS Using AWS Elastic Beanstalk
When I invoke API with Beanstalk Environment URL, it always give me 404 Not Found error.
Does anyone know how to solve this issue?

Aws Spring boot application view issue with jar and rest service issue with war

I would like to host one application on AWS elastic beanstalk(java). The application has one view and one rest service. First I uploaded the jar file and tried accessing, the path to view was giving me whitelabel error on AWS but it is working fine locally. Also, am able to access the rest service with jar.
After surfing the net, I created a war and uploaded on AWS(tomcat). Now, the view is working fine but I notice the path of rest service is returning 404. Can someone suggest what should I check or do?

Deploy my spring boot application into google cloud computer engine

I got a query to ask you all. I am looking for guides that help me deploy my spring boot application on google cloud computer engine, I type in my instance IP address when I test my spring boot application I unable to access it in REST API.
May I know do you have any guides or steps for me to follow to deploy successfully in google cloud computing engine. Why do I need to deploy in computer engine is because I deployed my angular at it and I deploy it both it seems that my angular project being replaced by my spring boot application.
Codelabs GCP / Spring series has deployment tutorials:
https://codelabs.developers.google.com/spring/
GCP has some "Getting Started" tutorials you can use here:
https://cloud.google.com/java/docs/
where the specific one for deploying a java app to GCE is here:
https://cloud.google.com/java/docs/tutorials/bookshelf-on-compute-engine
But the basic steps are as follows:
Write your Spring app
Build your Spring app
Run / test your jar locally
Push your jar to a location in Storage
Create a startup script for your GCE instance
Create a new GCE VM which uses your startup script using Console, Deployment API, or gcloud tool
After that, you need to ensure you have the proper network rules in place to be able to access your API publicly. If you do not wish to learn how to use GCE, I would suggest you look into using App Engine instead because then you do not need to learn how to deploy and instead can concentrate on your api. Here is a guide to do that

Deploying Spring boot app to digital ocean

I am trying to deploy spring boot app written using jhipster to digital ocean. I user tomcat manager to deploy. The deployment went fine and I am able to access the html pages, but my rest apis are not accessible. I get 404 when I try to access any rest api.
I also don't know where my application startup logs are going (they are not there in localhost-access.$date.log) file under logs directory. AM I missing any configuration?
Any help or suggestion is appreciated.
The issue was with my droplet's limited RAM and memory. I noticed the JVM was not running. When I increased size of RAM it started working just fine.

Resources