skip to Main Content

Amazon web services – Configure access role for IAM user

I have a S3 java client which I want to run. But I get error during startup: Caused by: com.amazonaws.services.securitytoken.model.AWSSecurityTokenServiceException: User: arn:aws:iam::123456789:user/test-key is not authorized to perform: sts:AssumeRole on resource: arn:aws:iam::123456789:user/test-key (Service: AWSSecurityTokenService; Status Code: 403; Error Code: AccessDenied; Request…

VIEW QUESTION

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
Back To Top
Search