A very well explained youtube video for a project, I am giving interviews after a very long time being off project. It was a good revision and will definitely help in giving interviews. Keep making great content...All the best.
Greetings of the day, Thanks for good explaining about the process... please list out the issues or the type of errors occur in each each environment like dev, QA, uat, prod. will help us alot to answer in interviews..... please make a video or document so that will be more useful for us.. TIA... Happy learning😀 🎧
Amazing session. Easily explained and summarized a project. Thank ypu for this🙂 In interviews, we can showcase this with whoch branching strategy? Feature, Task & Release?
@@sourabh4834 Deployment means the application is now fully functional and is ready to be consumed by everyone. Every tool has a separate process for the deployment but the end result is the same.
Hi Ravish, as you told in the video that Jenkins will fetch the code, sonarcube scanning,build,test, then push to the artifact, then deploy to the different environment like dev, qa, staging and prod. my question is how the artifacts get trigger to get deploy into theses stages, how the flow take place. example If artifact/Image get deploy into dev environment after the testing by dev team how QA , staging and prod environment get trigger? to deploy in each environment how the manager approval process take place what is the flow.. please explain this. I am having devops interview on Monday.🙏🙏
Here's a general overview of how this process might work: 1) Development Environment: Developers write and test code in their local development environments. Once satisfied, they commit their code to a version control system (e.g., Git). Before pushing changes forward, automated testing can also be conducted in the development environment. 2) Continuous Integration (CI) Pipeline: The committed code triggers an automated CI/CD pipeline. The pipeline compiles/builds the code runs unit tests and generates an artifact (e.g., Docker image, executable, etc.). If the tests pass, the pipeline produces a "build artifact" ready for deployment. 3) Quality Assurance (QA) Environment: The build artifact is automatically deployed to the QA environment. Automated integration tests, regression tests, and other QA processes are performed in this environment. The artifact can be promoted to the next stage if the tests are successful. 4) Staging Environment: The artifact is automatically deployed to the staging environment, which should closely resemble the production environment. More extensive testing, including performance testing and user acceptance testing, can be performed here. If the artifact passes all tests, it's ready for production. 5) At this point, some organizations introduce a manual approval step before deploying to production. This is often done for risk mitigation and to ensure that critical changes are reviewed before going live. Managers or designated individuals receive notifications about the pending deployment. They review the changes, assess potential risks, and decide whether to approve or reject the deployment to production. 6) Production Environment: Once the manager approves, the artifact is automatically deployed to the production environment. Depending on the organization's practices, this deployment can happen instantly or during a scheduled maintenance window. Continuous monitoring and automated rollback mechanisms should be in place in case any issues arise after deployment. It's important to note that the specifics of this process can vary widely depending on the organization, the tools and technologies in use, and the specific requirements of the application being deployed. The key principles are automation, consistency, and thorough testing at each stage to ensure that code changes move through the pipeline reliably and without causing disruptions in the production environment.
In short, dev to qa promotion is QA's responsibility. QA to production anyone from a senior perspective can promote. It is mostly a team. The production deployment happens in front of everyone. The DevOps/PO leads are the ones monitoring it.
@@LogicOpsLab thank you sir.. As of my knowledge, automatic deployment from 1 environment to other environment is take place by jenkins webhook right? example suppose we have 4 branch in git hub like dev, qa, staging, prod.. when developer push the code to git hub ,with a help of webhook jenkins will fetch the code then automated build, test, deployment to dev environemnt take place,, after that when code merge to the qa branch, web hook will trigger code to jenkins then same step will take place as earlier then deployment to QA environment, then same thing for staging and production environment... Am I correct? In shorts, automatic deployment from dev to qa, qa to staging, staging to production is happen with a help of webhook trigger after merge with dev to wq, qa to stage, stage to prod branches in git hub, Am I correct? please help me on this If Iam wrong then on what mechanism automatic deployment between different env take place? please help me on this🙏
@@NaveenKumar-vy2ug Automatic Deployment can be done on the basis of a "Trigger". The right word is Trigger over here. Now, this Trigger can work differently in different tools. You can use it using a webhook, you can manually do it in Azure DevOps, and other CI tools.
Hi Ravish Yr videos are very useful. But in reality there is very different scenario.i cleared first round in two big MNCs. But i was rejected in both interview in second round Though i clearly explained them .and gave 90 percent of right technical answers . They just want that person should work in same tech stack. They are least concerned about work distribution and yr current project.
Thanks for the feedback, Anant. Appreciate it. Try thinking it this way, if you are working in the same stack that you were working in the previous company, where is the margin to learn? In my opinion, you should join a company with 65-80% overlap. Otherwise, you are doing the same thing and this is penny wise, pound foolish. Next time, ask them for feedback. I assume there would be some non-negotiable technology and if you do not answer that, you will be rejected. Always know about the JD, what are the "Good to Have" and what are "Must Have". Best wishes, mate.
@@LogicOpsLab -Yes thats what i asked them , they rejected me just bcoz in my past company i did not got opportunity to work on Azure data bricks as hand on. many company's are copy pasting in sharing the JDS.
@@anantsolanki9471 True! I feel you but I think you just dodged a bullet. There are better opportunities waiting for you. Your personal growth matters a lot, you are not a robot who will do the same thing again and again. Wish you the best, mate.
Hi Ravish, Thanks for the video. It is good. I have one question. @22 min 16 sec you said it is tested and pushed in dev environment by developers. Do you mean to say dev team also has web interface for website (similar to prod) where they check all functionality related to website or app?
A DevOps will create a Dev environment for the developers. This is done so that the developers can test how their code will look like when it will be promoted to higher environments. It can be done two ways, either they can push their code and the build starts automatically or they can manually trigger a build.
Sorry but still not clear. I am asking, if my code (devloped code by dev) is for website or for application. Then that website is available for devloper on other test URL or dev URL? To check their implementation is reflecting correct changes on website or not?
@@vinayaksalunkhe2875 It would be available on Dev URL. Every environment MUST have a separate URL. If it is a VM then the application/website has to be exposed through an IP address or a DNS name. If it is a web service, then a URL will be there for Developer testing. Therefore, for every environment, there MUST be a separate URL/Web Interface to test. I hope it makes sense now?
Insightful video, However, could you please let me know how application code branch and infrastructure branches are integrated? CI/Cd platform like GitHub action . i am aware of calling and called concept of GitHub workflow just wanted to know every time a developer pushes a code or any changes in the code, the corresponding workflow runs right (like an event driven pipelines) and it deployed to dev environment, so my question is every time DEV environment is dynamically created or all the environments are already there
Creation of environments in a one time process. You just create an environment one time and use it forever, unless you nuke/destroy it. Also, however the deployments happens 'n' number of times.
Hi Ravish, I have doubt. After dev pushes the code into SCM, devops eng makes sure that artifact is built and deployed into different environments. How do QA team test the code? Do they run tests on artifact's? cause once you create artifact you deploy the application right. Where exactly or in which step/stage ? Or on what exactly are testers testing the code? And where does a devops engineer come in between development and qa?
Thanks for your question, Venkat. So, once the code is deployed In Dev, the developers do the initial testing. Once they're okay, the code is promoted to the Staging / QA environment. That's the time the QA folks test on the respective environment. It depends what type application it is, if it's a web app, the testing could be Selenium. There are other several testing frameworks. Api testing, manual testing, etc DevOps folks are needed to promote the build from Dev to QA or to any higher environment. The process differed company to company.
@@LogicOpsLab Thanks really appreciate and also Ravish I have another doubt. Once is build is successful and deployed into QA env. Do the testers create a new branch in the SCM and work on it? If all the tests are successful, they do a pull request to which branch ? Master or staging ?
Testers don't create a new branch for testing unless there is a special case of writing new test cases. Even then they test their branch first, merged it to Dev, then it gets merged to higher branches.
Hello Sir, Apologies if my question is invalid, please educate me… Are the DEV,QA and PROD. the job of a Devops Engineer. and What about K8 and Docker Terraform and python in our project. please explain. Thanks in advance.
Hey! Thanks for the question. Yes, all of the tech you mentioned is a responsibility of a devops engineer. Personal Opinion - It can vary company to company but wherever I have worked till date, it has been always my responsibility.
Key Achievements: Highlight the key achievements and contributions you made. Focus on specific results, improvements, or impacts. Use quantifiable data when possible. For example: "I led a team that reduced deployment times by 40% through automation, resulting in a 20% reduction in operational costs." "I implemented a CI/CD pipeline that reduced the error rate by 60%, improving the overall reliability of the system." Challenges Faced: Mention any challenges or obstacles you encountered during the project. This shows that you can adapt and problem-solve. "We faced scalability issues, which I addressed by redesigning the architecture to handle 10 times the previous load." Lessons Learned: Share any lessons you learned during the project. Mention how these lessons could be applied to future projects. "One important lesson was the value of effective communication and documentation in complex projects. This experience has made me a better team player and communicator."
Create a build pipeline that defines the steps needed to build your C# and .NET application. In the pipeline, you'll specify tasks such as restoring NuGet packages, building the solution, running tests, and possibly other steps depending on your project's requirements.
It is totally your call: 1) Scanning before - Useful to get the code coverage, if the code coverage is beyond what you have set up in the quality gates, then it's cool. Otherwise, fail the build. 2) After - After the code is successfully built, the SonarQube analysis is performed on the generated binary or package. This analysis checks for code quality, security vulnerabilities, code smells, and other metrics.
For Node.js applications, the build process typically involves packaging the application into a distributable format, often as a Node Package Manager (npm) package. This package includes the application's source code, dependencies, and any necessary configuration files. Unlike Java applications, which are often packaged into JAR, WAR, or EAR files, Node.js applications are typically distributed as npm packages, which can be easily installed and managed using npm or Yarn.
Hii Ravish, actually I am showing 3.5 yr fake experience in AWS devops, actually I want to know Which AWS Resources we want to study...I am totally confused (I know only Ec2,Lamda,Beanstack,Ebs,S3,Efs,storage gateway,VPC,IAM,Auto Scalling,Load Balancer,Cloud Formation,Cloud Front,Cloud Watch,Sqs,Ses,Sns,AWS Cost Optimization,Rout 53....This much) is this sufficient for if I am showing 3.5 Yr experience Plz help me Apart from I know All Devops Tool Git Ansible Teraform Docker K8 Maven Jenkins.I am totally confused with Aws Resources Plz help Me....
The best video on CZcams on project explanation. Thank you for this great content
Glad it was helpful
Seriously you are doing great . I was searching this type of video from last 2 month no one will explain the real time environment things . Thanks
Means a lot, Hrithik
A very well explained youtube video for a project, I am giving interviews after a very long time being off project. It was a good revision and will definitely help in giving interviews. Keep making great content...All the best.
This made my day. Thanks a lot, mate.
Love from kerala your video are worth and waiting for many
Made my day, thanks a lot!
Amazing. Was searching for something like this.
Glad I could help
I understood about artifacts after this. Thank you so much, Sir.
Means a lot, mate.
Very good explanation of project ….i love it …you are good
Means a lot, mate. Do share with other folks.
One of the best videos. ❤
Best video this side of the internet! Just kidding, but I appreciate the love!
Amazingly explained ravish bhai ❤
Thanks a lot, Vivek
you rock it! thank you for your effort!
Means a lot
Greetings of the day,
Thanks for good explaining about the process... please list out the issues or the type of errors occur in each each environment like dev, QA, uat, prod. will help us alot to answer in interviews..... please make a video or document so that will be more useful for us.. TIA... Happy learning😀
🎧
Sure thing.
Amazing session. Easily explained and summarized a project. Thank ypu for this🙂
In interviews, we can showcase this with whoch branching strategy?
Feature, Task & Release?
It totally depends on you. Choose the one that helps you explaining it better.
Good Explanation. Thanks.
Appreciate it. Thanks.
Thank you for the great explanation.
Thanks for the feedback 🙏🏻
thanks you so much for this videos.. i have been searching for this kind of videos . great job helped me..
Glad to hear that
@@LogicOpsLab could you please tell what happens in deployment..
How to deploy to dev qa uat n pro environment
@@sourabh4834 Deployment means the application is now fully functional and is ready to be consumed by everyone.
Every tool has a separate process for the deployment but the end result is the same.
Can i say for dev qa was running on Tomcat so i was deploying to Tomcat... The. For the production deployment happening through Kubernetes
Thanks for Very good explanation bro
Thanks and welcome
Hi Ravish, as you told in the video that Jenkins will fetch the code, sonarcube scanning,build,test, then push to the artifact, then deploy to the different environment like dev, qa, staging and prod. my question is how the artifacts get trigger to get deploy into theses stages, how the flow take place. example If artifact/Image get deploy into dev environment after the testing by dev team how QA , staging and prod environment get trigger? to deploy in each environment how the manager approval process take place what is the flow.. please explain this. I am having devops interview on Monday.🙏🙏
Here's a general overview of how this process might work:
1) Development Environment:
Developers write and test code in their local development environments.
Once satisfied, they commit their code to a version control system (e.g., Git).
Before pushing changes forward, automated testing can also be conducted in the development environment.
2) Continuous Integration (CI) Pipeline:
The committed code triggers an automated CI/CD pipeline.
The pipeline compiles/builds the code runs unit tests and generates an artifact (e.g., Docker image, executable, etc.).
If the tests pass, the pipeline produces a "build artifact" ready for deployment.
3) Quality Assurance (QA) Environment:
The build artifact is automatically deployed to the QA environment.
Automated integration tests, regression tests, and other QA processes are performed in this environment.
The artifact can be promoted to the next stage if the tests are successful.
4) Staging Environment:
The artifact is automatically deployed to the staging environment, which should closely resemble the production environment.
More extensive testing, including performance testing and user acceptance testing, can be performed here.
If the artifact passes all tests, it's ready for production.
5)
At this point, some organizations introduce a manual approval step before deploying to production. This is often done for risk mitigation and to ensure that critical changes are reviewed before going live.
Managers or designated individuals receive notifications about the pending deployment.
They review the changes, assess potential risks, and decide whether to approve or reject the deployment to production.
6) Production Environment:
Once the manager approves, the artifact is automatically deployed to the production environment.
Depending on the organization's practices, this deployment can happen instantly or during a scheduled maintenance window.
Continuous monitoring and automated rollback mechanisms should be in place in case any issues arise after deployment.
It's important to note that the specifics of this process can vary widely depending on the organization, the tools and technologies in use, and the specific requirements of the application being deployed. The key principles are automation, consistency, and thorough testing at each stage to ensure that code changes move through the pipeline reliably and without causing disruptions in the production environment.
In short, dev to qa promotion is QA's responsibility.
QA to production anyone from a senior perspective can promote. It is mostly a team. The production deployment happens in front of everyone. The DevOps/PO leads are the ones monitoring it.
@@LogicOpsLab thank you sir.. As of my knowledge, automatic deployment from 1 environment to other environment is take place by jenkins webhook right? example suppose we have 4 branch in git hub like dev, qa, staging, prod.. when developer push the code to git hub ,with a help of webhook jenkins will fetch the code then automated build, test, deployment to dev environemnt take place,, after that when code merge to the qa branch, web hook will trigger code to jenkins then same step will take place as earlier then deployment to QA environment, then same thing for staging and production environment... Am I correct?
In shorts, automatic deployment from dev to qa, qa to staging, staging to production is happen with a help of webhook trigger after merge with dev to wq, qa to stage, stage to prod branches in git hub,
Am I correct? please help me on this
If Iam wrong then on what mechanism automatic deployment between different env take place?
please help me on this🙏
@@NaveenKumar-vy2ug Automatic Deployment can be done on the basis of a "Trigger".
The right word is Trigger over here. Now, this Trigger can work differently in different tools. You can use it using a webhook, you can manually do it in Azure DevOps, and other CI tools.
thank you sir@@LogicOpsLab
Hi Ravish Yr videos are very useful. But in reality there is very different scenario.i cleared first round in two big MNCs. But i was rejected in both interview in second round Though i clearly explained them .and gave 90 percent of right technical answers . They just want that person should work in same tech stack. They are least concerned about work distribution and yr current project.
Thanks for the feedback, Anant. Appreciate it.
Try thinking it this way, if you are working in the same stack that you were working in the previous company, where is the margin to learn? In my opinion, you should join a company with 65-80% overlap. Otherwise, you are doing the same thing and this is penny wise, pound foolish.
Next time, ask them for feedback. I assume there would be some non-negotiable technology and if you do not answer that, you will be rejected. Always know about the JD, what are the "Good to Have" and what are "Must Have".
Best wishes, mate.
@@LogicOpsLab -Yes thats what i asked them , they rejected me just bcoz in my past company i did not got opportunity to work on Azure data bricks as hand on. many company's are copy pasting in sharing the JDS.
@@anantsolanki9471 True! I feel you but I think you just dodged a bullet. There are better opportunities waiting for you. Your personal growth matters a lot, you are not a robot who will do the same thing again and again. Wish you the best, mate.
@@LogicOpsLab -Thanks Ravish, yr videos help us a lot in learning in field of DevOps.
@@anantsolanki9471 Keep growing, mate!
Very helpful video
Thanks a lot.
Thank you so much Ravish 🥰
Glad I could help you :)
Very helpful 🙏🏻
Thanks for the support
you are kind of farishta for me,, in the form of human 🙏
Too kind of you 🙏🏻
Thanks for explaining this so well. Will add a few more things to it and use it as a base
Glad you liked it
great one
Thanks for all the support.
Hi Ravish, Thanks for the video. It is good. I have one question.
@22 min 16 sec you said it is tested and pushed in dev environment by developers. Do you mean to say dev team also has web interface for website (similar to prod) where they check all functionality related to website or app?
A DevOps will create a Dev environment for the developers. This is done so that the developers can test how their code will look like when it will be promoted to higher environments. It can be done two ways, either they can push their code and the build starts automatically or they can manually trigger a build.
Sorry but still not clear. I am asking, if my code (devloped code by dev) is for website or for application. Then that website is available for devloper on other test URL or dev URL?
To check their implementation is reflecting correct changes on website or not?
@@vinayaksalunkhe2875 It would be available on Dev URL. Every environment MUST have a separate URL. If it is a VM then the application/website has to be exposed through an IP address or a DNS name. If it is a web service, then a URL will be there for Developer testing.
Therefore, for every environment, there MUST be a separate URL/Web Interface to test. I hope it makes sense now?
@@LogicOpsLab Thanks bro....
Now it's clear.
@@vinayaksalunkhe2875 You are welcome!
Insightful video, However, could you please let me know how application code branch and infrastructure branches are integrated? CI/Cd platform like GitHub action . i am aware of calling and called concept of GitHub workflow just wanted to know every time a developer pushes a code or any changes in the code, the corresponding workflow runs right (like an event driven pipelines) and it deployed to dev environment, so my question is every time DEV environment is dynamically created or all the environments are already there
Creation of environments in a one time process. You just create an environment one time and use it forever, unless you nuke/destroy it. Also, however the deployments happens 'n' number of times.
Hi Ravish, I have doubt. After dev pushes the code into SCM, devops eng makes sure that artifact is built and deployed into different environments. How do QA team test the code? Do they run tests on artifact's? cause once you create artifact you deploy the application right. Where exactly or in which step/stage ? Or on what exactly are testers testing the code? And where does a devops engineer come in between development and qa?
Thanks for your question, Venkat.
So, once the code is deployed In Dev, the developers do the initial testing. Once they're okay, the code is promoted to the Staging / QA environment. That's the time the QA folks test on the respective environment. It depends what type application it is, if it's a web app, the testing could be Selenium. There are other several testing frameworks. Api testing, manual testing, etc
DevOps folks are needed to promote the build from Dev to QA or to any higher environment.
The process differed company to company.
@@LogicOpsLab Thanks really appreciate and also Ravish I have another doubt. Once is build is successful and deployed into QA env. Do the testers create a new branch in the SCM and work on it? If all the tests are successful, they do a pull request to which branch ? Master or staging ?
Testers don't create a new branch for testing unless there is a special case of writing new test cases. Even then they test their branch first, merged it to Dev, then it gets merged to higher branches.
@@LogicOpsLab OP bro. Thanks for replying immediately. This video really did help me.
Glad it was helpful. Do like and share with your friends.@@taknevydder
Very Good and Informative, but missed hotfix branching from the release/live branch. Thanks for your time
Thanks for the suggestion, mate. But, discussing branching strategies would've made a video longer. I have created a separate video for the same.
Hello Sir, Apologies if my question is invalid, please educate me… Are the DEV,QA and PROD. the job of a Devops Engineer. and What about K8 and Docker Terraform and python in our project. please explain. Thanks in advance.
Hey! Thanks for the question.
Yes, all of the tech you mentioned is a responsibility of a devops engineer.
Personal Opinion - It can vary company to company but wherever I have worked till date, it has been always my responsibility.
How to answer Can u walk us through a project u made wider impact on department/organization, Your contrition to the project-for 3 years expereienced
Key Achievements:
Highlight the key achievements and contributions you made.
Focus on specific results, improvements, or impacts. Use quantifiable data when possible. For example:
"I led a team that reduced deployment times by 40% through automation, resulting in a 20% reduction in operational costs."
"I implemented a CI/CD pipeline that reduced the error rate by 60%, improving the overall reliability of the system."
Challenges Faced:
Mention any challenges or obstacles you encountered during the project. This shows that you can adapt and problem-solve.
"We faced scalability issues, which I addressed by redesigning the architecture to handle 10 times the previous load."
Lessons Learned:
Share any lessons you learned during the project. Mention how these lessons could be applied to future projects.
"One important lesson was the value of effective communication and documentation in complex projects. This experience has made me a better team player and communicator."
Hi, which tool they use to build C# and .Net applications?
Create a build pipeline that defines the steps needed to build your C# and .NET application. In the pipeline, you'll specify tasks such as restoring NuGet packages, building the solution, running tests, and possibly other steps depending on your project's requirements.
👌👌👌
😀
Hi , I have 1 doubt ,
sonar cube scanning is done before code build?
It is totally your call:
1) Scanning before - Useful to get the code coverage, if the code coverage is beyond what you have set up in the quality gates, then it's cool. Otherwise, fail the build.
2) After - After the code is successfully built, the SonarQube analysis is performed on the generated binary or package. This analysis checks for code quality, security vulnerabilities, code smells, and other metrics.
@@LogicOpsLab thank you 🙏🙏
for nodejs application what artifacts we get when build stage like for java .jar
For Node.js applications, the build process typically involves packaging the application into a distributable format, often as a Node Package Manager (npm) package. This package includes the application's source code, dependencies, and any necessary configuration files. Unlike Java applications, which are often packaged into JAR, WAR, or EAR files, Node.js applications are typically distributed as npm packages, which can be easily installed and managed using npm or Yarn.
Could you please explain a GCP devops project wit challenges you faced.
Will make a video on it
Deployments any stages and step up environments and infrastructure should be taken care by everything DevOps Engineer?
More than 90% of the time, yes! Unless there is a separate team for infrastructure, which rarely happens.
Thankyou for sharing valuable information,
Could you please make a video with azure cicd pipeline and deploy with target environment web app
Sure, will put it in a week or so.
💯
Thank you
Hi iam not getting calls for devops job as a fresher can u help on it please
Check out my resume series and make changes accordingly. It will surely help you.
how can we put this in resume for interview?
I have a few devops real time projects on my channel. Just check one of them, and put that in your resume. Explain it in this way.
Docker😢😢😢
What about it?
@@LogicOpsLab interview on Docker please Rocky bhai 🤗
@@iamsohailsp Sure thing
Hii Ravish, actually I am showing 3.5 yr fake experience in AWS devops, actually I want to know Which AWS Resources we want to study...I am totally confused (I know only Ec2,Lamda,Beanstack,Ebs,S3,Efs,storage gateway,VPC,IAM,Auto Scalling,Load Balancer,Cloud Formation,Cloud Front,Cloud Watch,Sqs,Ses,Sns,AWS Cost Optimization,Rout 53....This much) is this sufficient for if I am showing 3.5 Yr experience Plz help me Apart from I know All Devops Tool Git Ansible Teraform Docker K8 Maven Jenkins.I am totally confused with Aws Resources Plz help Me....
Please connect with me on LinkedIn
Sir I am everytime following u but still u suggest me,is there another service required