Skip to main content

GCP Cloud Run: Notes

Containers without infrastructure. Cloud Run on GCP (or Fargate on AWS).

Always Free Cloud Run Limitation

Source: https://cloud.google.com/free/docs/gcp-free-tier#always-free-usage-limits


List verified domains

gcloud domains list-user-verified

Verify domain "practicehabits.net" in powershell

$BASE_DOMAIN = "practicehabits.net"
gcloud domains verify $BASE_DOMAIN

Popular posts from this blog

MySQL: Notes

Ways to check MySQL version mysql --version mysql -V dpkg -l 'mysql-sever' mysql -u root -p How to check MySQL version: mysql --version Database folder On Microsoft Windows, by default, MySQL save databases in this folder: %ProgramData%\MySQL\MySQL Server 5.5\data Check databases' size SELECT table_schema AS "Database name", SUM(data_length + index_length) / 1024 / 1024 AS "Size (MB)" FROM information_schema.TABLES GROUP BY table_schema; Export database schema $ mysqldump -u root -p --no-data wordpress1001 > c:\backup\schema-wordpress1001.sql Enter password: **************** Create a dedicated user to backup databases Give credit to: http://www.fromdual.com/privileges-of-mysql-backup-user-for-mysqldump Create dedicated mysql user and grant privileges to run backup $ mysql -u root -p CREATE USER 'backupdb'@'localhost' IDENTIFIED BY 'passwordhere'; GRANT SELECT,SHOW VIEW,RELOAD,REPLICATION CLIENT...

nmap - The Network Mapper

WARNING : It is ILLEGAL to scan hosts without permission.

Linux command: grep - Global Regular Expression Print

grep command grep, egrep, fgrep, rgrep - print lines matching a pattern