AWS transfer medium security documentation change
Summary
Added sections on limiting VPC endpoint access and additional networking features, including IAM policy examples and security best practices
Security assessment
The IAM policy example explicitly restricts VPC endpoint operations to Transfer Family servers, addressing potential privilege escalation risks by enforcing least-privilege access. This directly mitigates security misconfigurations where users could create/delete unauthorized VPC endpoints.
Diff
diff --git a/transfer/latest/userguide/create-server-in-vpc.md b/transfer/latest/userguide/create-server-in-vpc.md index 1dc7b4e7f..ac54de4a6 100644 --- a//transfer/latest/userguide/create-server-in-vpc.md +++ b//transfer/latest/userguide/create-server-in-vpc.md @@ -5 +5 @@ -Create a server endpoint accessible in your VPC onlyCreate an internet-facing endpointChange the endpoint typeDiscontinuing the use of VPC_ENDPOINT +Create a server endpoint accessible in your VPC onlyCreate an internet-facing endpointChange the endpoint typeDiscontinuing the use of VPC_ENDPOINTLimiting VPC endpoint accessAdditional networking features @@ -45,0 +46,4 @@ For information about dual-stack (IPv4 and IPv6) server endpoints, see [IPv6 sup + * Limiting VPC endpoint access for Transfer Family servers + + * Additional networking features + @@ -366 +370 @@ The default security group is attached to the endpoint. To change or add additio -AWS Transfer Family is discontinuing the ability to create servers with `EndpointType=VPC_ENDPOINT` for new AWS accounts. As of May 19, 2021, AWS accounts that don't own AWS Transfer Family servers with an endpoint type of `VPC_ENDPOINT` will not be able to create new servers with `EndpointType=VPC_ENDPOINT`. If you already own servers that use the `VPC_ENDPOINT` endpoint type, we recommend that you start using `EndpointType=VPC` as soon as possible. For details, see[ Update your AWS Transfer Family server endpoint type from VPC_ENDPOINT to VPC](https://aws.amazon.com/blogs/storage/update-your-aws-transfer-family-server-endpoint-type-from-vpc_endpoint-to-vpc/). +AWS Transfer Family has discontinued the ability to create servers with `EndpointType=VPC_ENDPOINT` for new AWS accounts. As of May 19, 2021, AWS accounts that don't own AWS Transfer Family servers with an endpoint type of `VPC_ENDPOINT` will not be able to create new servers with `EndpointType=VPC_ENDPOINT`. If you already own servers that use the `VPC_ENDPOINT` endpoint type, we recommend that you start using `EndpointType=VPC` as soon as possible. For details, see[ Update your AWS Transfer Family server endpoint type from VPC_ENDPOINT to VPC](https://aws.amazon.com/blogs/storage/update-your-aws-transfer-family-server-endpoint-type-from-vpc_endpoint-to-vpc/). @@ -385,0 +390,43 @@ If you have additional questions, you can contact us through AWS Support or your +## Limiting VPC endpoint access for Transfer Family servers + +When creating an AWS Transfer Family server with VPC endpoint type, your IAM users and principals need permissions to create and delete VPC endpoints. However, your organization's security policies may restrict these permissions. You can use IAM policies to allow VPC endpoint creation and deletion specifically for Transfer Family while maintaining restrictions for other services. + +###### Important + +The following IAM policy allows users to create and delete VPC endpoints only for Transfer Family servers while denying these operations for other services: + + + { + "Effect": "Deny", + "Action": [ + "ec2:CreateVpcEndpoint", + "ec2:DeleteVpcEndpoints" + ], + "Resource": ["*"], + "Condition": { + "ForAnyValue:StringNotLike": { + "ec2:VpceServiceName": [ + "com.amazonaws.INPUT-YOUR-REGION.transfer.server.*" + ] + }, + "StringNotLike": { + "aws:PrincipalArn": [ + "arn:aws:iam::*:role/INPUT-YOUR-ROLE" + ] + } + } + } + +Replace `INPUT-YOUR-REGION` with your AWS Region (for example, `us-east-1`) and `INPUT-YOUR-ROLE` with the IAM role you want to grant these permissions to. + +## Additional networking features + +AWS Transfer Family provides several advanced networking features that enhance security and flexibility when using VPC configurations: + + * **Shared VPC environment support** \- You can host your Transfer Family server endpoint in a shared VPC environment. For more information, see [Using VPC hosted endpoints in shared VPCs with AWS Transfer Family](https://aws.amazon.com/blogs/storage/using-vpc-hosted-endpoints-in-shared-vpcs-with-aws-transfer-family/). + + * **Authentication and security** \- You can use an AWS Web Application Firewall to protect your Amazon API Gateway endpoint. For more information, see [Securing AWS Transfer Family with AWS Web Application Firewall and Amazon API Gateway](https://aws.amazon.com/blogs/storage/securing-aws-transfer-family-with-aws-web-application-firewall-and-amazon-api-gateway/). + + + +