Deploying NextCloud on EKS ,Used MySQL as database for nextCloud,and integrated various aws services with EKS cluster.
- create an aws user with adminaccess
- install awscli2
- configure awscli with access key and secret key
- install eksctl
- clone this repo
git clone https://github.com/krrajpurohit/nextCloudOnEKS.git
eksctl create cluster -f cluster.yaml
aws eks update-kubeconfig --name nextcluster
yum install amazon-efs-utils -y
kubectl create namespace nextns
kubectl --set-context --current --namespace=nextns
Step5: In create-efs-provisioner.yaml file, replace the FILE_SYSTEM_ID and nfs server with the values of your EFS file system
Step6: Run the kustomization.yaml file to setup the environment and deploy the nextcloud with other resources on the EKS. Run the following command:
kubectl create -k . -n nextns
Step7: Now our nextcloud is deployed to the EKS and can be accessed using the EXTERNAL-IP provided by nextcloud service.
kubectl get all
Deploying NextCloud on EKS and Integrating with AWS EFS ,ELB