DevOps Project: Mastering VPC Creation with Terraform & GitHub Actions Automation

Sdílet
Vložit
  • čas přidán 29. 08. 2024
  • ► ▬▬▬▬▬▬ About🧾 ▬▬▬▬▬▬
    In this tutorial video, we'll walk you through creating a Virtual Private Cloud (VPC) infrastructure using Terraform and then automating the deployment of your Terraform code using GitHub Actions. Whether you're new to infrastructure as code (IAC) or looking to streamline your deployment workflow, this video covers all of it.🚀
    Here's what you can expect to learn:
    1. Setting up Terraform: We'll guide you through the initial setup of Terraform on your local machine, ensuring you have the necessary tools and configurations in place.🛠️
    2. Writing Terraform Code: You'll see how to write Terraform code to define your VPC infrastructure, including networks, subnets, security groups, and more. We'll provide clear explanations and best practices along the way.📝
    3. Initializing and Applying Terraform: Learn how to initialize your Terraform project and apply your code to create the VPC in your cloud provider.🌟
    4. GitHub Repository Setup: We'll guide you through setting up a GitHub repository to store your Terraform code, including creating a README, .gitignore, and other essential files.📂
    5. GitHub Actions Configuration: Discover how to configure GitHub Actions workflows to automate the deployment of your Terraform code. We'll cover secrets management and workflow triggers on pushing the code to a specific branch.⚙️
    6. Push to GitHub: See how to push your Terraform code to your GitHub repository and trigger the GitHub Actions workflow.📦
    7. Monitor and Verify: Learn how to monitor the progress of your GitHub Actions workflow and verify the successful deployment of your VPC infrastructure.🧐
    By the end of this video, you'll have a solid understanding of how to create and manage infrastructure using Terraform and how to automate the deployment process with GitHub Actions. Don't forget to like, subscribe, and hit the bell icon to stay updated with more exciting tutorials and tech content. Let's dive in and empower your infrastructure automation journey!💪📺
    ► ▬▬▬▬▬▬ GitHub Link of Project 🚀 ▬▬▬▬▬▬
    github.com/gau...
    ► ▬▬▬▬▬▬ Subscribe 🚀 ▬▬▬▬▬▬
    / @codewithgauri
    ► ▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
    LinkedIn: / gauri-shirkande-9610801a9
    Instagram: / code_with_gauri
    ► ▬▬▬▬▬▬ Disclaimer 💁‍♀️ ▬▬▬▬▬▬
    This video is solely made for educational purposes
    ► ▬▬▬▬▬▬ Email 📩 ▬▬▬▬▬▬
    gaurishirkande11111@gmail.com

