Skip to content

Commit e67f2fb

Browse files
committed
Merge pull request #48170 from vpavic
* pr/48170: Polish contribution Mention support for detecting AWS ECS in "Deploying to the Cloud" Closes gh-48170
2 parents 44e29b6 + 15bf80d commit e67f2fb

File tree

1 file changed

+3
-0
lines changed
  • documentation/spring-boot-docs/src/docs/antora/modules/how-to/pages/deployment

1 file changed

+3
-0
lines changed

documentation/spring-boot-docs/src/docs/antora/modules/how-to/pages/deployment/cloud.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,9 @@ NOTE: Spring Boot applications can be packaged in Docker containers using techni
269269

270270
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.
271271

272+
TIP: Spring Boot auto-detects AWS ECS deployment environments by checking the environment for the `AWS_EXECUTION_ENV` variable.
273+
You can override this detection with the configprop:spring.main.cloud-platform[] configuration property.
274+
272275

273276

274277
[[howto.deployment.cloud.aws.beanstalk]]

0 commit comments

Comments
 (0)