From b1db6a2bde7867b568a30db3d50b2192aa657cb6 Mon Sep 17 00:00:00 2001 From: Vedran Pavic Date: Tue, 18 Nov 2025 13:58:52 +0100 Subject: [PATCH] Mention support for detecting AWS ECS in "Deploying to the Cloud" Signed-off-by: Vedran Pavic --- .../src/docs/antora/modules/how-to/pages/deployment/cloud.adoc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/documentation/spring-boot-docs/src/docs/antora/modules/how-to/pages/deployment/cloud.adoc b/documentation/spring-boot-docs/src/docs/antora/modules/how-to/pages/deployment/cloud.adoc index 3867c27905ff..59b32af8072c 100644 --- a/documentation/spring-boot-docs/src/docs/antora/modules/how-to/pages/deployment/cloud.adoc +++ b/documentation/spring-boot-docs/src/docs/antora/modules/how-to/pages/deployment/cloud.adoc @@ -269,6 +269,9 @@ NOTE: Spring Boot applications can be packaged in Docker containers using techni In addition to the developer guide, AWS also provides a https://docs.aws.amazon.com/AmazonECS/latest/developerguide/create-container-image.html[topical guide] for deploying containerized Java services on Amazon ECS using AWS Fargate. +TIP: Spring Boot auto-detects AWS ECS environments by checking for the `AWS_EXECUTION_ENV` variable. +You can override this detection with the configprop:spring.main.cloud-platform[] configuration property. + [[howto.deployment.cloud.aws.beanstalk]]