Download Updated Frontend and Backend Code

Backup the existing folders

cp -R challenge-day2/ challenge-day2_bkp
cp -R terraform-project/ terraform-project_bkp

Clean up the existing application files expect the Docker, YAML file (Backend)

cd challenge-day2/backend
rm -rf $(find . -mindepth 1 -maxdepth 1 -not \\( -name ".*" -o -name Dockerfile -o -name "*.yaml" \\))

Clean up the existing application files expect the Docker, YAML file (Frontend)

cd challenge-day2/frontend
rm -rf $(find . -mindepth 1 -maxdepth 1 -not \\( -name ".*" -o -name Dockerfile -o -name "*.yaml" \\))

Download the updated source code and unzip it (Backend)

cd challenge-day2/backend
wget  <https://tcb-public-events.s3.amazonaws.com/mdac/resources/final/cloudmart-backend-final.zip>
unzip cloudmart-backend-final.zip

Download the updated source code and unzip it (Frontend)

cd challenge-day2/frontend
wget  <https://tcb-public-events.s3.amazonaws.com/mdac/resources/final/cloudmart-frontend-final.zip>
unzip cloudmart-frontend-final.zip
git add -A
git commit -m "final code"
git push 

Google Cloud BigQuery Setup

Follow these steps to set up Google Cloud BigQuery for CloudMart:

  1. Create a Google Cloud Project:
  2. Enable BigQuery API:
  3. Create a BigQuery Dataset:
  4. Create a BigQuery Table:
  5. Create Service Account and Key:
  6. Configure Lambda Function: