New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add new Fargate regions #54

Closed
wants to merge 2 commits into
base: master
from

Conversation

Projects
None yet
3 participants

tisba added some commits Apr 29, 2018

@tisba

This comment has been minimized.

Copy link

tisba commented Apr 29, 2018

I'm not sure if this is a problem with the freshly launched region, but there seems to be a problem with the default security group that fargate provides:

bin/fargate task run iperf-test --region=eu-west-1 --cpu 256 --memory 512
…
[!] Could not run ECS task
InvalidParameterException: security group cannot be blank.
	status code: 400, request id: c3ecc5a7-4be8-11e8-8aa8-e91705edd77d
@tisba

This comment has been minimized.

Copy link

tisba commented Apr 30, 2018

I think the problem is related to our AWS account. Would be nice, if someone can sanity check this. Beside this, the changes work and I am able to use fargate in eu-west-1, e.g.

@ramirantala

This comment has been minimized.

Copy link

ramirantala commented May 11, 2018

I tried this PR and actually got same error @tisba The region itself works, but command fails to this error

@ramirantala

This comment has been minimized.

Copy link

ramirantala commented May 11, 2018

I need to specify the subnet and security group and then it seems to work. So detecting the default ones might not work. We have two vpcs on our account - have not really checked what is the problem.

@tisba

This comment has been minimized.

Copy link

tisba commented May 11, 2018

It works fine though if you provide a explicit security group. Not sure what I am missing here...

@ramirantala

This comment has been minimized.

Copy link

ramirantala commented May 11, 2018

Yes, this works for me..

./fargate task run nginx --image nginx --region=eu-west-1 --cpu 256 --memory 512 --cluster your-cluster --security-group-id sg-xxx --subnet-id subnet-xxx

@tisba

This comment has been minimized.

Copy link

tisba commented Jun 2, 2018

The problems seems to be that the fargate-default security group is not created. I haven't figured out though, why this is the case :-/

@jpignata

This comment has been minimized.

Copy link
Owner

jpignata commented Sep 4, 2018

Thanks for opening this! We'll get the latest pull merged ASAP.

@jpignata jpignata closed this Sep 4, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment