skip to Main Content

Amazon web services – Connect to AWS RDS database from EC2

I'm student and I start to explore AWS with free tier EC2 and RDS. I have a spring boot app and this is my application.properties server.port=8080 spring.datasource.url=jdbc:mysql://tiktok.cdo6k4mey5el.us-east-1.rds.amazonaws.com:3306/tiktok spring.datasource.username=admin spring.datasource.password=********** spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQLDialect spring.jpa.hibernate.ddl-auto=update spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver When running application on my local laptop, I…

VIEW QUESTION

Amazon web services – Terraform – Addition of security group to aws_instance leads to replacement of the instance

I have a terraform file, which is responsible for creation of an ec2 instance as well as the security groups. resource "aws_instance" "ec2" { ami = "ami-06791f9213cbb608b" instance_type = "t2.micro" key_name = "terraform-key" depends_on = [aws_security_group.ssh_group] security_groups = [aws_security_group.ssh_group.name] }…

VIEW QUESTION
Back To Top
Search