How to deploy a Spring Boot Application with MySQL Database on AWS in minutes | Spring Boot | AWS
ฝัง
- เผยแพร่เมื่อ 25 ส.ค. 2024
- Deploy Spring Boot Application with MySQL Database on AWS Elastic Beanstalk
IMP Before you start
---------------------
Explore IAM Roles and Permissions
Create a role with name "aws-elasticbeanstalk-ec2-role"
Add the following permissions to the role
AWSElasticBeanstalkWebTier
AWSElasticBeanstalkMulticontainerDocker
We appreciate your support and would love to stay connected with you beyond this video!
📸 Connect with me on Instagram: [ ramanuj_das_]
💼 Connect with me on LinkedIn: [linkedin.com/in/ramanuj.das]
🎥 Subscribe to my TH-cam channel: [ / @ramanujds ]
If you haven't already, make sure to subscribe to my TH-cam channel for more exciting videos like this one. Hit the subscribe button and never miss out on our latest content, tutorials, and insights.
Excellent 👌
"I recently came across a guide on how to deploy a Spring Boot application with a MySQL database on AWS, and I was thoroughly impressed. The instructions were clear, concise, and easy to follow, even for someone not deeply familiar with cloud deployments. The step-by-step approach, combined with practical examples, made the entire process seamless. Highly recommended for anyone looking to get their Spring Boot application up and running on AWS with minimal hassle!"
Thanks for the video ❤
@@raveendrarodakar4694 thank you so much 😊
the art of keeping it simple is underrated however author kept it simple such that it address the original content to deliver to the dot
Thanks for the video
@@master-the-programming thank you ❤️
and most important thing how to add custom domain name
Are you getting billed for using ipv4? Since early 2024, AWS has started charging for using public ipv4
bad 502 gateway - all are working fine but gives this error
Everything is fine...also the application is deployed properly but when i click the link it shows 502 bad gateway.
I went through stackoverflow and seen my S3 there it shows Access Denied for the jar file uploaded.
Any one got this or help me with this?
@ 8:45 I'm only getting one subnet option, and after applying everything related to the DB on that page I get an error which rolls back all the settings.
Error message I get is
Service:AmazonCloudFormation, Message:Stack named 'awseb-e-u7j2iyefta-stack' aborted operation. Current state: 'UPDATE_ROLLBACK_COMPLETE' Reason: null
Are you using the default VPC or created your own? I would suggest you to use the default one you will get multiple subnets under it. If you have deleted the default VPC or subnets by any chance then you can switch to a different aws region and create the application from the beginning.
@@ramanujds Thank you! everything worked perfectly after that. I changed to a different server in Europe which had more options in the default VCP. Probably sometime ago I accidentally deleted the default one, which replaced it with a different default one with fewer options. Is that something I should try and fix?
you can reset the default VPC using CLI commands.
sir i tried deploy using beanstalk and RDS but I got charged for it, mostly due to vpc, can you guide how to deploy only utilizing free tier services
When you create your own VPC with the auto VPC creation wizard, it also attaches Elastic IP address to it. To avoid getting charged use the default VPC only