I am looking into using Packer to generate some of our VMs, and I have been working thorough the example here. When I try to run the packer build
command I get the following error:
==> amazon-ebs: Error launching source instance: The specified instance type can only be used in a VPC. A subnet ID or network interface ID is required to carry out the request. (VPCResourceNotSpecified)
I resolved this issue (see edit), but I while digging I found this page stating that I can also use an amazon instance, but it recommends using the amazon-ebs build instead.
My question is, are there any drawbacks from using amazon-instance over amazon-ebs, or vice versa? It seems as if ebs will be much easier to spin up and maintain. Is that the case? Do I lose anything by using one or the other?
Edit The issue I was running into was not related to permissions, but having an instance_type
of "t2.micro"
instead of "m3.medium"
. I would still like to know the drawbacks of ebs vs instance though.