Working with security groups in Amazon EC2 - AWS SDK for .NET

Do you want to deploy your .NET applications to AWS in just a few simple clicks? Try our new .NET CLI tooling for a simplified deployment experience! Read our blog post and submit your feedback on GitHub!

For additional information, see the section for the deployment tool in this guide.

Working with security groups in Amazon EC2

In Amazon EC2, a security group acts as a virtual firewall that controls the network traffic for one or more EC2 instances. By default, EC2 associates your instances with a security group that allows no inbound traffic. You can create a security group that allows your EC2 instances to accept certain traffic. For example, if you need to connect to an EC2 Windows instance, you must configure the security group to allow RDP traffic.

Read more about security groups in the EC2 user guide for Linux and the EC2 user guide for Windows.

When using the AWS SDK for .NET, you can create a security group for use in EC2 in a VPC or EC2-Classic. For more information about EC2 in a VPC versus EC2-Classic, see the EC2 user guide for Linux or the EC2 user guide for Windows.

For information about the APIs and prerequisites, see the parent section (Working with Amazon EC2).