Below you will find pages that utilize the taxonomy term “devops”
Posts
Accessing Cloudwatch logs via AWS CLI
AWS Cloudwatch cloudwatch allows to take a peek into your aws applications, their logs and other metrices. Apart from the centralized logging (kibana,loggly) where we limit retention duration (cost factor), cloudwatch provides a way to do pay-per-volume query operations.
AWS CLI installation on mac
configuration aws configure Setting up AWS keys
Although cloudwatch comes with a nice GUI, we can leverage CLI to automate and ease up some tasks. Here is a use case for filtering logs and downloading them for further analysis.
read morePosts
ENTRYPOINT Vs CMD in Docker
CMD Vs Entrypoint is a bit confusing at the beginning. When should you use CMD and when should you use ENTRYPOINT while building your docker images?
CMD
This is the command that runs when you start a container.
Eg:
cmd-docker
FROM ubuntu CMD [ "echo" , "this is running from CMD which runs when the container starts" ] Building an image:
docker build -t cmd-docker -f cmdvsentrypoint.yaml .
Default docker run:
read morePosts
Infrastructre as Code (IaC)
How it came to be? Traditionally setting up infrastructure for the code to run (think: servers, network configurations, etc) has been a manual task.
People started using SOP (Standard Operating Procedure) in order to mitigate errors and risk (by listing down all the actionable items) but it’s still error-prone.
Enter, Infrastructure as code.
This is an attempt to abstract the tangible aspects of software (hardware it runs on, configurations and network it uses, etc).
read more