Home
Links icon
LinkedIn
About
🌐
English
  • Spaces and Orgs a user is associated to in CloudFoundry

    Dec 31, 2020 cloudfoundry bash guyfromit

    Assumptions/ Prerequisites You have admin rights of CloudFoundry. You have cf cli installed. You are using v3 of CloudFoundry API. Script to get spaces, orgs and roles associated with an user in CloudFoundry 1#!/bin/bash 2 3set -eu -o pipefail 4userObject="$(cf curl …

    Read More
  • Rolling update with docker-compose

    Dec 29, 2020 docker docker-compose rolling-update nginx guyfromit

    This article covers simple steps to perform rolling update with docker-compose with an example. If you are using docker-compose file in combination with docker swarm, you will probably get rolling update feature out of the box. Otherwise to perform rolling-update with only docker-compose is bit tricky. Assumptions/ …

    Read More
  • Running golang application on Docker

    Dec 29, 2020 Docker golang Docker-Multistage-build guyfromit

    This article covers a basic example of how to deploy an applicaiton written in golang in Docker container. Assumptions/ Prerequisites You have golang installed on your machine. You have Docker cli, runtime installed on your machine. Your machine is connected to internet. Steps to follow 1. Writing a simple golang …

    Read More
  • Logging from an application on CloudFoundry

    Dec 21, 2020 cloudfoundry syslog guyfromit

    Sending logs from an application on CloudFoundry to some logging service In CloudFoundry by default app logs are included in syslog drains. So if syslog drain endpoint is provided to application the logs will be sent to that endpoint. Assumptions/ Prerequisites You have cf cli installed on your machine. You have …

    Read More
  • Using Nginx to redirect requests

    Dec 21, 2020 nginx redirect http-to-https www-to-non-www guyfromit

    Using Nginx to redirect requests to different URLs There are some times requirement like sending traffic from http to https or redirecting requests from one domain to another. This can be easily done via Nginx. Below I am sharing a way to do it for different scenarios. Assumptions/ Prerequisites You are using nginx to …

    Read More
  • Deploying Bosh on Ubuntu

    Nov 1, 2020 bosh linux Virtual Box bosh-lite ubuntu guyfromit

    Run Bosh Director locally on VM using Virtual Box on Ubuntu This guide is useful for the developers who are learning BOSH and want to run BOSH on VM using Virtual Box on Ubuntu. BOSH provide BOSH Lite which as the name suggests is light version of BOSH. To run BOSH you will need to install BOSH CLI on Ubuntu. …

    Read More
  • Docker Without sudo

    Nov 1, 2020 docker linux ubuntu guyfromit

    Assumptions/ Prerequisites You have installed docker cli and runtime on you ubuntu machine. You have root access to the above mentioned ubuntu machine. Run docker command without sudo on Linux Usually when you install docker on Linux machines like Ubuntu for example, you cannot run docker commands without sudo or root …

    Read More
  • Use git-crypt for secrets

    Nov 1, 2020 git git-crypt guyfromit

    Workflow to safely store secrets in Git repository It is some time unavoidable to store secrets such as passwords or private-keys in repository. git-crypt is a tool which can be used to achieve this. I am sharing below how to use git-crypt to safely store secrets. Assumptions/ Prerequisites You have git installed in …

    Read More

Saurabh Kumar Agrawal

IT Professional, Seeking to learn and share, Loves nature
Read More

Recent Posts

  • Spaces and Orgs a user is associated to in CloudFoundry
  • Rolling update with docker-compose
  • Running golang application on Docker
  • Logging from an application on CloudFoundry
  • Using Nginx to redirect requests
  • Deploying Bosh on Ubuntu
  • Docker Without sudo
  • Use git-crypt for secrets

Tags

GUYFROMIT 8 DOCKER 3 CLOUDFOUNDRY 2 LINUX 2 NGINX 2 UBUNTU 2 BASH 1 BOSH 1 BOSH-LITE 1 DOCKER-COMPOSE 1 DOCKER-MULTISTAGE-BUILD 1 GIT 1 GIT-CRYPT 1 GOLANG 1
All Tags
BASH1 BOSH1 BOSH-LITE1 CLOUDFOUNDRY2 DOCKER3 DOCKER-COMPOSE1 DOCKER-MULTISTAGE-BUILD1 GIT1 GIT-CRYPT1 GOLANG1 GUYFROMIT8 HTTP-TO-HTTPS1 INDEX1 LINUX2 NGINX2 REDIRECT1 ROLLING-UPDATE1 SYSLOG1 UBUNTU2 VIRTUAL-BOX1 WWW-TO-NON-WWW1
[A~Z][0~9]

Copyright © 2023 GUY FROM IT. All Rights Reserved