Skip to content

Commit

Permalink
deploy: 40767cf
Browse files Browse the repository at this point in the history
  • Loading branch information
dpurge committed Nov 5, 2024
1 parent 34bf924 commit 94b70bf
Show file tree
Hide file tree
Showing 129 changed files with 5,083 additions and 4,896 deletions.
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<!doctype html><html lang=en><head><meta charset=UTF-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=description content><meta name=theme-color content="#FFFFFF"><meta name=color-scheme content="light dark"><meta property="og:url" content="https://dpurge.github.io/404.html"><meta property="og:site_name" content="Notebook"><meta property="og:title" content="404 Page not found"><meta property="og:locale" content="en_us"><meta property="og:type" content="website"><title>404 Page not found | Notebook</title>
<link rel=manifest href=/manifest.json><link rel=icon href=/favicon.png type=image/x-icon><link rel=stylesheet href=/book.min.82c5dbd23447cee0b4c2aa3ed08ce0961faa40e1fa370eee4f8c9f02e0d46b5f.css integrity="sha256-gsXb0jRHzuC0wqo+0Izglh+qQOH6Nw7uT4yfAuDUa18=" crossorigin=anonymous><script defer src=/flexsearch.min.js></script><script defer src=/en.search.min.146787b4064d3e2fa5aea91e6ee2c57fad2fb97548fe8168150c94b86da56175.js integrity="sha256-FGeHtAZNPi+lrqkebuLFf60vuXVI/oFoFQyUuG2lYXU=" crossorigin=anonymous></script><script defer src=/sw.min.6f6f90fcb8eb1c49ec389838e6b801d0de19430b8e516902f8d75c3c8bd98739.js integrity="sha256-b2+Q/LjrHEnsOJg45rgB0N4ZQwuOUWkC+NdcPIvZhzk=" crossorigin=anonymous></script><style>.not-found{text-align:center}.not-found h1{margin:.25em 0 0;opacity:.25;font-size:40vmin}</style></head><body><main class="flex justify-center not-found"><div><h1>404</h1><h2>Page Not Found</h2><h3><a href=/>Notebook</a></h3></div></main></body></html>
<link rel=manifest href=/manifest.json><link rel=icon href=/favicon.png type=image/x-icon><link rel=stylesheet href=/book.min.82c5dbd23447cee0b4c2aa3ed08ce0961faa40e1fa370eee4f8c9f02e0d46b5f.css integrity="sha256-gsXb0jRHzuC0wqo+0Izglh+qQOH6Nw7uT4yfAuDUa18=" crossorigin=anonymous><script defer src=/flexsearch.min.js></script><script defer src=/en.search.min.9b2e3f467439f144d7fa41be57816f85d29cdfb4fadaf27d2378aa53d75834c7.js integrity="sha256-my4/RnQ58UTX+kG+V4FvhdKc37T62vJ9I3iqU9dYNMc=" crossorigin=anonymous></script><script defer src=/sw.min.6f6f90fcb8eb1c49ec389838e6b801d0de19430b8e516902f8d75c3c8bd98739.js integrity="sha256-b2+Q/LjrHEnsOJg45rgB0N4ZQwuOUWkC+NdcPIvZhzk=" crossorigin=anonymous></script><style>.not-found{text-align:center}.not-found h1{margin:.25em 0 0;opacity:.25;font-size:40vmin}</style></head><body><main class="flex justify-center not-found"><div><h1>404</h1><h2>Page Not Found</h2><h3><a href=/>Notebook</a></h3></div></main></body></html>
80 changes: 40 additions & 40 deletions categories/index.html

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions docs/devops/ansible/index.html

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions docs/devops/ansible/installation/index.html

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions docs/devops/argo/index.html

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions docs/devops/argo/installation/index.html

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions docs/devops/aws/architecture/index.html

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions docs/devops/aws/aws-cli/index.html

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions docs/devops/aws/index.html

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions docs/devops/azure/exploring/index.html

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions docs/devops/azure/index.html

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions docs/devops/azure/snippets/index.html

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions docs/devops/blueprints/aws-3tier-webapp/index.html

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions docs/devops/blueprints/aws-static-webapp/index.html

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions docs/devops/blueprints/index.html

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions docs/devops/blueprints/llm-closed-source/index.html

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions docs/devops/docker/azure/index.html

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions docs/devops/docker/basics/index.html

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions docs/devops/docker/compose/index.html

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions docs/devops/docker/index.html

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions docs/devops/docker/installation/index.html

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions docs/devops/docker/volumes/index.html

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions docs/devops/gcp/cloud-shell/index.html

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions docs/devops/gcp/definitions/index.html

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions docs/devops/gcp/functions/index.html

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions docs/devops/gcp/gcloud/index.html

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions docs/devops/gcp/gke-workload-identity/index.html

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions docs/devops/gcp/gke/index.html

Large diffs are not rendered by default.

91 changes: 46 additions & 45 deletions docs/devops/gcp/iam/index.html

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions docs/devops/gcp/index.html

Large diffs are not rendered by default.

