An open API service indexing awesome lists of open source software.

https://github.com/sufiyan33/aws-code

Developing Java spring boot based project to stores any types of files in S3 bucket.
https://github.com/sufiyan33/aws-code

aws aws-s3 java s3-bucket spring-boot

Last synced: 3 months ago
JSON representation

Developing Java spring boot based project to stores any types of files in S3 bucket.

Awesome Lists containing this project

README

        

# File Stores in AWS S3

We can store any types of file like images, pdf, ppt, word file etc in S3 bucket by using Java Spring boot code.

- Steps :
- Create Spring boot application.
- Add web dependency.
- Add below aws sdk dependency
```

com.amazonaws
aws-java-sdk-s3
1.12.720

```
- You can add below dependency instead of above :
```

org.springframework.cloud
spring-cloud-starter-aws
2.2.6.RELEASE

```
- Create Config class & create AmazonS3 bean.
- Create Service class.
- Create Controller.
- Create yaml file and add s3 bucket credentials.