No, you cannot change the security group of an Elastic Container Instance (ECI). To use an ECI in another security group, create one in the security group.