crazyoptimist
open-menucloseme
Posts
About
githubmailrss
  • How to Assume IAM Role in AWS and Use It

    calendarAug 17, 2023 · 4 min read  ·
    Share on: twitterfacebooklinkedincopy

    AWS IAM Assume Role is a mechanism that enables a user or service to assume a specific IAM role temporarily. This allows the user or service to acquire temporary security credentials, including access keys, session tokens, and permissions, to perform actions within AWS resources. The assumed role can have different …


    Read More
  • How to Use Multiple Github Accounts With SSH Keys on the Same Machine

    calendarApr 14, 2023 · 1 min read  ·
    Share on: twitterfacebooklinkedincopy

    There might be a chance that you need to create and use a separate github(or bitbucket) account other than your personal one in your workplace. And Github(Bitbucket or Gitlab will do the same I believe) doesn't allow to share a ssh key between different accounts for authentication. That's the case we are going to …


    Read More
  • Automatic Https With Caddy - Extremely Easy

    calendarJun 7, 2022 · 2 min read  ·
    Share on: twitterfacebooklinkedincopy

    Today I had a chance to try Caddy for dev purpose, and you guess what, it was extremely easy and funny. Only two steps and boom, you got a secured website almost instantly. Here are the steps I followed: Install Caddy on Ubuntu/Debian Check their documentation for another OS/installation method. 1sudo apt install -y …


    Read More
  • How to Deploy Next.js App to AWS EC2 in Production and Set up CI/CD with Github Actions

    calendarFeb 4, 2022 · 4 min read  ·
    Share on: twitterfacebooklinkedincopy

    Yo! In this article, we'll be discussing how to deploy a Next.js app to AWS EC2 and set up continuous integration and deployment using Github Actions. Before proceeding, you will need to have the infrastructure ready on AWS, which can be deployed manually or by using Terraform code. I'll be skipping the infrastructure …


    Read More
  • Git Cheatsheet for Minimalists

    calendarDec 4, 2020 · 7 min read  ·
    Share on: twitterfacebooklinkedincopy

    Creating Snapshots Browsing History Branching & Merging Collaboration Rewriting History Housekeeping(Personal Favorites) Basic Git Concepts Working copy (working tree file): It refers to the file in the repository that appears on the hard disk. Index (staging area or cache): it refers to you have git add-ed, or, …


    Read More
  • Podman Basic Notes

    calendarNov 7, 2020 · 1 min read  ·
    Share on: twitterfacebooklinkedincopy

    Playing around with Podman 1alias docker="sudo podman $1" The above command works as of this time and podman makes namespaces for every users for every resources, i.e., images, containers and so on. It means, podman images and sudo podman images will show different resources.😎 1sudo podman pod create --name …


    Read More
  • Kubernetes Basic Notes

    calendarNov 7, 2020 · 1 min read  ·
    Share on: twitterfacebooklinkedincopy

    Kubectl Installation 1curl -LO "https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl" 2chmod +x kubectl 3echo $PATH 4sudo mv kubectl /usr/local/bin/ Minikube Installation 1curl -LO …


    Read More
  • How to Make a Swap Space Using a Swap File in Linux

    calendarOct 6, 2020 · 2 min read  ·
    Share on: twitterfacebooklinkedincopy

    This article is based on the content of aws knowledgebase. You might have been stuck in memory leak when building some kinda javascript-heavy frontend apps like Vue or React on a cloud server itself. Just for serving built artifacts, we do not need large instances, but still the building process is always hungry for …


    Read More
  • GPG Key in Git - Get Your Every Commit Verified

    calendarOct 4, 2020 · 2 min read  ·
    Share on: twitterfacebooklinkedincopy

    This article is based on the contents of the Github's documentation. You will get your own verified badge on every git commits once you configure your GPG key with your VCS. First things first, check your gpg version using this command: 1gpg --version Allow me to assume that you are on version 2.1.17 or greater. Use …


    Read More
  • Deploy Your Web Apps in Just a Minute - Made With 💖 for Dockerists

    calendarSep 7, 2020 · 1 min read  ·
    Share on: twitterfacebooklinkedincopy

    As a software engineer or a DevOps engineer, you may come up with boring tasks frequently, one of which is setting up a new cloud environment for deployment of your awesome web apps/micro services. Using the following script, you will lose the dull pain. Just grab the script and run it with bash, then you will get the …


    Read More
    • ««
    • «
    • 1
    • 2
    • 3
    • »
    • »»

crazyoptimist

Software Engineer
Read More

Featured Posts

  • Automatic Https With Caddy - Extremely Easy
  • How to Deploy Next.js App to AWS EC2 in Production and Set up CI/CD with Github Actions
  • GPG Key in Git - Get Your Every Commit Verified
  • Deploy Your Web Apps in Just a Minute - Made With 💖 for Dockerists

Recent Posts

  • How to Assume IAM Role in AWS and Use It
  • How to Configure Remote SSH Connection to WSL 2
  • Automatic Https With Caddy - Extremely Easy
  • How to Deploy Next.js App to AWS EC2 in Production and Set up CI/CD with Github Actions
  • GPG Key in Git - Get Your Every Commit Verified
  • Deploy Your Web Apps in Just a Minute - Made With 💖 for Dockerists

Categories

DEVOPS 25 NETWORK 12 LINUX 7 GOLANG 4 DOCKER 3 JAVASCRIPT 3 VIM 3 PYTHON 1 TDD 1
crazyoptimist

Copyright 2019-  CRAZYOPTIMIST. All Rights Reserved

to-top