GithubHelp home page GithubHelp logo

Comments (4)

karanpratapsingh avatar karanpratapsingh commented on June 15, 2024 1

Traffic from the ECS tasks is proxied to Cloudflare DNS using Cloudflare Argo tunnels. So, ECS service can run in private subnet without exposing to internet unsafely

from preview-environments.

karanpratapsingh avatar karanpratapsingh commented on June 15, 2024

Hi @chris-hinds, yes this supports N different subdomains.

For example,

feat/branch-x ----> feat-branch-x.domain.com
feat/branch-y ----> feat-branch-y.domain.com

from preview-environments.

chris-hinds avatar chris-hinds commented on June 15, 2024

Thanks, @karanpratapsingh are you pointing the Cloudflare domains to a load balancer in front of ECS? Or directly to the VPC? If so how do the subdomains know which ECS task to point to?

Apologies if I missed where this logic is.

from preview-environments.

chris-hinds avatar chris-hinds commented on June 15, 2024

@karanpratapsingh How could this be hooked into an ECS Service? I mostly have this working but I am using a load balancer that requires an ECS service.

I have the scripts launching a task however as it is not part of the service it doesn't get associated with the load balancer.

My thinking is that I need to create a new service + target group for every PR and then a new rule in the load balancer each time a service is added or removed

from preview-environments.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.