Pulumi - IaC in your favorite programming language!
Вставка
- Опубліковано 22 лип 2024
- Infrastructure as code using your favorite programming language with Pulumi | Pulumi Tutorial
⭐️ DevOps Tool for May - From the DevOps tool of the month series: bit.ly/2ZuPbvc
► Thanks Pulumi for sponsoring this video 🙌🏼
► Find out more about Pulumi here: www.pulumi.com/
In this video you will learn about an Infrastructure as Code tool, which is gaining popularity in the DevOps world. And that is Pulumi.
First we will see how Pulumi is different to other popular IaC tools like Terraform or Ansible by explaining its main benefits and characteristics. Then I will show how Pulumi actually works in practice by writing a simple Pulumi project to
- first create a S3 bucket in an AWS account and
- then a more realistic example of provisioning an EKS cluster.
#pulumi #devops #techworldwithnana
▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬
0:00 - Intro & Overview
0:34 - What is Pulumi and how its different
2:03 - Main benefits of using a language you already know
4:42 - Pulumi Demo Overview
5:12 - Download Pulumi
5:25 - Create Pulumi Project
7:18 - Demo 1: Create S3 Buckets
10:56 - Pulumi State
12:29 - Pulumi Console
13:18 - Demo 2: Provision EKS cluster
▬▬▬▬▬▬ Want to learn more? 🚀 ▬▬▬▬▬▬
Full Docker course ► • Docker Tutorial for Be...
Full Python course ► • Python Tutorial for Be...
Full K8s course ► • Kubernetes Tutorial fo...
DevOps Tools, like Terraform, Prometheus ► bit.ly/2W9UEq6
▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
INSTAGRAM ► bit.ly/2F3LXYJ
TWITTER ► bit.ly/3i54PUB
LINKEDIN ► bit.ly/3hWOLVT
Facebook group ► bit.ly/32UVSZP
DEV ► bit.ly/3h2fqiO
▬▬▬▬▬▬ Courses & Bootcamp & Ebooks 🚀 ▬▬▬▬▬▬
► Become a DevOps Engineer - full educational program 👉🏼 bit.ly/45mXaer
► High-Quality and Hands-On Courses 👉🏼 bit.ly/3BNS8Kv
► Kubernetes 101 - compact and easy-to-read ebook bundle 👉🏼 bit.ly/3Ozl28x
Please like and share if this video was useful for you 😊 💡
⭐️ DevOps tool for May - DevOps Tool of the month series here: bit.ly/2ZuPbvc
► Thanks Pulumi for sponsoring this video 🙌🏼
▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬
0:00 - Intro & Overview
0:34 - What is Pulumi and how its different
2:03 - Main benefits of using a language you already know
4:42 - Pulumi Demo Overview
5:12 - Download Pulumi
5:25 - Create Pulumi Project
7:18 - Demo 1: Create S3 Buckets
10:56 - Pulumi State
12:29 - Pulumi Console
13:18 - Demo 2: Provision EKS cluster
Would love to know what tool do you use to prepare such an amazing presentation. Thank you for sharing your knowledge. I appreciate it.
Seeing the quality of content you provide freely, absolutely amazes me ❤️🔥
Thank you Mahender, appreciate your nice words! 😊🙏
I'm totally agreed with you!!!!
I think for the longest time Ansible was the predominant tool when configuring resources for your infrastructure. Terraform has come up and it's becoming a de-facto option now especially with Cloud services. I'm very interested to see how Pulumi performs in the DevOps world. You've won me over this looks really interesting. Thank you Nana!
Fantastic, FANTASTIC video. A co-worker put up a PR to establish IaC as code for the first time and I had NO idea what was going on, but this video not only explained Pulimi well, but also IaC in general, how Pulimi differs from other IaC tools, and walked through practical example. Huge thanks!
seriously - your channel is by far the best devops channel I ever saw. Thank you!
Thank you so much for such amazing feedback Ami! Appreciate it 🙂🙏
Thanks for your videos. I usually don't even understand the problems. With your videos, I not just understand the problems, but also the solutions. 👍
Thank you René, that's a great feedback! :)
The quality coming out of your content is amazing! Absolutely smashed the subscribe button after watching your YAML and Prometheus videos!
Pulumi is amazing, especially that being declarative it is clearer to define and not as verbose as using Yaml. I can see myself using this in my current projects
Thank you so much, Nana. You are chosen. Pulumi is def an exciting IaC option, im going to be sure to reference this post in Linkedin. Really appreciate you
As usual, you really did an excellent job in explaining this. You have a natural talent in explaining things very easily. Keep up the great work. We plan to do all our implementations using Pulumi now instead of Terraform.
This is absolutely bananas. I can't wait to try it out.
That’s is so cool! I know what I’ll spend my Sunday doing 😆
Thank you, Nana! You’re awesome!
That's great! Thanks for your feedback Tim! 😊🙏
Terraform has support for programming languages. The Cloud Development Kit for Terraform. CDK for Terraform provides the ability to write Terraform configurations in C#, Python, TypeScript, and Java, using all existing Terraform providers and Terraform modules. Terraform 0.4 added experimental support for Go like 2 days ago.
I'm going to start exploring this wonderful tool . Thank you!
Awesome tool! Your explanation is very smooth. Keep bringing the good stuff. You are really helpful Nana.
Thanks so much Aritra! 😊
Simply amazing. It gives me tons of ideas for my labs...
Thank you.
Happy to hear! Thanks for your feedback!
Great, I come from develop and actually take care of Infrastructure using AWS resources.. I will try this for sure. And before I forget: There was a typo on line 12, 16:58 ;D
Thanks Nana. Concise and rich in content as well. Well done.
I have a good experience with IaaC Tools, in my case I use Saltstack.
It allows me to structure virtual and physical machines over several locations like one, and I can also integrate it into my code by simply calling the execution modules. It also has the salt-cloud command integrated, which lets me create and destroy server resources on demand
This channel is pulling me to watch. The reason is quality content!
I'm happy to hear that! Thank you for your positive feedback! 😊
Wonderful stuff Nana, would be great if you also make a video sharing your thoughts on comparison with other traditional IACs like Terraform.
Thank you so much! Will definitely consider since it seems to be a very demanded topic :)
from one side it is wonderful that you can use your favorite language to describe your infrastructure, from other side who can guarantee that after some time they don't find their favorite language and drop other (like unity for example)
This is awesome. Just the tool I need to automate management of my API servers using simple logic. Looking at your demo and Pulumi docs, it should make it easy to manage nodes at Linode and adding/removing Route53 records for them.
does it support Linode?
I love pulumi using in an app at work currently !
Awesome video as always. Thanks for sharing the knowledge.
How can anybody dislike awesome videos by this very talented woman
Thank you Chaitra! Appreciate your words 💙
Thanks for adding this great tutorial
Thanks a lot Nana .. this is awesome !
Awesome tool, nicely explained 👏
This tool is awesome and you have done pretty good video nana never disappoint happy to subscribed your channel..
Good nane for your trending analysis of INFRASTRUCTURE AS A CODE
AWAITING FOR YOUR NEXT COMPLETE ALL 20 INSTANCES DETAILS & PROGRAMMING LANGUAGE HOW TO USE ITS BASIC STEPS.
Thank you for sharing some helpful knowledge 🥰
You are awesome ❤🔥Your content is really high quality👍
Simply awesome!!
Thanks so much, that was class!
Thanks for the super video Nana!
My pleasure! Appreciate your comment! 😊
Good detailed explanation. Thanks
Hi Nana, great review , but I'm wondering if you can configure every detail of a resource with Pulumi as you can do with using Terraform? Does it implement new features of a cloud provider as fast as Terraform does?
Just great . I wanted understand pulumi for some time
Really interesting video - good job :)
Have you tested it with more advanced infra ?
And do you know how the Pulumi community looks like ?
Of course, it would be also great to see a comparision video between Pulumi and Terraform.
another great video, thanks Nana!
subscribed as i've known one of the upcoming devops tool Iaac beyond terraform
From my experience it is more like:
The Cloud Dev team builds out pulumi and writes a bunch of include files in Javascript, to manage all the standard settings for the environment. They then dump it on the infrastructure team with an upper management requirement of using the developed includes for all deployments. Then when the infrastructure team points out that they are not programmers and do not know Javascript, the response is "Everyone knows java, it is easy. If you dont know it, you should learn it."
I would also note that when we requested the documentation on how their calls worked we were told "It's all in the code, just look and see what it is doing."
So now the infrastructure teams have to learn an IDE and a programming language (chosen by someone else) just to deploy infrastructure. Seems there are much better solutions to this problem.
Very helpful, thanks!
The F# lib isn't just a copy of the C# library??? I'm sold
Interesting! Informative! Thanks
Thank you for this overview! But how do you configure completion hints for Pulumi in VS Code?
nice video, not sure if you want to make video about cicd deploy with the serverless framework/related serverless lib, thanks for the content!
Terraform offers extensive looping, modularity, and conditionality features, and has since 2019. This allows you to do just about anything you need, and remain declarative.
Thank you, Nana.
I really enjoy your videos and channel, they are very informative and professional.
I have a question regarding the names of the resources.
When creating an s3 bucket, pulumi creates a bucket with a gibberish extension.
Is there a way to avoid this extension?
Thank you!
Sensacional. Can you make more content about that resource, please? thankful for sharing this content it was very valuable.
Happy you liked it. Will consider for sure, since the interest is so high from everyone :)
I think it's way better than Terraform, I will propose to use Pulimi in our DevOps meetings. Thanks for the tutorial Nana ❤️
Great video as always! One thing that always catches my eyes with Nana's videos is the pretty icons, where do you get those icons from?
Awesome content once again, how would you compare Pulumi to Bicep if only Azure is in scope?
Thank you Nana for this great information, is there any disadvantages if we use it instead of terraform?
What’s your opinion about Terraform CDK and AWS CDK vs Plumi? Great video btw, learned a lot.
Hi, I quite enjoy your videos but find myself a bit lost on the best way to learn. Is it better to watch the video to the end or watch by chapters pause and try to reproduce the code. Which way of learning do you recommend?
you already have pulumi login configured at 5:45 otherwise, you need to let the watchers know they need to run it first. pulumi login --local can work for simple local setups
wasn't explained to me whether i need to install pulumi community, tap, or whether i need a pulumi account either.
Nice content!
Is there any integration for pull request automation if we want to gitops it?
Could you tell me some use cases that I will need such tool? I think even I use traditional yml to create containers are good enough.
Very useful info , thanks .. can you please suggest how to pass multiple Uris in terraform
All I care for is Nana’s voice ❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️
Pulumi is great 👍. I love the automation Api.
What is the upside when compared to for example using AWS Javascript SDK? Or just boto in Python? Thank you for the amazing video.
This looks so much better than yaml or custom DSLs.
Thank you!
Nice video.
What tools do you use to make your videos? If you can make a video demonstration, that would help a lot of folks, please.
Also you video is Epic all the time really appreciate ❤️
Great channel and awesome content.
woooow, i want use pulumi now! Excelent!
😊🙏
Hello Nana,
I'm too late to watch this video you have explained the concept very well and appreciated it, I have also watched your other videos of K8s and DevOps Tools...
I have a very small request for you, if you have any video link where you've explained creating AWS instances using Pulumi then please share it. If you don't have one then please could you make it for me. It's a very humble request 🙏
Thank you 🙂
what is the security salt that it populates when i create a new project?
Hii nana! can u please explain aws full course , it would be very helpful for me in this lockdown
Great tool!
Awesome content
Thank you 🙏
this is amazing
Hi, Could you please provide an overview of seetest automation tool in your next video
Thanks Nana
Thank you for nice content you are providing! :) About the tool. Seems to be pretty interesting one. Though overall it's just a copy of Terraform. Yeah, with the ability to code. But still. I think it's a matter of taste and preferences what to be used.
Thank you! Yes, you are right. It is very similar to TF. Since IaC is still new to engineers, I believe these 2 have different target groups. Pulumi is more for developers who can seamlessly transition from writing just app code to writing infrastructure and platform configuration code. While TF is more intuitive and easy to start with for operations engineers, who don't know and don't want to learn coding.
@@TechWorldwithNana fully agree with you on that statement. Pulumi more for the devs.
Do we still need cloud-init if we use terraform or pulumi?
I don't see Jav SDK for IaC, can you pl. share any link for the same
Can you please make a video on how to create a GKE cluster using yaml language along with pulumi
Thank you for another great video, Nana. Instead of running 'pulumi destroy', could you just delete the code block you added?
Hi Nana what's your opinion on Pulumi vs terraform? woudl love to see some comparison vids
Something new thanks
Awesome video, I had a question just putting it here, Is there any way that I can import my existing infrastructure state in Pulumi? As far as I understand, when I first start using Pulumi, it will take the starting point as if no resources are there so if I just go ahead and create a new resource it will not only create a new resource but also destroy the existing resources which were not defined in Pulumi.
Yes there is! You can import infrastructure without needing to destroy or recreate existing resources. The `pulumi import` command can do that, and it both imports the resource state in addition to generating the code for you. Tools like pulumi.com/tf2pulumi can convert existing IaC. More details here! www.pulumi.com/docs/guides/adopting/
How to add Window Nodes to the Kubernetes Clusters and Monitor them with Loki-Stack?
please Respond.........
this tool is simply amazing! really like it! But what's the downside to use it, Nana? Is this mature enough to be used in production instead of Ansible or Terraform?
Yes it is mature for production. I believe thought that Pulumi is great for developers who have to manage the infrastructure or platform configuration code. While Terraform is probably still more intuitive and easier to start with for the operations engineers.
You shouldn't need to program IAC. Terraform is much easier to use.
@@thomasczthomash1859 Seems like a nice approach though. Operations folks who love YAML and declarative DSLs can use Terraform. Devs who like code can use this. Usually when you have programming languages, compilers can help too. So I bet compilers can help with this too.
This is mature, I've been using it for more than one year, this bring more engineers to devops, make easy to platform engineer do the self service product, so teams can spin up super fast new produtcs, reuse, and there a really naice integration for datadog|newrelic to build monitors that I can reuse for all applications. Behind the scenes they use the terraform core, so the methods names arguments are the same.
As an ops guy, I, for one, hate YAML and will eagerly trade it for any decent programming language :)
Is it possible to create rest api on top of pulumi and allow non tech people to spin off new env/infra etc?
Im very well versed om CDK, Pulumi doesnt look too different. I think I'll pick it up for my homelab
Can you pls make a tutorial on oktet and how to run it on minikube
this actually looks very promising
2 years in, I still have not actually met a Platform engineer that uses Pulumi
Terraform also now also to program in python etc right..
Great video!! 🔥🚀 But no var in js....please... const instead 😂
At the moment I don't see the direct benefit of using Pulumi over Terraform CDKTF. Although I like there is another way to define IaC. Will keep my eye open.
hi good morning Nana feel free could you make a video for the following questions if time permits Hoping postively
The customer is approaching u to deploy a highly secured infrastructure. What was the best practice to suggest
So many aspects are they how you will implement in the cloud (AWS) from the scratch.
So in that scenario what are the security best practices that u follow?
How will we configure AWS infrastructure? How will u take from scratch to Kubernetes?
How will you plan to implement the infrastructure?
Best practices we follow for infrastructure?
AWS Alb + ingress controller have u tried?
How u can implement Autoscaling at pod level?
On what component HPA relies on in order to bring up the Autos calling we have to bring up
Some file or what the dependent controller for HPA
What are k8s managed services u have used?
Have u implemented any self-managed clusters?
What are the security best practices that u follow in k8s?
Where do u store secrets?
Have u created any helm chats from scratch?
What are the policies u used for k8s?
What is the backend used for storing secrets?
What are the monitoring and logging solutions u used for this?
Have u used any lambda functions?
Have u used the API gateway?API gateway what are the features or just like a router?
Have u ever hosted a static website on AWS using S3 + cloud front or cloud formation?
IAAC(Terraform)
What are the best practices in terraform to bring up ur infra or developing the terraform
Template?
How u will secure Main.tf and state file mgmt?
CI/CD tools u r familiar with?
How do you reduce the docker image?
Have u ever used docker-compose and docker swarm?
Difference between k8s and docker swarm
Could you make a video on gitlab and runner
Near the same way IaC could be defined using AWS CDK, but only for AWS.
COOL! I looked at Terraform python interface and it was much worse than the DSL. Rolled some python IaS of my own for AWS wrapping nicer classes and APIs around boto3. But it takes a while to cover an entire organisation stack that way.