codedang icon indicating copy to clipboard operation
codedang copied to clipboard

feat(infra): created gateway vpc endpoint for communication between ECS and S3

Open junhyunlee123 opened this issue 4 months ago • 1 comments

Description

NAT 인스턴스의 ECS와 S3 간의 커뮤니케이션을 대체하기 위해 gateway vpc endpoint를 추가하였습니다. 이 기능이 작동하는지 테스트하려면, NAT instance public ip를 허용하는 S3 bucket policy를 지운후, ECS와 S3 간의 통신이 여전히 유지되는 경우, 이 게이트웨이 vpc 엔드포인트가 제대로 작동하는 것으로 간주하여 테스트 할수 있을것 같습니다.

Additional context

PR #2123에서 /storage directory로 (원래는 /network directory) gateway vpc endpoint 코드 파일을 옯겼습니다. 하지만 /storage 디텍토리에서는 vpc id와 route table을 다른 형식으로 reference해야되서 그걸 PR #2123에서 고쳤습니다.

Before submitting the PR, please make sure you do the following

  • [ ] Read the Contributing Guidelines
  • [ ] Read the Contributing Guidelines and follow the Commit Convention
  • [ ] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
  • [ ] Ideally, include relevant tests that fail without this PR but pass with it.

junhyunlee123 avatar Oct 03 '24 08:10 junhyunlee123