GithubHelp home page GithubHelp logo

aws-iops-db's Introduction

aws-iops-db (draft, wip)

Requirements

  • Terraform v0.11.0+

Usage

Clone the repository

$ git clone https://github.com/kenzanlabs/aws-iops-db.git

Enter the project root diretcory

$ cd aws-iops-db

Setup a site file

$ cat << EOF > iopstest-site
#!/bin/bash

export AWS_DEFAULT_OUTPUT=json
export AWS_DEFAULT_REGION=us-east-1
export AWS_ACCESS_KEY=...
export AWS_SECRET_KEY=...

export iopstest_owner="myname"
export iopstest_vpc_id="vpc-abc1234"
export iopstest_subnet_id="subnet-456ghjk"
export iopstest_aws_region="${AWS_DEFAULT_REGION}"
export iopstest_key_name="awspemkey"
export iopstest_key_path="/absolute/path/to/awspemkey"

export iopstest_datadog_api_key=""  # optional

bash iopstest $*
EOF

Basic syntax

$ bash iopstest-site provision database test1 test2 ... testN
$ bash iopstest-site destroy database test1 test2 ... testN

For Cassandra database

$ bash iopstest-site provision cassandra test1, test2 ... testN
$ bash iopstest-site destroy cassandra test1, test2 ... testN

For MongoDB database

$ bash iopstest-site provision mongodb test1 test2 ...  testN
$ bash iopstest-site destroy mongodb test1 test2 ... testN

Notes

  • To rerun a test, destroy before provision

References

LICENSE

Copyright 2017 Kenzan, LLC http://kenzan.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

aws-iops-db's People

Contributors

chrishickeykenzan avatar kl7902-clarivate avatar msettro avatar vivkenzan avatar kliu17 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.