Giter Club home page Giter Club logo

csaf-iac's Introduction

CSAF Infrastructure as Code

This repository contains Terraform code for managing the infrastructure of the CSAF project using Terraform CLI.

How to use

For example, to apply the Terraform code with AWS cloud services provider:

git clone https://github.com/csalab-id/csaf-iac
cd csaf-iac/aws
export AWS_ACCESS_KEY_ID=A******************I
export AWS_SECRET_ACCESS_KEY=a**************************************I
terraform init
terraform plan
terraform apply

To destroy the project you can use this command:

cd csaf-iac/aws
terraform destroy

This code will generate infrastructure on AWS and subdomain on Cloudflare like

  • instance = c5.2xlarge (8core CPU, 16GB RAM)
  • region = Singapore
  • elastic ip = 3.1.13.7
  • security group = open port 22, 6080, 7080, 8080
  • VPC = 10.0.0.0/16
  • subnet = 10.0.37.0/24

To ensure the installation is finished, you should wait for the process until 1 hour or less. and you can access the instance with ssh using this command:

cd csaf-iac
ssh -i csaf_rsa ubuntu@public_ip

To access the CSAF Project you can open this URL on the browser with this URL:

http://public_ip:6080/vnc.html (password: attackpassword)
http://public_ip:7080/vnc.html (password: defensepassword)
http://public_ip:8080/vnc.html (password: monitorpassword)

For more information, you can see this repository to get more info about the CSAF project.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.