1. 버킷 생성

생성한 버킷 내부로 이동

1-1. IAM 사용자 생성

Screenshot 2023-06-28 at 8.02.50 AM.png

Screenshot 2023-06-05 at 3.30.46 PM.png

Screenshot 2023-06-28 at 8.04.03 AM.png

Screenshot 2023-06-05 at 3.46.44 PM.png

Screenshot 2023-06-05 at 3.47.10 PM.png

액세스 키 : AKIA5UPAPC7VRJC7EKUJ

비밀 액세스 키 : D/p0Zl83NtUq3Ie0I1fTUqSybLjJvG7IGPWpztG/


  1. build.gradle 의존성 추가
implementation 'org.springframework.cloud:spring-cloud-starter-aws:2.2.6.RELEASE'
  1. application.yml 환경변수 설정

(Amazon S3에 접근하기 위해 필요한 bucket, accesskey, secretKey 정보를 설정)

https://gaeggu.tistory.com/33 참고