Boot

Deploying a Spring Boot application on AWS

Fig. 4: Adding server port property to Environment properties

After updating, click on the Apply button and wait for AWS to apply the changes to the environment. Developers can keep an eye on the logs to understand the process. If everything goes well, the following message: Environment update completed successfully will be shown in the event logs.

Fig. 5: Event logs

Now a developer can click on the URL to access the application and the welcome page will be shown as in Fig. 6.

Fig. 6: Application’s welcome page

2.3 Troubleshoot Steps

If due to any reason’s application is not starting, developers have an option to check the logs. In the Dashboard menu, click on Logs and the log menu will appear as shown in Fig. 7.

Spring Boot on AWS - Logs menu
Fig. 7: Logs menu

Go to Request Logs and select the option of your choice. This will generate a file with all your environment logs. Now go ahead and try out these steps in your development account to practice and learn.

3. Conclusion

That is all for this tutorial and I hope the tutorial will help you understand the basics. Happy learning and do not forget to share!

Sign up

Tags

Yatin

An experience full-stack engineer well versed with Core Java, Spring/Springboot, MVC, Security, AOP, Frontend (Angular & React), and cloud technologies (such as AWS, GCP, Jenkins, Docker, K8).
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Back to top button