Comments (9)
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.
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.
Hi, are there any ideas or updates in this one?
from ecs-deploy.
+1
from ecs-deploy.
+1
from ecs-deploy.
Some updates?
from ecs-deploy.
+1
from ecs-deploy.
I've submitted a PR for this - please review and let me know if that's the right approach.
from ecs-deploy.
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)
- Issue using the --health-check flag HOT 5
- syntax error v 1.12.0 HOT 8
- ECS Deployment Circuit Breaker Support HOT 11
- ecs deploy timeout HOT 2
- Document minimum IAM permissions for using in an automated workflow HOT 3
- Incorrect line wrap in Chrome and Firefox in deploy_task_definition HOT 4
- How do I enable `enable-execute-command`? HOT 3
- Print the reason why a task has failed to start
- Dockerhub version HOT 4
- Drop support for python 2.7 ? HOT 2
- request: add option to retain X number of task definitions when performing deregister.
- 1.12.0 missing in dockerhub HOT 2
- Introduction of task_cpu and task_memory is breaking deploy in 1.13 HOT 6
- add support for setting tags on newly created task definitions HOT 2
- ECS Dedeploy Timeout HOT 3
- Add support for "appProtocol" HOT 1
- Arm support HOT 7
- Cannot use ecs-deploy without installing setuptools HOT 1
- Add support for ephemeral-storage in ecs deploy
- boto3 dependencies are not updated, missing features
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ecs-deploy.