Git Beyond the Clouds: How Your Code Travels the World Securely part 2
🌐 Git, Cloud & Bitbucket: Your Practical Guide to Real-World DevOps
If you're starting your journey into DevOps or cloud computing, you're probably hearing a lot of terms: Git, Bitbucket, cloud VMs, SSH keys, AWS, Google Cloud... it can feel overwhelming. But don’t worry — here’s a friendly guide to help you understand how all these pieces connect and why they matter.
🧠 Why Version Control Systems Like Git Are Essential
Ever lost a file because you forgot to save the backup? Or clashed with a teammate editing the same document?
That’s what Version Control Systems (VCS) are here to solve. They:
- Track every change in your files.
- Let multiple people work on the same project.
- Allow you to roll back to older versions if needed.
🪜 VCS Evolution Made Simple:
- 1st Gen (Locking systems): Only one person could work on a file at a time.
- 2nd Gen (Centralized like SVN): You get a working copy, but no local history.
- 3rd Gen (Distributed like Git): Everyone has a full copy and can work offline!
🛠️ Must-Know Git Commands
Here’s your cheat sheet for essential Git commands:
Command | What It Does |
---|---|
git init |
Start a new Git project |
git add <file> |
Stage file changes |
git commit -m "msg" |
Save changes with a message |
git push origin master |
Upload code to remote repo |
git status |
Check file changes |
git log |
View commit history |
.gitignore |
Skip files you don’t want tracked |
First-time setup:
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
🔄 GitHub vs Bitbucket – Which One to Use?
Both platforms are built on Git. The commands stay the same — only the interface is different.
☁️ Why Cloud Computing is the Future (And Present)
Gone are the days of maintaining huge physical servers. Today, companies use cloud platforms like:
- AWS
- Google Cloud
- Microsoft Azure
These platforms:
- Reduce hardware costs.
- Improve security.
- Let you launch servers in seconds.
- Allow teams to focus on development instead of infrastructure setup.
🔑 5 Tech Basics You Must Learn (For Any IT Job)
- A Programming Language (e.g., Python, Java)
- Operating System (Linux is preferred — used in 99% of servers!)
- Networking (IP, DNS, ports)
- Databases (MySQL, MongoDB)
- Git (Version Control)
🆚 AWS vs Google Cloud: Which Free Tier Is Better?
Feature | AWS | Google Cloud |
---|---|---|
Free Credits | Low | ₹20,000 ($300) |
RAM | 1 GB | 6 GB |
Disk | 30 GB | Flexible |
Charges | May surprise you | Transparent billing |
🛠️ How to Create Your Own Cloud VM (Step-by-Step)
- Sign up at Google Cloud → Select Individual account.
- Add your card (₹50 deducted temporarily, then refunded).
- Go to Compute Engine → VM Instances → Create Instance
- Choose:
- OS: CentOS 7
- RAM: 3.75 GB
- Region: Mumbai/Singapore
- Enable HTTP/HTTPS access
Congrats! You’ve just created your own Linux cloud server 🌐💻
🔐 Secure Server Access with SSH Keys (No Passwords!)
Generate SSH Keys (on your local computer):
mkdir keys_google
cd keys_google
ssh-keygen -f gituser
You’ll get two files:
gituser
→ Your private key (keep it safe!)gituser.pub
→ Your public key
Upload Public Key to Google Cloud:
- Go to Compute Engine → Metadata → SSH Keys
- Click Add item and paste content of
gituser.pub
Connect to VM:
ssh -i gituser.pem gituser@<External-IP>
If there's an error about known_hosts
, delete the file .ssh/known_hosts
from your system.
Once connected, switch to root user:
sudo su -
📢 Extra Tips and Future Plans
- Stop your VM after practice to avoid charges.
- ansible
- Docker
- Shell scripting
- AWS
- Even terraform
🧩 Final Thoughts
Whether you're switching to IT or just getting started, learning Git + Cloud + Bitbucket is the smartest move you can make right now.
Start small. Practice regularly. And don’t be afraid to break things — that's how real learning happens 💡
🔒 This content is edited and authored by Kalyan Kalavena. All rights reserved. Any reuse, copy, or adaptation without permission is strictly prohibited under content protection laws.
Comments
Post a Comment