1. Install filebeat, logstash on production server need monitor 2. Install elasticsearch, kibana on server logs manager if occur error dpkg, follow guide check and run above again 3. Config Elasticsearch: database to store logs and database of kibana to run Filebeat: collect logs from file and push to logstash kibana: UI, visualize logstash: handle ..
Category : k8s
Create pv/pvc efs-server-volume Create pod handle Create folder for EFS Create PV/VPC that mount volume EFS with folder Create deployment that mount volume EFS with folder by PV – PVC created above Example cr..
1. Creating the Amazon EKS cluster role 2. VPC Create Subnet 10.0.0.0 => binary 00000000.00000000.00000000.00000000/16 Total bit in IP is 32. we have last 8 bit to set IP for VPC. If devive to 4 subnet => we use 2 first bit to devive, 6 last bit to set IP => we have: 00000000, 10000000, ..
Install driver by helm Create storage class for EFS using in pv-pvc for deployment Check VPC of EFS and EKS VPC for EKS and EFS must be in the same zone EFS > EFS detail > network tab > manage button: set security groups = security groups of EKS for each availability zone of VPC ..
Install metric Install ..
Setup credential Connect to EKS aws sts get-caller-identity to check what aws account login on terminal now. to change profile which setting before, run export AWS_PROFILE=profilenamehere can set profile name = default to prevent expor..
deploy ingress controller and cert manager with helm chart. deploy cert manager create issuer or cluster issuer and deploy deploy an example deployment+service Deploy an ingress to expose service to internet with domain+ssl ..