Coder Social home page Coder Social logo

mongo-formation's Introduction

MongoFormation

These are our CloudFormation templates to create a testbed to benchmark MongoDB in AWS using different AMIs types and Performance Optimized EBS with PIOPS.

We used the templates provided by 10gen at MongoDB website Automating Deployment with CloudFormation as a reference, modifying parts according to our needs:

  • Limit the access to only one IP/Network;
  • Deploy using the latest AMIs and two different Availability Zones;
  • Permit the use of MongoDB's REST interface;
  • Use an optimized setup;
  • Spread Replicas over optimized EBS using LVM instead of Raid10 or Raid0;
  • Add extra checks and configurations to fully automate the process;
  • Extra tags on CloudFormation objects to facilitate their identification.

Benchmark's Results are available at our blog Benchmarking MongoDB Replica Set in AWS and templates are commented at Creating MongoDB Replicas with CloudFormation. )

To use the templates

The easiest way is to download MongoStackCLNGS-2.cftemplate then go to AWS:CloudFormation -> Create New Stack -> Upload a Template File, choose the file you just downloaded. Now You can fill the form and launch the CloudFormation.

You can also use directly the RAW version of this file and use its url: https://raw.github.com/celingest/mongo-formation/master/MongoStackCLNGS-2.cftemplate in Create New Stack -> Provide a Template URL.

Our template uses an external template file located in our S3 bucket: https://s3-eu-west-1.amazonaws.com/mongodb-clngs/MongoNodeCLNGS-2.cftemplate, you can download the https://raw.github.com/celingest/mongo-formation/master/MongoNodeCLNGS-2.cftemplate file and upload it to your own URL, then modify the main template.

Update

Last template release works seamlessy also in EC2 Default VPC. You can find the more details in our Blog: MongoDB 2.4 Replicas with CloudFormation in Default VPC

Credits

Celingest

Blog Celingest

AWS Profile

mongo-formation's People

Contributors

optimiza avatar ruggerox avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.