How to change an EC2 instance’s security group

amazon ec2

I have created a new EC2 instance. It got assigned the default security group. I want to change that security group. How?

Best Answer

Unless the instance is in a VPC, security groups can only be chosen before you start your instance for the first time.

Only VPC instances can change security group. For information on VPC see here.