DEV Community

Atul Vishwakarma
Atul Vishwakarma

Posted on • Originally published at atulcodes.hashnode.dev

What I’ve Learned Building a CI/CD Cloud Pipeline from Scratch

When I first began my transition from a Full Stack Developer to focusing heavily on Cloud & DevOps, the learning curve felt like an absolute mountain.

Between managing the infrastructure for thousands of daily orders and squeezing in certification study time during my 3.5-hour daily commute on the Mumbai local trains, my overarching goal was simple: stop doing things manually.

Over the last few months, I have documented every step of this journey right here on Atul Codes. From writing my first Dockerfile to provisioning cloud infrastructure with code, it has been an incredible phase of growth.

Here is a look back at the biggest lessons I’ve learned while building a modern CI/CD cloud pipeline from scratch.

Phase 1: Escaping "It Works on My Machine"

The first major bottleneck I had to solve was environment inconsistency. Realizing that manual server configurations were slowing down our development cycles pushed me straight into containerization.

Phase 2: Killing "ClickOps" with Infrastructure as Code

Once the applications were containerized, I needed a place to run them. The AWS Management Console is great for learning, but clicking through UI menus to spin up servers is dangerous for production.

Phase 3: The Reality of Production & Security

Building infrastructure is fun, but securing it is what actually keeps you employed.

  • Securing the Pipeline: Early on, I realized the immense danger of leaked keys. I immediately audited my workflows and documented How to Stop Hardcoding AWS Credentials using environment variables and AWS CLI profiles.

  • Protecting the Wallet: The cloud is cheap until you make a typo. Setting up AWS Billing Alerts gave me the peace of mind to experiment with new architectures without the fear of a $1,000 surprise bill.

  • Exploring the Future: With security locked down, I started exploring beyond traditional servers, successfully Deploying My First Serverless Function on AWS Lambda.

What’s Next for Atul Codes?

Writing these articles over the last quarter hasn't just been about sharing knowledge—it has been the ultimate forcing function for my own upskilling. When you have to explain a complex topic clearly to someone else, you uncover the gaps in your own understanding.

So, what is the next big goal?

I am currently diving deep into AWS ECS Fargate for scalable container orchestration, and preparing to knock out my HashiCorp Terraform Associate certification. You can expect a deep-dive series on both of those topics very soon.

Thank you to everyone who has read, commented, and shared my posts so far. Let’s keep building!


If my tutorials have helped you on your own cloud journey, consider buying me a coffee to support the blog!

Top comments (0)