59 changes: 47 additions & 12 deletions docs/devops/gcp/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -508,18 +508,53 @@ This policy is attached to a resource.&lt;/p>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">Role&lt;/span>:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">Permissions&lt;/span>: []
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Member is an identity that can access a resource.
Identity is an e-mail account associated with a user, service account or a Google group, a domain name associated with a GSuite or cloud identity domains.&lt;/p></description></item><item><title/><link>https://dpurge.github.io/docs/devops/gcp/vpc/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://dpurge.github.io/docs/devops/gcp/vpc/</guid><description>&lt;h1 id="vpc">
Identity is an e-mail account associated with a user, service account or a Google group, a domain name associated with a GSuite or cloud identity domains.&lt;/p></description></item><item><title/><link>https://dpurge.github.io/docs/devops/gcp/networking/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://dpurge.github.io/docs/devops/gcp/networking/</guid><description>&lt;h1 id="networking">
Networking
&lt;a class="anchor" href="#networking">#&lt;/a>
&lt;/h1>
&lt;p>OSI model:&lt;/p>
&lt;ol>
&lt;li>Physical&lt;/li>
&lt;li>Data link&lt;/li>
&lt;li>Network (IPv4, IPv6, ICMP)&lt;/li>
&lt;li>Transport (TCP, UDP)&lt;/li>
&lt;li>Session&lt;/li>
&lt;li>Presentation&lt;/li>
&lt;li>Application (telnet, SSH, DNS, DHCP, HTTP, HTTPS)&lt;/li>
&lt;/ol>
&lt;h2 id="ip-v4">
IP v4
&lt;a class="anchor" href="#ip-v4">#&lt;/a>
&lt;/h2>
&lt;p>Classful addressing:&lt;/p>
&lt;p>4,294,967,296 addresses&lt;/p>
&lt;dl>
&lt;dt>Class A&lt;/dt>
&lt;dd>&lt;code>0.0.0.0&lt;/code> - &lt;code>127.255.255.255&lt;/code>; 2,147,483,648 addresses; 128 networks&lt;/dd>
&lt;dt>Class B&lt;/dt>
&lt;dd>&lt;code>128.0.0.0&lt;/code> - &lt;code>191.255.255.255&lt;/code>; 1,073,741,824 addresses; 16,384 networks&lt;/dd>
&lt;dt>Class C&lt;/dt>
&lt;dd>&lt;code>192.0.0.0&lt;/code> - &lt;code>223.255.255.255&lt;/code>; 536,870,912 addresses; 2,097,152 networks&lt;/dd>
&lt;/dl>
&lt;p>Private IP addresses (RFC1918):&lt;/p>
&lt;ul>
&lt;li>class A: &lt;code>10.0.0.0&lt;/code> - &lt;code>10.255.255.255&lt;/code>; 16,777,216 addresses&lt;/li>
&lt;li>class B: &lt;code>172.16.0.0&lt;/code> - &lt;code>172.31.255.255&lt;/code>; 1,048,576 addresses&lt;/li>
&lt;li>class C: &lt;code>192.168.0.0&lt;/code> - &lt;code>192.168.255.255&lt;/code>; 65,536 addresses&lt;/li>
&lt;/ul>
&lt;h3 id="classless-inter-domain-routing">
Classless Inter-Domain Routing
&lt;a class="anchor" href="#classless-inter-domain-routing">#&lt;/a>
&lt;/h3>
&lt;p>CIDR = Classless Inter-Domain Routing&lt;/p></description></item><item><title/><link>https://dpurge.github.io/docs/devops/gcp/vpc/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://dpurge.github.io/docs/devops/gcp/vpc/</guid><description>&lt;h1 id="vpc">
VPC
&lt;a class="anchor" href="#vpc">#&lt;/a>
&lt;/h1>
&lt;p>Create regional network with custom subnets.&lt;/p>
&lt;p>Public subnet will have a default internet gateway.&lt;/p>
&lt;p>Private subnet will have NAT gateway as its route.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-sh" data-lang="sh">&lt;span style="display:flex;">&lt;span>gcloud compute networks create main --bgp-routing-mode&lt;span style="color:#f92672">=&lt;/span>regional --subnet-mode&lt;span style="color:#f92672">=&lt;/span>custom
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Add public subnet:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-sh" data-lang="sh">&lt;span style="display:flex;">&lt;span>gcloud compute networks subnets create public --range&lt;span style="color:#f92672">=&lt;/span>10.0.0.0/24 --network&lt;span style="color:#f92672">=&lt;/span>main --region&lt;span style="color:#f92672">=&lt;/span>us-west2
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Create private subnet:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-sh" data-lang="sh">&lt;span style="display:flex;">&lt;span>gcloud compute networks subnets create private --range&lt;span style="color:#f92672">=&lt;/span>10.0.1.0/24 --network&lt;span style="color:#f92672">=&lt;/span>main --region&lt;span style="color:#f92672">=&lt;/span>us-west2 --enable-private-ip-google-access
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Create cloud router:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-sh" data-lang="sh">&lt;span style="display:flex;">&lt;span>gcloud compute routers create router --network&lt;span style="color:#f92672">=&lt;/span>main --region&lt;span style="color:#f92672">=&lt;/span>us-west2
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Create cloud NAT gateway and select IP ranges:&lt;/p></description></item></channel></rss>
&lt;p>VPC = Virtual Private Cloud&lt;/p>
&lt;p>VPC is a virtualized, software defined network within Google Cloud.&lt;/p>
&lt;p>VPC network, its routes and firewall rules are global resources, not associated with any particular region or zone.&lt;/p>
&lt;p>VPC is encapsulated within a project.&lt;/p>
&lt;p>VPCs do not have any IP address ranges associated with them.
IP adress ranges are defined within subnetworks associated with VPC.
Subnetworks are regional.&lt;/p>
&lt;p>Network firewall rules control traffic flowing in and out of the VPC.&lt;/p></description></item></channel></rss>
Loading

0 comments on commit 94b70bf

Please sign in to comment.