AWS EKS cluster for the Integration: OWNCLOUD with MySQL

AWS EKS Service

About EKS :

What does EKS do ?

What is VPC ?

What is Internet Gateway?

What is Routing Table ?

Architecture of complete Setup

Requirements for this task :

  1. Account on AWS , also a IAM user created.
  2. AWS CLI installed and configured.
  3. eksctl installed for accessing the cluster (Although we are going to create everything with Terraform ).
  4. Kubectl setup : It is used for a communication with the cluster API server.
Creating new VPC
Creating subnet and providing the cidr or the ip range
Creating subnet and providing the cidr or the ip range
Creating Internet Gateway
Creating Routing Table
Adding route to the Route Table
Adding routing table to the subnet
Architecture of our own Virtual private cloud

EKS Cluster Setup

Terraform code to create the aws_iam_role
creating eks cluster
creating eks cluster(cont.)
creating eks cluster(cont.)
Initializing terraform
Initializing Terraform successful
Applying Terraform code
Cluster created
Running Instances
Updating the kubeconfig file
  1. Code for creating the mysql-deployment , i.e., mysql-deployment.yml file
creating service and pvc for mysql-deployment
creating Deployment for mysql-deployment
creating service and pvc for owncloud-deployment
creating owncloud-deployment
creating rbac.yml file
Kustomization.yml file
Setup created successfully, all the services deployed
Access all the deployments and services
Load Balancer created
OwnCloud Accessed
Dashboard of OwnCloud
Destroying the EKS cluster
Destroy Successful

--

--

I am a tech enthusiast, researcher and work for integrations. I love to explore and learn about the new technologies and their right concepts from its core.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Anshika Sharma

I am a tech enthusiast, researcher and work for integrations. I love to explore and learn about the new technologies and their right concepts from its core.