AzureFunBytes Episode 61 - Deploying to @Azure is one "git push" away with @juliendubois
Tags: gitops, opensource, cloud, azure
Published: 2021-10-28 19:25:51

AzureFunBytes is a weekly opportunity to learn more about the fundamentals and foundations that make up Azure. It's a chance for me to understand more about what people across the Azure organization do and how they do it. Every week we get together at 11 AM Pacific on [Microsoft LearnTV](https://cda.ms/226) and learn more about Azure.

![AzureFunBytes animation](https://res.cloudinary.com/practicaldev/image/fetch/s--Z7BxBMz1--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j2xzw2g664tj31jij13t.gif)

Advancements in how to streamline your software and operations processes have put power in the hands of developers teams now more than ever.  Whether it's using [Infrastructure as Code](https://cda.ms/31w) (IaC) or [Continuous Integration and Continuous Deployment](https://cda.ms/31H) pipelines, automation has been proven to help teams deliver faster and more reliably. 

GitOps is another CI/CD methodology that focuses on a developer-centric  experience by using tools that they may already be familiar with, like Git.  Created by [Alexis Richardson](https://twitter.com/monadic) of [WeaveWorks](https://www.weave.works/), GitOps focuses on deploying faster and more often by utilizing your version control system to deploy when you've merged a commit into your main branch.  This allows for easier rollbacks, because everything you've modified is tracked within your source control provider, whether using a self-hosted Git repository or popular providers such as GitHub and Azure DevOps.

On this week's episode of AzureFunBytes, Principal Manager, Java Developer Advocate [Julien Dubois](https://twitter.com/juliendubois) joins me to show how deploying to Azure is one "git push" away using a new Open Source tool called [NubesGen](https://www.nubesgen.com/).

{% youtube nzKzWqLI2NA %}

[00:00:00 - Open](https://youtu.be/jwfQ3DeMb2w)
[00:03:28 - Intro to Julien](https://youtu.be/jwfQ3DeMb2w?t=208)
[00:09:13 - How did you get here?](https://youtu.be/jwfQ3DeMb2w?t=553) 
[00:13:46 - What is GitOps?](https://youtu.be/jwfQ3DeMb2w?t=826)
[00:14:54 - NubesGen](https://youtu.be/jwfQ3DeMb2w?t=894)
[00:17:11  - What languages can I deploy with NubesGen?](https://youtu.be/jwfQ3DeMb2w?t=1031)
[00:20:43 - Is NubesGen just for GitHub?](https://youtu.be/jwfQ3DeMb2w?t=1243)
[00:25:05 - Generating a web application with JHipster](https://youtu.be/jwfQ3DeMb2w?t=1505)
[00:30:56 - Create our configuration files with NubesGen](https://youtu.be/jwfQ3DeMb2w?t=1856)
[00:34:55 - Setup GitOps script](https://youtu.be/jwfQ3DeMb2w?t=2095)
[00:37:31 - GitHub Actions workflow file](https://youtu.be/jwfQ3DeMb2w?t=2251)
[00:39:53 - git push](https://youtu.be/jwfQ3DeMb2w?t=2393)
[00:42:00 - Looking at a completed build](https://youtu.be/jwfQ3DeMb2w?t=2520)
[00:47:13 - What broke?](https://youtu.be/jwfQ3DeMb2w?t=2833)
[00:50:26 - The deployed Java Web App](https://youtu.be/jwfQ3DeMb2w?t=3026)
[00:52:14 - Azure environment configuration](https://youtu.be/jwfQ3DeMb2w?t=3134)

Our Agenda for the show:

- An overview of GitOps, a recent methodology that automates infrastructure management using Git as a single source of truth
- Using [Terraform](https://cda.ms/31y) and [GitHub Actions ](https://cda.ms/31x) with Azure
- How Microsoft encourages Open Source
- Live-coding an application and deploying it to Azure using GitOps, Terraform and GitHub Actions

About Julien Dubois:

***Julien Dubois manages the Java developer advocacy team at Microsoft.***
***He is known as the creator and lead developer of the JHipster project, and as a Java Champion. In the past 20 years, Julien mainly worked with the Java and Spring technologies, leading technical teams for many different customers across all industries. As he loves sharing his passion, Julien wrote a book on the Spring Framework, spoke at more than 200 international conferences, and created several popular Open Source projects.***

------

Learn about Azure fundamentals with me!

Live stream is normally found on Twitch, YouTube, and [LearnTV](https://cda.ms/226) at 11 AM PT / 2 PM ET Thursday. You can also find the recordings here as well:

[AzureFunBytes on Twitch](https://twitch.tv/azurefunbytes)
[AzureFunBytes on YouTube](https://aka.ms/jaygordononyoutube)
[Azure DevOps YouTube Channel](https://www.youtube.com/channel/UC-ikyViYMM69joIAv7dlMsA)
[Follow AzureFunBytes on Twitter](https://twitter.com/azurefunbytes)

Useful Docs:

[Get $200 in free Azure Credit](https://cda.ms/219)
[Microsoft Learn: Introduction to Azure fundamentals](https://cda.ms/243)
[Microsoft Learn: Apply Azure Arc enabled Kubernetes cluster configurations by using GitOps](https://cda.ms/31G)
[GitOps for Azure Kubernetes Service](https://cda.ms/31v)
[CI/CD workflow using GitOps - Azure Arc-enabled Kubernetes](https://cda.ms/31D)
[Configurations and GitOps with Azure Arc-enabled Kubernetes](https://cda.ms/31F)
[What is Infrastructure as Code?](https://cda.ms/31w)
[NubesGen](https://www.nubesgen.com/)
[What is GitHub Actions for Azure](https://cda.ms/31x)
[Terraform with Azure](https://cda.ms/31y)
[Get Started: Configure Terraform in Azure Cloud Shell with Bash](https://cda.ms/31z)