Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 1.25 KB

README.md

File metadata and controls

45 lines (30 loc) · 1.25 KB

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