Giter VIP home page Giter VIP logo

Comments (4)

dom38 avatar dom38 commented on June 12, 2024

Yeah we've seen that, the nodes don't register with the hub. Plan next is to make a hub app and spit out its IP, then make the node app and use that IP in the definition.

There's gotta be a better way though!

from terraform.

mdanidl avatar mdanidl commented on June 12, 2024

well, there are a few ways to do this, but the easiest one is probs this:
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html#service-discovery-console

from terraform.

mdanidl avatar mdanidl commented on June 12, 2024

ahh, also there are some changes needed in the task definition. you'll need to link the containers together to allow comms.

  "containerDefinitions": [
    {
      "name": "wordpress",
      "links": [
        "mysql"                                      <==== this bit
      ],
      "image": "wordpress",
      ..........
    },
    {
      "name": "mysql",
      "image": "mysql",
      "essential": true
      ..........
    }
  ],
  "family": "hello_world"
}

from terraform.

dom38 avatar dom38 commented on June 12, 2024

Can't link in app definitions on fargate, I will read through container definitions when I have time (currently in the moving van with Drillah)

from terraform.

Related Issues (1)

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.