C# 클래스 Amazon.EC2.Util.VPCUtilities

This class has utility methods used for setting up a VPC.
파일 보기 프로젝트 열기: aws/aws-sdk-net

공개 메소드들

메소드 설명
FindNATImage ( IAmazonEC2 ec2Client ) : Image

Find the current VPC NAT image in the region for the AmazonEC2 client.

LaunchNATInstance ( IAmazonEC2 ec2Client, LaunchNATInstanceRequest request ) : Instance

This method will look up the current VPC NAT ami in the region and create an instance in the subnet specified.

LaunchVPCWithPublicAndPrivateSubnets ( IAmazonEC2 ec2Client, Amazon.EC2.Util.LaunchVPCWithPublicAndPrivateSubnetsRequest request ) : Amazon.EC2.Util.LaunchVPCWithPublicAndPrivateSubnetsResponse

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 ec2Client, Amazon.EC2.Util.LaunchVPCWithPublicSubnetRequest request ) : Amazon.EC2.Util.LaunchVPCWithPublicSubnetResponse

This method will create a VPC with a subnet that will have an internet gateway attached making instances available to the internet.

비공개 메소드들

메소드 설명
GetDefaultRouteTable ( IAmazonEC2 ec2Client, string vpcId ) : RouteTable
GetDefaultSecurityGroup ( IAmazonEC2 ec2Client, string vpcId ) : SecurityGroup
LaunchVPCWithPublicSubnet ( IAmazonEC2 ec2Client, Amazon.EC2.Util.LaunchVPCWithPublicSubnetRequest request, Amazon.EC2.Util.LaunchVPCWithPublicSubnetResponse response ) : void

This method will create a VPC with a subnet that will have an internet gateway attached making instances available to the internet.

WaitForInstanceToStartUp ( IAmazonEC2 ec2Client, string instanceId ) : Instance
WaitTillTrue ( Func func ) : void
WriteProgress ( System.Progress callback, string message ) : void

메소드 상세

FindNATImage() 공개 정적인 메소드

Find the current VPC NAT image in the region for the AmazonEC2 client.
public static FindNATImage ( IAmazonEC2 ec2Client ) : Image
ec2Client IAmazonEC2 The ec2client used to look up the image.
리턴 Image

LaunchNATInstance() 공개 정적인 메소드

This method will look up the current VPC NAT ami in the region and create an instance in the subnet specified.
public static LaunchNATInstance ( IAmazonEC2 ec2Client, LaunchNATInstanceRequest request ) : Instance
ec2Client IAmazonEC2 The ec2client used to create the NAT instance
request LaunchNATInstanceRequest The properties used to launch the NAT instance.
리턴 Amazon.EC2.Model.Instance

LaunchVPCWithPublicAndPrivateSubnets() 공개 정적인 메소드

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.
public static LaunchVPCWithPublicAndPrivateSubnets ( IAmazonEC2 ec2Client, Amazon.EC2.Util.LaunchVPCWithPublicAndPrivateSubnetsRequest request ) : Amazon.EC2.Util.LaunchVPCWithPublicAndPrivateSubnetsResponse
ec2Client IAmazonEC2 The ec2client used to create the VPC
request Amazon.EC2.Util.LaunchVPCWithPublicAndPrivateSubnetsRequest The properties used to create the VPC.
리턴 Amazon.EC2.Util.LaunchVPCWithPublicAndPrivateSubnetsResponse

LaunchVPCWithPublicSubnet() 공개 정적인 메소드

This method will create a VPC with a subnet that will have an internet gateway attached making instances available to the internet.
public static LaunchVPCWithPublicSubnet ( IAmazonEC2 ec2Client, Amazon.EC2.Util.LaunchVPCWithPublicSubnetRequest request ) : Amazon.EC2.Util.LaunchVPCWithPublicSubnetResponse
ec2Client IAmazonEC2 The ec2client used to create the VPC
request Amazon.EC2.Util.LaunchVPCWithPublicSubnetRequest The properties used to create the VPC.
리턴 Amazon.EC2.Util.LaunchVPCWithPublicSubnetResponse