<?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 Penuel Antwi Twum on Medium]]></title>
        <description><![CDATA[Stories by Penuel Antwi Twum on Medium]]></description>
        <link>https://medium.com/@kwadwoan391?source=rss-d2a2137ffe4b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dmbNkD5D-u45r44go_cf0g.png</url>
            <title>Stories by Penuel Antwi Twum on Medium</title>
            <link>https://medium.com/@kwadwoan391?source=rss-d2a2137ffe4b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 05:58:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kwadwoan391/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[Deploying Ansible AWX on AWS EC2 with k3s and Cloudflare — The Real Story]]></title>
            <link>https://medium.com/@kwadwoan391/deploying-ansible-awx-on-aws-ec2-with-k3s-and-cloudflare-the-real-story-a7687afc08bb?source=rss-d2a2137ffe4b------2</link>
            <guid isPermaLink="false">https://medium.com/p/a7687afc08bb</guid>
            <category><![CDATA[ansible]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Penuel Antwi Twum]]></dc:creator>
            <pubDate>Fri, 07 Aug 2026 11:06:01 GMT</pubDate>
            <atom:updated>2026-08-07T11:06:01.890Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><strong>A practical guide for DevOps engineers</strong></blockquote><h3><strong>Introduction</strong></h3><p><strong>Ansible AWX</strong> is the open-source, upstream version of Red Hat Ansible Automation Platform (formerly Ansible Tower). It provides a web-based UI, REST API, and task engine on top of Ansible, giving your team a centralized place to manage playbooks, credentials, inventories, and job schedules. Think of it as the control plane for your Ansible automation. It’s self-hosted, free, and pairs well with CI/CD pipelines like GitHub Actions, TeamCity, and Jenkins.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lk6rCNq3qMu35iw6L47riw.png" /></figure><p>If you’ve ever tried to set up Ansible AWX on a fresh EC2 instance and hit wall after wall, be it image pull errors, memory crashes, 522 errors, SSL headaches, this post is for you.</p><p>This is not the happy-path tutorial. This is what actually happened when I deployed AWX on AWS EC2 using k3s as the Kubernetes runtime and Cloudflare for HTTPS. Every error, every fix, every “why is this not working” moment is documented here so you don’t have to go through it.</p><p>By the end, you’ll have a fully working AWX instance accessible at a custom domain over HTTPS without cert-manager, without Let’s Encrypt, and without touching your global Cloudflare SSL settings.</p><h3>Stack</h3><ul><li>AWS EC2 <em>t3.large</em> (Amazon Linux 2023)</li><li>k3s (lightweight Kubernetes)</li><li>AWX Operator</li><li>Traefik (bundled with k3s) as ingress controller</li><li>Cloudflare for DNS and SSL termination</li></ul><h3>Prerequisites</h3><ul><li>EC2 instance: t3.large minimum (2vCPU, 8GB RAM) — Don’t try on any smaller instance</li><li>Amazon Linux 2023</li><li>Port 80 and 443 open in your security group</li><li>A domain managed on Cloudflare</li><li>Cloudflare SSL mode: Full</li></ul><h3>Procedure</h3><h4>Step 1 — Install Git</h4><pre>sudo dnf install git -y<br>git --version</pre><h4>Step 2 — Install k3s</h4><pre>curl -sfL https://get.k3s.io | sh -</pre><p>Set up kubectl access for the ec2-user</p><pre>mkdir -p ~/.kube<br>sudo cp /etc/rancher/k3s/k3s.yaml ~/.kube/config<br>sudo chown ec2-user:ec2-user ~/.kube/config<br>echo &#39;export KUBECONFIG=~/.kube/config&#39; &gt;&gt; ~/.bashrc<br>source ~/.bashrc</pre><p>Verify</p><pre>kubectl cluster-info<br>kubectl get nodes<br>kubectl get storageclass</pre><p>You should see your node as <em>Ready </em>with <em>local-path</em> as the default StorageClass. k3s ships with Traefik as the ingress controller out of the box with no additional setup needed.</p><h4>Step 3 — Get the latest AWX Operator Tag</h4><pre>git clone https://github.com/ansible/awx-operator.git<br>cd awx-operator<br>git tag | tail -5</pre><p>At the time of writing, 2.9.0 is the latest stable release. The AWX team has been refactoring the platform into a service-oriented architecture since AWX 24.6.1, so don&#39;t be alarmed if no newer operator tags exist.</p><pre>git checkout tags/2.9.0<br>export VERSION=2.9.0</pre><h4>Step 4 — Create the AWX Install Directory &amp; Deploy the Operator</h4><pre>mkdir ~/awx-install &amp;&amp; cd ~/awx-install</pre><blockquote><strong>Gotcha #1:</strong> Don’t create all your files and apply everything at once. The AWX CRDs need to be fully registered before the AWX instance can be created. We deploy in two stages.</blockquote><h4>Stage 1 — Operator Only</h4><p>Create kustomization.yaml with just the operator resources:</p><pre>nano kustomization.yaml</pre><pre>apiVersion: kustomize.config.k8s.io/v1beta1<br>kind: Kustomization<br>resources:<br>  - github.com/ansible/awx-operator/config/default?ref=2.9.0<br>images:<br>  - name: quay.io/ansible/awx-operator<br>    newTag: 2.9.0<br>  - name: gcr.io/kubebuilder/kube-rbac-proxy<br>    newName: quay.io/brancz/kube-rbac-proxy<br>    newTag: v0.15.0<br>namespace: awx</pre><blockquote><strong>Gotcha #2:</strong> The kube-rbac-proxy image was moved from gcr.io/kubebuilder/ to quay.io/brancz/. Without this image redirect, the operator pod gets stuck in ImagePullBackOff.</blockquote><p>Apply:</p><pre>kubectl apply -k .</pre><p>Wait for the operator to be 2/2 Running before moving on:</p><pre>kubectl get pods -n awx -w</pre><h4>Step 5 — Deploy the AWX instance &amp; Ingress</h4><p>Once the operator is running, create the remaining two files:</p><pre>nano awx-demo.yml</pre><pre>---<br>apiVersion: awx.ansible.com/v1beta1<br>kind: AWX<br>metadata:<br>  name: awx-demo<br>spec:<br>  service_type: ClusterIP</pre><pre>nano awx-ingress.yml</pre><pre>---<br>apiVersion: networking.k8s.io/v1<br>kind: Ingress<br>metadata:<br>  name: awx-ingress<br>  namespace: awx<br>  annotations:<br>    traefik.ingress.kubernetes.io/router.entrypoints: web,websecure<br>spec:<br>  ingressClassName: traefik<br>  rules:<br>    - host: your-awx-domain.com<br>      http:<br>        paths:<br>          - path: /<br>            pathType: Prefix<br>            backend:<br>              service:<br>                name: awx-demo-service<br>                port:<br>                  number: 80</pre><blockquote><strong>Gotcha #3:</strong> Set entrypoints to web,websecurenot just web. Cloudflare Full mode connects to your origin on HTTPS (port 443). If Traefik only listens on port 80, Cloudflare can&#39;t reach it, and you&#39;ll get a 522 error</blockquote><p>Now update kustomization.yaml to include the two new files:</p><pre>apiVersion: kustomize.config.k8s.io/v1beta1<br>kind: Kustomization<br>resources:<br>  - github.com/ansible/awx-operator/config/default?ref=2.9.0<br>  - awx-demo.yml<br>  - awx-ingress.yml<br>images:<br>  - name: quay.io/ansible/awx-operator<br>    newTag: 2.9.0<br>  - name: gcr.io/kubebuilder/kube-rbac-proxy<br>    newName: quay.io/brancz/kube-rbac-proxy<br>    newTag: v0.15.0<br>namespace: awx</pre><p>Apply:</p><pre>kubectl apply -k .</pre><h4>Stage 6 — Watch the Pods Come Up</h4><pre>kubectl get pods -n awx -w</pre><p>This step usually takes 5–15 minutes. (You might want to get up and stretch a little bit). You are waiting for:</p><pre>awx-demo-postgres-13-0        1/1   Running<br>awx-demo-task-xxxx            4/4   Running<br>awx-demo-web-xxxx             3/3   Running<br>awx-operator-xxxx             2/2   Running</pre><h4>Step 7 — Get the Admin Password</h4><pre>kubectl get secret awx-demo-admin-password -n awx \<br>  -o jsonpath=&quot;{.data.password}&quot; | base64 --decode &amp;&amp; echo</pre><blockquote><strong>Note:</strong> This secret stores the initial generated password only. Once you change it via awx-manage, the secret won&#39;t update. The active password lives in the PostgreSQL database.</blockquote><p>You can change the password by:</p><pre>kubectl exec -it -n awx deployment/awx-demo-web \<br>  -c awx-demo-web -- awx-manage changepassword admin</pre><p>Enter your desired password and confirm</p><h4>Step 8 — Cloudflare DNS</h4><ol><li>Add an A record in Cloudflare:<br>- Name: awx (or your subdomain)<br>- IPv4: your EC2 public IP<br>- Proxy: Proxied (orange cloud)</li><li>SSL/TLS mode: <strong>Full</strong></li><li>Make sure ports <strong>80 and 443</strong> are open on the inbound on your instance’s security group</li></ol><h4>Step 9 — Access AWX</h4><pre>https://your-awx-domain.com</pre><p>Login with admin and your new password.</p><h3>Why Not cert-manager?</h3><p>A common question is why we didn’t use cert-manager for TLS. The answer is simple! Cloudflare handles SSL termination at the edge. Traffic between Cloudflare and your EC2 goes over HTTPS because Traefik accepts connections on port 443, but the certificate is Cloudflare’s own and not one issued to your EC2. This means:</p><ul><li>No cert-manager needed</li><li>No Let’s Encrypt rate limits</li><li>No certificate renewal headaches</li><li>Cloudflare’s globally trusted certificate is what users see</li></ul><p>The only requirement is that your EC2 has port 443 open and Traefik is configured to accept websecure entrypoint connections.</p><h3>What’s Next?</h3><p>With AWX up and running, the next steps are:</p><ul><li><strong>Set up an Execution Environment</strong> with custom collections (AWS CLI, Spring CLI, etc.)</li><li><strong>Configure credentials</strong> for GitHub SSH keys, Vault, and AWS Access Key</li><li><strong>Create job templates</strong> for your playbooks</li><li><strong>Integrate with GitHub Actions, Jenkins, TeamCity, etc </strong>to trigger AWX deployments automatically on code push</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a7687afc08bb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SOC Fundamentals…]]></title>
            <link>https://medium.com/@kwadwoan391/soc-fundamentals-64a6e1ee95b8?source=rss-d2a2137ffe4b------2</link>
            <guid isPermaLink="false">https://medium.com/p/64a6e1ee95b8</guid>
            <category><![CDATA[letsdefendio]]></category>
            <category><![CDATA[soc-analyst]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Penuel Antwi Twum]]></dc:creator>
            <pubDate>Mon, 06 May 2024 12:11:58 GMT</pubDate>
            <atom:updated>2024-05-06T12:12:19.516Z</atom:updated>
            <content:encoded><![CDATA[<p>From my perspective, the SOC Fundamentals course is an essential building block for those aiming to carve out a successful career as a SOC analyst. It delves into the various types of SOCs, delineating the roles and duties within, thus offering a panoramic view of the cybersecurity arena. The course arms budding SOC analysts with vital technical competencies, including log management, EDR, and SOAR, while also underscoring the importance of a forward-thinking and strategic approach. It addresses typical pitfalls encountered by SOC analysts, thereby equipping participants with the tools to overcome obstacles, bolster their incident response skills, and make a meaningful impact on their organization’s cybersecurity measures. This comprehensive introduction to SOC essentials lays down a robust groundwork for those poised to enter and thrive in the fast-paced world of cybersecurity.</p><p>Course content includes:</p><ol><li>Introduction to SOC</li><li>SOC type and roles</li><li>SOC analyst and their responsibilities</li><li>SIEM and Analyst relationship</li><li>Log Management</li><li>EDR — Endpoint Detection and Response</li><li>SOAR (Security Orchestration Automation and Response)</li><li>Threat Intelligence</li><li>Common mistakes made by SOC analysts.</li></ol><p>There are also quizzes for evaluation in this module.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=64a6e1ee95b8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SOC Analyst…]]></title>
            <link>https://medium.com/@kwadwoan391/soc-analyst-155d687bb9b4?source=rss-d2a2137ffe4b------2</link>
            <guid isPermaLink="false">https://medium.com/p/155d687bb9b4</guid>
            <category><![CDATA[letsdefendio]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[soc-analyst]]></category>
            <dc:creator><![CDATA[Penuel Antwi Twum]]></dc:creator>
            <pubDate>Mon, 06 May 2024 11:53:27 GMT</pubDate>
            <atom:updated>2024-05-06T11:53:27.054Z</atom:updated>
            <content:encoded><![CDATA[<p>A SOC analyst is a cybersecurity specialist tasked with the vigilant oversight of an organization’s network and systems. They are the sentinels, charged with the detection and management of security incidents. Their mission is to shield vital data and infrastructure from cyber threats through meticulous analysis and probing of security alerts and events. Operating in a lively and swift environment, SOC analysts utilize a suite of sophisticated tools and technologies to pinpoint and neutralize looming threats, ensuring the organization’s digital fortifications remain impregnable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gkwr-OxjVIg-znRI" /><figcaption>Photo by <a href="https://unsplash.com/@jordanharrison?utm_source=medium&amp;utm_medium=referral">Jordan Harrison</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Just as any role, being a SOC analyst requires hands-on experience to apply the knowledge and even give you a shot at getting hired. For anyone looking to become a SOC analyst, they can gain practical experience on platorms such as TryHackMe, HackTheBox and LetsDefend.</p><p>I have enrolled in the SOC analyst path on LetsDefend and i will be sharing what I learn from time to time.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=155d687bb9b4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cybersecurity]]></title>
            <link>https://medium.com/@kwadwoan391/cybersecurity-151cd89d8608?source=rss-d2a2137ffe4b------2</link>
            <guid isPermaLink="false">https://medium.com/p/151cd89d8608</guid>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Penuel Antwi Twum]]></dc:creator>
            <pubDate>Sun, 05 May 2024 22:33:48 GMT</pubDate>
            <atom:updated>2024-05-05T22:33:48.728Z</atom:updated>
            <content:encoded><![CDATA[<p>According to the Cybersecurity &amp; Infrastructure Security Agency, Cybersecurity is the art of protecting networks, devices, and data from unauthorized access or criminal use and the practice of ensuring confidentiality, integrity, and availability of information. With the increase in the use of technology and the internet in day-to-day activities, cybersecurity is a crucial pillar of our digital existence, shielding us from a diverse array of cyber threats that impact us personally, within organizations, and in the society. 🛡️🌐</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JABqFRmR-SMukv_L" /><figcaption>Photo by <a href="https://unsplash.com/@danny144?utm_source=medium&amp;utm_medium=referral">Dan Nelson</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Careers in Cybersecurity</h3><p>There are many career paths within cybersecurity. However, these can be commonly categorized in three:</p><ol><li>Managerial</li><li>Technical</li><li>Leadership</li></ol><p><strong>Management: Security governance and oversight roles</strong></p><p>The security management and governance domain are all about the oversight and management of cybersecurity within the organization. Instead of configuring systems or getting deep into operational support, a career path in this space entails using business savviness, organizational management, and soft skills to programmatically manage security. This path includes <strong><em>training and awareness, audits and compliance, third-party risk management and project management.</em></strong></p><p><strong>Technical: Security engineering and operations roles</strong></p><p>This path area covers the more technical roles in cybersecurity. It involves digging into systems, data, tools, and networks a lot more with the aim of preventing, detecting, and responding to cyber threats. This path includes, but not limited to <strong><em>cloud security, identity and access management, security engineering, ethical hacking and security operations.</em></strong></p><p>As someone pursuing a career in cybersecurity, I am definitely taking this path.</p><p><strong>Senior leadership: Focusing on the people</strong></p><p>Like any industry, company culture and leadership play a critical role in the success of the business.</p><h3>Red Team vs Blue Team</h3><p>Technical roles in cybersecurity are divided into two teams. The Read Team and the Blue Team.</p><p><strong><em>Red teaming</em></strong> is a form of cybersecurity assessment where a group of ethical hackers, known as the red team, are authorized to emulate the tactics, techniques, and procedures of real attackers against an organization’s systems. The goal is to test the effectiveness of the organization’s security measures by simulating an adversarial attack to identify and remediate IT security gaps and weaknesses.</p><p>Here is a list of what Red Team does:</p><ol><li>Simulate real-world cyber-attacks against an organization’s systems and defenses</li><li>Test the organization’s defenses and identify weaknesses or vulnerabilities that a real attacker could exploit</li><li>Use a variety of tactics and techniques to mimic the methods that an attacker might use, such as social engineering and network penetration testing</li><li>Attempt to breach the organization’s defenses and gain access to sensitive data or systems</li><li>Provide the organization with a detailed report outlining the vulnerabilities that were discovered and offering recommendations for how to address them</li><li>Help the organization improve its defenses and better prepare for potential attacks.</li></ol><p>Red team roles include penetration testers and exploits developers.</p><p><strong><em>Blue team</em></strong> represents an organization’s internal cybersecurity defenders. Their primary role is to safeguard against cyber threats, including those posed by red teams, and to enhance the organization’s security stance.</p><p>Their responsibilities include:</p><ul><li><strong>Defending organizational assets</strong> by aligning security initiatives with the company’s business goals.</li><li><strong>Continuously fortifying security protocols</strong> to anticipate and mitigate potential cyber threats.</li></ul><p>Essentially, the blue team’s mission is to maintain a robust defense system that not only protects against current threats but also evolves to counter future vulnerabilities.</p><p>Blue team roles include cybersecurity engineers, SOC analysts, incident response analysts.</p><p>Personally, I want to be a SOC analyst. With basic cybersecurity knowledge, I am going to make good use of hands-on practical labs that are accessible on TryHackMe, HackTheBox, LetsDefend, etc.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=151cd89d8608" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>