TECH

AWS CDK – Cloud Development Kit

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

Varshini

Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies.

Recent Posts

Bash Scripting Best Practices Every Beginner Should Know

Introduction Bash scripting is a powerful way to automate Linux tasks, but writing a script…

23 hours ago

How To Create A Self-Signed SSL Certificate Using Bash And OpenSSL

Introduction A self-signed SSL certificate is a certificate that is created and signed by the…

24 hours ago

How To Debug Bash Scripts Using bash -x And set Commands

Introduction Debugging is an important part of Bash scripting. When a script does not work…

1 day ago

How To Use Cron Jobs With Bash Scripts For Automation

Introduction Cron jobs are used in Linux to run commands or Bash scripts automatically at…

1 day ago

How To Use Pipes In Bash Scripts For Command Chaining

Introduction Pipes are an important feature in Linux and Bash scripting. A pipe allows you…

1 day ago

How To Use grep, awk, And sed In Bash Scripts

Introduction The grep, awk, and sed commands are powerful text-processing tools in Linux. They are…

1 day ago