In this recipe, we will be deploying an application which will cover all our use-cases of using AWS resources:
- Deployment configuration file contains the image whose source will be ECR.
- Service will be exposed using LoadBalancer ELB.
- For persistent storage, EBS will be used and mounted on container.
To achieve the preceding points, we have to perform the operation in the following manner:
- Create PersistentVolumeClaim of some size of EBS volume
- Create a deployment configuration and mention the image name, which is present in ECR.
- In the deployment configuration file, we also need to mention which path will be mounted with that PersistentVolume.
- Create a service configuration file, where the access of service will be done by ...