I have created a new EC2 instance. It got assigned the default
security group. I want to change that security group. How?
How to change an EC2 instance’s security group
amazon ec2
Related Topic
- Firewall – Are EC2 security group changes effective immediately for running instances
- How to change the name and description of an AWS EC2 security group
- AWS CloudFormation: VPC default security group
- How to Determine AWS Security Group Dependencies
- How to change security group of aws ec2 load balancer
- EC2 Security Group – Is It Safe to Allow Inbound 0.0.0.0/0?
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.