Giter Site home page Giter Site logo

Comments (9)

fabfuel avatar fabfuel commented on May 10, 2024 2

Hi everyone,

this issues was address in release 1.8.0 - please have a look if your task placements work correctly in your Fargate cluster now: https://github.com/fabfuel/ecs-deploy#run-a-task-in-a-fargate-cluster

Best
Fabian

from ecs-deploy.

fabfuel avatar fabfuel commented on May 10, 2024 1

Hi @ORESoftware,

first of all, you are not running ecs-deploy, but the aws cli tool – different thing 😉

You can run your task using my tool, but:
The configuration you mention is set in a ECS service, which is not used when you run a task on its own. When you use VPC networking, the cluster, security groups and subnets have to be defined explicitly when running the task definition. Please try this:

$ ecs run tutorial ikg-api:1 --securitygroup sg-0a6e7d4a5238fe3c6 --subnet subnet-05a6557c --public-ip

Best
Fabian

from ecs-deploy.

jperelli avatar jperelli commented on May 10, 2024

Hi, are there any ideas or updates in this one?

from ecs-deploy.

justinsoong avatar justinsoong commented on May 10, 2024

+1

from ecs-deploy.

JeppeMariagerLam avatar JeppeMariagerLam commented on May 10, 2024

+1

from ecs-deploy.

guidiego avatar guidiego commented on May 10, 2024

Some updates?

from ecs-deploy.

sopeters avatar sopeters commented on May 10, 2024

+1

from ecs-deploy.

sopeters avatar sopeters commented on May 10, 2024

I've submitted a PR for this - please review and let me know if that's the right approach.

from ecs-deploy.

ORESoftware avatar ORESoftware commented on May 10, 2024

I have this configuration:

  "networkConfiguration": {
    "awsvpcConfiguration": {
      "assignPublicIp": "ENABLED",
      "securityGroups": [
        "sg-0a6e7d4a5238fe3c6"
      ],
      "subnets": [
        "subnet-05a6557c"
      ]
    }
  },

I still get this error:

$ aws ecs run-task --cluster tutorial --task-definition ikg-api:1  --count 1

An error occurred (InvalidParameterException) when calling the RunTask operation: Network Configuration must be provided when networkMode 'awsvpc' is specified.

any help appreciated

from ecs-deploy.

Related Issues (20)

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.