Code Monkey home page Code Monkey logo

cloudwedge's Introduction

CloudWedge is an AWS Cloudwatch monitoring framework that accelerates your ability to get up and running with native AWS monitoring services.

CloudWedge

View Documentation: https://cloudwedge.1strategy.com

Roadmap Ideas

  • Add more AWS services (app/src/cloudwedge/services)
  • Add multi account and multi region dashboard views
  • Review permissions
  • Provide custom dashboard that is deployed into local dns
  • Streamline performance, maybe a way to minimally track state

Project structure

|-- app
|   |-- cloudwedge-spoke.yaml                 # Spoke template, deloyed from stackset resource in cloudwedge.yaml file
|   |-- cloudwedge.yaml                       # Core template. This is the magic.
|   |-- resources                             # Step function json configurations
|   `-- src                                   # CloudWedge lambda functions and logc
|-- package.json                              # Standard use, look here for all the scripts you can run
|-- publishing
|   |-- media                                 # Various images and media assests used in the app, published to s3
|   |-- publishing.yaml                       # Template file to setup some of the resources needed to provide this to the public
|   `-- scripts                               # Bash scripts for publishing the application
|-- docs/                                     # Markdown files for the retype page, published to Github pages
`-- retype.yml                                # Configurations for making the documentation page

Developing

The application is orchestrated with a step function, so to run it locally requires providing the inputs to each lambda function. The /app/src folder has each function, and its input.json file. That can be used for simulating the input it would receive from the step function. You can progress through the functions locally by taking the output of one, and then putting it in the input of the next. Review the step functions to understand the flow between the input and outputs.

Run a lambda locally

Check out the package.json file for running the functions. You can see the AWS SAM resource listed under the script. Such as

npm run local:get runs the lambda resource defined in the cloudwedge.yaml file called GetResourcesFunction

Debug locally

You can use the built in vscode debugger to get the step through debugging experience.

  • Drop this in the code

    # πŸ›πŸ›πŸ› #
    import debugpy; debugpy.listen(('0.0.0.0', 5858)); debugpy.wait_for_client(); debugpy.breakpoint()
    # πŸ›πŸ›πŸ› #
  • run the function via the npm scripts

    npm run local:get
  • Active the vscode debug file for the given function. Check out the .vscode/launch.json for configuration details.

πŸ“š Developer Reference

Misc

AWS

Docs



πŸ§ƒ 0% Fruit Juice || 🍞 Gluten Free || πŸ‡ΊπŸ‡Έ Made In America

cloudwedge's People

Contributors

dwbelliston avatar jiravani 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.