🚀 Deploy Spring boot application to AWS Cloud 🚀
HTML-код
- Опубликовано: 27 июл 2024
- Buy me a coffee: ko-fi.com/boualiali 🔥 Secure your spot now and embark on your journey to becoming a Spring Boot master!🔥
aliboucoding.com/p/spring-boo...
🎁 🚀 COUPON Code: EARLY_BIRD_30
🚀 Welcome to an exhilarating tech journey! In this comprehensive tutorial, we'll guide you through deploying your Spring Boot application on AWS EC2, unlocking the power to reach users worldwide, 24/7. Get ready to supercharge your developer skills and elevate your app's accessibility! 💻🌟
🔥 In this video, you'll discover:
- ✅ Setting up AWS EC2 effortlessly
- ✅ Painlessly deploying Spring Boot
- ✅ Ensuring your app's 24/7 availability with AWS magic
Source code: github.com/ali-bouali/aws-dep...
🎟 Join this channel to get access to perks: / @boualiali
Recommended Courses:
🎬 Spring Boot security & JWT token: • Spring boot 3.0 - Secu...
🎬 Spring security - Roles and permissions: • Spring boot 3 & Spring...
🎬 Spring Boot - Microservices architecture: • Microservices tutorial...
🎬 DevOps - Github Actions CI/CD: • GitHub Actions CI/CD p...
🎬 Spring Security - KeyCloak integration: • Spring boot 3 Keycloak...
🎬 DevOps - Docker for Beginners: • Docker tutorial for be...
🎬 DevOps - AWS EC2 deployment: • 🚀 Deploy Spring boot a...
🎬 Angular - Full course from scratch: • Angular Tutorial For B...
🎬 Websocket - Chat application one to one: • WebSocket Tutorial wit...
🎬 Spring Security - Two Factors Authentication 2FA (TFA): • Two Factor Authenticat...
🎬 Spring Boot - Swagger UI & OpenApi Decomentation : • Spring boot 3 - OpenAp...
🎬 Spring Boot - Reactive programming & WebFlux: • Reactive Programming w...
🎬 Spring Data JPA & Hibernate: • Spring Data JPA - The ...
🎬 Apache Kafka: • Apache Kafka Tutorial ...
CONNECT WITH ME:
👨💻. Website: aliboucoding.com
👨🏫 Facebook: / 589612651142975
📸 Instagram: / alibou_coding
🎮 GitHub: github.com/ali-bouali
🏘️ Discord: / discord
Table of content:
00:00 Intro
02:43 Infrastructure architecture overview
08:05 Create a new AWS account
08:51 Create Security Group and Key Pair
15:56 Create a new EC2 Instance
18:33 Connect to the EC2 instance via ssh
21:07 Prepare and build the the Spring boot application
27:04 Deploy the application the EC2 instance
30:10 Outro and what comes next
Join the Spring boot full course course waiting list and get and get an exclusive EARLY-BIRD discount
aliboucoding.ck.page/d0f9317e13
Thank you for the good quality video. Can't wait for the next video.
My pleasure!
You make so much quality content. Thanks a lot.
My pleasure!
Another excellent video! Thanks Sir 👌
My pleasure!
Love u buudy , Perfect timing
My pleasure!
Excellent video. Appreciate your effort. Please don't stop your teaching. love from india
The video has been really educational. Looking forward to the next one with databases
Soon!
@@BoualiAli Hi! thanks for this video. I Would need to add the database part since the run fails due to that. Do you have that video?
Thanks Ali, for sharing this; it was really great. I'm waiting for the following AWS and Terraform videos.🤓
Coming soon!
hi@@BoualiAli , do we have the Terraform video?
The video has been really helpfuf. Looking forward to the next video which will cover deploying an application with a database
Soon!
This was very helpful. Thank you very much Sir.
My pleasure!
Thank you for sharing valuable content on RUclips.
Thank u for this video and ur no conditional effort from Morocco
My pleasure!
All my Support for my Morrocain brothers and sisters
Excellent video!! It's my next step in studying coding, and now starting to learn cloud services... Thanks for share!
Glad you liked it!
what a great Content , thank you for this contribution !!
Glad you enjoyed it!
Salam Ali, hope you doing well, great content as always ! waiting for the Terrafrom videos !
Happy you liked it!
Thanks Ali , Yes i like idea with Terraform i think it used a lot with
aws currently in the market
Coming soon!
I enjoyed it
Great video. Thanks for sharing
Thanks for watching!
Thank you so much for this. Eagerly waiting for the video on deploying database app that uses docker container for the db service and coker compose to start the services
As soon as possible
Excellent tutorial! I am definitely interested in a followup showing how to deploy with Terrform!
Happy you liked it!
Amazing video ,Can you please also explain how to use docker, kubernates (eks) and aws lb so that our spring boot project is deployed on cloud
Loved the video. Very imformative. when are you dropping the AWS video setting up RDS?
Happy you liked it!
You are really a magic man thank you @BoualiAli!
Happy you liked it!
Great Tutorial
Glad you think so!
Such a paid content for free.
Thanks man❤
My pleasure!
Thank you!
Glad you liked it!
Thank you
My pleasure!
Thank you sir for the wonderful tutorial you made today, I am excited about it sir. I am from Sierra Leone Western Africa.
Please, sir, make a tutorial on how to create a portfolio to show the employer.
Thank you, God bless you, sir.
Happy you liked it!
Thanks for this amazing tutorial sir. I have a question: I have couple microservices and I want to make them work on AWS. Should I run these services in just 1 EC2 instance or should I run different EC2 instances for each spring boot service?
It really depends.
Using 2 EC2 will increase the cost (but recommended)
Using same EC2 will be less costly (not really recommended)
thank you
You're welcome
Hi Ali, I see you created the Docker image and it is docker repo. In EC2 instance you installed the Docker and started the service. Then you run the command to start the docker image. I dont understand how EC2 instance able to get the image from Docker? you havent logged in to docker service from EC2.
Thanks a lot, please make a video to deploy a whole app (backend + frontend + database).
already done. check the latest video
Please upload the database connected one!
Hey Great Tutorial!!. Can you make one using ecr and ecs using the ec2 instance launch type. I can't seem to get the ecs cluster part to work.
soon
Hi Sir. I couldn't find your video which shows how to deploy spring boot applications that uses databases
check the latest video
what about https requests , because that is what we will be using in production ?
your video was really good but I feel difficulty as i dont have knowledge in springboot and docker even i dont know what they are I just know about aws. please share some links of videos that can be easily for me to understand this video. looking forward for your response. Thank you
In my channel you can find spring boot video as well as docker tutorials.
Enjoy the learning
1 problem is that: when we close the connect session of the EC2, the Docker Container will also be stopped. So this means that we can only access the deployed app while the connect session of the EC2 is still open. Any idea how to solve this?
Ali, great effort. GOD or ALLAH blessyou...We're waiting for the AWS with Terraform and Backend
Coming soon
I changaed ports cause 80 was used and add inbound rules Custop TCP 8081 port
Muy bueno
Interesting
Happy you liked it!
what would be the docker build command if i'm running the ubuntu ec2 instance
you need to add the build platform argument
Hi sir, When I run docker build build --platform linux/arm64 -t / ., it gives an error: ERROR: failed to solve: openjdk:17-alpine: no match for platform in manifest sha256:4b6abae5654. How to solve it, thanks!
where is the next video?
Thanks for guide. But let me know, how to deploy an application with Microservices?
You can follow the same pattern (not really recommended)
I will try to cover it in the future
hey nice works, btw do we need payment for edu account?
No
I have watched video for 1 hours. But when my program has been deployed successful, it doesn't works
YOU ARE THE BEST!!!
Thank you
❤
Excellent video, j'aurais aimé le refaire mais malheuresement je me suis bloqué dans l'etape de creation de compte AWS puisque ca necessite une carte bancaire et je suis encore etudiante .
les cartes cti ne necessitent pas un compte bancaire
while running to build project getting error with /bin/sh -c mvn clean install from docker.I dont understand why but when i use /bin/sh -c "mvn clean install" from my terminal it build sucessfully . beacuse of this error i cant build my image to docker. can anyone help me
Check the maven version you're using in the docker file
bro it is giving connection timeout ) when I am trying to connect to instance in terminal in windows 11
)
Check the Ingress rules.
Did you allow your IP@
Merci pour cette vidéo. Est -il prévu de les faire en français ?
Mes videos sont desormais en Anglais.
Je vais essayer d'ajouter des sous titres quand c'est possible
hi ali, what if the application is connected to a database? how do we deploy that?
You can create and RDS instance and connect it to your application and EC2 instance
@@BoualiAli Thank you, I managed to deploy everything successfully. However, when I close the ssh terminal, the application stops. what do you recommend that I do to solve this?
I watched your docker tutorial and I was able to containerize my api. Now it works even after exiting the ssh connection :D your videos are so helpful! My next goal is to create a pipeline. I'm already halfway through your ci/cd video. Thank u Ali for your free tutorials!
@@geybriyel2416 glad you're making a good progress. Keep it up
What if our project use database?
Coming soon in the aws playlist
elephantsql
Since I tried to follow the video tutorial i'm facing this issue when trying to use the dcoker command to create the image : ERROR: failed to solve: maven:3.8.4-openjdk-17: no match for platform in manifest
which OS do you use?
CI CD plz bro
Soon
ok@@BoualiAli
Video is very nice but don't respond to a very complet app deployment with database API and angular front-end I was disappointed with the overall content of the video because I was expecting more
thank you.
thank you
You're welcome