Skip to content

msharma24/terraform-template-resoto

Repository files navigation

#terraform-template-resosto

Description

This project creates an EC2 instance with an IAM Profile in an existing VPC with resotoshell automatically configured using Terraform

But What is Resoto?

Resoto indexes resources, captures dependencies, and maps out your infrastructure in an understandable graph. The graph contains metrics for each resource.

Deployment

Resoto can be deployed using 3 methods - (1) using Docker and Docker compose (2) Install locally using python and pip package manager and (3) Installed on a kubernetes cluster. The Terraform configuration in this projects covers (1) and (2) to help kickstart the setup and of resoto on your AWS account(s) and experiment with resotoshell .

How to deploy ?

  • Git clone this project.
  • create a terraform.tfvars file locally $touch terraform.tfvars and enter the following values
subnet_id             = "PUBLIC_SUBNET_ID"
public_key            = "YOUR_SSH_PUB_KEY"
resoto_install_method = "docker" or "local"
aws_region            = "ap-southeast-2"

TF_VAR resoto_install_method ==> If you choose docker resoto shell will be configured to run inside docker containers using docker-compose and if you choose local the resotoshell will be configured to on the EC2 VM using python3.10 and pip

Configure your AWS access keys as environment variables:

export AWS_ACCESS_KEY_ID=(your access key id)
export AWS_SECRET_ACCESS_KEY=(your secret access key)

Deploy the code:

terraform init
terraform apply

Clean up when you're done:

terraform destroy

Getting Started with Resoto

https://mukeshsharma.dev/2022/09/03/how-get-started-with-resoto.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages