hands-on lab

Automated EKS Application Deployment Using Spinnaker

Difficulty: Intermediate
Duration: Up to 2 hours
Students: 32
Rating: 5/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

As enterprises increasingly embrace microservices architecture for scalability, there is a growing demand for efficient solutions to optimize their CI/CD workflows. Spinnaker stands out as an essential tool, enabling businesses to automate their software delivery process through structured pipelines.

In this hands-on lab, you'll learn how to configure Spinnaker to support the continuous deployment of a basic web application into a lab-provided EKS cluster.

The lab will start with an empty EKS cluster into which you'll be instructed on how to install and set up Spinnaker. You’ll then configure Spinnaker to support the deployment of a simple web application across multiple environments (Dev and Prod), modeled within the EKS cluster using namespaces. The configuration steps performed within this lab will include the following:

  • Use Halyard to configure and deploy Spinnaker into the provided EKS cluster
  • Use the Spin CLI to deploy a preconfigured multistage deployment pipeline
  • Execute the Spinnaker pipeline to perform a deployment of a web application packaged within a customized Helm chart
  • Confirm that the web application is fully functional within both the Dev and Prod environments

Learning objectives

Upon completion of this intermediate-level lab, you will:

  • Understand how to install and set up Spinnaker within EKS
  • Understand how to create and configure Spinnaker pipelines to support continuous deployment
  • Understand how to deploy and expose EKS-hosted applications

Intended audience

  • Cloud Architects
  • DevOps Engineers
  • Software Engineers

Prerequisites

Familiarity with the following will be beneficial but is not required:

  • Kubernetes
  • Amazon EKS
  • Spinnaker

The following content can be used to fulfill the prerequisites:

Updates

October 15th, 2024 - Resolved deployment issue

April 8th, 2024 - Resolved deployment issue

Environment before

Environment after

Covered topics

Lab steps

IDE Access
Spinnaker Setup and Deployment
Web Application Review
Spinnaker Pipeline Configuration
Spinnaker Pipeline Review
Spinnaker Pipeline Execution
EKS Deployed Application Test