๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

Bucket2

[AWS] AWS S3 Bucket ์† ํŒŒ์ผ Contents ์ฝ์–ด์˜ค๊ธฐ ๐Ÿณ AWS S3 Bucket ์† ํŒŒ์ผ Contents๋ฅผ ์ฝ์–ด์˜ค๊ธฐ ์œ„ํ•œ Python Script 1. pip ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด Boto3 ๋‹ค์šด๋กœ๋“œ !pip install boto3 ++ Boto3 ๊ฐ€ ๋ฌด์—‡์ธ์ง€ ๊ถ๊ธˆํ•˜๋‹ค๋ฉด? --> https://alim11.tistory.com/398 [Data Processing] Boto3 SDK๋ฅผ ํ™œ์šฉํ•œ ๋ฐ์ดํ„ฐ ์—…๋กœ๋“œ ์ž๋™ํ™” (Forward AWS S3 Bucket) ๐ŸŒธ Boto3 SDK๋ฅผ ํ™œ์šฉํ•œ ๋ฐ์ดํ„ฐ ์—…๋กœ๋“œ ์ž๋™ํ™” (Forward AWS S3 Bucket) 1. pip ๋ช…๋ น์–ด๋ฅผ ์ด์šฉํ•˜์—ฌ boto3 ์„ค์น˜ !pip install boto3 ++ boto3 ๋ž€? boto3๋Š” Amazon Web Services (AWS)์™€ ์ƒํ˜ธ์ž‘์šฉํ•˜๊ธฐ ์œ„ํ•œ ์˜คํ”ˆ ์†Œ์Šค ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ alim11... 2023. 9. 1.
[AWS] "ํŒŒ์ผ ์—…๋กœ๋“œ์— ์‹คํŒจํ–ˆ์Šต๋‹ˆ๋‹ค. ์˜ค๋ฅ˜ ๋ฉ”์‹œ์ง€: Unable to locate credentials" ์—๋Ÿฌ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ• ๐Ÿ‘‘ "Unable to locate credentials" ์˜ค๋ฅ˜๋ž€? "Unable to locate credentials" ์—๋Ÿฌ๋ž€ AWS ๊ณ„์ •๊ณผ ๊ด€๋ จํ•˜์—ฌ AWS ์ž๊ฒฉ ์ฆ๋ช…(์ธ์ฆ ์ •๋ณด)์„ ์ฐพ์„ ์ˆ˜ ์—†์„ ๋•Œ ๋ฐœ์ƒํ•˜๋Š” ์˜ค๋ฅ˜์ด๋‹ค. ์ด์ „ ํฌ์ŠคํŠธ์—์„œ ๋‹ค๋ฃจ์—ˆ๋˜ Boto3์™€ AWS S3 ๋ฒ„ํ‚ท์„ ์ด์šฉํ•œ ๋ฐ์ดํ„ฐ ์—…๋กœ๋“œ ์ž๋™ํ™” ์Šคํฌ๋ฆฝํŠธ๋ฅผ ์ž‘์„ฑํ•˜๋Š” ๊ณผ์ •์—์„œ ๋ฐœ์ƒํ•˜์˜€์œผ๋ฉฐ, ์ด๋ฒˆ ํฌ์ŠคํŠธ์—์„œ๋Š” ์œ„ ์—๋Ÿฌ์˜ ํ•ด๊ฒฐ ๋ฐฉ์•ˆ์„ ๋‹ค๋ฃจ์—ˆ๋‹ค. ๐Ÿ‘‘ ๋ฐœ๊ฒฌํ•œ "Unable to locate credentials" ์˜ค๋ฅ˜์˜ ์ฃผ๋œ ์›์ธ ๋ฐ ์œ ์˜์  1. ๊ณ„์ •์˜ AWS ์ž๊ฒฉ ์ฆ๋ช… ํ™•์ธ # AWS ์ž๊ฒฉ ์ฆ๋ช… ์„ค์ • aws_access_key_id = '์—‘์„ธ์Šค ํ‚ค ID', aws_secret_access_key = '๊ณ„์ •์˜ ์‹œํฌ๋ฆฟ ์—‘์„ธ์Šค ํ‚ค' ์Šคํฌ๋ฆฝํŠธ ์ž‘์„ฑ ๊ณผ์ •์—์„œ.. 2023. 8. 3.