Elastic Beanstalk – “You cannot remove an environment from a VPC. Launch a new environment outside the VPC.”

This error may occur on macbook – just make sure you are actually packing up the application right.

You should be in the application folder and run

~/myapp$ zip ../myapp.zip -r * .[^.]*

That solves 99% of issues. Otherwise the zip contains hidden files etc.

Write a Comment