I'm a Cloud Engineer looking to switch to DevOps and I need to learn Python. I'm feeling a bit overwhelmed and unsure about where to begin. I mainly work with cloud deployment (AWS, Azure) and want to expand my skill set to automate processes using Python. Any advice on how to dive into Python and its applications in DevOps would be really helpful!
4 Answers
Just a heads up, don't hesitate to look up resources online. There's a ton of guides and tutorials available if you just search for it. A little initiative can go a long way, and many others have shared their paths for starting with Python.
I personally started with the book "Automate the Boring Stuff with Python." It’s designed to get you comfortable with Python in an engaging way. The author has a website where the book is broken down into sections, making it feel like an interactive course. Check it out here: [Automate the Boring Stuff](https://automatetheboringstuff.com/3e/chapter0.html).
A great way to start is by getting familiar with Boto3, which is the AWS SDK for Python. You might want to try a beginner project like automating VPC creation and teardown using Boto3. It involves creating a VPC, subnets, a NAT gateway, and security groups, plus making sure you can route traffic between machines in public/private subnets. It's a practical way to learn!
Have you looked into Pulumi? Just jump right into it! It’s a fantastic tool that combines programming with infrastructure as code and can definitely give you a hands-on experience.

This was my starting point too! It's super helpful for grasping the basics.