- https://cloud.google.com/anthos/gke/docs/on-prem/reference/cheatsheet
- https://medium.com/flant-com/kubectl-commands-and-tips-7b33de0c5476
- https://prefetch.net/blog/2019/10/16/the-beginners-guide-to-creating-kubernetes-manifests/
- https://kubernetes.io/docs/user-guide/kubectl-cheatsheet/
- https://learnk8s.io/blog/kubectl-productivity/
- https://medium.com/faun/kubectl-commands-cheatsheet-43ce8f13adfb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" _ _ " | |
" _ /|| . . ||\ _ " | |
" ( } \||D ' ' ' C||/ { % " | |
" | /\__,=_[_] ' . . ' [_]_=,__/\ |" | |
" |_\_ |----| |----| _/_|" | |
" | |/ | | | | \| |" | |
" | /_ | | | | _\ |" | |
It is all fun and games until someone gets hacked! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=== http status codes =================================================== | |
1xx Informational | |
100 Continue | |
101 Switching Protocols | |
102 Processing (WebDAV; RFC 2518) | |
2xx Success | |
200 OK | |
201 Created |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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++)) |