Changing the security group

Last Updated : Sep 24, 2024 |

About this task

You can change the security group assigned to an instance. This allows you to maintain a set of security groups for different purposes and to flexible switch which security group an instance is currently using. See Changing the security group.

Procedure

  1. Sign in to your AWS account. Click Services and select EC2.
  2. In the navigation tree on the left select Instances > Instances.
  3. Select the instance for which you want to change the security group.
  4. Click Actions and select Networking > Change Security Groups.
  5. Select the security group that you want the virtual machine to use and click Assign Security Groups.