๋ณธ๋ฌธ์œผ๋กœ ๋ฐ”๋กœ๊ฐ€๊ธฐ
๋ฐ˜์‘ํ˜•

๐Ÿ˜Š Demo ์˜์ƒ URL

https://www.youtube.com/watch?v=kT6qO_kmf1A

 

๐Ÿ˜Š ๊ตฌ์„ฑ๋„

 

๐Ÿ˜Š ์‚ฌ์ „์ค€๋น„

[๋„คํŠธ์›Œํฌ ๊ตฌ์„ฑ]

  • VPC
  • Subnet : Public Subnet, Private Subnet
  • Route table : Public Route table, Private Route Table
  • Natgateway
  • Internet Gateway

[์—ญํ•  ๋ฐ ๋ณด์•ˆ]

  • IAM Role : ECS์ƒ์„ฑ์‹œ ์ž๋™ ์ƒ์„ฑ ๊ฐ€๋Šฅ
  • Security Group : ESC์ƒ์„ฑ์‹œ ์ž๋™ ์ƒ์„ฑ ๊ฐ€๋Šฅ

[ECR]

  1. ECR์ƒ์„ฑ
  2. Docker image ์ƒ์„ฑ
  3. Docker build /tagging/push

[ELB]

  • target group์ƒ์„ฑ
  • ALB์ƒ์„ฑ
  • Listner๋ฐ targer ๋งค์นญ

[Route53]

  • record์ƒ์„ฑ
  • alb์—ฐ๊ฒฐ

 

๐Ÿ˜Š ECS์ƒ์„ฑ

  • ECS ํด๋Ÿฌ์Šคํ„ฐ ์ƒ์„ฑ
  • Task definition์ƒ์„ฑ
  • Service ์ƒ์„ฑ
๋ฐ˜์‘ํ˜•