---
title: "Karen Ngugi (@KarenNgugi) | Hashnode"
description: "Junior DevOps Engineer. Read the latest articles by Karen Ngugi on Hashnode."
url: "https://hashnode.com/@KarenNgugi"
---

@KarenNgugi

# Karen Ngugi

@KarenNgugi · Nairobi, Kenya · Joined December 2020

Junior DevOps Engineer

### [Use Packer to create an AMI](https://karenngugi.hashnode.dev/use-packer-to-create-an-ami?utm_source=hashnode&utm_medium=feed)

Packer is a super cool tool by HashiCorp which can be used to create images such as Amazon Machine Images and Docker images. By default, Amazon images, especially the free tier ones, do not come installed with a lot of packages like, say, Jenkins. So...

7 min read · [karenngugi.hashnode.dev](https://karenngugi.hashnode.dev/use-packer-to-create-an-ami?utm_source=hashnode&utm_medium=feed)

[Mar 5, 2023](https://hashnode.com/posts/use-packer-to-create-an-ami/6404c9cc311a7529ee37a71a)

### [Terraform: deploy a website via Nginx in an EC2](https://karenngugi.hashnode.dev/terraform-deploy-a-website-via-nginx-in-an-ec2?utm_source=hashnode&utm_medium=feed)

In your AWS console, create a new key pair. You can use an existing one if you wish, but it’s better to be in the clear. You can find it in the EC2 service, under Network & Security: In the top-right, click the Create key pair button. Provide a nam...

3 min read · [karenngugi.hashnode.dev](https://karenngugi.hashnode.dev/terraform-deploy-a-website-via-nginx-in-an-ec2?utm_source=hashnode&utm_medium=feed)

[Feb 7, 2023](https://hashnode.com/posts/terraform-deploy-a-website-via-nginx-in-an-ec2/63e2a0abb36472010897d254)

### [Installing Terraform on Ubuntu 22.04](https://karenngugi.hashnode.dev/installing-terraform-on-ubuntu-2204?utm_source=hashnode&utm_medium=feed)

First add HashiCorp’s GPG key. curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add - Now add HashiCorp’s repository to Ubuntu. sudo apt-add-repository "deb \[arch=amd64\] https://apt.releases.hashicorp.com $(lsb\_release -cs) main" ...

1 min read · [karenngugi.hashnode.dev](https://karenngugi.hashnode.dev/installing-terraform-on-ubuntu-2204?utm_source=hashnode&utm_medium=feed)

[Jan 21, 2023](https://hashnode.com/posts/installing-terraform-on-ubuntu-2204/63cc29497dd94aba70e16d83)

### [Setting up Nginx on Ubuntu 22.04](https://karenngugi.hashnode.dev/setting-up-nginx-on-ubuntu-2204?utm_source=hashnode&utm_medium=feed)

Install nginx from the apt package manager. sudo apt install nginx -y Enable firewall. sudo ufw enable List the available applications the firewall can allow. sudo ufw app list Allow “Nginx Full” which is a combination of “Nginx HTTP” and “Nginx...

2 min read · [karenngugi.hashnode.dev](https://karenngugi.hashnode.dev/setting-up-nginx-on-ubuntu-2204?utm_source=hashnode&utm_medium=feed)

[Jan 21, 2023](https://hashnode.com/posts/setting-up-nginx-on-ubuntu-2204/63cc27222bc10013344e15d1)

### [Installing Jenkins on Ubuntu 22.04](https://karenngugi.hashnode.dev/installing-jenkins-on-ubuntu-2204?utm_source=hashnode&utm_medium=feed)

Jenkins cannot run without Java so install the Java JDK. sudo apt-get install openjdk-11-jdk -y Obtain the Jenkins GPG key. curl -fsSL https://pkg.jenkins.io/debian-stable/jenkins.io-2023.key | sudo tee /usr/share/keyrings/jenkins-keyring.asc > /dev...

2 min read · [karenngugi.hashnode.dev](https://karenngugi.hashnode.dev/installing-jenkins-on-ubuntu-2204?utm_source=hashnode&utm_medium=feed)

[Jan 21, 2023](https://hashnode.com/posts/installing-jenkins-on-ubuntu-2204/63cbe71ee9419118d4ba4b90)
