Setting AWS ENI to Bamboo elastic instances

Guy Cukierman January 21, 2015

Hi,

For licensing purposes I need the eth0 MAC ADDRESS to remain static on Linux Bamboo elastic instances. The way to do it (as I understand it) in AWS CLI is to use Elastic-Network-Interface, something of this kind:

aws ec2 run-instances ... --network-interfaces '[{"DeviceIndex":0,"NetworkInterfaceId":"eni-12345678"}]'

When configuring the AWS instances in Bamboo there is only option to set the VPC subnet, but I don't see an option to set the ENI, and each instance creates a new ENI with a new MAC ADDRESS.

Is there a way to solve it?

Thanks,

Guy.

2 answers

0 votes
Guy Cukierman January 21, 2015

Thanks for the quick response!

But sorry, it does not work.

0 votes
Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 21, 2015

Hmm, an interesting case. Does:

ifconfig eth0 hw ether 01:02:03:04:05:06

work? You can put it into instance setup script (Administration/image configuration/Edit).

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events