Giter Club home page Giter Club logo

quick-k6-terraform's Introduction

quick-k6-terraform

I needed to spin up a simple EC2 instance, with K6, and run a load testing script.

Installing

  • Terraform
  • An AWS account

Running the command

Just do a regular old terraform apply

Prerequisites

You'll need an AWS account, and an IAM role that Terraform can use to create the EC2 instance.

A couple of out standing things

  • You'll need to modify the k6 script to whatever you are load testing
  • The instance does not shut it's self down after the k6 script has finished. DO NOT blame me for the cost of leaving it running.
  • The output is currently saved on the instance as JSON. I should add in an option for pushing the results to cloudwatch and the JSON into an S3 bucket.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

quick-k6-terraform's People

Contributors

mcvicar 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.