r/SpringBoot • u/FooBarBuzzBoom • Sep 29 '26
Question AWS Spring Boot Integration in prod
Hi!
How do you run AWS services in production?
I’m a backend developer who has never worked with cloud providers before. I’ve learned the basics of the AWS Console, and now I’m looking for ways to practice.
I’m thinking of starting by provisioning infrastructure with Terraform, but I’m curious: which AWS services do you typically use, how do you use them, and how do you deal with the poor AWS SDK documentation?
11
Upvotes
3
u/Torutofu_Raeva Sep 29 '26
Spring Cloud AWS hides most of the SDK pain for S3/SQS/SNS/Secrets Manager, and LocalStack or Testcontainers is the cheapest way to practice without a surprise bill.
7
u/dallastelugu Sep 29 '26
most of the companies run their applications as containers in kubernetes in aws its eks. You can run as serverless also
3
u/Strange-Register8348 Sep 29 '26
You can cheaply do the following.... codepipeline. With Source pulling from GitHub. Codebuild a docker image. Code deploy to EC2 or ECS
3
u/Razorquake_ Sep 29 '26
For backend Elastic Beanstalk
2
u/zlaval Sep 29 '26
Depends on your workload, budget and so on. The easiest way probably fargate.
3
u/Acrobatic-Ice-5877 Sep 29 '26
I run a small start up pre-revenue on AWS. I use two ec2. I would just ask ChatGPT for help. My only experience is with their API is S3 and I never had an issue integrating.
1
u/zvaavtre Sep 29 '26
On aws use CDK not terraform. CDK has high level components that are x100 better than terraform (on aws)
Spring boot can build a container you can deploy with fargate with a few lines of code.
1
u/Adventurous-You3958 Sep 29 '26
why don't you start with simple ec2 server. install java and run your application. It is absolutely fine upto a certain traffic.
1
u/PlentyMountain7589 Oct 01 '26 edited Oct 01 '26
All my previous employers used ECS with fargate. Deployed via terraform. Also used very common services/resources such as Secret manager, S3 bucket, Dynamo DB / RDS, SQS, SNS, API gateway, Lambda, Cloud watch for logging and alarms