๊ด€๋ฆฌ ๋ฉ”๋‰ด

ruriruriya

[AWS]Rekognition - Flask RestFul Api์—์„œ ํ™œ์šฉํ•˜๊ธฐ ์œ„ํ•œ ๊ถŒํ•œ์„ค์ • ๋ณธ๋ฌธ

๐Ÿ–ฅ๏ธAWS/Rekognition

[AWS]Rekognition - Flask RestFul Api์—์„œ ํ™œ์šฉํ•˜๊ธฐ ์œ„ํ•œ ๊ถŒํ•œ์„ค์ •

๋ฃจ๋ฆฌ์•ผใ…‘ 2024. 1. 19. 09:19
๋ฐ˜์‘ํ˜•

๋ณธ์ธ์€ Flask RestFul Api์—์„œ ํ™œ์šฉํ•˜๊ณ ์ž ํ•œ๋‹ค.

๋จผ์ € AWS ๊ณ„์ • ํ”„๋ฆฌํ‹ฐ์–ด ๊ณ„์ •์ด ํ•„์š”ํ•˜๊ณ 
VScode ํˆด๋กœ ํŒŒ์ด์ฌ์„ ํ™œ์šฉํ•  ๊ณ„ํš์ด๋‹ค.

 

1. IAM -> ์‚ฌ์šฉ์ž -> ๊ถŒํ•œ์ถ”๊ฐ€ ํด๋ฆญ

ํ•˜๋‹จ์— ๊ถŒํ•œ ์ถ”๊ฐ€๋ฅผ ํด๋ฆญํ•œ๋‹ค.

 

2. ๊ถŒํ•œ์ถ”๊ฐ€

AmazonRekognitionFullAccess ์™€ AmazonS3ReadOnlyAccess ๊ถŒํ•œ ์ถ”๊ฐ€ ํ›„ ์„ค์ • ์™„๋ฃŒ

 

3. config์— aws๊ณ„์ •๊ณผ ๋น„๋ฐ€๋ฒˆํ˜ธ ์ €์žฅ

VS code์—์„œ config ํŒŒ์ผ์— AWS ACCESS KEY ID / AWS SECRET ACCESS KEY๋ฅผ ๋„ฃ์–ด์ค€๋‹ค.

 

 

๋ฐ˜์‘ํ˜•