Skip to content
EgyKode
04 · Infrastructure as CodeLab 27 / 59
Challengeterraform

Jenkins EC2 Instance, S3 Backend & AWS Backup Vault — Challenge

Move Terraform state off your laptop into locked remote storage, and put the build server under a backup plan.

Time
15 min
Level
Intermediate
Objectives
4 objectives
Cost
Low cost

Where this fits in the platform

Before you start

CostLow cost

— a `t3.micro` EC2 instance and S3 storage are inside the 12-month allowance. Outside it, expect ~$8/month for the instance if left running. AWS Backup charges for stored recovery points.

How to clean up

The goal#

Build Jenkins EC2 Instance, S3 Backend & AWS Backup Vault yourself, starting from an empty directory, without following the guided steps.

Everything you need is in the criteria above. Work down them one at a time, and verify each before moving to the next.

Hands-on environment

Run it on AWS

This lab builds real cloud infrastructure, so it needs your own AWS account. Follow the cost and cleanup notes above — the resources are yours, and so is the bill.

Anything you tick here is your own record. EgyKode cannot see inside that terminal, so the success criteria stay self-assessed even when the environment checks your work for you.

Rules#

  • Do not open the guided lab until you have genuinely tried.
  • When something fails, read the error before you search. The error message is the lesson.
  • Tear down anything billable as soon as you finish.

If you get stuck#

The guided lab is one click away at the bottom of this page. Using it is not failure — coming back and repeating the challenge afterwards is the point.

You are done when

0 of 4

The concept behind it

Stuck?Open the guided lab

Next up

Lab 27 of 59 on the project path

Terraform Validation, Linting & CIBuild the gate that runs before every apply: format, validate, lint, scan, and a plan a human approves.50 minIntermediate