aws AWS Containers Blog ·

AWS Explains ECS Traffic Encryption Using VPC Controls & Service Connect TLS

blogsecurityawsarchitectaws-ecs
announcement

AWS provides a comprehensive guide on encrypting traffic between Amazon ECS workloads using two native methods: VPC encryption controls and Service Connect TLS. The post details how VPC encryption controls offer transparent network-layer encryption via the AWS Nitro System, while Service Connect TLS enables application-layer encryption with cryptographic service identity for ECS services. This guidance helps senior engineers and architects meet security and compliance requirements by balancing security coverage against operational complexity, without requiring application code changes for network-layer encryption. It also compares the approaches and suggests combining them for robust security.

  • VPC Encryption Controls for Network-Layer Security
  • Application-Level Encryption with Service Connect TLS
  • Strategies for Combining and Choosing Encryption Methods
Notes (3)
  • VPC Encryption Controls for Network-Layer Security

    The post details how VPC encryption controls provide infrastructure-level, transparent encryption for intra-VPC traffic on AWS Fargate using the Nitro System. This capability operates in monitor and enforce modes, integrates with VPC Flow Logs to show encryption status, and requires no code changes for Fargate tasks.

  • Application-Level Encryption with Service Connect TLS

    It explains Service Connect TLS for application-layer encryption, offering cryptographic service identity through AWS Private CA integration for services within the same namespace. This approach is contrasted with custom application-level TLS, which provides full control for specific use cases like mutual authentication or non-HTTP/gRPC protocols.

  • Strategies for Combining and Choosing Encryption Methods

    The article discusses how to layer VPC encryption controls as a baseline with Service Connect TLS for certificate-based service identity, and custom TLS for advanced scenarios. It guides users on selecting the right approach based on their security needs, protocol requirements, and tolerance for operational overhead.

Read the original announcement →

https://aws.amazon.com/blogs/containers/encrypt-amazon-ecs-traffic-vpc-encryption-controls-and-service-connect-tls/

Related releases