When we build the AIM image using packer, the configuration file has entries for vpcId and subnetId. However, when an EC2 instance is created through SWB, the instance uses another vpcId and subnetId, which is the same as the vpc of the load balancer. Is it normal to have different VPC for the AMI? Should I rebuild the AMI using vpc for the load balancer? Note that I am currently having network problems which may or may not be caused by this issue.
When we build the AIM image using packer, the configuration file has entries for
vpcId
andsubnetId
. However, when an EC2 instance is created through SWB, the instance uses anothervpcId
andsubnetId
, which is the same as thevpc
of the load balancer. Is it normal to have different VPC for the AMI? Should I rebuild the AMI usingvpc
for the load balancer? Note that I am currently having network problems which may or may not be caused by this issue.