AWS RDS (Relational Database Service) + Spring Boot

Опубликовано: 24 Март 2026
на канале: FV Hive Productions
133
2

What is RDS? How to create database in AWS cloud? How to configure firewall to allow access to DB publicly or outside AWS cluster? How to integrate SpringBoot application with AWS database?

IMPORTANT:
server.port should be 5000 for SpringBoot application

AWS ElasticBeanstalk forward port 80 to 5000 by default.

application.properties
spring.jpa.hibernate.ddl-auto=update
spring.datasource.url=jdbc:mysql://aws-rds-testdb.c1gs208wi8yb.ap-southeast-1.rds.amazonaws.com:3306/testdb
spring.datasource.username=root
spring.datasource.password=Numbernine9
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver

server.port=5000