public static async Task OpenOutboundPort(AmazonEC2Client ec2Client, int port, string securityGroupName)
        {
            var describeRequest = new DescribeSecurityGroupsRequest {
                GroupNames = new List <string> {
                    securityGroupName
                }
            };
            var describeResponse = await ec2Client.DescribeSecurityGroupsAsync(describeRequest);

            var securityGroupId = describeResponse.SecurityGroups[0].GroupId;
            var ipPermissions   = new List <IpPermission> {
                new IpPermission {
                    ToPort = port
                }
            };
            var request = new AuthorizeSecurityGroupEgressRequest {
                GroupId = securityGroupId, IpPermissions = ipPermissions
            };
            var response = await ec2Client.AuthorizeSecurityGroupEgressAsync(request);
        }