The AWS section of "Deploying to the Cloud" in reference manual lists some really obscure ways of deploying Spring Boot applications to AWS.

In reality, containers are the predominant way of deploying Spring Boot applications to AWS these days and Amazon Elastic Container Service (ECS) is popular option there. Reference manual should be updated to reflect that.

Comment From: wilkinsona

Unfortunately, we have neither the time nor the expertise to keep this documentation current. As such, I think we should remove or significantly reduce the section. If we go with the latter, ideally we'd link out to some relevant AWS documentation. https://docs.aws.amazon.com/prescriptive-guidance/latest/patterns/deploy-java-microservices-on-amazon-ecs-using-aws-fargate.html is the best that I've managed to find.

Comment From: vpavic

I also think the documentation on this topic should be very lean and mostly point to other resources such as packaging applications as container images and deploying them to ECS. I should have time by the end of the month to put together something along those lines, so if you're OK with that feel free to assign the issue to me.

Comment From: wilkinsona

Great. Thanks, @vpavic.

Comment From: hasancansaral

I'd be very happy to add AWS ECS deployment guides (along with how to publish the image to ECR for ECS to pull) in a day or two if you'd like any help.

Comment From: vpavic

I've got something outlined locally and will submit a PR mid this week, feel free to review and provide feedback when that happens.

Though note, as discussed above, the direction is not to include too many specifics into the Spring Boot's reference manual but rather provide only key information and pointers to relevant external resources (thus reducing the size of this section).

Comment From: snicoll

@vpavic how is it going? I am asking as we're trying to reduce the 3.4.x backlog in preparation of the end of OSS support.

Comment From: vpavic

Sorry for the delay, other things prevented me from finalizing this. I basically got all the changes locally, just need some time to polish things up and submit a PR. I'll be able to do that on Monday.

Just note that I intended to submit this against 3.5.x. The reason is that in Spring Boot 3.4 CNB image publishing support is broken with AWS ECR due to https://github.com/spring-projects/spring-boot/pull/45292. As some of the linked resources will mention ECR, I though it might be a good idea not to include this in 3.4.x.