aws / containers-roadmap

This is the public roadmap for AWS container services (ECS, ECR, Fargate, and EKS).
https://aws.amazon.com/about-aws/whats-new/containers/
Other
5.22k stars 321 forks source link

Mac Address Configuration Option #357

Open blaines opened 7 years ago

blaines commented 7 years ago

This relates to #502 I have a use case for the --mac-address option. I know it's not supported by ECS or it's agent right now. Are there any workarounds I might be able to utilize so I can still use ECS but also satisfy my application requirement?

Unlike some other docker options, I can't add this to /etc/sysconfig/docker.

samuelkarp commented 7 years ago

Hi @blaines, thanks for opening this! I've gone ahead and marked this as a feature request, but I'd love it have more details on the use-case and requirements you'd see around this feature.

Thanks! Sam

blaines commented 7 years ago

In place of requiring full AWS ECS support for new options it would be nice if there was a path for "advanced usage" whereby we could perhaps create a list of keys/values (as JSON or other format) and those would be passed along through docker API (I'm indifferent to using MacAddress or --mac-address). For example if I could add a JSON object to the task definition which contained my advanced options and then that object was merged with the options to be submitted to Docker's /containers/create endpoint.

zacharyfox commented 7 years ago

I could really use this feature as well. We're using some older licensed software that is keyed to mac address and while we can run it on an instance using an ENI with the defined mac, it would be nice to move this to our ECS cluster.

I think the advanced usage that @blaines suggests would be great.

0x7061 commented 6 years ago

Same here, we have app dependencies that we can only bundle in combination with a certain mac address. Works locally without issues, but we can't ship it to AWS 🙁

marty-sullivan commented 6 years ago

Yes, we at Cornell University would like to run FlexLM License Servers in ECS. This is impossible without being able to assign a specific MAC address to the container's bridge interface at runtime.

The requirements that @blaines outlined would be perfect for this use case. Being able to assign a MAC address in a Task Definition would be perfect. Overriding at runtime would be nice but is not required.

0x7061 commented 5 years ago

Any updates :/ ?

0x7061 commented 5 years ago

Not sure why this is such a big deal, it's already supported in the compose file.

chezbut commented 5 years ago

Not sure why this is such a big deal, it's already supported in the compose file.

Specifically where is this supported, within ECS?

JanMeier1337 commented 2 years ago

Hello, is there any chance that this gets implemented? What is holding you back since as already mentioned it is possible with docker-compose for example.

We also have an Licenserver software which needs a fixed mac which we would love to run in ECS.

kbroughton commented 6 months ago

Any update?

ErikMartin1740 commented 1 day ago

Hi @samuelkarp can you please give an assessment if setting the mac address in ECS is a feature you consider? Is it hard to implement?