#AskRaghav

  Рет қаралды 6,611

Automation Step by Step

Automation Step by Step

Күн бұрын

Пікірлер: 42
@mehnaz499
@mehnaz499 2 жыл бұрын
I was looking for blue/green production for elastic search in my organisation just in the morning where I have to upgrade specs. Saw your video, thank you so much.
@RaghavPal
@RaghavPal 2 жыл бұрын
Glad I could help Mehnaz
@chanchalgupta8390
@chanchalgupta8390 2 жыл бұрын
Thanks Raghav for the basics of Green Blue deployment. It would be helpful if you can come up with best automation approach for this green one deployment on production.
@RaghavPal
@RaghavPal 2 жыл бұрын
Sure I will Chanchal
@leg875
@leg875 2 жыл бұрын
“Never stop learning” catchy 😎
@RaghavPal
@RaghavPal 2 жыл бұрын
Thanks for watching
@ketanpatil4064
@ketanpatil4064 Жыл бұрын
so much helpful..thanks raghav
@RaghavPal
@RaghavPal Жыл бұрын
Most welcome Ketan
@IshwarMusical
@IshwarMusical 3 ай бұрын
Thanks Raghav ji🙏
@RaghavPal
@RaghavPal 3 ай бұрын
Most welcome Ishwar
@ShyamKumar-rl3rw
@ShyamKumar-rl3rw Жыл бұрын
Hi Raghav, Thank you for your efforts and sharing this video. It’s very useful. my doubts got clarified today on this confusion blue green topic, however I have three questions. 1. How blue green deployment is useful for slotting mechanism in app services in azure 2. What more are the real time challenges we face during execution of blue green deployments 3.please share any example link to implement blue green deployment in azure pipelines. please keep doing more such videos on azure devops nested yam lol pipelines and also on deploying same code to different web apps using azure devops release pipelines , once again thank you
@RaghavPal
@RaghavPal Жыл бұрын
Hi Shyam 1. Blue-green deployment is a deployment strategy used in app services in Azure to minimize downtime and ensure a smooth transition between different versions of an application. In this approach, two identical environments, known as the blue and green environments, are set up. The blue environment represents the current live version of the application, while the green environment represents the new version being deployed. During a blue-green deployment, the green environment is deployed and tested without impacting the live production environment (blue). Once the green environment is deemed stable and ready, a traffic routing mechanism is used to switch the incoming traffic from the blue environment to the green environment. This allows for a seamless transition, with minimal or no downtime for end-users. Blue-green deployment in app services provides a slotting mechanism, where slots are additional instances of the app that can be used for staging and testing purposes. These slots allow you to deploy your application to a separate environment and perform tests, validation, and verification before routing traffic to the new version. Once the new version is verified, the traffic can be smoothly redirected to the new slot (green environment). 2. Real-time challenges during the execution of blue-green deployments can include: - Configuration synchronization: Ensuring that all configurations, environment variables, and dependencies are properly synchronized between the blue and green environments. - Data consistency: Managing and ensuring data consistency between the blue and green environments, especially if there are database or storage dependencies. - Traffic routing: Implementing a robust traffic routing mechanism that seamlessly redirects user traffic from the blue environment to the green environment without causing disruptions or errors. - Rollback strategy: Having a well-defined rollback strategy in case any issues or errors are encountered during the deployment process. This includes automated rollback procedures and ensuring that data integrity is maintained. - Testing and validation: Conducting comprehensive testing and validation of the new version in the green environment to identify any issues, performance bottlenecks, or compatibility problems before directing live traffic to it. 3. Example - Microsoft Azure Documentation: Azure Deployment Slots Link: docs.microsoft.com/en-us/azure/app-service/deploy-staging-slots
@ShyamKumar-rl3rw
@ShyamKumar-rl3rw Жыл бұрын
@@RaghavPal ,Thank you for sharing the info. Can you please provide any step by step guide document or any non MS link to implement this B-G deployment in my azure portal using Azure devops pipelines
@RaghavPal
@RaghavPal Жыл бұрын
Shyam As of now I do not have any doc or guide on this. Will need to get online help. For reference, here are some general steps overview: 1. Set up Azure resources: Create two separate environments, typically referred to as "Blue" and "Green," which are identical production-like environments where you'll deploy your application. 2. Configure load balancer: Set up a load balancer to distribute incoming traffic between the Blue and Green environments. This can be achieved using Azure Traffic Manager, Azure Application Gateway, or other load balancing services. 3. Build and deploy pipeline: Set up a CI/CD pipeline in Azure DevOps to build, test, and deploy your application to the Blue environment. This pipeline should be triggered by changes in your source code repository. 4. Test and validate: Once the deployment to the Blue environment is complete, perform thorough testing to ensure the application is functioning as expected. This can include functional testing, performance testing, and any other relevant tests. 5. Swap the environments: If the testing is successful, initiate the swap process to redirect the traffic from the Blue environment to the Green environment. This can be achieved by updating the load balancer configuration or DNS settings. 6. Validate the swap: After the swap, perform validation tests on the Green environment to ensure everything is functioning correctly in the new environment. 7. Rollback: In case any issues arise after the swap, you should have a rollback plan in place to quickly revert the traffic back to the Blue environment. Please note that the specific implementation details may vary depending on your application architecture, Azure services you're using, and your specific requirements. It's recommended to refer to Azure's official documentation, tutorials, or blogs for detailed step-by-step instructions tailored to your specific scenario. You can search for Azure DevOps Blue-Green deployment guides on the official Microsoft Azure documentation website or explore Azure DevOps-related blogs and resources to find detailed implementation guides and examples
@a1adda229
@a1adda229 2 жыл бұрын
It's very useful Raghav. Thanks for this video. Keep rocking👍😎
@RaghavPal
@RaghavPal 2 жыл бұрын
Most welcome
@mrbj3021
@mrbj3021 2 жыл бұрын
Do we need to maintain both the environments all the time? Or only during the time of deployment by creating an image?
@RaghavPal
@RaghavPal 2 жыл бұрын
Hi, To reduce the cost, after successful deployment and switching of environment, the Test env can be stopped and restarted before the next release
@rachmatdwis447
@rachmatdwis447 2 жыл бұрын
is dev environment on OCP (openshift) can be considered as green deployment?
@RaghavPal
@RaghavPal 2 жыл бұрын
No both Blue and Green env are Prod env and can be on any platform as being used by the team/org
@baskitheboss1725
@baskitheboss1725 2 жыл бұрын
Hi Raghav, in Azure devops there are some certifications available, please suggest which one is suitable for qa engineers
@RaghavPal
@RaghavPal 2 жыл бұрын
I will check and then recomment
@prithvimuniraj8388
@prithvimuniraj8388 2 жыл бұрын
Hello Raghav, Usually production environments set up is a costly affair. Is this not a costly affair to have two prod like environments for the usage of this deployment strategy?
@RaghavPal
@RaghavPal 2 жыл бұрын
You're right Prithvi, to reduce the cost, after successful deployment and switching of environment, the Test env can be stopped and restarted before the next release
@durgaprasadvinukonda
@durgaprasadvinukonda Жыл бұрын
Thanks a lot sir . Now I got what is blue green deployment . I just started learning devops course . Could you please suggest me from we’re I need to start ?
@RaghavPal
@RaghavPal Жыл бұрын
Great Durga, Understand the basics of DevOps: Start by learning about the fundamental concepts of DevOps, such as Continuous Integration (CI), Continuous Deployment (CD), and Continuous Delivery (CD). You can find many resources online, such as blogs, tutorials, and videos, to help you understand these concepts Learn a scripting language: A scripting language such as Python or Bash is an essential skill for a DevOps engineer. You can start learning one of these languages by following online tutorials and practicing coding exercises Learn about version control: Version control is a key aspect of DevOps, and Git is one of the most popular version control systems used today. Start by learning how to use Git to manage code and collaborate with others Learn a configuration management tool: Configuration management tools such as Ansible, Chef, and Puppet are used to automate the deployment and management of infrastructure. You can start learning one of these tools by following online tutorials and practicing on a virtual machine or cloud environment Practice building and deploying applications: Practice building and deploying applications in a cloud environment such as AWS, Azure, or Google Cloud Platform. This will help you gain experience in using different tools and technologies, and understand how to manage infrastructure and applications in the cloud Join online communities: Join online communities such as Reddit or StackOverflow, and participate in discussions with other DevOps professionals. This can help you learn from others and stay up-to-date with the latest trends and technologies Remember that DevOps is a broad field, and there are many tools and technologies you can learn. Don't get overwhelmed and try to learn everything at once. Start with the basics, and gradually build your knowledge and skills over time. Good luck with your learning!
@rangaswamy3839
@rangaswamy3839 2 жыл бұрын
Hi raghav this is ranga am regularly following your videos from past 3 yrs but i have a doubt like i want to learn mobile automation which tool i need to prefer appium or katalon pls suggest me
@RaghavPal
@RaghavPal 2 жыл бұрын
Hi Ranga, I will suggest you spend some time with Appium first, this will give you exposure to setup for Mobile Testing, Katalon also uses Appium at the backend and provides wrappers over the appium library so that you do not have to do the basic setup yourself
@rangaswamy3839
@rangaswamy3839 2 жыл бұрын
@@RaghavPal really thank u for ur reply raghav
@rangaswamy3839
@rangaswamy3839 2 жыл бұрын
Hi raghav may i know your mail id please
@RaghavPal
@RaghavPal 2 жыл бұрын
can message me here
@saisai-tv5st
@saisai-tv5st 2 жыл бұрын
How data will sync in blue and green?
@RaghavPal
@RaghavPal 2 жыл бұрын
we use common data sources as shown in the last part of the video
@sangativamsikrishna1691
@sangativamsikrishna1691 Жыл бұрын
Hai Raghav, thanks for all your support and help to IT learning people. Can you please try to make a video on code quality testing using SonarQube and testing techniques like SAST and DAST topics in Devops project pipeline flows. Thank you
@RaghavPal
@RaghavPal Жыл бұрын
Will try Sangati
@sangativamsikrishna1691
@sangativamsikrishna1691 Жыл бұрын
Sure, Thank you
@SetiaPrashant
@SetiaPrashant 2 жыл бұрын
Isn’t it just like Active-Active deployment I.e both are hot hot.
@RaghavPal
@RaghavPal 2 жыл бұрын
thanks for the message
@Unique678Unique67
@Unique678Unique67 Жыл бұрын
Sir u give staff for me
@RaghavPal
@RaghavPal Жыл бұрын
Hi Bharth, what exactly are you looking for
@firstjm9071
@firstjm9071 Жыл бұрын
👌
@RaghavPal
@RaghavPal Жыл бұрын
thanks for watching
What is Blue Green Deployment?
6:50
Telusko
Рет қаралды 58 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
School Of Basics | What is CI CD | What is CI CD Pipeline | Interview questions
10:59
#AskRaghav | Comparing the most popular Performance Testing Tools | Let's Find Out
11:50
Module 2 - AWS Overview
30:08
Cloud Experts
Рет қаралды 20
Jira Workflows: Customize for YOUR Projects (with Demo)
23:50
Automation Step by Step
Рет қаралды 853
Microservices explained - the What, Why and How?
18:30
TechWorld with Nana
Рет қаралды 906 М.
GitHub Actions Step by Step DEMO for Beginners
23:17
Automation Step by Step
Рет қаралды 100 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН