Skip to content

Comments

Amazon S3 적용 및 이미지 저장 기능 구현 완료#49

Merged
hyunsb merged 3 commits intodevelopfrom
feature/#40-amazon-s3-apply
Sep 19, 2023
Merged

Amazon S3 적용 및 이미지 저장 기능 구현 완료#49
hyunsb merged 3 commits intodevelopfrom
feature/#40-amazon-s3-apply

Conversation

@hyunsb
Copy link
Member

@hyunsb hyunsb commented Sep 19, 2023

API 서버와 파일 서버를 합쳐서 운영하기엔 용량에 부담이 있어
S3를 이미지 파일 서버로 운영하려고 한다.

S3 Config

Bucket-Name: livable-final
Access: public

Issue

  • 사용부에서 IOException 처리 필요
  • S3Uploader 의존성 주입 받고 saveFile 메서드 사용하시면 됩니다.
  • 반환 값은 S3에 저장된 이미지에 접근 가능한 public URL 입니다.
  • yml 파일에 설정 값 추가가 필요합니다.

resolved: #40

@hyunsb hyunsb added the develop 기능 개발 label Sep 19, 2023
@hyunsb hyunsb self-assigned this Sep 19, 2023
@hyunsb hyunsb merged commit f3e4a91 into develop Sep 19, 2023
@hyunsb hyunsb deleted the feature/#40-amazon-s3-apply branch September 27, 2023 09:42
@hyunsb hyunsb added the review 코드 리뷰 요청 label Oct 6, 2023
Comment on lines +24 to +25
@Value("${cloud.aws.s3.bucket}")
private String bucket;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

생성자로 넣어주세요

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

develop 기능 개발 review 코드 리뷰 요청

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Amazon S3 적용 및 이미지 저장 기능 구현

1 participant