Skip to content

flomsk/welltory-code

Repository files navigation

Terraform

Prerequisites


Provide necessary credentials

  • export AWS_PROFILE=PROFILENAME

Remote state

You can setup remote state on versions.tf file.


What does this module do

It creates:

  1. IAM users in account
  2. VPC
  3. EKS with CPU and GPU Spot instances.
  4. S3 Bucket for each user with restricted policy.
  5. DocumentDB cluster for each user. (TBD: IAM Auth)
  6. Cloudwatch alarms on S3 BytesDownload metric and DocDB NetworkTransmitThroughput metric. (TBD: Correct dimensions)

Working with infrastructure

  1. Setup terraform.tfvars.
  2. (Optional) Make sure you specified correct bucket in versions.tf in backend "s3" map.
  3. Check your installation with terraform plan
  4. If everything works for you - terraform apply

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages