Docker: Docker Cheat Sheet
A Docker cheat sheet is a set of notes used for quick reference while using Docker in the real world. Below is the Docker cheat sheet that includes an extensive list of Docker commands. You can use it as a quick reference guide when working with Docker. Docker Basic Commands COMMANDS DESCRIPTIONS systemctl start docker Start Docker service systemctl restart […]
Bitbucket: Branch or fork your repository
There are a number of ways to get your Bitbucket Cloud repository code so that you can work on the project. Each method is slightly different and is done for different reasons. What is a branch? What is a fork? Branching and forking provide two ways of diverging from the main code line. Both Mercurial […]
Terraform: Introduction to Terraform Cloud
1. What is Terraform Cloud? Terraform Cloud is an application that manages Terraform runs in a consistent and reliable environment instead of on your local machine. It stores shared state and secret data, and connects to version control systems so that you and your team can work on infrastructure as code within your usual code workflow. […]
Bitbucket: Import A GitHub Repository Into Bitbucket
Login to your Github Account and get the URL of Repository Login to your github account and go inside the repository you wish to be copied to bitbucket Click on the drop down menu from code and copy the URL under HTTPS: In our case below is the URL we have copied: Importing the repository […]
Google Cloud: Managing infrastructure as code with Terraform, Cloud Build, and GitOps
This tutorial explains how to manage infrastructure as code with Terraform and Cloud Build using the popular GitOps methodology. The term GitOps was first coined by Weaveworks, and its key concept is using a Git repository to store the environment state that you want. Terraform is a HashiCorp open source tool that enables you to predictably create, change, and improve your cloud infrastructure by […]
Google Cloud: Configuring CL/CD Pipeline using Cloud Build And GitHub
Overview Cloud Build uses build triggers to enable CI/CD automations. You can configure triggers to listen for incoming events, such as when a new commit is pushed to a repository or when a pull request is initiated, and then automatically invoke a build when new events come in. You will create a trigger and configure that trigger […]
Google Cloud: Introduction to Container Registry
Overview Google Container Registry is a private container image registry that runs on Google Cloud’s reliable, fast, and secure infrastructure. You can access Container Registry through secure HTTPS endpoints, which allow you to push, pull, and manage images from any system, VM instance, or your own hardware. Additionally, you can use the Docker credential helper command-line tool […]
Google Cloud: Introduction to Cloud Source Repositories
Overview Google Cloud Source Repositories provides Git version control to support collaborative development of any application or service. In this lab, you will create a local Git repository that contains a sample file, add a Google Source Repository as a remote, and push the contents of the local repository. You will use the source browser included […]
Google Cloud: Using Terraform to Create a New VPC and Public Subnet in GCP
Scenario Your company wants to provision a new network with a public subnet so they can test any new instances within that public subnet. They have tasked you with creating this VPC and subnet through Infrastructure as Code so they can test and launch resources as necessary. You’ll need to accomplish the following steps to […]
Terraform Basics: Understanding `init`, `plan`, and `apply`
In this hands-on lab, we learn how and when to use init, plan, and apply. To do so, we will set the keys and configurations to use a Terraform instance. To do this, we must: Make sure the keys are set up to communicate with Terraform. Make sure the configuration files are initiated. Execute the config files to […]