Komentáře • 108

  • @debashissinha8489
    @debashissinha8489 Před 2 měsíci

    Explained with real-time small project model. Excellent indeed with rare qualities and Hats off to Gauri !!

  • @user-cp9xn2xd4n
    @user-cp9xn2xd4n Před 7 měsíci +1

    Awesome stuff, I can't find any video better explained on CZcams than this one

  • @iceman456dargonfan3
    @iceman456dargonfan3 Před měsícem

    Amazing! You are first person talk from what is vpc, and what are the definition of resources. This is very good for beginner of AWS developer

  • @rehantayyab82
    @rehantayyab82 Před 11 měsíci +1

    concepts explained very well, great work
    to continue further with this series
    1. create vpc and other basic infrastructure resources ( you alreay did in this video )
    2. in next step create eks cluster in same way like modules and bracnches and cicd approach and then merge with main through pr
    3. then deploy different applications on this eks cluster in same way , creating different branches and then merging with main

    • @codewithgauri
      @codewithgauri  Před 11 měsíci +1

      Sure Rehan...thanks for recommending stuff!🙏🏻

  • @c_w6692
    @c_w6692 Před 3 měsíci

    Thank you Gauri for this informative project. Really helped me clear all the concepts with hands on learning.

  • @nguyenthuat3679
    @nguyenthuat3679 Před 20 dny

    Thank you Gauri, you help me learn Terraform easily

  • @chandansahu780
    @chandansahu780 Před 6 měsíci

    From your video, I learned many more terraform concepts. I request you make one project for EKS and ECS cluster with VPC network equipment creation using Terraform.

  • @amitbajpai3431
    @amitbajpai3431 Před 4 měsíci +1

    thanks Gauri for this knowledgeable videos

  • @akbarmohammad1612
    @akbarmohammad1612 Před 11 měsíci +1

    Explanation was awesome 👍👍👍
    Thanks for sharing knowledge...

  • @TikTokTrendsCompilation
    @TikTokTrendsCompilation Před 11 měsíci +1

    Thank you for sharing. Subscribed and looking forward to more tutorials in DevOps topic

  • @emmanueldibia9418
    @emmanueldibia9418 Před 5 měsíci

    This is so explicit and interesting. Please can you expand on this project. Create 3 or more VPCs, connect them with transit gateway, and create the route tables.

  • @giteshghure212
    @giteshghure212 Před 4 měsíci +1

    Thank you so much for this project

  • @sahilaggarwal1970
    @sahilaggarwal1970 Před 7 měsíci

    Great vedio I learn a lot of things through this vedio. make projects projects like that it really help us

  • @naveensilver
    @naveensilver Před 6 měsíci

    Just Wowww…🙌🫡
    You are the Best and Thanks For sharing Content !! ❤️‍🔥
    Please continue more videos on DevOps Real Time-Scenario Projects !!

  • @nagrajkaranth123
    @nagrajkaranth123 Před 8 měsíci +1

    You are doing great job gauri

  • @Rathodrohith
    @Rathodrohith Před 11 měsíci +1

    Thank you for this, it helped a lot.
    Subscribed

  • @yogesh.bhosale_patil
    @yogesh.bhosale_patil Před 11 měsíci +1

    You’re doing a great job, keep up the hard work!

  • @minhanh-fq1yp
    @minhanh-fq1yp Před 3 měsíci

    thank you for a very informative video! i love ur handwriting btw

  • @prathapva
    @prathapva Před 9 dny

    make a video on Terraform data as well :D

  • @saswatpriyabrat
    @saswatpriyabrat Před 11 měsíci

    Excellent Job...Such a Wonderful Session...Way To Go🎉

  • @BigData-lg7is
    @BigData-lg7is Před 4 měsíci

    Awesome doing great job..keep sharing

  • @sumitpatkulkar5241
    @sumitpatkulkar5241 Před 6 měsíci

    Great efforts ..Thanks for sharing the knowledge... really helpful..

  • @sitanshumishra7854
    @sitanshumishra7854 Před 6 měsíci +1

    Please make more project like this

  • @deva_2022
    @deva_2022 Před 11 měsíci

    Wonderful project gawri .🎉🎉its helps lot.

  • @simranjeetsinghdua6016
    @simranjeetsinghdua6016 Před 11 měsíci +1

    good refresher for me:)

  • @santoshpandre5063
    @santoshpandre5063 Před 3 měsíci

    great explanation skills

  • @ibmuser13
    @ibmuser13 Před 6 měsíci

    Wonderful end-to-end setup Gauri! Thank you for patiently explaining. Also, you highlighted a very good practice that we should code and debug module by module .. Just one question - so does using github actions replace the need to use other CI/CD tools like Jenkins pipelines? If you could shed some light on this please.
    Thanks again.

  • @sarojb3252
    @sarojb3252 Před 11 měsíci

    Very nice . Good explanation , Keep it up.

  • @becatini
    @becatini Před 9 měsíci

    Great work. Thank you for such good content.

  • @ChandanKumar-xd1tg
    @ChandanKumar-xd1tg Před 4 měsíci

    Maza aay giya ❤❤❤❤❤❤❤❤❤❤❤❤❤😊😊😊😊😊😊😊😊

  • @Civaranjan
    @Civaranjan Před měsícem

    Thank you ❤

  • @dennisraborar4040
    @dennisraborar4040 Před 2 měsíci

    Great job Gauri! Can you create a workspaces using this project?

    • @codewithgauri
      @codewithgauri  Před 2 měsíci

      You can learn the workspaces using my Terraform workspaces video and try to implement it with VPC creation. I won't go for it since it would be more of a repeated stuff

  • @atatekeli9295
    @atatekeli9295 Před 8 měsíci +1

    One thing I'd like to add to your pipeline is to create a terraform destroy command just in case

  • @innovativecoder9564
    @innovativecoder9564 Před 11 měsíci

    Great work...amazing project!💯

  • @user-gh8cw7qs9l
    @user-gh8cw7qs9l Před 11 měsíci

    1000th subscriber 👏 it's me

  • @ajithdeshpande5137
    @ajithdeshpande5137 Před 10 měsíci

    👌 and great work 👏👏

  • @satyanarayanakanapuram3239
    @satyanarayanakanapuram3239 Před 6 měsíci

    Good efforts

  • @triptaminator1107
    @triptaminator1107 Před 6 měsíci

    thx, very interesting video

  • @prashanthvaddapelly4684
    @prashanthvaddapelly4684 Před 11 měsíci

    Nice explanation..

  • @joelfernandez5141
    @joelfernandez5141 Před 9 měsíci

    Thank you so much maam

  • @ibmuser13
    @ibmuser13 Před 5 měsíci

    Hello Gauri, at 1:31:41, in the alb module's main.tf, subnets is of type list(string) but it is not in square brackets? whereas security_groups is of type string but it is in square brackets...why is that?thanks

    • @codewithgauri
      @codewithgauri  Před 3 měsíci +1

      See, in case of subnets the type is list of string which means it is already a list then why mention brackets whereas in case of security groups they are of type string but while mentioning them in the resource definition it should be passed as a list(string) so we mention [ "value which is of type string" ]. I hope it is clear now!

  • @vijaymestry4236
    @vijaymestry4236 Před 5 měsíci

    best

  • @user-ro3fy3iq2t
    @user-ro3fy3iq2t Před 5 měsíci

    can you post the Kubernetes cluster & pod creation videos?

  • @srisantoshkumargopisetty5029
    @srisantoshkumargopisetty5029 Před 11 měsíci

    Firstly thanks, also could you please do some videos on s3 buckets and Ecs using terraform modules.

    • @codewithgauri
      @codewithgauri  Před 11 měsíci

      Sure...please let me know the project you want me to make using these resources

    • @srisantoshkumargopisetty5029
      @srisantoshkumargopisetty5029 Před 11 měsíci

      @@codewithgauri like creating Ecs cluster and creating services in that cluster with task and service definitions. Creating I am policy, cloudwatch groups , creating fargate instances, creating target groups, etc using terraform and how to use module concept to that service. How to reuse the code for dev, stage and prod. In our company we using octopus to define env using scope. Finally how to start and stop those Ecs cluster/ services using jenkins job.

  • @xiaoredix
    @xiaoredix Před 5 měsíci

    Hello Gauri. I am a newbie on Terraform, and many thanks for you videos and your sharing. I've tried to have a look on the GitHub Link of Project, but i've 404 page not found. it is still online ? thanks. Regards.

    • @codewithgauri
      @codewithgauri  Před 5 měsíci

      I am facing this issue actually...I don't know why it is not accessible to everyone.

    • @codewithgauri
      @codewithgauri  Před 5 měsíci

      It would be great if you could help me with this

  • @user-rm1gq2uw3p
    @user-rm1gq2uw3p Před 7 měsíci

    good video. just one thing. How do I destroy everything I have deployed?

    • @codewithgauri
      @codewithgauri  Před 7 měsíci +1

      Using Terraform destroy command

    • @user-rm1gq2uw3p
      @user-rm1gq2uw3p Před 7 měsíci

      ​@@codewithgauribut the command should be within runner of the job, I think. I only modified this part
      - name: Terraform apply
      id: apply
      run: terraform destroy --auto-approve
      working-directory: ./Terraform-VPC
      Thanks for the videos!!

    • @codewithgauri
      @codewithgauri  Před 7 měsíci +1

      @@user-rm1gq2uw3p yes that's right

  • @shrikantdesai6973
    @shrikantdesai6973 Před 7 měsíci

    Please make video on AWS WAF and how to define rule in it?
    and please explain what is BOT attack, Ddos attack, Sql injecting and Cross scripting
    and how to protect Web server from these attacks with help of AWS WAF?

    • @emmanueldibia9418
      @emmanueldibia9418 Před 5 měsíci

      That's a tough project. I will really love to see that

  • @noelhosanna6470
    @noelhosanna6470 Před 4 měsíci

    While I am git clone , we are getting 443 error can you clarify

  • @entitled_brat_93
    @entitled_brat_93 Před 11 měsíci

    Great video, but your modules aren't exactly DRY. Wouldn't it be better to dynamically create ingress and egress rules for security groups using for_each? For example, rather than hard-coding ports 80 and 22? SGs can vary for different instances, eg, if I need a bastion host on the public subnet to connect to my Kube Server on the private network.

    • @codewithgauri
      @codewithgauri  Před 11 měsíci +1

      I wanted to make it a bit simpler...but will consider it from next time...Thank you so much for the feedback...it helps me improve!

    • @anupwade5919
      @anupwade5919 Před 11 měsíci

      bro she explaind in nice way dont put ur suggestion as such ...... its beginner friendly video. let her make it complex at her own way .... dont throw ur opinion ... u seems like those interviewr who demotivated to others,,,,,,aur aise question or suggestion deke hum logo ko bhi confuse mat kar.......nice explaination gauri

  • @padmakumbha5344
    @padmakumbha5344 Před 11 měsíci

    Any output section configured for alb?

    • @codewithgauri
      @codewithgauri  Před 11 měsíci

      I think I haven't configured it...but you can do it

  • @user-lr7my1xz6q
    @user-lr7my1xz6q Před 9 měsíci

    Is it possible to deploy real website

    • @codewithgauri
      @codewithgauri  Před 9 měsíci

      where do you want to deploy your website?

  • @padmakumbha5344
    @padmakumbha5344 Před 11 měsíci

    Hi

  • @AspectBlitz-17
    @AspectBlitz-17 Před 11 měsíci

    Great work.. keep up it

  • @Kids-Ulagam
    @Kids-Ulagam Před 7 měsíci

    Hi Sister, I am getting this error message, while running the plan
    │ Error: multiple EC2 Availability Zones matched; use additional constraints to reduce matches to a single EC2 Availability Zone

    │ with module.vpc.data.aws_availability_zone.available,
    │ on modules/vpc/data.tf line 1, in data "aws_availability_zone" "available":
    │ 1: data "aws_availability_zone" "available" {

    • @codewithgauri
      @codewithgauri  Před 7 měsíci

      Can you please share your code on gaurishirkande11111@gmail.com

  • @ajitdalvi596
    @ajitdalvi596 Před 5 měsíci

    How did you learn it all? I want to become an expert like you😊

    • @codewithgauri
      @codewithgauri  Před 5 měsíci +1

      Just keep practicing and you would be better than me 😉

  • @aadi9215
    @aadi9215 Před 5 měsíci +1

    can you pls update the GitHub link it's not working

  • @suneel.indatgmailcom
    @suneel.indatgmailcom Před 11 měsíci

    Great efforts Thanks for sharing the knowledge..Expecting more sessions

    • @codewithgauri
      @codewithgauri  Před 11 měsíci

      Thank you so much for sharing the feedback...will come back with more such content!😊