vendredi 6 mars 2015

Vagrant with Chef/Berkshelf AWS security groups settings

I'm attempting to use Vagrant and Chef for the first time to spinup an AWS EC2 instance with mongoDB - specifically following this example http://ift.tt/1NrQLBf. Im on a mac and believe I have all PATH variables correctly set for the Chef-DK. Although, Im not entirely confident on my Berkshelf installation and if there could be some ruby conflicts after installing Chef...


Im running into a security group error when I attempt to "up" my instance to AWS. The following error is what's being thrown on spinup time


The security group 'sg-2d3fbc49' does not exist in default VPC 'vpc-22771647' (Fog::Compute::AWS::NotFound)


According to AWS documentation, when booting an instance with a default VPC you must provide the security groups ID and not the name, which is what I've attempted with no luck.


I'm beginning to wonder if I havent installed Chef (solo) or Berkshelf correctly? Perhaps I'm not going through the correct deployment steps (i.e. - berks vendor or any other steps a newby would overlook when getting their feet wet with Chef and Berkshelf.





Aucun commentaire:

Enregistrer un commentaire