Deploy Stateful Applications with Persistent State

Deploy Stateful Applications with Persistent State

Amazon Elastic Block Store (Amazon EBS) is a highly versatile and secure storage service designed primarily for Amazon EC2. It is also well-known for being the fastest storage that AWS offers and is fully supported by Kubernetes, making it the best choice for our storage needs.

image

In this hands-on Cloud Lab, we’ll create a Kubernetes Cluster using the EBS storage service through an EC2 instance, create, and claim persistent storage, and attach our persistent storage with a Jenkins container.

Lab tasks

  • Create an S3 Bucket
  • Create an EC2 Instance
  • Create AWS config File and Access Key
  • Create a kOps cluster
  • Create EBS Volumes.
  • Create and Claim Persistent Storage
  • Deploy Jenkins on Kubernetes
  • Clean up

Architecture diagram

The following is the high-level architecture diagram of how to deploy stateful applications with persistent states:

image