Skip to content

Deploying NextCloud on EKS ,Used MySQl as database for nextCloud,and integrated various aws services with EKS cluster.

License

Notifications You must be signed in to change notification settings

ksrajpurohit/nextCloudOnEKS

Repository files navigation

Deploying NextCloud on EKS ,Used MySQL as database for nextCloud,and integrated various aws services with EKS cluster.

nextcloud + eks banner

Getting started

Prerequisite

  • 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

Step1: Create EKS cluster and configure the kubectl config files

eksctl create cluster -f cluster.yaml
aws eks update-kubeconfig --name nextcluster

Step2: Install Amazon EFS Utilities on every node in the cluster using following command:

yum install amazon-efs-utils -y

yum install

Step3: Create namespace for easy management of resources,and set it as default

kubectl create namespace nextns
kubectl --set-context --current --namespace=nextns

Step4: Create an EFS file system using aws console

EFS-1

EFS-2

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

copy EXTERNAL-IP provided by the service/nextcloud in the browser to login to nextcloud.

nexcloud-1

nextcloud-2

nextcloud-3

You can find a detailed article about this project at :

Deploying NextCloud on EKS and Integrating with AWS EFS ,ELB

Maintenance Ask Me Anything ! GPLv3 license

About

Deploying NextCloud on EKS ,Used MySQl as database for nextCloud,and integrated various aws services with EKS cluster.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published