Skip to content

Allocate maximum number of available ENI per EC2 Instance

Notifications You must be signed in to change notification settings

schaitanya/aws-cni

Repository files navigation

aws-cni

Allocate maximum number of available interfaces to the EC2 instance. Inspired by amazon-vpc-cni-k8s

When an EC2 instance is launched it has a maximum of 2 ENI attached. With the aws-cni service, you can allocate the maximum number of ENI allowed by the instance. Refer to the VPCLimits. This can be configured to attach Elastic Ips to each interface.

For example, a a1.4xlarge instance can have 8 maximum network interfaces and each interface can have upto 30 ip addresses, for a total of 240 ips.

const AWSService = require('@schaitanya/aws-cni');

await AWSService.checkIfInstanceHasValidInterfaces();

About

Allocate maximum number of available ENI per EC2 Instance

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published