Can you specify the security group that you created for a VPC when you launch an instance in EC2-Classic?

Can you specify the security group that you created for a VPC when you launch an instance in EC2-Classic?
A .  No, you can specify the security group created for EC2-Classic when you launch a VPC instance.
B .  No
C .  Yes
D .  No, you can specify the security group created for EC2-Classic to a non-VPC based instance only.

Answer: B

Explanation:

If you’re using EC2-Classic, you must use security groups created specifically for EC2-Classic. When you launch an instance in EC2-Classic, you must specify a security group in the same region as the instance. You can’t specify a security group that you created for a VPC when you launch an instance in EC2-Classic.

Reference: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html#ec2-classic-security-groups

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments