AWS CDK uses the familiarity and expressive power of programming languages for modeling your applications.

It provides high-level components called constructs that preconfigure cloud resources with proven defaults, so you can build cloud applications with ease.

Prerequisites

  • You have python3 installed and setup locally in your system path, refer to the docs for installation
  • You have installed and configured the AWS CDK locally
  • Ensure you have all the required AWS permission and configuration locally

Setup

  • First, clone the Kubernetes Goat repository locally by running the following command
git clone https://github.com/madhuakula/kubernetes-goat.git
  • Navigate to the folder for setup and installation of the Kubernetes Goat using KiND
cd kubernetes-goat/platforms/aws-kind-ec2-cdk
  • Create a virtualenv (Assume you already have installed Python3 and it’s available in the path)
python3 -m venv .venv
  • Activate your virtualenv in MacOS & Linux
source .venv/bin/activate
  • If you are a Windows platform, you would activate the virtualenv by running following command
% .venv\Scripts\activate.bat

Published by Tamil S

Tamil has a great interest in the fields of Cyber Security, OSINT, and CTF projects. Currently, he is deeply involved in researching and publishing various security tools with Kali Linux Tutorials, which is quite fascinating.

Leave a comment

Your email address will not be published. Required fields are marked *