Skip to content

Instantly share code, notes, and snippets.

Dataflow lifecycle
migration concerns from migrating from on-premises over into google cloud
code snippet to troubleshoot and diagnose
Part 2 - Hands-on with tools
Role of Cloud Architect
plans, designs and builds the infrastructure for an org to host their workload on GCP; able to plan to scale;
scalability and automation
@zukko78
zukko78 / GCP Architect Part-1
Created May 13, 2020 03:22 — forked from j-mprabhakaran/GCP Architect Part-1
Google Certified Cloud Architect Part 1 Notes from Linux Academy
Google Certified Professional Cloud Architect - Part 1
======================================================
GCP Overview
Google's suite of cloud computing services; run on same infra and network as google
Compute -> App Engine, Container Engine, Compute Engine
Storage -> Bigtable, Cloud Storage, Cloud SQL, Cloud Datastore
Big Data -> BigQuery, Pub/Sub, Dataflow, Dataproc, Datalab
Machine Learning -> Vision API, Machine Learning, Speech API, Translation API
https://cloud.google.com/pricing
Per second pricing for instances;Private Global Fiber network;Live migration of VMs;Better performance;Industry leading security;access to innovative resources(Big data,ML)
@zukko78
zukko78 / AWSDevOpsExamTips
Created May 13, 2020 03:22 — forked from j-mprabhakaran/AWSDevOpsExamTips
AWSDevOpsExamTips
Autoscaling.
◾Understand autoscaling inside and out.
◾Make sure you know the differences between deploying with and without Cloudformation (as there are some deployment methods you can do with Cloudformation that you can’t without) and the command or JSON syntax to perform them.
◾Understand lifecycle hooks and the autoscaling stages they run in
◾Understand launch configurations and how they work and are updated (hint: You must replace them)
◾Understand why you may need to place an instance into STANDBY state
•Elastic Beanstalk.
◾You’ll need to know this to an advanced level.
◾Understand what stacks Beanstalk supports natively and how you would deploy a stack it doesn’t (hint: Use Docker).
1. In AWS batch, you are able to specify minimum, maximum and desired number of CPU's.
2. Amazon EBS-backed EC2 instances boot faster than instance store-backed instances.
3. The operating system offered in Amazon Light sail are Amazon Linux and Ubuntu.
4. AWS Elastic beanstalk is used to spin up infrastructure that is both externally facing and internally facing.
5. SSD-backed Amazon EBS gives you low latency.
6. AWS can only create latency record sets in the AWS region, not in customer location.
7. The only routing protocol that AWS Direct Connect supports is BGP.
8. A private VIF is the logical interface between your on-premises network and AWS resource located in VPC.
9. Cloud front will forward a file to a user as soon as it get it's first bytes. It does no error checking.
10. Origin access identity (OAI) is used to restrict access to your Amazon S3 content.
@zukko78
zukko78 / install-on-all-node.sh
Created June 8, 2020 03:10 — forked from SarasaGunawardhana/install-on-all-node.sh
Prerequisites for Setup Kubenetes Cluster. You should install these things on each server.
#!/bin/bash
## Generic installation on all nodes
sysctl -w net.ipv4.ip_forward=1
sed -i 's/#net.ipv4.ip_forward=1/net.ipv4.ip_forward=1/g' /etc/sysctl.conf
sudo sysctl -p /etc/sysctl.conf
swapoff -a
sed -i '2s/^/#/' /etc/fstab
@zukko78
zukko78 / google-dorks
Created August 9, 2020 22:13 — forked from stevenswafford/google-dorks
Listing of a number of useful Google dorks.
" _ _ "
" _ /|| . . ||\ _ "
" ( } \||D ' ' ' C||/ { % "
" | /\__,=_[_] ' . . ' [_]_=,__/\ |"
" |_\_ |----| |----| _/_|"
" | |/ | | | | \| |"
" | /_ | | | | _\ |"
It is all fun and games until someone gets hacked!
@zukko78
zukko78 / webapppentest
Created August 9, 2020 22:42 — forked from stevenswafford/webapppentest
Web Application Pentest Cheat Sheet
=== http status codes ===================================================
1xx Informational
100 Continue
101 Switching Protocols
102 Processing (WebDAV; RFC 2518)
2xx Success
200 OK
201 Created
function errexit() {
local err=$?
set +o xtrace
local code="${1:-1}"
echo "Error in ${BASH_SOURCE[1]}:${BASH_LINENO[0]}. '${BASH_COMMAND}' exited with status $err"
# Print out the stack trace described by $function_stack
if [ ${#FUNCNAME[@]} -gt 2 ]
then
echo "Call tree:"
for ((i=1;i<${#FUNCNAME[@]}-1;i++))
@zukko78
zukko78 / README.md
Created November 1, 2020 17:35 — forked from shantanoo-desai/README.md
tiguitto (Telegraf, InfluxDBv1.x, Grafana, Mosquitto) stack with Traefik v2.3 reverse proxy using docker

tiguitto Stack with Traefik v2.3 as reverse-proxy

  • Tested on Raspberry-Pi 4 Model B 2GB RAM
  • Docker Version: 19.03.8
  • Docker-Compose version: 1.25.5

Directory structure:

 .