Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

How do you change the name and description of a security group in AWS EC2?

My security group is named quick-start-1 (the default) and I want to change it to "HTTP, HTTPS and Limited SSH".

share|improve this question

2 Answers 2

up vote 6 down vote accepted

It's not possible to rename a security group, by GUI or by API.

It's also not possible to change the security group that is assigned to an EC2 instance.

If you must change the security group for an EC2 instance, then you need to:

  1. Create an AMI from your instance, then
  2. Launch a new copy of your instance from the AMI created in step #1, selecting the new security group at launch time.
share|improve this answer
4  
Not entirely correct. If you use a VPC (and why wouldn't you) you can change assigned SGs dynamically. –  EEAA Jan 7 '13 at 4:00
    
wonderful ridiculousness... –  Jacob Thomason Mar 16 at 10:04
    
You can choose to copy the security group. Then you are given the possibility to give the new security group a new name and a new description. –  fredrik Jul 2 at 7:14

You're not the first to want this, and you're not the first to be disappointed.

Also, you cant change security group memberships for an instance once launched. :-(

I'm 99% sure this cant be done via the web GUI. Maybe via API shenanigans, but if so i've never seen it. I've wanted it myself often enough.

share|improve this answer
3  
As mentioned above, if in a VPC, you can change security group assignments as needed at any time. It's only non-VPC instances that have this restriction. –  EEAA Jan 7 '13 at 4:02
    
Yes, sorry I should have made that point. –  Sirex Jan 7 '13 at 18:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.