skip to Main Content

I have a database in us-east-1 region which does not allow public access. I have ecs tasks in us-west-1 region in a private subnet. How can I allow the security group of the ecs in us-west-1 access the database in us-east-1 region since the database is not publicly accessible.

I tried using vpc peering connection but this did not work because the cidr ranges of the vpcs in us-east-1 and us-west-1 overlap. What is the best way to allow this traffic?

2

Answers


  1. You can use AWS PrivateLink and NLB to get access to your database from another AWS Region. You will pay for traffic on your AWS PrivateLink.

    Login or Signup to reply.
  2. i saw an article talking about this
    https://achdevops.com/the-evolution-of-cloud-security-trends-and-predictions-for-2024/
    check this one or look for other articles in the same website

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search