DevOps Project: Mastering VPC Creation with Terraform & GitHub Actions Automation
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
Explained with real-time small project model. Excellent indeed with rare qualities and Hats off to Gauri !!
Glad you found it useful
Awesome stuff, I can't find any video better explained on CZcams than this one
Glad you liked it!
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
Glad you enjoyed it!
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
Sure Rehan...thanks for recommending stuff!🙏🏻
Thank you Gauri for this informative project. Really helped me clear all the concepts with hands on learning.
Great
Thank you Gauri, you help me learn Terraform easily
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.
thanks Gauri for this knowledgeable videos
Explanation was awesome 👍👍👍
Thanks for sharing knowledge...
Thanks a lot!😊
Thank you for sharing. Subscribed and looking forward to more tutorials in DevOps topic
Sure...Thanks for subscribing!
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.
Thank you so much for this project
Great vedio I learn a lot of things through this vedio. make projects projects like that it really help us
Thank you, I will
Just Wowww…🙌🫡
You are the Best and Thanks For sharing Content !! ❤️🔥
Please continue more videos on DevOps Real Time-Scenario Projects !!
You are doing great job gauri
Thanks Nagraj
Thank you for this, it helped a lot.
Subscribed
Glad you like it!😃
You’re doing a great job, keep up the hard work!
Thank you! Will do!😊
thank you for a very informative video! i love ur handwriting btw
You're so welcome!
make a video on Terraform data as well :D
Excellent Job...Such a Wonderful Session...Way To Go🎉
Thank you so much!
really interesting 🎉
Awesome doing great job..keep sharing
Sure
Great efforts ..Thanks for sharing the knowledge... really helpful..
Glad you found it useful!✨
Please make more project like this
Wonderful project gawri .🎉🎉its helps lot.
Glad to hear that
good refresher for me:)
Glad it was helpful! ☺️
great explanation skills
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.
Very nice . Good explanation , Keep it up.
Thank you so much!! ☺️
Great work. Thank you for such good content.
Our pleasure!
Maza aay giya ❤❤❤❤❤❤❤❤❤❤❤❤❤😊😊😊😊😊😊😊😊
Thank you ❤
Great job Gauri! Can you create a workspaces using this project?
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
One thing I'd like to add to your pipeline is to create a terraform destroy command just in case
Sure...we can add it
Great work...amazing project!💯
Thank you! 😊
1000th subscriber 👏 it's me
👌 and great work 👏👏
Thanks🙌🏻
Good efforts
Thanks
thx, very interesting video
Glad you liked it! 😄
Nice explanation..
Thanks! 🙏🏻
Thank you so much maam
Most welcome 😊
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
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!
best
Thanks!
can you post the Kubernetes cluster & pod creation videos?
Firstly thanks, also could you please do some videos on s3 buckets and Ecs using terraform modules.
Sure...please let me know the project you want me to make using these resources
@@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.
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.
I am facing this issue actually...I don't know why it is not accessible to everyone.
It would be great if you could help me with this
good video. just one thing. How do I destroy everything I have deployed?
Using Terraform destroy command
@@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!!
@@user-rm1gq2uw3p yes that's right
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?
That's a tough project. I will really love to see that
While I am git clone , we are getting 443 error can you clarify
Can you please check now?
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.
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!
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
Any output section configured for alb?
I think I haven't configured it...but you can do it
Is it possible to deploy real website
where do you want to deploy your website?
Hi
Hello
Great work.. keep up it
Thankss!!✨
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" {
│
Can you please share your code on gaurishirkande11111@gmail.com
How did you learn it all? I want to become an expert like you😊
Just keep practicing and you would be better than me 😉
can you pls update the GitHub link it's not working
Link updated
Great efforts Thanks for sharing the knowledge..Expecting more sessions
Thank you so much for sharing the feedback...will come back with more such content!😊