Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change elasticbeanstalk environment vpc

I can't seem to find any documentation on this. How do I go about changing the VPC for an elasticbeanstalk environment? I have tried changing the security group from the current group to a group in the new VPC, but amazon returns the following error:

SecurityGroups: Invalid option value: 'sg-a91f43d2' (Namespace: 'aws:autoscaling:launchconfiguration', OptionName: 'SecurityGroups'): The security group 'sg-a91f43d2' does not exist

The rule does exist, so I assume it is complaining because the rule is in a different VPC (which is the whole point).

like image 508
melchoir55 Avatar asked May 26 '17 21:05

melchoir55


Video Answer


1 Answers

According to their documentation, you can only change the VPC setting while creating the environment.

VPC: Choose a VPC for your environment. You can only change this setting during environment creation.

like image 197
arikan Avatar answered Sep 27 '22 20:09

arikan