๋ฐ˜์‘ํ˜•

aws๊ณต๋ถ€ 3

[AWS] S3๋ฅผ ์„œ๋ฒ„๋กœ ํ™œ์šฉํ•˜๊ธฐ, CloundFront ์ด์šฉํ•ด์„œ ์ „ ์„ธ๊ณ„ ๋ฐฐํฌํ•˜๊ธฐ

Intro์•ˆ๋…•ํ•˜์„ธ์š”. AWS ๊ด€๋ จ ์šฉ์–ด ์ •๋ฆฌ๋ฅผ ํ•ด๋ณด๋„๋ก ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค. ์ด ๊ธ€์€ ์ƒํ™œ์ฝ”๋”ฉ์˜ AWS ์•„๋งˆ์กด ์›น ์„œ๋น„์Šค(Amazon Web Services) ์ฑ…์„ ๋ฐ”ํƒ•์œผ๋กœ ์ •๋ฆฌํ•œ ๋‚ด์šฉ์ž…๋‹ˆ๋‹ค.  S3๋ฅผ ์„œ๋ฒ„๋กœ ํ™œ์šฉํ•˜๊ธฐCloudFront๋ฅผ ์‚ฌ์šฉํ•˜๊ฒŒ ๋˜๋ฉด ๋” ์ด์ƒ ์šฐ๋ฆฌ์˜ ์›น ์„œ๋ฒ„๋Š” ์‚ฌ์šฉ์ž๋ฅผ ์ง์ ‘ ๋งŒ๋‚˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ์‚ฌ์šฉ์ž๊ฐ€ CloudFront๋กœ ์ ‘์†ํ•˜๊ฒŒ ๋˜๋ฉด CloudFront๊ฐ€ ํด๋ผ์ด์–ธํŠธ๊ฐ€ ๋ผ์„œ ์›น ์„œ๋ฒ„์—๊ฒŒ ์š”์ฒญํ•ฉ๋‹ˆ๋‹ค. ๊ทธ๋Ÿผ ์›น ์„œ๋ฒ„๊ฐ€ ์ž์‹ ์˜ ์ •๋ณด๋ฅผ CloudFront์— ์ „์†กํ•˜๊ณ , CloudFront๋Š” ์›น ์„œ๋ฒ„์˜ ์ •๋ณด๋ฅผ ์ €์žฅํ•˜๊ณ  ์‚ฌ์šฉ์ž์—๊ฒŒ ์‘๋‹ตํ•ฉ๋‹ˆ๋‹ค. ์ดํ›„ ์‚ฌ์šฉ์ž๊ฐ€ CloudFront๋ฅผ ์ ‘์†ํ–ˆ์„ ๋•Œ ์›น ์„œ๋ฒ„์˜ ์ •๋ณด๋ฅผ CloudFront๊ฐ€ ์ €์žฅํ•˜๊ฒŒ ๋˜๋ฉด ๊ทธ ๋‹ค์Œ์˜ ์š”์ฒญ์€ CloudFront๊ฐ€ ์‘๋‹ตํ•ฉ๋‹ˆ๋‹ค.  ์›น ์„œ๋ฒ„๋Š” ..

Devops/AWS 2024.07.24

[AWS] AWS ๊ธฐ๋ณธ ์‚ฌ์šฉ๋ฒ•, S3๋กœ ํ•˜๋Š” ํŒŒ์ผ ๊ด€๋ฆฌ

Intro์•ˆ๋…•ํ•˜์„ธ์š”. AWS ๊ด€๋ จ ์šฉ์–ด ์ •๋ฆฌ๋ฅผ ํ•ด๋ณด๋„๋ก ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค. ์ด ๊ธ€์€ ์ƒํ™œ์ฝ”๋”ฉ์˜ AWS ์•„๋งˆ์กด ์›น ์„œ๋น„์Šค(Amazon Web Services) ์ฑ…์„ ๋ฐ”ํƒ•์œผ๋กœ ์ •๋ฆฌํ•œ ๋‚ด์šฉ์ž…๋‹ˆ๋‹ค.  AWS ๊ธฐ๋ณธ ์‚ฌ์šฉ๋ฒ•ํด๋ผ์šฐ๋“œ ์ปดํ“จํŒ…: ์ธํ„ฐ๋„ท ๋„ˆ๋จธ์— ์žˆ๋Š” ๋‚จ์˜ ์ปดํ“จํ„ฐ๋ฅผ ๊ตฌ๋ฆ„ (cloud)์— ๋น„์œ ํ•ด์„œ ํด๋ผ์šฐ๋“œ ์ปดํ“จํŒ…์ด๋ผ๋Š” ์ด๋ฆ„์ด ๋งŒ๋“ค์–ด์กŒ์Šต๋‹ˆ๋‹ค. ์„œ๋ฒ„, ์Šคํ† ๋ฆฌ์ง€, ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค, ๋„คํŠธ์›Œํ‚น ๋“ฑ์˜ ์ปดํ“จํŒ… ์„œ๋น„์Šค๋ฅผ ์ธํ„ฐ๋„ท์„ ํ†ตํ•ด ์˜จ๋””๋งจ๋“œ๋กœ ์ œ๊ณตํ•˜๊ณ , ์‚ฌ์šฉํ•œ ๋งŒํผ๋งŒ ๋น„์šฉ์„ ์ง€๋ถˆํ•˜๋Š” ๊ฒƒ์„ ๋งํ•ฉ๋‹ˆ๋‹ค. ํ˜ธ์ŠคํŒ…(hosting): ํ˜ธ์ŠคํŠธ ์ปดํ“จํ„ฐ๋ฅผ ๋นŒ๋ ค์ค˜์„œ ์„œ๋ฒ„๋กœ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋„๋ก ์ œ๊ณตํ•˜๋Š” ์„œ๋น„์Šค๋ฅผ ๋งํ•ฉ๋‹ˆ๋‹ค.ํ˜ธ์ŠคํŠธ(host): ์ธํ„ฐ๋„ท์— ์—ฐ๊ฒฐ๋œ ์ปดํ“จํ„ฐ ํ•œ ๋Œ€๋ฅผ ์˜๋ฏธํ•ฉ๋‹ˆ๋‹ค. EC2(Elastic Compute Cloud): AWS์—์„œ ๋…๋ฆฝ๋œ ์ปด..

Devops/AWS 2024.07.22

[AWS] beanstalk healthd.conf not foud ์—๋Ÿฌ ๋ฐœ์ƒ ์›์ธ ๋ฐ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•

Intro ์•ˆ๋…•ํ•˜์„ธ์š”. beanstalk ๋นˆ์Šคํ†ก์„ ์‚ฌ์šฉํ•˜์—ฌ ๋ฐฐํฌ ํ™˜๊ฒฝ์„ ๊ตฌ์„ฑํ•˜๋˜ ๋„์ค‘ ์•„๋ž˜์˜ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ์Šต๋‹ˆ๋‹ค. healthd.conf not foud [ERROR] An error occurred during execution of command [app-deploy] - [start proxy with new configuration]. Stop running the command. Error: copy proxy conf from staging failed with error validate nginx configuration failed with error Command /bin/sh -c /usr/sbin/nginx -t -c /var/proxy/staging/nginx/nginx.conf f..

Devops/AWS 2023.12.11
๋ฐ˜์‘ํ˜•