Categories
devops kubernetes

Canary Style Deployments in Kubernetes

I will be using Digital Oceans managed Kubernetes service for this. It’s low cost compared to other cloud providers. This example uses the Ingress Nginx controller for Kubernetes. Here is the installation guide depending on your cloud provider. The diagram below illustrates the flow we want to implement. We will only focus from the ingress […]

Categories
devops mongodb

Restrict outside access to MongoDB installed on an EC2 Instance with Security Groups

Note: I will be assuming you have MongoDB running on an EC2 instance. First off we need to allow outside access to the MongoDB instance. Below is what I had to update in mongod.conf file. We have to comment out bindIp and add bindIpAll set to true. At this point you should be able to […]