- Project Description
- CI/CD
- Prerequisites
- Folder list
- Installation and Configuration GCP
- Installation and Configuration GKE
- Installation and Configuration Static page (bucket)
- Secrets
- GCE folder: Contains instructions to automatically create a Virtual Machine (VM) on Google Compute Engine (GCE), download an operating system image, and launch a website. This environment configuration checks if the docker image is up to date
- GKE folder: Demonstrates the setup of a Kubernetes cluster using Google Kubernetes Engine (GKE) for hosting containerized website.
CI/CD pipelines have been set up using GitHub Actions. Any change in the repository triggers the pipeline to start, resulting in the creation of a new Docker image that is then published to Docker Hub
To install and configure project in GoogleCloud file, you need to meet the following prerequisites:
- A Google Cloud Platform (GCP) account with the appropriate permissions for creating and managing virtual machines.
- A GCP API key in GoogleCloud file that allows the creation of virtual machines.
- Clone this project to your local machine:
git clone
- Copy GCP API key to main folder
- Navigate to folder with setup.
cd GoogleCloud/GCE/infra
- Run bash script
bash RUN.bash
- Enter the password for Ansible Vault when needed
- To connect to the page, open a web browser and enter:
http://YOUR_MACHINE_IP
- Clone this project to your local machine:
git clone
- Copy GCP API key to main folder
- Navigate to folder with setup.
cd GoogleCloud/GKE/infra
- Run bash script
bash RUN.bash
- Log in to the GCP Console:
- Navigate to the "Kubernetes Engine" Section
- Find my-gke-cluster
- Go to the "Services & Ingress" Tab
- Locate the Public IP Address In the "Services & Ingress" section, you will find your Load Balancer along with its public IP address. It will be displayed next to the service name. Click on it to get more details.
- Connect to the page
http://IP_address
- Clone this project to your local machine:
git clone
- Copy GCP API key to main folder
- Navigate to folder with setup.
cd Static
- Run bash script
bash RUN.bash
- URL to page is:
https://storage.googleapis.com/my_uniqe_devops_static_name/index.html
admin acconut password - admin
ansible valut password - password
To reference a file from the parent directory in a Dockerfile, use the following approach:
docker build -t <some tag> -f <dir/dir/Dockerfile> .
in this case, the context of the docker will be switched to the parent directory and accessible for ADD and COPY