Azure DevOps: Provision API Infrastructure using Terraform - Full Course

preview_player
Показать описание
In this full course, we’ll automatically provision an API on Azure including the infrastructure required to run it, (by defining the infrastructure as code)! You’ll be shown how to do this completely step by step using: .NET Core 3.1, Docker, Docker Hub, Azure DevOps, Terraform and Azure.

When done, you’ll understand the power of Infrastructure as Code!

Level: Beginner / Intermediate

INTRODUCTION
- 1:57 Course Overview
- 5:23 What we'll build
- 8:22 Benefits of Infrastructure as Code
- 9:35 Tooling

API, DOCKER & GIT
- 10:55 Set up / Scaffold API
- 12:50 Remove Https Redirection
- 14:00 Dockerfile: Package with Docker
- 15:20 Build Docker Image
- 16:43 Run Docker Image
- 18:09 Push Docker Image to Docker Hub
- 19:10 Add .gitignore file to project
- 19:43 Initialise Local Git Repository
- 20:25 Create Github Repo and push local repo

TERRAFORM
- 22:01 Benefits Terraform
- 32:29 Overview of Terraform commands (init, plan, apply & destroy)
- 33:31 Initialise Terraform Provider (terraform init)
- 34:00 View the Terraform Plan (terraform plan)
- 34:36 Security considerations Pt 1
- 36:30 Provision Resources (terraform apply)
- 41:55 Re-run terraform plan
- 42:30 Re-run terraform apply
- 43:25 Test terraform provsioned API
- 44:00 Security Considerations Pt 2 Service Principal
- 48:05 Create Service Principal on Azure
- 54:00 Add Service Principle Environment Variables for User
- 56:45 Test Service Principle Set up at Command Line

AZURE DEVOPS (Pt1)
- 58:36 Create Azure DevOps Project
- 59:35 Create Service Connections
- 1:02:45 Create our Azure DevOps Pipeline
- 1:08:00 Manually Trigger Pipeline (Deploy Docker Image)
- 1:10:10 Check Out Docker Image was deployed
- 1:11:42 Trigger Pipeline from Desktop

AZURE DEVOPS (Pt2)
- 1:15:21 Configure Pipeline to use Service Principal
- 1:37:25 Use terraform Destroy to remoeve all resources on Azure
- 1:39:18 Remove Docker Image from Docker Hub
- 1:40:20 CHECKPOINT: Clean slate before we run our Pipeline
- 1:40:43 Push all our code to GitHub to trigger build & provison stages
- 1:43:10 Provisioning Failure Investigation
- 1:45:10 Image Versioning Discussion
- 1:49:21 Idempotency and the need for versioning
- 1:55:55 Re-run out pipeline
- 2:00:25 Test Our API

FINAL THOUGHTS & ACKNOWLEDGEMENTS
-2:01:22 Homework
-2:02:35 Patreon Supporter Credits
Рекомендации по теме
Комментарии
Автор

I learned more from this video in 2 hours than from a week's worth of dredging through documentation and examples. You're great! Love the content!

averageoddity
Автор

Hey Les, thank you SO MUCH for this tutorial!!!!

I implemented this for a job opportunity as a DevOps Engineer in order to get familiar with Terraform, and in my 2nd interview I straight up demoed a personal project of mine and with this pipeline/workflow and, literally the very next day I was sent an offer.. and I accepted!

I'm currently going through a couple more of your other videos and I absolutely LOVE how thorough but still straightforward you are with your explanations. Please, PLEASE, keep this channel going strong as I know it's helping hundreds/thousands of developers/engineers with improving their skillsets (and ultimately, their life in general)!!!

Many thanks again to you :)

charlesw.
Автор

This has to be the most beautiful devops/terraform walkthrough I have come across so far. Thank you.

litaninja
Автор

The entire architecture was explained with so much details. And I always love how Les takes extra care about security in the infrastructure.. Another good project. Keep it up Les :)

pchak
Автор

There are tonnes of videos on this topic, but none explains so clearly as Les does, makes incredibly easier to understand and am now confident using Terraform and Azure DevOPS, many thanks for all yout time and effort, much appreciated Les

csmarpuri
Автор

You are genius in a way explaining things step by step slowly - creating issues yourself and resolving it. If any issue happening in my project relating to azure pipeline, terraform and docker first thing I will do is watch this video ( Not the documentation portal) - sure will get the solution quickly.

mbkvec
Автор

Fantastic follow along course... I literally went from beginner to Pro on Terraform in only 2 hours

ibiawosanya
Автор

Thanks a ton, my friend Les. I have done the tutorial with you all the way to the end. It's incredible, the way you have broken it down into smaller doable parts. Hats off.

FH
Автор

Les, you are doing videos of every single thing I need to do with my projects. You're my hero!

OmarNgX
Автор

This Service Principle set up was awesome! Loved it!

AdrianVrabie
Автор

Les, thank you so much for this video. I come from a primary infrastructure background and I am learning to automate Terraform with Azure Devops for our infrastructure environment. This really cut down the my learning curve by helping me know what to look for.

Tedwreckz
Автор

Hey Les, amazing video! One suggestion - it'd be great to have the timestamps on the YouTube bar rather than only description. It's a simple change. YouTube will automatically pick it up from the description if you format it like...
00:00 Intro
1:57 Course Overview
5:23 What we'll build

You always need a 00:00 timestamp, min of 3 timestamps, and timestamps must be 10 seconds minimum

Rhodair
Автор

Subbed! Les you should continue to produce tutorials. This by far is the best, if not one of the best, on automating infrastructure with terraform. I very much appreciate the CLI (ground up) to automated approach. This video is well structured and clear!!! Thanks 😊

sm
Автор

I have learnt so much by following the video step by step.
Thanks a lot Les....same to you stay safe wherever you are.

zulhishamtan
Автор

Really appreciate the amount of structure and thought that has gone into this Les. Also appreciate the accent as I'm welsh! Subbed

danieljayne
Автор

Really great, most helpful and love the 'from the ground up' approach.

aaronmorgan
Автор

Another Amazing Video on Terraform and full life cycle of Development PRocess Appreciate your efforts

happyshoppi
Автор

Regards to your acting skills (1:22) - yes you definitely do a great job - and accordingly, I see your videos on my 65" TV (Big Screen) :D LOL.. Jokes apart, awesome as always - keep it up!

HiteshTulsaniAtGooglePlus
Автор

Thanks for sharing. I have used Terraform before but on AWS infrastructure. Now thanks to you, I should be able to do the same for Azure as well. Thanks again !!!

raghavbuz
Автор

you got my full attention and commitment in the very first minute. I will continue the Full Course now. Hopefully it will help me hunt the job i desire. great acting skills btw. cheers

ahmedmragab
visit shbcf.ru