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
vpcIdandsubnetId. However, when an EC2 instance is created through SWB, the instance uses anothervpcIdandsubnetId, which is the same as thevpcof the load balancer. Is it normal to have different VPC for the AMI? Should I rebuild the AMI usingvpcfor the load balancer? Note that I am currently having network problems which may or may not be caused by this issue.