Skip to content

Creates a mongodb ATLAS cluster with users, permissions and vpc peering with an AWS VPC

License

Notifications You must be signed in to change notification settings

sayujnath/mongodb-peering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Objective

Creates a MongoDB ATLAS cluster in the an AWS region along with user who are provided access to specifi databases. VPC peering is setup to ensure traffic between the cluster and the AWS VPC containing compute resources remain within the private AWS network.

alt text

Prerequisites

Requirement Description
Terraform Installation Instructions
MongoDB ATLAS Account and Credentials Create Account
AWS Account and CLI Credentials Create Account
Terraform Backend Setting up backend

Installation

  1. Update setup/state.tf file with an AWS cli profile with admin access, Terraform backend state and lock file using pre-configured S3 bucket and DynamoDB table.
  2. Deploy using Terraform and AWS provider
cd setup
terraform plan -out infra-plan.json
terraform apply 

About

Creates a mongodb ATLAS cluster with users, permissions and vpc peering with an AWS VPC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages