What do you someone breaks something? I post the solution here...

Kubernetes (K8s/K3d) / Terraform / Ansible / Linux / AWS / Docker / Bash / Python / ELK / CI/CD / Java / Traefik / Nginx / CentOs / Ubuntu


Setup DbServer and Add the Subnet to it ,Allow configure firewall rules((Step - 4) Contd


Setup DbServer and Add the Subnet to it ,Allow configure firewall rules((Step - 4) Contd

First lets try to access the mysql-server from the App server machine for that we need to have mysql-client on App server . Please install mysql-client on App server



The Errror is Self Explainatory So lets add this host to Mysql-Server


Lets Check again


Again we got Error this means firewall is not allowing msql service to be accessible






But This is not what we wanted, it is not secure what we want is to open port 5000 to external users and forward the traffic on 5000 to mysql port that i.e 3306

Port forwarding we will cover in next post

1 comment:

Sagy said...

Waiting for post of step 5.. Setup ftp server

Powered by Blogger.