
Welcome! I'm thrilled that you have joined this course—Learn YAML from Scratch
You've just taken the first step toward mastering YAML—the configuration language that powers Docker, Kubernetes, CI/CD pipelines, and modern DevOps.
If you've ever struggled with YAML syntax errors, spent hours debugging configurations, or felt confused by indentation issues, this course will change that.
YAML is everywhere in modern software development. It's the configuration language powering Docker, Kubernetes, GitHub Actions, Ansible, and virtually every DevOps tool you'll encounter.
But here's the problem:
"Most developers learn YAML by trial and error—copying and pasting code they don't truly understand."
That changes today. This course will help you master YAML from the very beginning. No more guessing. No more mysterious errors. Just a clear, confident understanding.
Whether you're a software developer moving into DevOps, a system administrator modernizing your skills, or someone just starting your cloud journey, this course will give you the foundation you need.
By the end of this course, you'll:
- Understand exactly how YAML works and why it's designed the way it is
- Read and write any YAML configuration file with confidence
- Be fully prepared to dive into Docker, Kubernetes, and advanced DevOps tools
- Earn a certificate you can add to your LinkedIn profile and resume
One more thing—I've designed this course to be practical, not theoretical. Every concept is demonstrated with real examples. Every technique is something you'll actually use.
This isn't just about learning syntax; it's about becoming effective with the tools that matter in today's development world. Ready to transform confusion into confidence?
Let's begin your YAML mastery journey!
Get to know the learning objectives for this course.
About Your Instructor
Hi, I'm Tarun Telang, and I'm excited to be your instructor on this YAML mastery journey!
With over 20 years of experience in software architecture for enterprise systems at world-class companies like Microsoft, BlackBerry, Oracle, and SAP, I've seen firsthand how critical proper configuration management is to successful software deployments.
I've designed and deployed systems that rely heavily on YAML for:
- Container orchestration with Kubernetes
- Infrastructure as Code deployments
- CI/CD pipeline automation
- Microservices configuration management
I've worked on large-scale systems where YAML configurations power everything from container orchestration to CI/CD pipelines. I've debugged countless YAML errors, designed configuration strategies for enterprise applications, and trained development teams on DevOps best practices.
I am well-versed in YAML, as I use it daily in production environments.
But here's what matters most: I'm passionate about sharing knowledge. For over 15 years, I've been presenting at software technology conferences, writing technical articles, and creating educational content that helps developers level up their skills.
I've taught thousands of students through my online courses, and nothing brings me more joy than seeing them gain confidence and advance their careers.
Many have:
- Landed DevOps roles at top companies
- Passed Kubernetes certifications (CKA, CKAD)
- Contributed to open-source projects
- Deployed applications to AWS, Azure, and GCP
- Advanced from junior to senior developer roles,
and they often tell me that mastering the fundamentals—like YAML—was the key to their success.
My Teaching Philosophy:
- Start with the "why" before the "how."
- Explain concepts clearly without unnecessary jargon
- Provide hands-on practice, not just theory
- Be available to answer questions and support your learning
- Use real-world examples from production environments
This course represents my commitment to helping you build a rock-solid foundation in YAML. I've designed every lecture, example, and project based on actual scenarios I've encountered in enterprise software development.
Whether you're just starting your DevOps journey or looking to formalize your YAML knowledge, I'm here to help you succeed. Let's master YAML together!
Connect with me:
- Ask questions in the course Q&A—I respond personally
- Follow my blog at https://taruntelang.medium.com for DevOps tips and best practices
- Connect on LinkedIn (http://linkedin.com/in/taruntelang) to stay updated on industry trends
- I create in-depth tutorials, practical demonstrations, and DevOps guides on my YouTube channel (youtube.com/@dev-skills).
Whether you're learning Docker, Kubernetes, or configuration management, you'll find valuable content to support your learning journey.
Ready to transform your configuration skills? Let's get started!
Get to know about this course, its prerequisites and target audience.
In this lecture, we will cover what is YAML all about. What other data serialization languages or formats are similar to YAML and its benefits.
Let's see, what is YAML?
YAML stands for YAML Ain't Markup Language. Earlier, its full form was Yet Another Markup Language, but later it was inside YAML Ain't Markup Language. As it's way more than a normal markup language, YAML rhymes with the English word 'camel'.
YAML is a very simple text-based language. We will see various examples later in this course, which will make it clear to you. But now you just remember YAML is very simple and clear, text-based human-readable forward.
YAML is a data serialization language. By data serialization we mean.
>> Storing or preserving a state of an object or a system in the form which could be stored, exchanged, or retrieved later without any loss of information.
YAML is not a programming language. It is just a format to store data like XML and JSON.
These are some of the benefits of YAML.
YAML is very human, readable, and simple, it has clean syntax, it is easy to use.
It matches data structures of modern programming languages like Python, Java, Go lang.
It has a consistent data model.
It supports single-pass processing.
It is very expressive and extensive.
In this lecture we will cover what is YAML all about. What other data serialization languages or formats are similar to YAML and its benefits.
Get to know about YAML data format and where is it used and its benefits.
Learn how to use the basic syntax of the YAML language.
You will learn about creating a single YAML stream with multiple documents.
Learn about different styles of YAML syntax.
Learn about details of both the styles in YAML namely the block style and the flow style.
Learn about how to write comments in YAML.
Get to know about how to write single line comments in YAML.
Summary of all the YAML features you learned in this section.
YAML project details for this course.
Get introduced to XML data format and understand its limitations.
Get introduced to JSON data format and understand some of its drawbacks.
Get to know about YAML data format and understand its benefits compared to other data formats.
Get introduced to the various data types available in YAML and learn how to represent them within a YAML file.
Get introduced to the various data types available in YAML and learn how to represent them within a YAML file.
This video summarizes the section by providing the list of all the primitive data types of YAML.
Get introduced to all the advanced data types and learn how to represent them in YAML.
Get introduced to all the advanced data types and learn how to represent them in YAML.
Learn about how to use of anchors, default value mappings and merging mappings in YAML.
Get introduced to various parsers and emitters available for processing YAML popular programming languages. You will find this list useful while creating applications leveraging YAML for data exchange.
Get introduced to popular tools and technologies using YAML for storing configuration data.
Learn about various useful tools for creating and validating YAML data.
Exercise on creating and validating data in YAML format.
In case you have completed the previous assignment, you may skip this section. An exercise in which you are required to represent complex data using YAML data format.
Please feel free to share your feedback about this course on Twitter or LinkedIn. You may ping me on my Twitter handle @taruntelang and include #yaml in your tweet.
Please feel free to share any review of this course. Looking forward to your suggestions and feedbacks.
In case you have completed the previous assignment, you may skip this section. Solution to the above coding exercise about representing complex data using YAML data format.
Welcome to this course, I'm glad that you have purchased this course - "Learn YAML from Scratch". This is a great way to start your learning journey toward YAML data serialization language.
Get to know the learning objectives for this course.
In this lecture, we will cover what is YAML all about. What other data serialization languages or formats are similar to YAML and its benefits.
Learn how to use the basic syntax of the YAML language.
Learn about how to write comments in YAML.
Learn about different styles of YAML syntax.
This video summarizes the section by providing the list of all the primitive data types of YAML.
Learn about tags, variables and using basic data types YAML.
In this lecture we will summarize various tags and define various advanced data types supported by YAML. The examples for all these advanced data types will be covered in the next lecture.
Get to know about using sequences, nested sequences and mappings in YAML.
Learn about dictionaries as nested mappings and its usage in YAML.
Getting to know about usage of anchors, default value mappings and merging mappings in YAML.
An exercise about representing a matrix in YAML data format
The solution to the exercise about representing a matrix in YAML data format
Get introduced to XML and JSON data formats and see how YAML represents data in a more readable and cleaner format.
This will help you in further strengthening your understanding based-on on your earlier experience. You would also be able to understand better the key differences in these data representation specifications.
Learn how to represent data using XML data format.
Learn how to represent data using JSON data format.
About the Author
Tarun Telang is an enterprise software architect with more than two decades of programming experience with some of the world’s most renowned software development firms like Microsoft, Oracle, and SAP.
He has been presenting in conferences related to software technology, writing technical articles and blogs for more than 15 years now. He is very passionate about software technology and loves sharing his knowledge to help software professionals in learning and ensuring adherence to engineering best practices.
Please feel free to share your feedback about this book on Twitter or LinkedIn. You may ping him on his Twitter handle @taruntelang and include #yaml in your tweet. Currently
He is based out in Hyderabad, India. In the past, he has also lived and worked for software companies in Waterloo (Ontario), Canada; Bengaluru (Bangalore), India and Heidelberg, Germany.
Thanks for taking this course. Hope you found this helpful.
Please feel free to share any review of this course. Looking forward to your suggestions and feedbacks.
What is YAML?
YAML stands for YAML Ain't Markup Language. It is a very popular data serialization format for storing configuration data or exchanging data between people and computers. It is more human-readable and concise than XML or JSON. It has now become a key technology for creating complex configurations in various modern technologies like automation, testing, containerization, cloud (AWS, Azure, or GCP) deployment, DevOps, etc.
About this Course
Wondering what YAML files are? This course provides a comprehensive overview of the YAML data serialization language, covering its syntax and the basic concepts like key-value pairs, lists, nested structures, and advanced features.
This course is for Software Engineers, Full Stack Web Developers, DevOps Engineers, Software Architects, Managers, and Hobbyists; Develop the skills to write and understand the YAML files effectively, making it easier to configure and manage configuration data across various applications and systems.
Why you should learn YAML
Every IT professional looking to create structured data in a compact and human-readable format should learn YAML (YAML ain't markup language). YAML is a key technology for creating complex configurations in various modern technologies related to automation, testing, containerization, AWS/Azure/GCP cloud deployment, DevOps, etc.
Learning about YAML would be very beneficial for today's IT Professionals. Below is a list of some of the popular software tools and frameworks that make extensive use of the YAML data format.
DevOps - CircleCI, Travis CI, Azure DevOps, Jenkins X
Frameworks: Spring Boot,
Automation: Chef Automate, Ansible
Container: Docker, Kubernetes
Documentation: Swagger,
and many more ...
This course covers YAML specifications in their entirety in a very to-the-point manner.
Key Highlights
Learning Objectives for this course are -
Understand what YAML is, its purpose and benefits
Build fluency with the YAML syntax
How to use primitive data types in a YAML document
How to use complex data types in a YAML document to model data
How to use advanced features of YAML processors
Learn to write and read YAML files effectively
Comparison of YAML with other popular data formats like JSON and XML
How to represent data using YAML files
Master advanced YAML techniques and best practices
What are the different styles and special features of YAML?
Get to know tools and technologies that leverage the YAML format
How to create YAML documents effectively
How to validate YAML files
Learn about various tools for creating valid YAML documents effectively
What you will learn
1. Acquire a solid understanding of YAML's purpose, advantages, and common use cases.
2. Grasp the YAML syntax, including key-value pairs, lists, and nested structures.
3. Develop proficiency in writing and reading YAML files for configuring data accurately.
4. Explore advanced YAML techniques, such as anchors, aliases, and custom tags.
5. Implement best practices to ensure clean and maintainable YAML code.
After taking the course, you would add YAML to your skillset in two hours. You will have a great new skill that is transferable and highly applicable. This course is aimed at software engineers of all levels, from beginner to advanced, who want to get updated with YAML syntax.
Buying this course entitles you to all future updates.
Prerequisites
There are no prerequisites for taking this course. However basic knowledge and familiarity with HTML, XML and JSON would be helpful.
Who is this course for
This course is aimed at software engineers of all levels, from beginner to advanced, who want to get up to date with YAML syntax. There are no prerequisites for taking this course. However, basic knowledge and familiarity with HTML, XML, and JSON would be helpful.
How is this course structured
The course is backed by carefully designed quizzes and engaging exercises. In addition, this course also contains video lectures, reading materials, associated presentations, source codes, and references to the latest tools, frameworks, and libraries related to YAML.
After completing this course, you would also earn a YAML certificate to add to your LinkedIn profile, resume, or personal website.