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

S34

[Raspberry Pi] AWS S3 Bucket ์—์„œ ๊ฐ€์ ธ์˜จ Contents ๊ฐ’์œผ๋กœ LED ์ œ์–ดํ•˜๊ธฐ ๐ŸŽ‡ AWS S3 Bucket ์—์„œ ๊ฐ€์ ธ์˜จ Contents ๊ฐ’์œผ๋กœ์˜ LED ์ œ์–ด 1. AWS S3 Bucket ์œผ๋กœ์˜ ์ ‘๊ทผ์„ ์œ„ํ•œ ์ดˆ๊ธฐ ์„ค์ • ++ Boto3 SDK ์„ค์ • --> 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.tistory.com ++ AWS ๊ณ„์ • ๋ฐ ๋ฆฌ์ „ .. 2023. 9. 18.
[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.
[AWS] Boto3 SDK๋ฅผ ํ™œ์šฉํ•œ ๋ฐ์ดํ„ฐ ์—…๋กœ๋“œ ์ž๋™ํ™” (Forward AWS S3 Bucket) ๐ŸŒธ Boto3 SDK๋ฅผ ํ™œ์šฉํ•œ ๋ฐ์ดํ„ฐ ์—…๋กœ๋“œ ์ž๋™ํ™” (Forward AWS S3 Bucket) 1. pip ๋ช…๋ น์–ด๋ฅผ ์ด์šฉํ•˜์—ฌ boto3 ์„ค์น˜ !pip install boto3 ++ boto3 ๋ž€? boto3๋Š” Amazon Web Services (AWS)์™€ ์ƒํ˜ธ์ž‘์šฉํ•˜๊ธฐ ์œ„ํ•œ ์˜คํ”ˆ ์†Œ์Šค ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋กœ, AWS์™€ ์ƒํ˜ธ์ž‘์šฉํ•˜๊ธฐ ์œ„ํ•œ ๋‹ค์–‘ํ•œ ๊ธฐ๋Šฅ๊ณผ ํด๋ž˜์Šค๋ฅผ ์ œ๊ณตํ•œ๋‹ค. boto3๋Š” SDK ์ค‘์—์„œ๋„ Python ํ”„๋กœ๊ทธ๋ž˜๋ฐ ์–ธ์–ด๋ฅผ ์‚ฌ์šฉํ•˜๋Š”๋ฐ, AWS ์„œ๋น„์Šค ์ค‘ S3(Simple Storage Service)๋‚˜ EC2(Elastic Compute Cloud) ๋“ฑ ๋‹ค์–‘ํ•œ ์„œ๋น„์Šค์— ์ ‘๊ทผํ•˜์—ฌ ๋ฐ์ดํ„ฐ ์—…๋กœ๋“œ & ๋‹ค์šด๋กœ๋“œํ•˜๋Š” ๋“ฑ์˜ ์ž‘์—…์„ ์ˆ˜ํ–‰ํ•  ์ˆ˜ ์žˆ๋‹ค. 2. AWS ์ž๊ฒฉ ์ฆ๋ช… ์„ค์ • ํ›„ ํด๋ผ์ด์–ธํŠธ ๊ฐ์ฒด ์ƒ์„ฑ import boto.. 2023. 8. 2.