Create a Persistent Volume that associates the AWS EBS to the Kubernetes cluster

apiVersion: v1
kind: PersistentVolume
metadata:
  name: aws-pv
  labels:
    type: aws-pv
spec:
  capacity:
    storage: 1Gi
  accessModes:
    - ReadWriteOnce
  awsElasticBlockStore:
    volumeID: {{ YOUR-EBS-VOLUME-ID-HERE }}
    fsType: ext4
Next you can create the Persistent Volume Claim that will bound the Persistent Volume we just made.