๐Ÿ’พ Storage/MiniO

1) MiniO API๋ฅผ ์ด์šฉํ•œ CRUD ์‹ค์Šต (Java) (1) Connection (์—ฐ๊ฒฐ) MinioClient minioClient = MinioClient.builder().endpoint(endPoint) .credentials(accessKey, "secretKey) .build(); endPoint๋Š” miniO ์„œ๋ฒ„์˜ IP์™€ ํฌํŠธ ์ฃผ์†Œ๋ฅผ ๊ธฐ์ž…ํ•˜๊ณ  accessKey, secretKey๋Š” ๋Œ€์‹œ๋ณด๋“œ์—์„œ ๋ฐœ๊ธ‰๋ฐ›์ž! (2) Check Bucket Exist (๋ฒ„ํ‚ท ์ฒดํฌ) boolean found = minioClient.bucketExists(BucketExistsArgs.builder().bucket("test").build()); if (found) { System.out.println("์กด์žฌ")..
1) MiniO ์„ค์น˜ (๋ฐฐํฌ) (1) ์ง€์› ํ™˜๊ฒฝ MiniO๋Š” Windows, Mac, Linux, FreeBSE, Docker ํ™˜๊ฒฝ์—์„œ ์‚ฌ์šฉ์ด ๊ฐ€๋Šฅํ•˜๋‹ค. Linux ์ง€์› ์‚ฌ์–‘์— ๋”ฐ๋ฅธ URL ๋งํฌ 64-bit Intel/AMD https://dl.min.io/server/minio/release/linux-amd64/minio 64-bit ARM https://dl.min.io/server/minio/release/linux-arm64/minio 64-bit PowerPC LE (ppc64le) https://dl.min.io/server/minio/release/linux-ppc64le/minio IBM Z-Series (S390X) https://dl.min.io/server/minio/release/..
1) Minio (Minimal Object Storage) (1) Minio๋ž€ MiniO๋Š” ์˜คํ”ˆ ์†Œ์Šค๋กœ ์ œ๊ณต๋˜๋Š” ๋ถ„์‚ฐ ์Šคํ† ๋ฆฌ์ง€ ์†”๋ฃจ์…˜์ด๋‹ค. ํŒŒ์ผ ์Šคํ† ๋ฆฌ์ง€, ๋ธ”๋ก ์Šคํ† ๋ฆฌ์ง€๋ฅผ ์ง€์›ํ•˜์ง€ ์•Š๊ณ  ์˜ค๋กœ์ง€ ์˜ค๋ธŒ์ ํŠธ ์Šคํ† ๋ฆฌ์ง€ ํ˜•ํƒœ๋กœ ์ œ๊ณต๋˜๋ฉฐ Amazon S3 ํด๋ผ์šฐ๋“œ ์Šคํ† ๋ฆฌ์ง€ ์„œ๋น„์Šค์™€ ์™„๋ฒฝํ•˜๊ฒŒ ํ˜ธํ™˜๋˜๊ธฐ ๋•Œ๋ฌธ์— Amazon S3์˜ SDK๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋‹ค. ์˜ค๋ธŒ์ ํŠธ ์Šคํ† ๋ฆฌ์ง€๋ฅผ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ๊ธฐ ๋•Œ๋ฌธ์— ํŒŒ์ผ์— ๋Œ€ํ•œ ์ง์ ‘์ ์ธ ์ˆ˜์ •์€ ๋ถˆ๊ฐ€๋Šฅํ•˜๋ฉฐ, ํ•ญ์ƒ ๋ฎ์–ด์“ฐ๋Š” (Overwrite) ๋ฐฉ์‹์ด ์‚ฌ์šฉ๋œ๋‹ค. (2) MiniO ์ฃผ์š” ํŠน์ง• โ‘  AWS S3 API ํ˜ธํ™˜ MiniO๋Š” AWS S3์˜ API๋ฅผ ์™„๋ฒฝํ•˜๊ฒŒ ๋˜‘๊ฐ™์ด ๊ตฌํ˜„ํ•˜์—ฌ 100% ํ˜ธํ™˜๋˜๊ธฐ ๋•Œ๋ฌธ์— MiniO๋ฅผ ์Šคํ† ๋ฆฌ์ง€๋กœ ์‚ฌ์šฉํ•˜๋‹ค S3 ์Šคํ† ๋ฆฌ์ง€๋กœ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ํ•˜๋”๋ผ๋„ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ์ฝ”๋“œ๋ฅผ..
Dev_sHu
'๐Ÿ’พ Storage/MiniO' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๊ธ€ ๋ชฉ๋ก