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
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 Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5