Great video as always Ajan. I've been using terraform for some years now with aws and digital ocean providers. I find it unthinkable to deploy infrastructure any other way. Maybe you can do a video on it too :)
@ArjanCodes
2 жыл бұрын
Thanks for the suggestions, I've put it on the list.
@JersenMan
2 жыл бұрын
+1 for terraform. Way more readable in my opinion
@bigutubefan2738
Жыл бұрын
Surprisingly for a sponsored video, this is probably your most useful, powerful and important upload yet Arjan (far more so than taking 15 minutes to tell people to represent money with integers ;-) ). I give it my highest possible compliment: I've watched it twice already, and in future I will watch it again.
@glorytoarstotzka330
2 жыл бұрын
Pulumi, the name of the sponsor, is a swear word in romanian, amazing
@ArjanCodes
2 жыл бұрын
Really? Wow, didn't know that.
@merridius2006
2 жыл бұрын
Romanian here, it’s close but not true
@glorytoarstotzka330
2 жыл бұрын
@@merridius2006 yeah, to be fair, it s a variation of a swear word. I d say it s close enough that if I mention that I m using pulumi, to a co worker, they would have a laugh
@pcdoc8
2 жыл бұрын
Love your videos! I had not seen Pulumi been used before, so this was very interesting thank you! If you want more IaC fun, check out CDK and CDKTF, both allow you to define infrastructure with python but also generate declarative output which can more easily be used in advanced use cases and with full CI/CD workflows.
@gshan994
2 жыл бұрын
Yes cdk with python is amazing
@ArjanCodes
2 жыл бұрын
Thanks for the suggestion Joe!
@1oglop1
Жыл бұрын
CDK is extremely limited - only for AWS as well as comes with all drawbacks Cloudformation provides
@gshan994
Жыл бұрын
@@1oglop1 which iaac u prefer bdw?
@astronemir
2 жыл бұрын
Something that can go along with all this infrastructure is, project layout for an API. For example using FastAPI, which accessed a database. I find the layouts of template projects to be complicated but also they seem well thought out.
@ianyoung_
2 жыл бұрын
Great video Arjan. How often do you find yourself using Pulumi/Terraform or other IaC tools for deployments in your day-to-day work?
@Jason-yr6fy
2 жыл бұрын
"I'll not use Kubernetes in this video because I don't know how to pronounce it". Lmao, solid reasoning, man! Thanks for the vid!
@danny_p466
2 жыл бұрын
What about Terraform/Terragrunt? I've been using them a lot. What are your thoughts for testing IaC? There are many haters out there regarding this, but I strongly disagree. IaC should be tested as normal code. Terratest is a nice library written in Go that lets you test your IaC components,
@ArjanCodes
2 жыл бұрын
Testing IaC setups is a really good topic, thanks for mentioning that! My first approach would also be to test it as normal code and use dependency injection and abstraction to mock out the part that actually creates the infrastructure. I’m also not certain how IaC frameworks support testing at the moment.
@joaopedrorocha5693
2 жыл бұрын
I'd like to see a video of your's about fastapi ...
@ArjanCodes
2 жыл бұрын
Thanks for the suggestions, Joao, I've put it on the list.
@funkenjoyer
2 жыл бұрын
Interesting, looks very similar to Terraform but in python
@ArjanCodes
2 жыл бұрын
Yep, that’s the idea 😊
@cuturbs
2 жыл бұрын
Hi there, Arjan. I've been watching your videos for a while and your knowlegde impresses me everytime. I love your code roast series where you turn scripts upside down, in and out to make them more efficient and clean, even when I can't keep up with the changes. I'm thinking about starting a career dedicated to programming with python but I don't really know where to head to. I've worked most of the time with automation, web scrapers, data clean, nothing too complicated, I would say that pandas is my most confortable lib, which isn't impressive at all. Most of the jobs announces require django or flask and they tend too much for web development. I tried to learn django but I always drop it off because I can't get my head around web. Is web development the only path to follow? I would like your sincere opinion about this. Really appreciate your work, man.
@ninja790
2 жыл бұрын
Data Engineering is something to be looking into!
@raphael6441
2 жыл бұрын
Not an easy video yet you managed to keep it interesting
@ArjanCodes
2 жыл бұрын
Thanks so much Raphael, glad you liked it!
@adrien-barret
2 жыл бұрын
simply to deploy as we avoid talking security ;)
@TheRealPoiscaille
2 жыл бұрын
I'm a die hard python developer who needs to do devops :-) I considered pulumi and decided to use terraform because pulumi seems way too expensive (or the pricing model is not clear)
@cantis
2 жыл бұрын
Really enjoyed this, I'm searching for new platform to learn on as the free tier on Heroku is shutting theirs down. I'm leaning towards Google Cloud so that I learn that but there are MANY others. I'm curious what other ones might be a recommendation for a hobby / learning project (with DB support - mysql / postgres) ??
@greyshopleskin2315
Жыл бұрын
Scaleway is good and cheap. You can use terraform for scaleway. I don't remember if they have DBs, but you can just run a DB in a server. Maybe run your app with docker compose and just add postgres in there
@mouttiedje4795
2 жыл бұрын
I have been playing around with terraform a lil bit for the the past monthes, and I never heard about Pulumi. I wonder if it's worth the switch.
@treebeardization
2 жыл бұрын
How do you enable a terminal as a tab in VSCode?
@diegoroccia6077
2 жыл бұрын
Actually you can use container images with AWS Lambda
@_baco
2 жыл бұрын
How do you use the environment for local development for functions? I mean, without needing to upload your code every time you make a minor adjustment and you want to test it offline
@ArjanCodes
2 жыл бұрын
If the code isn’t using too many different resources, you can run it your local Python install (or use a tool like poetry / venv to create a virtual environment). It won’t be exactly the same, but that’s the trade-off. If you really need the same setup locally, you should probably not use cloud functions but another cloud feature.
@susmitvengurlekar
2 жыл бұрын
Take a look at serverless framework it has a execute on local option
@tthompson5707
2 жыл бұрын
I haven't done any of this type of stuff myself but is this similar to what Terraform is?
@ArjanCodes
2 жыл бұрын
The main difference is that Terraform uses config files, whereas with Infrastructure as code, you define the resources as code and use the features of the programming language to do this.
@1oglop1
Жыл бұрын
@@ArjanCodes 90% of pulumi is Terraform so every problem you have with Terraform, you will assume in pulumi. Many people are not aware of this.
@gshan994
2 жыл бұрын
I use cdk with python for all d aws cloud infra.
@1oglop1
Жыл бұрын
I have over a year of Pulumi experience with Pulumi in multiple languages and my advice is to not use Python for Pulumi if you are serious about it! TypeScript fits much better.
@ArjanCodes
Жыл бұрын
Good to know, thank you - I've only worked with it in Python but I'll certainly take a look at the Typescript integration.
@astronemir
Жыл бұрын
Can you say why
@merridius2006
2 жыл бұрын
My concern with pulumi is that they can lock you in their infrastructure and eventually make you pay
@raydleemsc
2 жыл бұрын
We don't need to be so focussed on code if we can have the requirements streamed in and the resource tokens streamed out making the infrastructure entirely dynamic and free for all. If you want to charge for it, then allocate more resources to those who provide credit tokens with their requirements.
@timoreichl5533
2 жыл бұрын
Americans spell it "Kuberneddies" :D
@AlexSchiessl
2 жыл бұрын
Well, title is a bit misleading... "... Has Never Been Easier..."... :-/ Yes, it is IaC, but are there other IMHO better ways... I think so... And you use a paid service... So basically is click-bait to promote a paid service... Well, not for me... But thanks for showing and making clear for me, it is nothing I would use... I stick to docker-compose or kompose and other free tools...
@illyshaieb
2 жыл бұрын
They did make it clear in the beginning it was a sponsored video. I see no deception here.
@merridius2006
2 жыл бұрын
❤
@ArjanCodes
2 жыл бұрын
I rarely do sponsored content. If I do, it's because I genuinely think a tool is interesting for my audience and I'm always upfront about content being sponsored at the beginning of the video. I don't consider the title to be misleading because it reflects my opinion, which you're of course free to disagree with. But to be on the safe side, I've toned it down.
@papa5101
2 жыл бұрын
Even it' s sponsored content, we still could learn the architecture and software design. In short, it's good to know one more option.
@ianyoung_
2 жыл бұрын
Better ways than IaC and declarative infrastructure? That's exactly what Pulumi is. The advantage is that in addition to a configuration language developers can use the language they're most comfortable with. This also makes things less verbose and more testable (using mature testing libraries). Docker Compose is intended for local orchestration of containers *locally*. Although it _can_ be used in production it is much better to use Kubernetes or even Swarm. Orchestrating containers is very different to deploying and maintaining infrastructure however. I'm not sure how they can be compared(?).
Пікірлер: 54