๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
๐Ÿ‘ฉ‍๐Ÿ’ป Learn programming

[AWS] IAM ์ด์šฉํ•˜์—ฌ AWS SDK๋ฅผ ์ด์šฉํ•œ S3 ํŒŒ์ผ ์—…๋กœ๋“œ (1 - ์‚ฌ์šฉ์ž ์ถ”๊ฐ€)

by ๋ฐ๊ตฅ์ž‰ 2022. 4. 25.
๋ฐ˜์‘ํ˜•

๐Ÿฑ [AWS] IAM ์ด์šฉํ•˜์—ฌ AWS SDK๋ฅผ ์ด์šฉํ•œ S3 ํŒŒ์ผ ์—…๋กœ๋“œ (1)

(AWS ํšŒ์›๊ฐ€์ž…, ๋กœ๊ทธ์ธ ๊ณผ์ • ์ƒ๋žต)

 

 

1. 'IAM' ์„œ๋น„์Šค ๊ฒ€์ƒ‰ํ•˜์—ฌ Amazon IAM ์ ‘์†!

 

https://ap-northeast-2.console.aws.amazon.com/console/home?nc2=h_ct&src=header-signin®ion=ap-northeast-2

 

ap-northeast-2.console.aws.amazon.com

 

โœ… IAM์€ Identity and Access Management์˜ ์•ฝ์ž.

โœ… IAM์€ ๊ฐ„๋‹จํžˆ ์‚ฌ์šฉ์ž, ์—ญํ• ์„ ๊ด€๋ฆฌํ•˜๋Š” ์„œ๋น„์Šค.

 

 

2. ์‚ฌ์šฉ์ž ์ถ”๊ฐ€

 

(1) ์™ผ์ชฝ ๋ฉ”๋‰ด ์ค‘ ์‚ฌ์šฉ์ž -> ์‚ฌ์šฉ์ž ์ถ”๊ฐ€ ํด๋ฆญ !

 

 

(2) ์‚ฌ์šฉ์ž ์ด๋ฆ„ ์ž‘์„ฑ, ์—‘์„ธ์Šค ์œ ํ˜• ์„ ํƒ

 

โœ… ํ”„๋กœ๊ทธ๋ž˜๋ฐ ๋ฐฉ์‹ ์•ก์„ธ์Šค๋Š” ๊ฐœ๋ฐœ ์–ธ์–ด์™€ ์—ฐ๊ณ„ํ•ด์„œ ์‚ฌ์šฉํ•˜๋Š” ๋ฐฉ์‹.

โœ… AWS  Management Console ์•ก์„ธ์Šค๋Š” ํ•ด๋‹น ๊ณ„์ •์„ AWS ์ฝ˜์†”์—์„œ ๋กœ๊ทธ์ธํ•ด์„œ ์‚ฌ์šฉํ•˜๊ฒŒ ํ•˜๋Š” ๋ฐฉ์‹.

 

 

 

(3) ๊ถŒํ•œ ์„ค์ •

*๏ธโƒฃ ๊ธฐ์กด ๊ทธ๋ฃน, ์‚ฌ์šฉ์ž๊ฐ€ ์—†๊ธฐ ๋•Œ๋ฌธ์— ์ •์˜๋˜์–ด ์žˆ๋Š” ์ •์ฑ…์— ์ง์ ‘ ์—ฐ๊ฒฐํ•˜๋Š” ๋ฐฉ๋ฒ• ์‚ฌ์šฉํ•จ.

โœ… S3๋ฅผ ์œ„ํ•œ ์‚ฌ์šฉ์ž์ด๋ฏ€๋กœ AmazonS3FullAccess ๊ถŒํ•œ ๋ถ€์—ฌ.

 

โœ… ๊ธฐ์กด ๊ทธ๋ฃน์— ์ถ”๊ฐ€ํ•˜๋Š” ๋ฐฉ๋ฒ• / ๊ธฐ์กด ์‚ฌ์šฉ์ž ๊ถŒํ•œ ๋ณต์‚ฌ / ๊ธฐ์กด ์ •ํƒ ์ง์ ‘ ์—ฐ๊ฒฐํ•˜๋Š” ๋ฐฉ๋ฒ•

 

 

 

(4) ๊ฒ€ํ†  ํ•˜๊ธฐ

 

 

 

(5) ์‚ฌ์šฉ์ž ์ถ”๊ฐ€ ์™„๋ฃŒ !

 

 

 

(6) ์—‘์„ธ์Šค ํ‚ค ID, ๋น„๋ฐ€ ์—‘์„ธ์Šค ํ‚ค ๋ณต์‚ฌํ•ด๋†“๊ธฐ (์™ธ๋ถ€ ๋…ธ์ถœ X โ—)

 

 

๋ฐ˜์‘ํ˜•