Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages