Deploy Spring Boot application to AWS EC2 using GitHub Actions

  Рет қаралды 10,701

Integration Ninjas

Integration Ninjas

10 ай бұрын

In this video I will explain how you can deploy your Spring Boot application to AWS EC2 using docker and GitHub Actions. I will write CICD configuration(GitHub Workflow) to deploy Spring Boot application to AWS EC2 by containerization using docker.
Example Workflow: github.com/integrationninjas/...
GitHub Repository: github.com/integrationninjas/...
Search Queries:
What is docker
Deploy spring boot application to AWS EC2 using GitHub Actions
How to create GitHub self-hosted runner
How to set GitHub actions for CI/CD with AWS EC2
CI/CD with GitHub Action
Auto deploy spring boot app on AWS EC2
Creating a continuous delivery pipeline with GitHub Actions
CI/CD pipeline using GitHub Actions
Docker benefits
Deploy docker images on AWS EC2 with GitHub Actions
How to deploy applications using GitHub Actions
Auto build and push docker images to docker hub
Build docker image
Push image to docker hub
Deploy spring boot app on AWS EC2 instance
Github actions workflow
Github actions Docker
Github actions aws
Github actions build docker image
Aws github actions
Automatic deployment with github actions
Build docker image with github actions
Github actions ci/cd aws
Deploy to ec2 using github actions
Github hosted runner
How to configure github self hosted runner
Understanding github actions
Learn github actions
Quickstart for github actions
Workflow syntax for github actions
Essential features of github actions
Github actions deepdive
Cicd basics
Cicd github actions
Cicd devops
Cicd pipeline using github actions
Cicd github actions aws
Github actions deploy to aws ec2
Docker github actions
Deploy github actions
Github actions ec2
Github actions secrets
Github actions self hosted runners
Github hosted runners
Github actions course
Github actions beginner tutorial
Github actions build and push docker image
Docker tutorial
Docker explained
Docker container
Docker spring boot
Docker spring boot application
how to write dockerfile for spring boot application
how to write dockerfile for spring boot application
how to write dockerfile for java application
dockerize spring boot application
dockerize java application
docker spring boot microservices
github actions java
how to deploy spring boot project on aws
how to deploy spring boot application for free
Creating jar and deploying spring boot application to cloud
How to dockerize your spring boot api
Deploy java spring boot application on aws ec2 instance
Deploy spring boot app to production
Spring boot on aws
Deploy spring boot application
How to easily deploy a spring boot application to aws ec2
Dockerizing your spring boot application
Spring boot application deployment in aws cloud
Spring boot on docker
Create spring boot docker image and deploy
Deployment on cloud
Deploy applications on aws
How to deploy java project on aws
Deploy java application on aws
Deploy java application on docker
Deploying java application with docker
Java application deployment
Spring boot deployment tutorial
Deploying Java applications on Amazon ec2
Amazon web services
#aws #awsec2 #docker #devops #devopstutorial #cicd #integration #githubactions #github #dockertraining #springboot #dockerfile #dockercontainer #dockerhub #spring #java #javaprogramming #javaproject #javaproject #javatutorial #springboottutorial #javadeveloper #maven #maventutorial

