Skip to Main Content
Amazon EC2 Cookbook
book

Amazon EC2 Cookbook

by Sekhar Reddy, Aurobindo Sarkar
November 2015
Intermediate to advanced content levelIntermediate to advanced
194 pages
4h 16m
English
Packt Publishing
Content preview from Amazon EC2 Cookbook

Configuring security groups

Security groups are like firewalls for your EC2 instances. If you don't specify the security group while creating instance in EC2-VPC, then AWS automatically assigns the default security group of the EC2-VPC to the instance. We can configure the inbound and outbound rules for security groups. We can also change these inbound and outbound rules while the instance is running. These changes are automatically applied.

For every VPC, we get a default security group, which we can't delete. You can't use a security group that you created for EC2-VPC when you launch an instance in EC2-Classic. You also can't use security group that you created for EC2-Classic, when you launch an instance in EC2-VPC. After you launch an instance ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Programming Amazon EC2

Programming Amazon EC2

Jurg van Vliet, Flavia Paganelli
AWS SysOps Cookbook - Second Edition

AWS SysOps Cookbook - Second Edition

Eric Z. Beard, Rowan Udell, Lucas Chan

Publisher Resources

ISBN: 9781785280047Supplemental Content