Two important announcements

1: Starting from next week, I am starting the meetup group again, and it will cover each week, i.e., July 11 meetup will cover Day 1 -7

of 101 days of DevOps

For more info, register via the below link

2: Some of you are already aware of my GitHub repo

Every day, I will assign you some coding tasks; if you want to send me PR for code review, please feel free to do that. I will set the PR guidelines (e.g., it should have a test case assigned to it, test case result, etc. )…


WARNING: Before reading this doc :-) :-)

1: As everyone needs to sign NDA with CNCF, I can’t tell you the exact question asked during the exam neither I have GB of memory, but I can give you the pointer what to expect in the exam

2: As we all know, Kubernetes world updates everyday, so some of the stuff might not be relevant after a few days/weeks/month.

3: Please don’t ask for any exam dumps or questions; that defeats the whole purpose of the exam.

I have been preparing for the Kubernetes exam for the last two years (~1…


Welcome to Day 30 of 101 Days of DevOps. On Day 29, we have discussed the basics of Packer https://www.101daysofdevops.com/courses/101-days-of-devops/lessons/day-29-introduction-to-packer-part-1/. Let extend that concept further and dig more into Packer concepts.

To view the complete course, please check the below url.

For more info, register via the below link

YouTube Channel link

  • Create a Basic Packer Template
{
"builders": [
{
"type": "amazon-ebs",
"region": "us-west-2",
"source_ami": "ami-0721c9af7b9b75114",
"instance_type": "t2.micro",
"ssh_username": "ec2-user",
"ami_name": "amazon-linux-packer-ami-1.0"
}
]
}
  • Let’s try to understand these fields.
* type: Each Builder has a mandatory type field, as we are building this image on…


Welcome to Day 29 of 101 Days of DevOps. The topic for today is Introduction to Packer — Part 1.

To view the complete course, please check the below url.

For more info, register via the below link

YouTube Channel link

What is Packer?

Packer is easy to use and automates the creation of any machine image.

  • It integrates natively with a bunch of configuration management systems, e.g., Ansible, Puppet.
  • Packer is cross-platform(Linux/Window)
  • Packer uses a JSON template file and lets you define immutable infrastructure.
  • It’s written in the GO language.

Installing Packer on Ubuntu

curl -fsSL https://apt.releases.hashicorp.com/gpg



Welcome to Day 26 of 101 Days of DevOps. Today we are going to extend the terraform code we write on Day25 https://www.101daysofdevops.com/courses/101-days-of-devops/lessons/day-25/.

To view the complete course, please check the below url.

For more info, register via the below link

YouTube Channel link

On Day 25, we write the bare minimum code to understand the various terraform construct; today, let extend that code further. So far, our code looks like this.

provider "aws" {
region = "us-west-2"
}
resource "aws_instance" "mytest" {ami = "ami-0bc06212a56393ee1"instance_type = "t2.micro"}

So far, we have hardcoded the value of ami…


Welcome to Day 25 of 101 Days of DevOps. The topic for today is Terraform. Today, we will start with an introduction to terraform and bare minimum code, but you will learn how to enhance it next few days.

To view the complete course, please check the below url.

For more info, register via the below link

YouTube Channel link

What is terraform?

Terraform is a tool for provisioning infrastructure(or managing Infrastructure as Code). It supports multiple providers(e.g., AWS, Google Cloud, Azure, OpenStack..).

https://registry.terraform.io/browse/providers

Installing Terraform

Installing Terraform is pretty straightforward; download it from Terraform download page and select…


Welcome to Day 24 of 101 Days of DevOps. The topic for today is Jenkins Pipeline(Scripted vs Declarative). Before we dig deeper into this topic let first discuss what Jenkinsfile is.

To view the complete course, please check the below url.

For more info, register via the below link

YouTube Channel link

What is a Jenkinsfile?

A Jenkinsfile is simply a text file that contains the steps needed to run the Jenkins pipeline.

Some of the advantages of using Jenkinsfile

  • You can check it in the source control.
  • Perform code review.
  • Become a single source of truth, which can be…


Welcome to Day 23 of 101 Days of DevOps. The topic for today is how to stop/start EC2 instances on a scheduled basis to save cost using AWS Lambda and CloudWatch.

To view the complete course, please check the below url.

For more info, register via the below link

YouTube Channel link

On Day 17, you have learned how to stop/start instances using Boto3. https://www.101daysofdevops.com/courses/101-days-of-devops/lessons/day-17/. On Day 22, you have learned AWS Lambda https://www.101daysofdevops.com/courses/101-days-of-devops/lessons/day-22/. Let’s tie both of these concepts together and automate the process of stop/start instances on a scheduled basis.

This is one of the ask I came…

Prashant Lakhera

AWS Community Builder, Ex-Redhat, Author, Blogger, YouTuber, RHCA, RHCDS, RHCE, Docker Certified,4XAWS, CCNA, MCP, Certified Jenkins, Terraform Certified, 1XGCP

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store