์ธํŒŒ

You Can Become A

Pro

๋Šฆ๊ฒŒ ์‹œ์ž‘ํ•ด๋„ ๋ˆ„๊ตฌ๋“ ์ง€ ๋…ธ๋ ฅํ•˜๋ฉด ๊ฐœ๋ฐœ์ž๊ฐ€ ๋ ์ˆ˜ ์žˆ์–ด์š” !

aws nat

๊ณต๋ถ€ํ•œ ๋‚ด์šฉ์„ ์ •๋ฆฌํ•ฉ๋‹ˆ๋‹ค
VPC

[AWS] ๐Ÿ“š VPC ๊ฐœ๋… & ์‚ฌ์šฉ - ์‚ฌ์„ค IP ํ†ต์‹ ๋ง [NAT Gateway / Bastion Host]

VPC ์‚ฌ์„ค๋ง ์™ธ๋ถ€ ํ†ต์‹  ์•ž์„œ ์šฐ๋ฆฌ๋Š” public ์„œ๋ธŒ๋„ท๊ณผ private ์„œ๋ธŒ๋„ท์„ ๋‚˜๋ˆ  ๊ตฌ์ถ•ํ•˜์˜€๋‹ค. public ์„œ๋ธŒ๋„ท์€ ์ธํ„ฐ๋„ท๊ณผ ์—ฐ๊ฒฐํ•˜์—ฌ ์™ธ๋ถ€์—์„œ ์ ‘๊ทผ์ด ๊ฐ€๋Šฅํ•œ ์˜์—ญ์„ ๋งํ•œ๋‹ค. ๋”ฐ๋ผ์„œ public ์„œ๋ธŒ๋„ท๊ณผ ์ธํ„ฐ๋„ท ๊ฒŒ์ดํŠธ์›จ์ด๋ฅผ ์—ฐ๊ฒฐ์‹œํ‚ด์œผ๋กœ์„œ ์™ธ๋ถ€ ์ธํ„ฐ๋„ท๊ณผ ํ†ต์‹ ์ด ๋˜๊ฒŒ ํ•˜์˜€๋‹ค. private ์„œ๋ธŒ๋„ท์€ ์™ธ๋ถ€ ์ธํ„ฐ๋„ท์„ ์ฐจ๋‹จํ•˜๊ณ  ๋‚ด๋ถ€์—์„œ๋งŒ ์‚ฌ์šฉํ•˜๊ธฐ ์œ„ํ•ด ๋งŒ๋“  Subnet์ด๋‹ค. ์˜ˆ๋ฅผ ๋“ค์–ด Database Service์ธ RDS๋ฅผ ๋„ฃ์–ด๋‘๊ณ , RDS๋Š” ์ค‘์š”ํ•œ ์ •๋ณด์ด๋‹ˆ ์™ธ๋ถ€์—์„œ์˜ ์ ‘์†์„ ์ฐจ๋‹จํ•˜๋Š” ํ˜•ํƒœ๋กœ ์ด์šฉํ•œ๋‹ค. "๊ทธ๋Ÿฐ๋ฐ ๋งŒ์ผ RDS๊ฐ€ ์™ธ๋ถ€ ์ธํ„ฐ๋„ท์„ ํ†ตํ•ด ์—…๋ฐ์ดํŠธ๋ฅผ ํ•ด์•ผ ํ•  ์ผ์ด ์ƒ๊ธด๋‹ค๋ฉด ์–ด๋–ป๊ฒŒ ํ•ด์•ผํ• ๊นŒ?" ๊ณต์ธ IP๋ฅผ ์ƒ์„ฑํ•ด์„œ private ์„œ๋ธŒ๋„ท๋„ Internet Gateway๋ฅผ ํ†ตํ•ด ์—ฐ๊ฒฐํ•ด์ค˜์•ผํ• ๊นŒ? ๊ทธ๋Ÿฌ๋ฉด ๊ทธ๊ฑด ..

category_image
์ธํŒŒ_
2022.04.22
4