Enhanced TLS Security - Modular Cloud Studio on AWS

Enhanced TLS Security

This section provides guidance on configuring custom domains to enhance TLS security for the API Gateway endpoint.

Overview and prerequisites

By default, the API Gateway URL uses AWS-managed TLS configuration that allows TLS 1.0 and above. For enhanced security, you can configure a custom domain with stronger TLS requirements.

Before you begin:

  • Ensure you own or control a domain name

  • Obtain an SSL/TLS certificate for your domain (from AWS Certificate Manager or imported)

  • Verify you have permissions to update DNS records for your domain

  • Plan for a maintenance window, as this change may briefly impact API accessibility

Configuration Steps

Follow the AWS documentation to Choose a security policy for your REST API custom domain in API Gateway.

After setting up the custom domain, complete the MCS-specific configuration:

  1. Navigate to the S3 bucket containing your MCS frontend configuration

  2. Locate the runtime configuration file

  3. Update the API endpoint URL to use your custom domain

  4. Invalidate the CloudFront cache to ensure the new configuration is used

Verification

After completing the configuration:

  1. Test the custom domain endpoint to ensure it’s accessible

  2. Verify TLS version using a tool like SSL Labs or openssl:

    openssl s_client -connect your-custom-domain:443

Security Considerations

  • While the original API Gateway URL remains accessible, ensure your application only uses the custom domain endpoint

  • Regular certificate rotation and renewal should be part of your maintenance procedures

  • Monitor certificate expiration dates in AWS Certificate Manager