AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
This class has utility methods used for setting up a VPC.
Namespace: Amazon.EC2.Util
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
[Obsolete("This utility class is no longer maintained and will be removed in the next major version.")]
public static class VPCUtilities
The VPCUtilities type exposes the following members
Name | Description | |
---|---|---|
![]() ![]() |
FindNATImage(IAmazonEC2) |
Find the current VPC NAT image in the region for the AmazonEC2 client. |
![]() ![]() |
LaunchNATInstance(IAmazonEC2, LaunchNATInstanceRequest) |
This method will look up the current VPC NAT ami in the region and create an instance in the subnet specified. |
![]() ![]() |
LaunchVPCWithPublicAndPrivateSubnets(IAmazonEC2, LaunchVPCWithPublicAndPrivateSubnetsRequest) |
This method will create a VPC, a public subnet, private subnet and a NAT EC2 instance to allow EC2 instances in the private subnet to establish outbound connections to the internet. |
![]() ![]() |
LaunchVPCWithPublicSubnet(IAmazonEC2, LaunchVPCWithPublicSubnetRequest) |
This method will create a VPC with a subnet that will have an internet gateway attached making instances available to the internet. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5