The docker logs command batch-retrieves logs present at the time of execution. The docker logs command shows information logged by a running container. The docker service logs command shows information logged by all containers participating in a service. The information that is logged and the format of the log depends almost entirely on the container’s …
Author Archives: Adeel
How to launch an ECS instance in Alibaba cloud
This blog introduces you to ECS service provided by Alibaba cloud. After reading this blog you will be able to deploy your own ECS instance in no time. What is ECS? Elastic Compute Service is a type of computing service, ECS is simple and more efficient than physical servers. We can create instances, change the …
Continue reading “How to launch an ECS instance in Alibaba cloud”
Forward and Reverse Proxy
Overview Before talking about forward proxy and reverse proxy let’s talk about what is the meaning of proxy.Basically proxy means someone or something is acting on behalf of someone.In the technical realm, we are talking about one server is acting behalf of the other servers. In this blog, we will talk about web proxies. So …
Prometheus Overview and Setup
Overview Prometheus is an opensource monitoring solution that gathers time series based numerical data. It is a project which was started by Google’s ex-employees at SoundCloud. To monitor your services and infra with Prometheus your service needs to expose an endpoint in the form of port or URL. For example:- {{localhost:9090}}. The endpoint is an HTTP …
EC2 Ssh Connection Refused
When ssh: connect to host ip_address port 22 Connection refused Unable to access server??? Exactly when you see the error – “ssh: connect to host ip_address port 22: Connection refused” while connecting your AWS EC2 Instance. In order to find solution of the problem, you will go to AWS forum and other channels where you need to …
Logstash Timestamp
Introduction A few days back I encountered with a simple but painful issue. I am using ELK to parse my application logs and generate some meaningful views. Here I met with an issue which is, logstash inserts my logs into elasticsearch as per the current timestamp, instead of the actual time of log generation. This …
Classless Inter Domain Routing Made Easy (Cont..)
Introduction : As we had a discussion about Ip addresses and their classes in the previous blog,we can now start with Sub-netting. Network Mask /Subnet Mask – As mask means to cover something, IP Address is made up of two components, One is the network address and the other is the host address.The Ip Address …
Continue reading “Classless Inter Domain Routing Made Easy (Cont..)”
Classless Inter Domain Routing Made Easy
Introduction : One day I was working with VPC (Virtual Private Cloud) inside AWS(Amazon Web Services), where I had a need to calculate the CIDR notation of an IP address and subnet combinations. I had to use online tools to calculate the Subnets and CIDR every time when I was working with VPC, but I …
Gitolite
Requirement We need private git repositories for internally use in our project so we use Gitolite for this requirement. Our client has a lot of consultants, partners and short term employees working with their code so they needed a good way of controlling access to the repos and preferably without giving each of them a …
Stunnel a Proxy to ship the log on SSL
Introduction p { margin-bottom: 0.25cm; line-height: 120%; }a:link { } Few days ago I got a task to create the SSL connection with logstash redis plug-in with Azure Redis. As we are shipping the logs form the several data center to the Azure Redis. So logs must be shipped on SSL connection. There is no …