ec2: fix security groups