<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jacob Luna on Medium]]></title>
        <description><![CDATA[Stories by Jacob Luna on Medium]]></description>
        <link>https://medium.com/@lunajacob?source=rss-f52c0c7de57------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*n-G_4bLgECcEr2mU.jpg</url>
            <title>Stories by Jacob Luna on Medium</title>
            <link>https://medium.com/@lunajacob?source=rss-f52c0c7de57------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 11:55:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@lunajacob/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Bringing AI to the Edge: Building a Secure, Headless Solar Management System on a Raspberry Pi]]></title>
            <link>https://lunajacob.medium.com/bringing-ai-to-the-edge-building-a-secure-headless-solar-management-system-on-a-raspberry-pi-cc7ddb472b54?source=rss-f52c0c7de57------2</link>
            <guid isPermaLink="false">https://medium.com/p/cc7ddb472b54</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[edge-ai]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[solar-energy]]></category>
            <category><![CDATA[gemini]]></category>
            <dc:creator><![CDATA[Jacob Luna]]></dc:creator>
            <pubDate>Tue, 17 Mar 2026 18:15:13 GMT</pubDate>
            <atom:updated>2026-03-17T18:15:13.834Z</atom:updated>
            <content:encoded><![CDATA[<p>What started as a simple desire for a better dashboard quickly evolved into a comprehensive energy management system — complete with dynamic grid arbitrage and a fully local, edge-hosted Large Language Model (LLM) for Retrieval-Augmented Generation (RAG). And because security is in my DNA, the entire stack runs on a heavily hardened, headless Raspberry Pi.</p><p>Here’s a deep dive into how I built this, the successes we celebrated, and the hard-learned lessons of running AI on constrained edge devices.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ikDWkK-DsvAuTsxZ1XZ6Wg.png" /></figure><h3>1. Security First: Headless Automation with Cloud-Init</h3><p>A common mistake in DIY IoT projects is treating the host OS as an afterthought. For this project, I needed the Raspberry Pi to be robust, repeatable, and secure from the moment it booted.</p><p>Instead of manually flashing an SD card and hooking up a monitor, I utilized **Cloud-Init** to automate the bootstrapping process. On first boot, the Pi securely configures itself:</p><ul><li><strong>Zero Default Passwords:</strong> The default pi user password is locked immediately. Access is granted exclusively via injected quantum resistant SSH keys.</li><li><strong>Network-Level Privacy:</strong> The Cloud-Init script automatically pulls down Docker and spins up Pi-hole alongside Cloudflare. This forces all local DNS queries through DNS-over-HTTPS (DoH), ensuring ISP snooping is blocked right at the edge.</li><li><strong>Idempotency: </strong>Every command in the provisioning script is designed to be idempotent, meaning the device can be rebooted or re-provisioned without corrupting the state.</li></ul><h3>2. Dynamic Energy Management: The Smart Charger Advisor</h3><p>The core utility of the project was managing the Sol-Ark 15K inverter. By tapping into the inverter’s Modbus/Cloud API and integrating it with real-time ComEd (local utility) hourly pricing data, I built the <strong>Smart Charger Advisor</strong> feature.</p><p>This service monitors grid prices using their public API. When prices drop below 1.0¢ per kWh — or even go negative, which happens occasionally — the system automatically overrides the inverter’s Time of Use (TOU) schedule, pulling from the grid to rapid-charge my EG4 batteries. We are essentially performing automated energy arbitrage at the residential level.</p><h3><strong>3. Building an Edge Data Lake for Future AI Models</strong></h3><p>While the Smart Charger Advisor currently relies on rule-based logic to trigger charging, my long-term vision is autonomous predictive control. To facilitate this, we needed high-quality historical training data.</p><p>I configured a robust background process (`solar-archiver.service` triggered via systemd timers) that acts as a daily cron job. Every night, this service meticulously harvests critical telemetry data — solar production curves, battery state of charge, home load profiles, and grid flow metrics — and commits them to a local SQLite database.</p><p>Over time, this transforms the Raspberry Pi into a localized “data lake.” It silently compiles the normalized, time-series datasets required to eventually fine-tune custom Machine Learning models for predictive charging, all without ever sending a byte of personal energy data to the cloud.</p><h3>4. The Star of the Show: “Smart Ask” Edge RAG System</h3><p>The most ambitious part of this project was the “Smart Ask” feature. I have hundreds of pages of highly technical Sol-Ark manuals, wiring diagrams, and AC-coupling guides. Instead of Ctrl+F-ing through PDFs, I wanted to ask my app questions like, “<strong>What are the required settings for AC coupling?</strong>” and get precise, context-aware answers.</p><p>But there was a strict constraint, no cloud based LLMs. For privacy, latency, and reliance on local infrastructure during grid outages, this needed to run entirely on the Raspberry Pi.</p><h4>The Edge AI Stack</h4><ul><li><strong>LLM Engine:</strong> Ollama running `gemma2:2b`. It is lightweight enough to run on the Pi while still providing excellent reasoning capabilities.</li><li><strong>Vector Database:</strong> Persistent ChromaDB for storing document embeddings.</li><li><strong>Embeddings:</strong> sentence-transformers using the <em>all-MiniLM-L6-v2</em> model, optimized for fast semantic search.</li></ul><h4>Overcoming Resource Constraints &amp; Latency</h4><p>Running RAG on a 4-core Raspberry Pi with 4GB ofRAM is a delicate balancing act. The initial naive approach involved a Python script that would instantiate the sentence-transformermodel and connect to the ChromaDB client from scratch on every single query. On an edge device, this “cold start” was painfully slow, leading to system lockups and massive latency before the LLM even began generating text.</p><p>To fix this, I implemented two important architectural changes:</p><p>1. <strong>Pre-loading the Vector DB:</strong> moved from an ephemeral script to a long-lived RAG service. By initializing the persistent ChromaDB client and loading the embedding models into memory at application startup, I completely eliminated the cold-start penalty, drastically reducing query latency and making the retrieval process near-instantaneous.</p><p>2. <strong>Explicit Thread Throttling:</strong> Through profiling, we discovered that generating embeddings was maxing out the CPU, starving the Ollama process. We explicitly throttled PyTorch by adding a single line of code — `torch.set_num_threads(1)` — restricting it to roughly 25% CPU usage. This prevented resource starvation, allowing the LLM and the dashboard to remain highly responsive.</p><h3>5. Rapid Frontend Development with Google Stitch</h3><p>To visualize the real-time energy data and interact with our “Smart Ask” RAG system, we needed a clean and responsive frontend. I opted to use <strong>Google Stitch</strong> (thanks Hayden) for the UI. It allowed me to rapidly prototype and deploy a clean, modern dashboard that seamlessly integrates with our Python backend APIs. By leveraging Stitch, I maintained a lightweight frontend footprint that didn’t overwhelm the Raspberry Pi’s resources, while still providing a polished, enterprise-grade experience for monitoring solar production, battery status, and interacting with our local LLM.</p><h3>6. Scaling the Workflow: The R.G.C.O.A. Prompt Architect Sub-agent</h3><p>Beyond the edge hardware optimizations, we also applied our security engineering mindset to how we interact with LLMs locally. Ad-hoc prompting works fine for simple queries, but building complex automations requires consistency.</p><p>To solve this, I integrated a specialized AI sub-agent called the <strong>Architect</strong>. It enforces the <strong>R.G.C.O.A</strong>. (Role, Goal, Context, Output, Ask) framework for all internal workflows.</p><p>Before the system executes any generative task, the Architect sub-agent intercepts my raw request and structures it securely and deterministically:</p><ul><li><strong>Role &amp; Goal:</strong> Explicitly limits the AI’s persona and objective (e.g., “Act as a Senior DevOps Engineer to refactor the Cloud-Init script”).</li><li><strong>Context:</strong> Injects precise environmental constraints (like ARM64 limitations) preventing hallucinations.</li><li><strong>Output &amp; Ask:</strong> Demands strict formatting and enforces a “pause and ask” step if ambiguities remain, preventing destructive automated actions.</li></ul><p>By utilizing this multi-agent pattern at the edge, we significantly reduced hallucination rates and created a predictable, reliable pipeline for extending the dashboard’s capabilities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T7UzxRKbKCsP7G3_HH8A0A.png" /></figure><h3>Lessons Learned</h3><p>Building enterprise-grade systems on edge hardware forces you to be disciplined. Here are my top takeaways:</p><p>1. <strong>Resource Constraints Breed Creativity:</strong> You don’t always need an H100 to do meaningful AI work. Throttling PyTorch to a single thread felt counterintuitive, but it was the exact optimization needed to make edge inference stable on ARM64.</p><p>2. <strong>Automation Pays Dividends:</strong> Investing time upfront in a robust Cloud-Init configuration meant I never had to worry about a corrupted SD card. Rebuilding the environment takes minutes, not hours.</p><p>3. <strong>Security Shouldn’t Be an Afterthought:</strong> By enforcing quantum safe keys, removing default passwords, and containerizing a DoH DNS sinkhole from day one, the system is fundamentally resilient to common local-network threats.</p><h3>Conclusion</h3><p>I am entering an era of my home becoming a micro-grid, generating, storing, and trading energy autonomously. By combining secure infrastructure practices, dynamic utility APIs, and local edge LLMs, i’ve built a system that not only saves money but operates completely independently of the cloud.</p><p>If you’re a security professional or an engineer looking to dip your toes into edge AI and IoT, I highly recommend starting with a headless Pi and seeing how far you can push the limits.</p><p>Special shoutouts:</p><ul><li><strong>Robert Teller</strong> series <a href="https://ihaz.cloud/part-1-when-ai-development-hits-the-context-wall-92bb37719059">https://ihaz.cloud/part-1-when-ai-development-hits-the-context-wall-92bb37719059</a></li><li><strong>KMO</strong> framework <a href="https://www.youtube.com/watch?v=MWtfB8ZNpZc">https://www.youtube.com/watch?v=MWtfB8ZNpZc</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cc7ddb472b54" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Google Cloud’s New Privilege Access Management Solution]]></title>
            <link>https://lunajacob.medium.com/google-clouds-new-privilege-access-management-solution-c0f9fa42505d?source=rss-f52c0c7de57------2</link>
            <guid isPermaLink="false">https://medium.com/p/c0f9fa42505d</guid>
            <category><![CDATA[gcp]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[identity-management]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Jacob Luna]]></dc:creator>
            <pubDate>Wed, 12 Jun 2024 22:43:47 GMT</pubDate>
            <atom:updated>2024-06-12T22:43:47.798Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/512/0*Vn9jby9AlBB9ssg9.png" /></figure><p>Google launched a new feature in May (Priviledge Access Manager) that helped bridge the gap for just-in-time access, where previously it was recommended to utilize a 3rd party tool. Currently this feature is in public preview, meaning there are different SLAs associated with the product, but users are able to utilize this feature once the API is enabled within the GCP hierarchy.</p><p>Some key terms you ought to know:</p><p><strong>Entitlements</strong>:</p><ul><li>Entitlements can be created at the organization, folder, or project level. Roles granted by an entitlement at each level follow the Google Cloud <a href="https://cloud.google.com/iam/docs/resource-hierarchy-access-control">resource hierarchy</a>. For example, roles granted by an entitlement at the organization level are inherited at the folder and project levels.</li><li>If you add a group as a requester to an entitlement, all individual accounts in that group can request a grant of that entitlement. However, only the individual account requesting the grant can receive elevated privileges.</li><li>If you add a group as an approver to an entitlement, all individual accounts in that group can approve or deny a grant request.</li><li><a href="https://cloud.google.com/iam/docs/understanding-roles#basic">Basic roles</a> aren’t supported.</li></ul><p><strong>Grants:</strong></p><p>Grants can be viewed as who, what, and status of the user who is requesting the temporary access to the “entitlement”.</p><p>Grants status is either denied or approved. Additionally it shows who the requester is and who the approvers are.</p><p>From a security standpoint this is a step in the right direction, as this had been a major pain point within Google Cloud Platform. Now diving into how <strong>PAM </strong>should be utilize in the fashion it is intended to be used.</p><p>Ensure you have the correct permissions to create an entitlement at the project level.</p><pre>roles/privilegedaccessmanager.admin<br>roles/resourcemanager.projectIamAdmin</pre><p>Enable the PAM API, under API library in your project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e0k5Pmu6jLST_ntPo5pl0g.png" /></figure><p>Create your first Entitlement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LzxHKYaQR9x1Bge2N_JnYA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j8PigbQitXURIbmW8FHabg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ci-oI7-depUcrqFVHcnGKQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2V0gCDkM83lJtS9GkglDHw.png" /></figure><p>Following the steps from the GUI we created a Entitlement that allows specific users to request an elevated role of <em>Compute Admin</em> for 1 hour max in a methodical way. On top of that, we have forced the user who is requesting the temporary elevation to provide a business justification or add a ticket # for tracking purposes.</p><p>You can also create Entitlements through your CI/CD pipeline with a simple <a href="https://cloud.google.com/sdk/gcloud/reference/beta/pam/entitlements/create">.yaml configuration</a>, example below.</p><pre>---<br>additionalNotificationTargets:<br>  adminEmailRecipients:<br>  - $email<br>approvalWorkflow:<br>  manualApprovals:<br>    requireApproverJustification: true<br>    steps:<br>    - approvalsNeeded: 1<br>      approvers:<br>      - principals:<br>        - user: $email<br>createTime: &#39;*****&#39;<br>eligibleUsers:<br>- principals:<br>  - user:$email<br>etag: &#39;&quot;******&quot;&#39;<br>maxRequestDuration: 3600s<br>name: projects/$PROJECT_ID/locations/global/entitlements/pam-compute-admin<br>privilegedAccess:<br>  gcpIamAccess:<br>    resource: //cloudresourcemanager.googleapis.com/projects/$PROJECT_ID<br>    resourceType: cloudresourcemanager.googleapis.com/Project<br>    roleBindings:<br>    - role: roles/compute.admin<br>requesterJustificationConfig:<br>  unstructured: {}<br>state: AVAILABLE<br>updateTime: &#39;******&#39;<br>---<br>additionalNotificationTargets:<br>  adminEmailRecipients:<br>  - $email<br>approvalWorkflow:<br>  manualApprovals:<br>    requireApproverJustification: true<br>    steps:<br>    - approvalsNeeded: 1<br>      approverEmailRecipients:<br>      - $email<br>      approvers:<br>      - principals:</pre><p>Let’s dive into what it looks like from an end user perspective. End users will need the ability to navigate the the PAM icon and then select, “My Entitlements”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U7J3BtNMJJ2u539ROj2lOA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/559/1*cfaDPIggIqCydGm4rfeAwQ.png" /></figure><p>During the creation of the Entitlement, we selected to have a required approver necessary. The appropriate folks outlined in the earlier steps will be notified a grant has been requested, and all the end user or requester has to do is wait for the approval.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YlAAgxLo0qAKaTTMcoAVdQ.png" /></figure><p>Now an admin will automatically get emailed when someone has requested access to the Entitlement. You may also verify within the GCP console itself. Now in my opinion this email looks very phishy and my initial instinct was to report/delete it but, with a little due diligence I can confirm its a legit email from Google. Google even makes a call out in the official documentation that you should allow list <em>pam-noreply@google.com.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/829/1*Gw1PJo-MfmTVGtaplnHV-w.png" /></figure><p>Security admins can now see the request and will either approve or deny based on the justification and context around the request.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dldrdSf6RDWSLdw4M2RPXA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/546/1*kfq7JPiRd94r6ReBY9aP8A.png" /></figure><p>Once approved the countdown will start on how long the access will last.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YhZR7N_uEqQ6XS_73CG8eg.png" /></figure><h3>Conclusion:</h3><p>In my opinion this new privilege access manager feature is a correct step for GCP to their overall security offering strategy, and will definitely help GCP native organizations achieve just-in-time access for those break glass strategies. PAM entitlements are clearly labeled in an IAM policy which is an added bonus which helps with logging or SIEM searches. <br>Now to extend some of my opinion further, you could look at this being a replacement for service account impersonation. Where GCP service accounts have long term access just waiting for a threat actors to utilize them in a lateral or horizontal movement.</p><p>Also, I envision companies with a solid IAM policy implementation could utilize this further. As a developer self service offering, knowing there are appropriate logging and guardrails in place!</p><p><strong>Bio:</strong> Jacob has been in IT for 7 years and is currently a Staff Cloud Security Engineer, technical mentor, ISC2 CISSP member, and part time goat rancher.</p><p>LinkedIn: <a href="https://www.linkedin.com/in/jacob-c-luna/">https://www.linkedin.com/in/jacob-c-luna/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c0f9fa42505d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Utilizing GCP’s Identity Aware Proxy to SSH into Internal-IP only VM’s]]></title>
            <link>https://lunajacob.medium.com/utilizing-gcps-identity-aware-proxy-to-ssh-into-internal-ip-only-vm-s-237bca0123c?source=rss-f52c0c7de57------2</link>
            <guid isPermaLink="false">https://medium.com/p/237bca0123c</guid>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[gcp]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <dc:creator><![CDATA[Jacob Luna]]></dc:creator>
            <pubDate>Mon, 27 Sep 2021 03:00:37 GMT</pubDate>
            <atom:updated>2021-09-28T00:24:42.337Z</atom:updated>
            <content:encoded><![CDATA[<h3>Overview:</h3><p>I will be going over Google’s Identity Aware Proxy service(IAP), which is a fully managed solution for implementing a zero-trust model on multiple GCP resources including Compute Engine. Demo will include creating a VM, enabling the IAP API to tunneling through to a VM that doesn’t have an external IP address!</p><h3>Zero-Trust:</h3><p>Google Defines zero trust as :</p><blockquote>“A zero trust network is one in which no person, device, or network enjoys inherent trust. All trust, which allows access to information, must be earned, and the first step of that is demonstrating valid identity. A system needs to know who you are, confidently, before it can determine what you should have access to. Add to that the understanding of what you can access–authorization–and you’ve got the core foundation of zero trust security.”</blockquote><p>More about Google vision on zero-trust can be found <a href="https://cloud.google.com/blog/topics/developers-practitioners/what-zero-trust-identity-security">here</a></p><h3>How does IAP work?</h3><p>IAP shifts away from isolating apps and VMs at the network layer (a traditional tool would be using a VPN), to managing and centralizing authorization at the application layer using HTTPS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0Uf8y0w2havT9HLGWSY0ZQ.png" /><figcaption>Picture from GCP documentation on IAP</figcaption></figure><h3>Identity Aware Proxy (IAP) setup:</h3><h4>VM creation:</h4><p>I created a VM called “iap-demo” without an external IAP address using the following gcloud command.</p><blockquote>gcloud compute instances create iap-demo — project=$projectID — zone=us-central1-a — machine-type=f1-micro — network-interface=subnet=default,no-address</blockquote><p>By running the <em>gcloud compute instances list</em> command I verified the VM is created without an external IP address.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wyLghpvuroF7a4VtbZPFbg.png" /></figure><h4>Enabling Identity Aware Proxy (IAP) API:</h4><p>Navigating to the IAP API, I simply enabled the API from the cloud console.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wR-tQuPqQWZ5_on4gj4uRg.png" /></figure><p>Heading back to IAP service I am presented with HTTPS resources or SSH/TCP resources. Selecting the SSH/TCP option I see the VM I have created earlier in the demo with an “error” icon next to it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1002/1*4LaMVE5QYGzlyBc0SB2gGw.png" /></figure><h4>IAP firewall creation:</h4><p>Since IAP wraps the SSH connection with HTTPS, a firewall rule is still needed to be created. At the time of writing this GCP needs the following Source IP range/ Allowed protocols for IAP to work.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uOK8qSyr7LDEf1upxfiuiw.png" /></figure><p>I created the firewall rule using the following gcloud command.</p><blockquote>gcloud compute — project=$projectID firewall-rules create iap-fw — direction=INGRESS — priority=1000 — network=default — action=ALLOW — rules=tcp — source-ranges=35.235.240.0/20</blockquote><p>After creating the firewall rule I navigated back the the IAP service where I no longer see an error message and see the green OK message.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5xPkwnA_tdi10jQGF0uH6Q.png" /></figure><h4>Connecting to the VM:</h4><p>Now that I have created an Internal-IP only VM, enabled the IAP API, and created firewall rule required to use IAP, I can now connect to the VM without the need of an external IP address by running the following gcloud command.</p><blockquote>gcloud compute ssh iap-demo — zone us-central1-a — tunnel-through-iap</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9emJ6xLJ-eGdklS5xyVUhw.png" /></figure><p>Notice the error, I have setup the VM to utilize the IAP and created the firewall rule for it to work. What I have not done yet is <em>authorize</em> the user to connect to the VM. This is achieved with GCP IAM by granting the role <em>roles/iap.tunnelResourceAccessor . </em>After adding the role that authorizes the user to connect I re-run the above command and connect successfully!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*978gP56ztqtlbCQDzJ2oHg.png" /><figcaption>Success!</figcaption></figure><h3><strong>FIN!</strong></h3><p>GCP’s IAP is a very powerful tool with many other features. I hope this quick demo on how you can utilize IAP to connect to a VM without the need of an external IP has been helpful. This can be done at scale on managed instance groups and even GKE nodes.</p><p><strong>Bio:</strong> Jake has been in IT for 5 years and is currently a Cloud Security Engineer. He currently holds CompTIA S+, Google’s ACE , Google’s PCA, Google’s PCSE, and Terraform associate certifications!</p><p>LinkedIn: <a href="https://www.linkedin.com/in/jacob-c-luna/">https://www.linkedin.com/in/jacob-c-luna/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=237bca0123c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Preparing for Google’s Professional Cloud Security Engineer Certification]]></title>
            <link>https://lunajacob.medium.com/preparing-for-googles-professional-cloud-security-engineer-certification-ba6db6fc437d?source=rss-f52c0c7de57------2</link>
            <guid isPermaLink="false">https://medium.com/p/ba6db6fc437d</guid>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[gcp]]></category>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[gcp-certification]]></category>
            <category><![CDATA[google]]></category>
            <dc:creator><![CDATA[Jacob Luna]]></dc:creator>
            <pubDate>Mon, 19 Jul 2021 21:36:24 GMT</pubDate>
            <atom:updated>2021-07-20T13:34:54.246Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/350/0*weKo46leCHf4peRG.png" /><figcaption>Professional Cloud Security Engineer Badge</figcaption></figure><p>I recently sat for (and passed) Google’s Professional Cloud Security Engineer exam. I wanted to write a brief blog, share my experience, and as always maybe even help some others along the way.</p><h3>Overview:</h3><p>Google allocates 2 hrs to complete a 50 question exam. There are no prerequisites to test, so anyone wanting to take it can sign up; however, Google recommends you have 3+ years of industry experience including 1+ year(s) designing and managing solutions using GCP.</p><h3>My approach:</h3><p>By the time I had decided to tackle this exam I had about 1.5 years of daily hands on experience in GCP. I gave myself a month and a half to prepare for this exam after reading the the exam guide.</p><p>Since I had experience with the GCP platform already I decided to dive into the GCP practice test to get a good baseline on my abilities. Going through their sample practice test I saw there were certain subject I needed to formally brush up on. To my surprise, I passed the practice test on the first try. I documented all the questions I got wrong and also noted the question I was on the fence about but still got right.</p><p>Great, now I had a decent baseline (so I thought) and started looking for materials to help guide me on this journey. When reaching out to the GCP community everyone directed me to A Cloud Guru’s (ACG)course. Based on my past experience taking the <a href="https://lunajacob.medium.com/how-to-ace-the-ace-gcp-d27f72bc08d7">Associate Cloud Engineer</a> course from ACG, it wasn’t the most engaging material. However, I felt a little more comfortable knowing the course facilitator was the one and only <em>Antoni Tzavelas.</em> I launched the ACG course and started with the topics I was less familiar with, (KMS, Kubernetes Security).</p><p>After watching all the ACG lectures I dove right into their provided practice test, I passed and was feeling good. I don’t like relying on single piece of material when it comes to studying. I looked around and found more practice tests on Udemy and immediately took one, and, FAILED was what popped up on my screen. How could this have been the case? I had been pretty confident and was surprised when I saw the results. I stuck to my studying tactics and noted the questions I got wrong, read up on GCP native documentation on the subject, then re-watched the ACG topics related.</p><p>By exam time I had watched all ACG lectures 3x and had re-read the vendor documentation. During the actual exam I felt adequately prepared with the resources I used to help bring a passing grade.</p><h3><strong>Tips:</strong></h3><ul><li><strong>Utilize the free tier of GCP — </strong>Google offers a free tier of their cloud platform products and for all new users gives a $300 credit.</li><li><strong>Read and understand the </strong><a href="https://cloud.google.com/certification/guides/cloud-security-engineer"><strong>exam guide</strong></a><strong> </strong>— It really helped me to look at this every day when I was sandboxing stuff in GCP. It kept me on track.</li><li><strong>Take the free practice </strong><a href="https://cloud.google.com/certification/sample-questions/cloud-security-engineer"><strong>exam</strong></a><strong> — </strong>Google offers a 25 question sample test. Take it.</li><li><strong>Read actual GCP documentation </strong>— These resources are good, and I recommend you check them out, but reading the GCP documentation really helps too!</li></ul><p>*Disclaimer: These are the tips that helped me pass the Professional Cloud Security Engineer exam. They don’t guarantee a passing score.*</p><h3>Resources that I used:</h3><ul><li>A Cloud guru <a href="https://acloudguru.com/course/google-cloud-certified-professional-cloud-security-engineer">GCP course</a></li><li>Udemy <a href="https://www.udemy.com/course/google-security-engineer-certification/">practice tests</a></li><li>Official GCP <a href="https://cloud.google.com/docs">documentation</a></li></ul><h3>Topics to be familiar with:</h3><ul><li>DLP</li><li>Encryption</li><li>Load balancers</li><li>KMS</li><li>PCI,HIPAA (Compliance)</li><li>GCS</li><li>IAM (at every hierarchy)</li><li>Kubernets</li><li>GCP networking concepts</li><li>GCP security best practices</li></ul><h3>Final thoughts:</h3><p>This was my 3rd GCP exam and 2nd professional level exam with Google. I relied a lot on my prior GCP knowledge and ACG to get me across the finish line. I would not recommend someone to start their GCP certification path with this certification unless they had hands on knowledge and worked with GCP on a daily basis.</p><p><strong>Bio:</strong> Jake has been in IT for 5 years and is currently a Cloud Security Engineer. He currently holds CompTIA S+, Google’s ACE , Google’s PCA, Google’s PCSE, and Terraform associate certifications!</p><p>LinkedIn: <a href="https://www.linkedin.com/in/jacob-c-luna/">https://www.linkedin.com/in/jacob-c-luna/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ba6db6fc437d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dedicated Valheim Server, Built with Terraform-GCP]]></title>
            <link>https://lunajacob.medium.com/dedicated-valheim-server-built-with-terraform-gcp-caca8a64fd3b?source=rss-f52c0c7de57------2</link>
            <guid isPermaLink="false">https://medium.com/p/caca8a64fd3b</guid>
            <category><![CDATA[gcp]]></category>
            <category><![CDATA[valheim]]></category>
            <category><![CDATA[iac]]></category>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <dc:creator><![CDATA[Jacob Luna]]></dc:creator>
            <pubDate>Mon, 19 Apr 2021 03:13:48 GMT</pubDate>
            <atom:updated>2021-04-19T03:13:48.666Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*qOJ1AzzU2RqjAV7O0gSp1g.jpeg" /></figure><p>I have been playing Valheim for almost two months and thought it would be a fun Terraform project to create a module for others to use.</p><h3>Overview:</h3><p>This walk through will show you how to deploy a dedicated Valheim server utilizing the IaC tool Terraform on Google Cloud Platform.</p><p><em>(This walkthrough is geared to those who have a basic understanding of GCP and Terraform already. Find my article on “</em><a href="https://lunajacob.medium.com/setting-up-terraform-cloud-with-gcp-e1fe6c99a78e?source=your_stories_page-------------------------------------">Setting Up Terraform Cloud with GCP</a>”<em> for more beginner info.)</em></p><h3>What is Valheim?</h3><p><a href="https://store.steampowered.com/app/892970/Valheim/">Valheim</a> is an early access survival game based around norse mythology that launched on Steam on February 2nd 2021; it has sold 5.7million copies so far!</p><h3>Repository:</h3><p>I created a public repository and nested the Terraform configuration files <a href="https://github.com/tunaluna94/Valheim-TF">here</a>.</p><p><em>cd</em> into your Desktop directory and<em> git clone</em> the repo</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/898/1*YEhiUqEYB8ugyTVxQm9F0Q.png" /></figure><p>Open Valheim-TF with your preferred text editor or IDE and navigate to the “provider.tf”; update the credential attribute to the path of your JSON key.</p><pre>terraform {<br>  required_version = &quot;&gt;=0.14&quot;<br><br>  required_providers {<br>    google = {<br>      source  = &quot;hashicorp/google&quot;<br>      version = &quot;~&gt;3.0&quot;<br>    }<br>  }<br>}<br><br><br>provider &quot;google&quot; {<br>  region      = var.region[0]<br>  zone        = var.zone[0]<br>  credentials = file(&quot;PATH_HERE&quot;) #Feel free to use other options like ENV VAR #<br>  project     = var.project<br>}</pre><p>Look at the vars.tf to understand what is needed to be specified if a .tfvars file is not created.</p><pre>variable &quot;service_name&quot; {}<br><br>variable &quot;project&quot; {}<br><br>variable &quot;server_name&quot; {}<br><br>variable &quot;machine_type&quot; {<br>  type    = string<br>  default = &quot;e2-medium&quot;<br>}<br>variable &quot;VPC&quot; {<br>  type    = string<br>  default = &quot;default&quot;<br>}<br><br>variable &quot;region&quot; {<br>  type = list(any)<br>  default = [&quot;us-central1&quot;, &quot;us-west1&quot;, &quot;us-east1&quot;]<br>}<br><br>variable &quot;zone&quot; {<br>  type = list(any)<br>  default = [&quot;us-central1-a&quot;, &quot;us-west1-a&quot;, &quot;us-east1-a&quot;]<br>}</pre><p>The main.tf is where the deployed infrastructure lives. This includes, service account, server, and firewall needed by Valheim to run properly. Ensure you update the path for the “metadate_startup_script” file path, or the start up script will fail.</p><pre>#Service account for Server will use<br>resource &quot;google_service_account&quot; &quot;Valheim_svc&quot; {<br>  account_id   = var.service_name<br>  display_name = var.service_name<br>  project      = var.project<br>}<br><br><br>#Server<br>resource &quot;google_compute_instance&quot; &quot;valheim-server&quot; {<br>  name           = var.server_name<br>  machine_type   = var.machine_type<br><br><br>  tags = [&quot;valheim-fw&quot;]<br><br>  boot_disk {<br>    initialize_params {<br>      image = &quot;projects/confidential-vm-images/global/images/ubuntu-2004-focal-v20200720&quot;<br>    }<br>  }<br><br>  metadata_startup_script = file(&quot;/Users/test/Desktop/Valheim-TF/valheim-startup.sh&quot;)<br><br><br>  network_interface {<br>    network = var.VPC<br>    access_config {}<br>  }<br><br>  service_account {<br>    email  = google_service_account.Valheim_svc.email<br>    scopes = [&quot;cloud-platform&quot;]<br>  }<br>}<br><br><br><br>#firewall<br>resource &quot;google_compute_firewall&quot; &quot;valheim-fw&quot; {<br>  name    = &quot;valheim-fw&quot;<br>  network = var.VPC<br><br>  allow {<br>    protocol = &quot;icmp&quot;<br>  }<br><br>  allow {<br>    protocol = &quot;tcp&quot;<br>    ports    = [&quot;2456&quot;, &quot;2457&quot;, &quot;2458&quot;]<br>  }<br><br>  target_tags = [&quot;valheim-fw&quot;]<br>}</pre><h3>Deploy Infrastructure:</h3><p>Run terraform plan; you will immediate notice a prompt to fill in the value of the variables in the vars.tf file. Once all values are entered, the plan will output.</p><pre>Valheim-TF % terraform plan<br>var.project<br> Enter a value: topo</pre><pre>var.server_name<br> Enter a value: Valheim-server-1</pre><pre>var.service_name<br> Enter a value: svc-valheim</pre><p>If you are happy with the results, run terraform apply with the same values.</p><pre>Apply complete! Resources: 3 added, 0 changed, 0 destroyed.</pre><pre>Outputs:</pre><pre>pub_ip = “35.223.132.72”<br>server_name = “valheim-server-1”<br>svc_email = “<a href="/service/mailto:svc-valheim@topochico.iam.gserviceaccount.com">svc-valheim@topo.iam.gserviceaccount.com</a>”</pre><h3>Google Cloud Platform(GCP):</h3><p>Head to the GCP console as you need to SSH into the VM to do some manual adjustments.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3qr6EyWi2d7IYf0-zlIIyg.png" /></figure><p>The valheim-postboot.txt will have all the commands needed to copy and paste into the VM terminal, but first verify the user “steam” is on the VM.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/692/1*M9oQ-yFxGWCBGTLg47WYiw.png" /></figure><p>Next, install steamcmd with <em>sudo apt install steamcmd </em>and accept the license agreement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*obSSApYSFVCSqL8xY9MixQ.png" /></figure><p>Navigate to the steam user with the command, <em>sudo -i -u steam bash, </em>create the symbolic link (ln -s /usr/games/steamcmd steamcmd). You can confirm it worked with <em>ls -la</em> command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d4jMyMdnCsIuUqHQYgg71g.png" /></figure><p>Create an environment variable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*INXXNDMhXDJinY_IG0_LdQ.png" /></figure><p>Once the environment variable is created you have to open up a new terminal window for the changes to go into effect. You can do this by selecting “New Connection to &lt;server name&gt;” from the settings cog.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/662/1*u8C62ZF4elvTEO_Q424PqA.png" /></figure><p>Once the new terminal is up, sudo back into the steam user and echo $path.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tomEpBe2AhW5UhyAyLq6Wg.png" /></figure><h3>Valheim configuration:</h3><p>Install Valheim. The first installation might take up to 5 minutes. To verify it is installed use the <em>ls </em>command. There will be a new directory called valheimserver.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mfUObihDxG6WmSh5zp0Hbg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/456/1*WQ0eXsCbtdL1NjNIMo8GdA.png" /></figure><p>Create a new startup script under the valheimserver directory called “start_valheim.sh”; copy &amp; paste the Valheim server configs and update the -name -world -password entry.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ihb40PNroWjebXkW3NDosw.png" /></figure><p>Make start_valheim.sh executable with <em>chmod</em> command. You can now execute the script and it will boot your server!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I3v833wkxhH-61YmVewjjQ.png" /></figure><h3>Optional systemd unit:</h3><p>Navigate back to a sudo user and create a service in systemd/system directory (sudo vi /etc/systemd/system/valheimserver.service), copy &amp; paste the .service file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sV8RyLO_KUdBLcNDj7yIdQ.png" /></figure><p>Run <em>sudo systemctl daemon-reload </em>then<em> </em>run<em> sudo systemctl start valheimserver. </em>This will boot the Valheim server. Confirm the valheim server is done booting with the <em>sudo systemctl status valheimserver</em> command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/854/1*mt4ZBix1Omg3CV_V0O7aBg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LyMhwiNU7IKj1U6g9sEpsw.png" /></figure><h3>Connecting to Valheim Server:</h3><p>Open up Valheim on your PC and select “Join Game” &gt; then choose “Join IP”. Enter the IP address seen in Terraform outputs or in GCP console. Enter the password when prompted. You should spawn in the world like normal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/390/1*dURoqEB8SlIChn3lBlYNIw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/395/1*ReP_4caBrUs47Axf0kJ-5Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/1*-uWxgBwa0FDH7n5cQXRq5A.png" /></figure><h3>FIN:</h3><p>Thank you for reading my guide on setting up a dedicated linux Valheim server. There is an amazing video from <a href="https://www.youtube.com/watch?v=4llm0M0FaG0&amp;t=531s&amp;ab_channel=Geekhead">Geekhead</a> on youtube that does a walk through similar to the steps above.</p><p><strong>Bio:</strong> Jake has been in IT for 4 years and is currently an IT Engineer for Aunt Bertha. He currently holds a CompTIA S+ and Google’s ACE , Google’s PCA and Terraform associate certifications!</p><p>LinkedIn: <a href="https://www.linkedin.com/in/jacob-c-luna/">https://www.linkedin.com/in/jacob-c-luna/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=caca8a64fd3b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setting Up Terraform Cloud with GCP]]></title>
            <link>https://lunajacob.medium.com/setting-up-terraform-cloud-with-gcp-e1fe6c99a78e?source=rss-f52c0c7de57------2</link>
            <guid isPermaLink="false">https://medium.com/p/e1fe6c99a78e</guid>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[gcp]]></category>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[cloud]]></category>
            <dc:creator><![CDATA[Jacob Luna]]></dc:creator>
            <pubDate>Mon, 08 Mar 2021 03:29:05 GMT</pubDate>
            <atom:updated>2021-03-08T03:31:20.584Z</atom:updated>
            <content:encoded><![CDATA[<p>This demo is a basic walkthrough for setting up Terraform Cloud for GCP. <em>This demo is geared to those who have a basic understanding of GCP and Terraform already.</em></p><p>When writing this, HashiCorp’s only documentation for setting up Terraform Cloud was in AWS lingo, I am hoping they will be adding a GCP equivalent demo soon. I spent about two days trying to figure how to get GCP and Terraform Cloud to work properly. My hope is this helps some of my fellow GCP cloud users.</p><p>Why Terraform cloud vs CLI?</p><ul><li>Remote state management</li><li>Easy VCS integrations</li><li>Audibility and governance</li><li>Collaboration</li></ul><p><a href="https://www.terraform.io/docs/cloud/overview.html">Here</a> is the link for in-depth overview of Terraform Cloud benefits.</p><p>First, create a Terraform Cloud account, you can do so by visiting <a href="https://www.terraform.io/cloud">here</a>.<br>(Don’t forget to confirm your email address!)</p><p>Once your email address if confirmed and you are signed into Terraform Cloud you will be prompted to choose two options, and for this demo you need to select, “Start from scratch”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WRKsM014bbh7VP67JJ3LAQ.png" /></figure><p>You will be prompted to create an organization, and need to enter an organization name, it can be anything you’d like it. You will also need to enter an email, and I recommend the email used to create the Terraform Cloud account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2fH1GOlRaygV-ofuKDVJzQ.png" /></figure><p>After creating an organization, the next step should be to, “Choose your workflow”. Leave this page up and open a new tab for the GCP console.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rkUK0hz85rnyoPRy3lYEAw.png" /></figure><p>Once in the GCP console, open up Cloud Shell in the project you’re looking to integrate Terraform cloud with. Then create a service account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/714/1*cJFzIRGDTlsYXv8GtJPt6A.png" /></figure><pre>gcloud iam service-accounts {service_account_name} \<br>--description &quot;service account for Terraform Cloud&quot; \<br>--display-name &quot;Terraform Cloud&quot;</pre><p>When the service account is created a role will need to be bound to it, in an enterprise situation I would recommend creating a custom role for your service account. In this demo I am deploying a GCE instance; assigning the predefined computeinstanceAdmin.v1 role.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/861/1*45MGHNirrwaUSA-OKlyM4g.png" /></figure><pre>gcloud projects add-iam-policy-binding terraformclouddemo \<br>--member &quot;serviceAccount:{service_account_email}&quot;<br>--role &quot;{role}&quot;</pre><p>Next, you will need to generate a<strong> JSON</strong> key. This will be used for Terraform Cloud to execute runs. Once the JSON key is created, it will download to your local computer. I recommend renaming it for better visibility.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/884/1*c_M7c6q5giPV3WCaMP5giQ.png" /><figcaption>Be sure to create a JSON key</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*7pjhkM0DiSpgGYWPWvw6zQ.png" /></figure><p><em>I renamed my key: tfdemo.json</em></p><p><strong>Important, </strong>you need to format the JSON key into a single line for it to work as an environment variable in Terraform Cloud. Open your JSON key with vim.</p><pre>vi tfdemo.json</pre><pre>press :</pre><pre>type %s;\n; ;g</pre><pre>press : again</pre><pre>type wq</pre><p>The service account key will transform from multi-line to a single line.</p><p><em>Now to shift focus back to Terraform cloud:</em></p><p>In Terraform Cloud UI, select “Version control workflow” and select your VCS provider. For this demo I will be using GitHub.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rkUK0hz85rnyoPRy3lYEAw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mfIlz0f0Yul1IDsJIR20tA.png" /></figure><p>Follow the prompts to connect Terraform Cloud and GitHub.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*J39D1tgsEF9oasGPTcF6Cw.png" /></figure><p>Select the repository you wish to integrate with (I created “terraformdemo” prior to this).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TPiJxzFrasWuibiGYGrANQ.png" /></figure><p>When the workspace is created you will be prompted to, “configure variables”. Proceed with configuring the variables, you will need to to configure “environment variables”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*55KL6urs8UQKwuVBEuIlaA.png" /></figure><p>Select, “Add variable”, and add the service account key here.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3rRKHkyNbCSsFvSgowpubw.png" /></figure><p>It is <strong>very</strong> <strong>important</strong> you name the key (inside Terraform Cloud) GOOGLE_CREDENTIALS, or else you will get an error. For the value, copy/paste your formatted JSON key, then select the “sensitive” box to ensure the <em>value</em> is not in plain text after saving. <br><em>P.S i’ve noticed after copy/pasting the key it adds a blank line at the end in the Terraform Cloud value UI, and you will get an error if you do not backspace it out.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZJkiRSBvCFocy5IJ6OieqA.png" /></figure><p>Now that the Terraform cloud workspace is created and connected to your VPS provider, you are ready to queue a plan (<em>assuming you have Terraform files in your repository</em>). Queuing a plan will trigger Terraform Cloud to scan the root directory of the repository. If you configured your environment variable correctly there will be a, “needs confirmation” in your run tab. Click, “run” Terraform Cloud will run the <em>terraform plan. </em>You need to verify the plan prior to running<em> Terraform apply</em>, similar to the CLI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-g8Q4WeKAj8-SVn22X34xA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gSi_ZFRlo5lKPoX81vLa2g.png" /></figure><p>If everything looks good with the plan, select, “confirm and apply” to processed with the run. A green checkmark means the resource was deployed. If there is an error, Terraform Cloud will show you in detail why the error is occurring.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nlfC3EgulxGwhhT3Nijo0g.png" /></figure><p>Verify in the GCP console that the resource was deployed. In my demo I deployed a simple GCE instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*j1SP7mMsqQ3wgug32CTqQg.png" /><figcaption>Success!</figcaption></figure><p>Congratulations you setup and deployed resources with Terraform Cloud!</p><p>Part 2 coming soon, where we build off this and add GitHub Actions for a full CI/CD pipeline</p><p><strong>Bio:</strong> Jake has been in IT for 4 years and is currently an IT Engineer for Aunt Bertha. He currently holds a CompTIA S+, Google ACE certification, Google PCA certification and is pursuing the Terraform Associates certification.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e1fe6c99a78e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GCP- Create & Deploy Custom Roles with YAML]]></title>
            <link>https://lunajacob.medium.com/gcp-create-deploy-custom-roles-with-yaml-ca820d5557cf?source=rss-f52c0c7de57------2</link>
            <guid isPermaLink="false">https://medium.com/p/ca820d5557cf</guid>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[identity-management]]></category>
            <category><![CDATA[gcp]]></category>
            <dc:creator><![CDATA[Jacob Luna]]></dc:creator>
            <pubDate>Thu, 31 Dec 2020 23:28:59 GMT</pubDate>
            <atom:updated>2020-12-31T23:28:59.439Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/256/1*5BV2bzv9WDv8frO-iAzADg.png" /><figcaption>GCP IAM Icon</figcaption></figure><p>Google Cloud offers the ability to create custom roles at the <em>project</em> level and <em>organization</em> level. We will create a custom role and deploy it using a YAML file and some <em>gcloud</em> cli though <em>cloudshell</em>.</p><p>Before you begin, please ensure you have the right roles/permissions to create roles inside a project. A minimum permission of “iam.roles.create” is required.</p><h4>General structure of YAML file needed for IAM</h4><p>Below is the structure the YAML file needs to follow to create an IAM role:</p><pre>title: role-title<br>description: role-description<br>stage: launch-stage<br>includedPermissions:<br>- permission-1<br>- permission-2</pre><h4>Creating a YAML file</h4><p>Create the file by entering the follow command in <em>cloudshell</em>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/474/1*kyQAGaxluxpAJVgh_Opcgg.png" /></figure><p>This creates a YAML file named securityanalyst; we now follow the structure needed to create the role inside the file.</p><p>Copy and paste the YAML structure inside your file and adjust to your preferences. In this example, I used permissions from<em> log viewer</em> and <em>Compute Security Admin </em>roles.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*1c2s0Rd-8uKUAW6_h5EBxw.png" /></figure><h4>Deploying your custom role</h4><p>Deploy the custom role using <em>gcloud.</em></p><p>Here is the template of the command:</p><pre>gcloud iam roles create role-id --project=project-id \<br>  --file=yaml-file-path</pre><p>What it looks like for me:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_bPxQ7fiWOShB0TFwgzOnA.png" /></figure><p>What the end results should look like if successful:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*7b8-xzbFquLswLZmhjrZUA.png" /></figure><h4>Additional tips</h4><p>After creation, your custom role will be listable. Verify this by running the following command:</p><pre>gcloud iam roles list --filter role-id --project=project-id <br> </pre><p>What running the command looks like in <em>cloudshell</em>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dJQL06L9C4ebD4TRT-ZULA.png" /></figure><p>If we need to get additional info for the custom role, we can use the <em>describe</em> command to help with further information:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a8ABRq-0p6O-ibHoHd6Jdg.png" /></figure><h4>Updating the custom role</h4><p>Now that you deployed your custom role, you notice that it needs additional permissions. We simply update the existing role using the same YAML format method. You will need to run the <em>describe </em>command from above and copy the results. Create a new YAML file and paste the results of the <em>describe</em> command. If you need to add/remove permissions, edit the section “includedPermissions:”</p><p>In this example, I created a new YAML file called securityanalystv2 and added the permissions compute.firewalls.update:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1018/1*W-4w4shzjFxEn4dNsIRFew.png" /></figure><p>Deploy the changes using the same exact method as before, but change the flag “— file” to your new YAML file. Here is what that should look like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_76MjToPSQE2fseO9dLG1Q.png" /></figure><p><strong>FIN!</strong></p><p>If you need additional guidance, here is GCP documentation on creating custom IAM roles <a href="https://cloud.google.com/iam/docs/creating-custom-roles#iam-custom-roles-testable-permissions-console">https://cloud.google.com/iam/docs/creating-custom-roles#iam-custom-roles-testable-permissions-console</a>.</p><p><strong>Bio:</strong> Jake has been in IT for 4 years and is currently an IT Engineer for Aunt Bertha. He currently holds a CompTIA S+ and Google ACE certification and is currently working on Google’s Professional Cloud Architect certification.</p><p>LinkedIn: <a href="https://www.linkedin.com/in/jacob-c-luna/">https://www.linkedin.com/in/jacob-c-luna/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ca820d5557cf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploying an Apache Server with Terraform- GCP]]></title>
            <link>https://lunajacob.medium.com/deploying-an-apache-server-with-terraform-gcp-f6e2d1a1b27?source=rss-f52c0c7de57------2</link>
            <guid isPermaLink="false">https://medium.com/p/f6e2d1a1b27</guid>
            <category><![CDATA[gcp]]></category>
            <category><![CDATA[apache]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[terraform]]></category>
            <dc:creator><![CDATA[Jacob Luna]]></dc:creator>
            <pubDate>Mon, 02 Nov 2020 14:01:11 GMT</pubDate>
            <atom:updated>2020-11-02T18:09:10.633Z</atom:updated>
            <content:encoded><![CDATA[<h3>Overview:</h3><p>Today I will be showing you how to create an Apache web server using the IaC tool called, <em>Terraform,</em> inside a GCP cloud environment.</p><blockquote><em>This walk-though has the expectation that you already have Terraform installed, gone through the how-to tutorial they provide, and have already created a service account with the appropriate json key in GCP.</em></blockquote><h3>What is IaC?</h3><p>Infrastructure as code (IaC) has been steadily increasing as companies are adopting the devops culture into their environments. IBM’s definitions of IaC “…automates the provisioning of infrastructure, enabling your organization to develop, deploy, and scale cloud applications with greater speed, less risk, and reduced cost.” Popular cloud providers like GCP/AWS/Azure all provide their own in-house version of IaC tools.</p><p><strong>Vender specific IaC:</strong></p><ul><li>Cloud Deployment Manager-GCP</li><li>Cloud Formation- AWS</li><li>Azure Resource Manager- Azure</li></ul><h3>What is Terraform?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vwp7TegFJ61Jruea3W3g_Q.png" /></figure><p>Terraform is a popular IaC tool from HashiCorp that works with most public cloud providers. It is a up and coming tool for companies, who can manage multi-cloud environments with a single tool.</p><blockquote>Terraform uses its own configuration language, (Terraform HashiCorp Configuration Language (HCL)) This is designed to allow concise descriptions of infrastructure. The Terraform language is declarative, describing an intended goal rather than the steps to reach that goal.</blockquote><p>This model allows devops teams to add the to the code base and run Terraform apply which terraform will only deploy the desired state.</p><p><strong>Example: You have two VMs (EC2/GCE) deployed with Terraform. If you want to add a storage bucket (S3/GCS) you can add the bucket to the same configuration file as the VMs and run, <em>terraform apply,</em> and Terraform would only create the bucket since that is the only change in the desired state)</strong></p><p>Main Terraforms commands are:</p><pre>terraform init<br>terraform plan<br>terraform apply</pre><p>*You can learn more about how to use Terraform <a href="https://learn.hashicorp.com/collections/terraform/aws-get-started">here</a>*</p><h3>What is Apache?</h3><blockquote>Apache Foundations defines itself as, “Founded in 1995 The Apache HTTP Server Project is an effort to develop and maintain an open-source HTTP server for modern operating systems including UNIX and Windows. The goal of this project is to provide a secure, efficient and extensible server that provides HTTP services in sync with the current HTTP standards.”</blockquote><p>Apache is very popular, <a href="https://w3techs.com/technologies/details/ws-apache">powering around 36%</a> of websites around the world! It is still considered the leading web server; however, nginx is starting to make its way to the top</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*fdH4-sG61XwiU7r2o4r5yQ.png" /></figure><h3>Overview of code:</h3><p>Here is what is looks like when you have Terraform build a Debian based VM with an attached startup script that will update the VM and install an Apache web server.</p><pre>provider &quot;google&quot; {<br><br>credentials = file(&quot;/Users/testuser/Desktop/gpsvc.json&quot;)<br><br>project = &quot;googleproject&quot;<br> region  = &quot;us-central1&quot;<br> zone    = &quot;us-central1-c&quot;<br>}<br><br><br><br>resource &quot;google_compute_instance&quot; &quot;apache_test&quot; {<br>    name = &quot;apacheserver&quot;<br>    machine_type = &quot;f1-micro&quot;<br><br>    tags = [&quot;http-server&quot;]<br><br>    boot_disk {<br>        initialize_params {<br>            image = &quot;debian-cloud/debian-9&quot;<br>        }<br>    }<br><br>    metadata_startup_script =  file(&quot;/Users/testuser/Desktop/apache2.sh&quot;)<br><br>scheduling {<br>        preemptible = true<br>        automatic_restart = false<br>    }<br><br>    network_interface {<br>        network =&quot;default&quot;<br>        access_config {<br><br>        }<br><br><br>}<br>}</pre><h3>Terraform Code breakdown:</h3><p>provider: Google (since we are using GCP)</p><p>credentials: GCP service account key and the file path location</p><p>project: GCP project ID, you can run <em>gcloud projects list</em> to find it</p><p>region: setting the default region for resources being built with terraform</p><p>zone: setting the default zone for resources being built with terraform</p><pre>provider &quot;google&quot; {<br><br>credentials = file(&quot;/Users/testuser/Desktop/gpsvc.json&quot;)<br><br>project = &quot;googleproject&quot;<br> region  = &quot;us-central1&quot;<br> zone    = &quot;us-central1-c&quot;<br>}</pre><p>resource “google_compute_intance” “apache_test”: this lets Terraform know what resource to query and the name of the resource inside Terraform, not to be confused with the name of the VM in GCP</p><p>name: the name of the VM inside GCP</p><p>machine_type: the machine type to use, a full list can be found <a href="https://cloud.google.com/compute/docs/machine-types">here</a></p><p>tags: add network tags</p><p>boot_disk: select the image to use</p><p>metadata_startup_script: add your startup script,<em> I will go into more detail about the script next.</em></p><p>scheduling: Since this is going to be temporary machine, I made the VM a preemptible. If you decide to do the same, automatic_restart must equal false.</p><p>network_interface: defines the network the VM should use</p><p>network: what VPC your VM should use</p><p>access_config: leaving this blank will allow an external ephemeral ip be created</p><pre>resource &quot;google_compute_instance&quot; &quot;apache_test&quot; {<br>    name = &quot;apacheserver&quot;<br>    machine_type = &quot;f1-micro&quot;<br><br>    tags = [&quot;http-server&quot;]<br><br>    boot_disk {<br>        initialize_params {<br>            image = &quot;debian-cloud/debian-9&quot;<br>        }<br>    }<br><br>    metadata_startup_script =  file(&quot;/Users/testuser/Desktop/apache2.sh&quot;)<br><br>scheduling {<br>        preemptible = true<br>        automatic_restart = false<br>    }<br><br>    network_interface {<br>        network =&quot;default&quot;<br>        access_config {<br><br>        }</pre><h3>Startup script</h3><p>The start up script is very simple and is written in bash. It allows the VM to update out of date packages and install Apache. I overwrote the default Apache HTML code with my own (feel free to adjust as you see fit), then I pushed the changes to the appropriate file. Once done, add the file path to the Terraform configuration file like the example above.</p><pre>!/bin/bash<br><br>sudo apt-get update &amp;&amp; sudo apt -y install apache2<br><br><br>echo &#39;&lt;!doctype html&gt;&lt;html&gt;&lt;body&gt;&lt;h1&gt;Hello if you see this than you have apache running!&lt;/h1&gt;&lt;/body&gt;&lt;/html&gt;&#39; | sudo tee /var/www/html/index.html</pre><h3>Deploying the VM with Terraform</h3><p>Run the <a href="https://www.terraform.io/docs/commands/init.html">terraform init</a> command in the directory you have Terraform installed. If successful, you should see something similar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6s6aaH9FojIFjU7CaUSM4Q.png" /><figcaption>terraform init</figcaption></figure><p>Once you have done the <em>terraform int</em> command you will want to follow up with <a href="https://www.terraform.io/docs/commands/plan.html">terraform plan</a>, which will show you what Terraform will be building.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CinU9RtWQCsWT2wEAaJLfg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uueiXsSC286JelmJJeGt7w.png" /></figure><p>If there are no errors when you run terraform plan then you’re free to run <a href="https://www.terraform.io/docs/commands/apply.html">terraform apply</a>. This is where Terraform actually builds the VM with the service account. You should get prompted with “Do you want to perform these actions?”, which you will need to type in <em>yes</em>. Terraform will then create the VM with Apache 2 installed!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/1*lMqKa0hSea3iCf-sZeP6xw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MnVeIohJck4TMGAk_cyEzQ.png" /></figure><h3>Viewing our Apache server in GCP</h3><p>Navigate to your GCP project and verify that the VM was created either by the GUI, or running the gcloud command <em>gcloud compute instances list — filter “instances_name”.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j3v26KQQwwOIfQXeBY_nYQ.png" /><figcaption>gcloud command</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bf_zkplJCcp_gaPgVCGASg.png" /></figure><h3>Confirm Apache was installed</h3><p>Navigate to the “EXTERNAL_IP” and if the startup script was successful you will see your web server!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b3I1VXAeW6KOFaLdOPBG8g.png" /></figure><h3>Deleting the VM with Terraform</h3><p>Simply delete the VM with Terraform by running the <a href="https://www.terraform.io/docs/commands/destroy.html">terraform destroy </a>command, this will delete the VM from your project and stop any and all charges. You will also be required to confirm these changes like you had to with <em>terraform apply.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*irv8YGDPtJOZxecSHOBI5g.png" /></figure><h3>FIN!</h3><h3>Key considerations</h3><ul><li>Ensure you have a service account created in your project that Terraform can use. If you’re having issues, here is a <a href="https://youtu.be/5_DHR5wVVRo?t=443">video</a> that shows how to create one along with the JSON key.</li><li>Make sure your service account has the appropriate IAM permissions to perform the actions you’re looking to do.</li><li>Store your .tf files in Github.</li><li>Your web server is http only, so if you have the network tag “https-server” you will get an error.</li></ul><p><strong>Bio:</strong> Jake has been in IT for 4 years and is currently an IT Engineer for Aunt Bertha. He currently holds a CompTIA S+ and Google ACE certification and is currently working on Google’s Professional Cloud Architect certification.</p><p>LinkedIn: <a href="https://www.linkedin.com/in/jacob-c-luna/">https://www.linkedin.com/in/jacob-c-luna/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f6e2d1a1b27" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to ace the ACE- GCP]]></title>
            <link>https://lunajacob.medium.com/how-to-ace-the-ace-gcp-d27f72bc08d7?source=rss-f52c0c7de57------2</link>
            <guid isPermaLink="false">https://medium.com/p/d27f72bc08d7</guid>
            <category><![CDATA[austin]]></category>
            <category><![CDATA[associate-cloud-engineer]]></category>
            <category><![CDATA[gcp]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[gcp-certification]]></category>
            <dc:creator><![CDATA[Jacob Luna]]></dc:creator>
            <pubDate>Mon, 26 Oct 2020 13:02:16 GMT</pubDate>
            <atom:updated>2021-01-01T22:08:24.521Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to Ace The ACE-GCP</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/324/1*jjAw9XsrMdSRwh5EGmMcqw.png" /><figcaption>Associate Cloud Engineer Badge</figcaption></figure><p>I recently sat for (and passed) Google’s Associate Cloud Engineer exam. I wanted to write a brief blog, share my experience, and maybe even help some others along the way.</p><h3><strong>Overview</strong>:</h3><p>As of October 2020, this is Google’s only Associate level exam. You will have ~2 hours to answer 50 questions. There are no prerequisites to test, so anyone wanting to take it can sign up; however, Google recommends at least 6 months hands on experience with GCP.</p><h3>My Approach:</h3><p>I started studying for this exam in late July and tested in early October. In the beginning, I read Dan Sullivan’s book and watched A Cloud Guru (ACG) videos. If you’re like me watching videos gets really boring really fast, but I just powered through it.</p><p>I decided to take a more hands on approach and sign up for the GCP free tier account. Here I started doing basic things like creating a VM and deleting said VM, getting an overall feel for the GCP “console”. I watched the entire ACE course from ACG and thought it gave a decent overview of topics on the test. I do feel it was lacking something. I’m a tactile learner, so I need to try it myself. By early August my ACG course was over and I knew basic terminology of GCP resources.</p><p>I continued reading Dan’s book along with doing more hands on tasks in my free tier environment. It was then when things were slowly starting to click for me. I would read a chapter of the book and then immediately sandbox what I read in my free tier environment.</p><p>Something I really needed during all this was a mentor. I didn’t have anyone to actively turn to for advice and guidance on GCP related things. In mid August I met Antoni via Reddit. He helped answer all the questions I had, and I asked him if I could come to him for further guidance during my GCP journey. Luckily for me, he was building a GCP ACE course of his own, and has been a very helpful to not only me, but the GCP community as a whole. I enrolled into his course and was really thrilled at the depth of the material<strong>. </strong>I watched the course’s videos, continued reading Dan’s book, and getting hands on practice in GCP.</p><p>By September I had finished the book, scheduled my test, and sectioned off topics I was not strong in to take extra time on (App Engine, Kubernetes). I went line by line in the exam guide, ensuring I knew how to deploy resources, how to delete resources, and what resources to use for specific jobs.</p><h3>Tips:</h3><p><strong>**Utilize the free tier of GCP - </strong>Google offers a free tier of their cloud platform products and for all new users will be given a $300 credit. (I only used about $60 dollars)</p><p><strong>**Read and understand the </strong><a href="https://cloud.google.com/certification/guides/cloud-engineer"><strong>exam guide</strong></a><strong> </strong>- It really helped me to look at this every day when I was sandboxing stuff in GCP. It kept me on track.</p><p><strong>Take the free practice </strong><a href="https://cloud.google.com/certification/sample-questions/cloud-engineer"><strong>exam</strong></a><strong> - </strong>Google offers a 25 question sample test. Take it. The Youtube channel, Cloud Advocate, also has a detailed walkthrough of all questions in one of their videos.</p><p><strong>Use Preemptible VM’s </strong>- If you don’t know about preemptible VMs already I highly recommend using this feature to help save on VM cost when sandboxing in your environment.</p><p><strong>Get involved </strong>- Browse Reddit to see what problems people are having in the subreddit /r/googlecloud, and see if you can recreate their problem and find a solution. There are also a few Slack channels I will link in the resource section for you to look into.</p><p><strong>Understand CLI </strong>- Know how to deploy/manage/delete resources from both the console and CLI (gcloud, gsutil, bq, kubectl)</p><p><strong>Talk out-loud </strong>- This really helped me learning CLI commands and might just help you! “gcloud compute instances create instances (instance_name)”. I recommend doing this on your own, not near your spouse who’s trying to read.</p><p><strong>Read actual GCP documentation </strong>- These resources are good, and I recommend you check them out, but reading the GCP documentation really helps too!</p><p>*Disclaimer: These are the tips that helped me pass the Google ACE. They don’t guarantee a passing score.*</p><p>Good Luck!</p><h3>Resources I used:</h3><p>Antoni Tzavelas’ <a href="https://training.antonit.com/">GCP Cloud engineer Course</a></p><p>Dan Sullivan’s <a href="https://www.amazon.com/Google-Cloud-Certified-Associate-Engineer/dp/1119564417/ref=sr_1_2?crid=3HPKDNS188JKN&amp;dchild=1&amp;keywords=associate+cloud+engineer&amp;qid=1603562408&amp;sprefix=associate+cloud+%2Caps%2C182&amp;sr=8-2">book</a></p><p>A Cloud Guru <a href="https://acloud.guru/learn/gcp-certified-associate-cloud-engineer">GCP Course</a></p><p>Cloud Advocate <a href="https://www.youtube.com/watch?v=PUid9-TIdIQ&amp;list=PLBRBRV08tHh1e9oqTsONC5AuhFd-SUXWq">Youtube channel</a></p><p>Reddit <a href="https://www.reddit.com/r/googlecloud/">/r/googlecloud</a></p><p>Slack <a href="https://techstudyslack.slack.com/">https://techstudyslack.slack.com/</a> , <a href="https://googlecloud-community.slack.com/">https://googlecloud-community.slack.com</a></p><h3>Final thoughts:</h3><p>The Google Associate Cloud Engineer exam is no easy task and will require you to have hands on experience. I have yet to meet someone who passed just by watching/reading, if you do let me know.</p><p>Sign up for that free tier option Google offers and start building! Make sure you are looking at the exam guide on a daily basis and ensure you know how to perform the action it mentions in both the console and CLI.</p><p>Learning GCP has been an awesome experience for me and has pushed me out of my comfort zone. While getting certified is great for me and my professional growth, all the stuff I learned along the way for studying was a reward in itself. If you find yourself struggling to grasp some of the concepts feel free to reach out to me in either Slack space. BigTuna is my handle.</p><p><strong>Bio:</strong> Jake has been in IT for 4 years and is currently an IT Engineer for Aunt Bertha. He currently holds a CompTIA S+ and Google ACE certification and is currently working on Google’s Professional Cloud Architect certification.</p><p>LinkedIn: <a href="https://www.linkedin.com/in/jacob-c-luna/">https://www.linkedin.com/in/jacob-c-luna/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d27f72bc08d7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>