GitXplorerGitXplorer
o

eni-project

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
59cb21fc487e15ffdfb392aca689a55f430f3565

Added Readme.

oorsenthil committed 2 months ago
Unverified
7b47432f06f2f9e8c255fb1beeebd6880f87ce84

Example of Create ENI and Managing ENIs.

oorsenthil committed 2 months ago
Unverified
94bb6555e560487fed457a546cc708aadf73408d

updated with example.

oorsenthil committed 2 months ago
Unverified
e2563cfa39faf4bcda2a438bb84c6437395c8bff

Added Example of Mock Gen Project.

oorsenthil committed 2 months ago

README

The README file for this repository.

ENI Management Program

Define the parameters

	subnetID := "subnet-0a7bd03887dc3cbd5"
	instanceID := "i-04890aa7cd8cf81f3"
	securityGroupID := "sg-0f9acdf364ab834f2"

Steps to create a security group for ENI testing

aws ec2 describe-vpcs     --query 'Vpcs[*].[VpcId,Tags[?Key==`Name`].Value|[0],CidrBlock]'     --output table
export VPC_ID=
aws ec2 create-security-group     --group-name "eni-test-sg"     --description "Security group for ENI testing"     --vpc-id "$VPC_ID"     --output text     --query 'GroupId'
export SG_ID=
curl -s https://checkip.amazonaws.com
aws ec2 authorize-security-group-ingress     --group-id "$SG_ID"     --protocol tcp     --port 22     --cidr "54.203.107.106/32"
export VPC_CIDR=
aws ec2 authorize-security-group-ingress     --group-id "$SG_ID"     --protocol all     --port -1     --cidr "$VPC_CIDR"
aws ec2 describe-security-groups     --group-ids "$SG_ID"     --query 'SecurityGroups[0].[GroupId,GroupName,Description]'     --output table