Пікірлер: 50
@njabulo5791
@njabulo5791 3 ай бұрын
Used this to deploy a test site onto EC2 Instance. Thank you!
@IntegrationNinjas
@IntegrationNinjas 3 ай бұрын
Glat it helped.
@kunalacharya5291
@kunalacharya5291 10 ай бұрын
Indeed it is very helpful, thanks for putting very clear and vivid explanation.
@vyomkothari8959
@vyomkothari8959 10 ай бұрын
Insightful, well explained
@adityaanand4369
@adityaanand4369 10 ай бұрын
Owesome, very well explained
@abhijitdas-rb3dg
@abhijitdas-rb3dg 10 ай бұрын
Very helpful topic and you explained every points very well.. Waiting for more videos on Springboot & AWS..
@deepanshumishra8687
@deepanshumishra8687 10 ай бұрын
Very knowledgeable
@Sonupurohit69
@Sonupurohit69 10 ай бұрын
Very helpful content
@darshankhatri9625
@darshankhatri9625 10 ай бұрын
Nice sir , thanks for sharing 👍
@shwetabhat9981
@shwetabhat9981 9 ай бұрын
Great content sir. Looking forward to learn a lot from this channel. Thank you 😊
@IntegrationNinjas
@IntegrationNinjas 9 ай бұрын
Glad it was helpful. Keep watching.
@rickdevmajumder5729
@rickdevmajumder5729 26 күн бұрын
The best video ever. Thank you :)
@IntegrationNinjas
@IntegrationNinjas 26 күн бұрын
Glad you liked it!
@ankitagarwal969
@ankitagarwal969 28 күн бұрын
good explanation
@IntegrationNinjas
@IntegrationNinjas 26 күн бұрын
Thanks, keep watching.
@garvitsharma9505
@garvitsharma9505 10 ай бұрын
Gud one 👍🏼
@VISHNUREDDY11756
@VISHNUREDDY11756 24 күн бұрын
HELPED A LOT
@IntegrationNinjas
@IntegrationNinjas Күн бұрын
Thanks.
@benabdallahmohamed1125
@benabdallahmohamed1125 5 ай бұрын
thanks for video
@IntegrationNinjas
@IntegrationNinjas 5 ай бұрын
Glad it helped!
@sachinrameshvyas9642
@sachinrameshvyas9642 10 ай бұрын
👍🏻👍🏻
@kunalharsh6996
@kunalharsh6996 10 ай бұрын
👏
@JAVAFULLSTACKDEVELOPER-zx7gt
@JAVAFULLSTACKDEVELOPER-zx7gt 4 ай бұрын
Hey what is the instance type you choosed in while lanching EC-2 instance ?
@sagarkhatri5383
@sagarkhatri5383 27 күн бұрын
Need to run the runner from the instance every time. can we configure the runner to keep running in the background?
@IntegrationNinjas
@IntegrationNinjas 26 күн бұрын
Yes, absolutely. You can configure the self-hosted runner application as a service to automatically start the runner application when the machine starts. Refer docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/configuring-the-self-hosted-runner-application-as-a-service
@mrowox
@mrowox 7 ай бұрын
Very nice. Can you make a tutorial on how to deploy to GCP or Azure or heroku?
@IntegrationNinjas
@IntegrationNinjas 7 ай бұрын
I will soon create on Azure and GCP
@mrowox
@mrowox 7 ай бұрын
Also it will be nice to see the process of creating the resources. For some reasons, my deploy action isn't being picked up by the self hosted runner in AWS
@mrowox
@mrowox 7 ай бұрын
I have been able to solve this by setting runs-on: self-hosted but now the deploy fails and I don't even know why
@ngonimugandani4504
@ngonimugandani4504 7 ай бұрын
what changes in the workflows if i am connecting to a database (mysql)
@IntegrationNinjas
@IntegrationNinjas 7 ай бұрын
You will need a docker compose file having database configuration. I will create a tutorial on that soon.
@naren06938
@naren06938 9 ай бұрын
I did same with ECS Fargate cluster thru Github Actions, I failed to deploy ECS-EC2, but got success in Fargate, whats the reason?
@IntegrationNinjas
@IntegrationNinjas 9 ай бұрын
Can you share the error here for analysis?
@moriljeanfrancois8532
@moriljeanfrancois8532 7 ай бұрын
Hi sir. I need to create a runner for each project. Or i can use this runner for other project
@IntegrationNinjas
@IntegrationNinjas 7 ай бұрын
Yes if you have organisation account, you can share and manage self-hosted runners across your organization using new policies and labels. Please go through this document: docs.github.com/en/enterprise-cloud@latest/actions/hosting-your-own-runners/managing-self-hosted-runners/adding-self-hosted-runners#adding-a-self-hosted-runner-to-an-organization
@mrowox
@mrowox 7 ай бұрын
Also, do I need to have docker up and running in my ec2 instance before this will be able to run? I just created my ec2 instance from scratch but my deploy job is failing without a reason
@IntegrationNinjas
@IntegrationNinjas 7 ай бұрын
Yes, you need to have Docker installed and running on your EC2 instance for the GitHub Actions workflow to deploy your app using Docker.
@mrowox
@mrowox 7 ай бұрын
I have docker up and running yet my deploy job is still failing@@IntegrationNinjas
@mrowox
@mrowox 7 ай бұрын
also sometimes my runner goes to sleep and cannot service requests
@IntegrationNinjas
@IntegrationNinjas 5 ай бұрын
Check if runner is active and listening to jobs.
@danujansivasundaralingam5772
@danujansivasundaralingam5772 5 ай бұрын
​@@IntegrationNinjasHow to keep runner always in idle mode.?
@aakibkhan4299
@aakibkhan4299 8 ай бұрын
Is there any pipeline to automate whole process
@IntegrationNinjas
@IntegrationNinjas 8 ай бұрын
What exactly you are looking for?
@Shinigami4rt
@Shinigami4rt 2 ай бұрын
.
@user-sb4ge8zn4o
@user-sb4ge8zn4o 9 ай бұрын
i run to step deploy: Pull Image from docker hub docker pull lambmt2k/clover-network:latest throw error command not found
@IntegrationNinjas
@IntegrationNinjas 9 ай бұрын
Can u see if docker is installed on your runner? Which runner you’re using and if possible share workflow here
@TheShareonz
@TheShareonz 3 күн бұрын
great content guys.
🚀 Deploy Spring boot application to AWS Cloud 🚀
31:32
Bouali Ali
Рет қаралды 28 М.
My little bro is funny😁  @artur-boy
00:18
Andrey Grechka
Рет қаралды 13 МЛН
Heartwarming: Stranger Saves Puppy from Hot Car #shorts
00:22
Fabiosa Best Lifehacks
Рет қаралды 14 МЛН
Deploy Spring Boot Application On AWS ECS Using GitHub Action
53:21
Integration Ninjas
Рет қаралды 6 М.
Deploy GoLang Application to AWS EC2 Using GitHub Actions
25:22
Integration Ninjas
Рет қаралды 844
Deploy Spring Boot Application To AWS
10:32
CloudTech
Рет қаралды 8 М.
Kubernetes CI/CD Pipeline Using Jenkins | DevOps Tutorial/Project - 2023
2:49:55
Deploy Spring Boot Application in AWS using EC2 & S3 | JavaTechie
17:56
GitHub Actions Tutorial - Basic Concepts and CI/CD Pipeline with Docker
32:31
TechWorld with Nana
Рет қаралды 1,4 МЛН
Deploy NodeJS application to AWS EC2 using GitHub Actions
32:22
Integration Ninjas
Рет қаралды 18 М.
DevSecOps Pipeline Project: Deploy Netflix Clone on Kubernetes
1:34:31
My little bro is funny😁  @artur-boy
00:18
Andrey Grechka
Рет қаралды 13 МЛН