nabilblk / kaggle-ops-aws

A super Kaggle machine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kaggle Super plateforme Using Packer, Ansible, and Terraform

This will provision 2 machines : GPU and CPU . Many modules will be installed

  • h2o
  • conda with differents env : 2.7 , 3.6
  • All Packages

Getting Started

Step 1: Setup a network using Terraform

Step 2: Create AMI using packer and ansible inside the above-created network

Step 3: Setup EC2 instance inside the network with packer AMI

Provide access key and token in Terraform and Packer code.

Command to run network Terraform

Go in folder networkTerraform, run command:

  1. terraform init

  2. terraform plan

  3. terraform apply

Command to run Packer

Provide subnet id created in network terraform in packer.json

packer build packer.json

Command to run main Terraform

Go in folder terraform, run command:

  1. terraform init

  2. terraform plan

  3. terraform apply

About

A super Kaggle machine


Languages

Language:HCL 97.8%Language:HTML 2.2%