Method | Description | |
---|---|---|
FindNATImage ( IAmazonEC2 ec2Client ) : Image |
Find the current VPC NAT image in the region for the AmazonEC2 client.
|
|
LaunchNATInstance ( IAmazonEC2 ec2Client, LaunchNATInstanceRequest request ) : |
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.
|
Method | Description | |
---|---|---|
GetDefaultRouteTable ( IAmazonEC2 ec2Client, string vpcId ) : |
||
GetDefaultSecurityGroup ( IAmazonEC2 ec2Client, string vpcId ) : |
||
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 ) : |
||
WaitTillTrue ( Func |
||
WriteProgress ( System.Progress callback, string message ) : void |
public static FindNATImage ( IAmazonEC2 ec2Client ) : Image | ||
ec2Client | IAmazonEC2 | The ec2client used to look up the image. |
return | Image |
public static LaunchNATInstance ( IAmazonEC2 ec2Client, LaunchNATInstanceRequest request ) : |
||
ec2Client | IAmazonEC2 | The ec2client used to create the NAT instance |
request | LaunchNATInstanceRequest | The properties used to launch the NAT instance. |
return |
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. |
return | Amazon.EC2.Util.LaunchVPCWithPublicAndPrivateSubnetsResponse |
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. |
return | Amazon.EC2.Util.LaunchVPCWithPublicSubnetResponse |