Modifying the default security group
How to modify the default security group and allow SSH access.
Security groups provide the policies that control traffic flow and access for EC2 instances and instances within a VPC. EC2 security groups and VPC security groups are independent of each another. EC2 security groups cannot be used for instances within a VPC, and VPC security groups cannot be used for EC2 instances (that is, instances not associated with a VPC). Vyatta NOS AMI instances are launched into VPCs, so they use VPC security groups.
The default VPC security group allows instances within the VPC to communicate with one another and to access the Internet, but it does not allow remote access to the AMI instance or instances that you create within the VPC. To provide remote SSH access to the VPC, either create a new security group or modify the default security group. The following example shows how to modify the default security group to allow SSH access from anywhere.
To modify the default security group to allow SSH access: