Skip to content

Examples to help get you started creating your own Spotinst serverless functions!

Notifications You must be signed in to change notification settings

amirams/spotinst-functions-examples

Repository files navigation

Spotinst Serverless Functions

Spotinst Functions WebsiteSpointst Community SlackSpotinst Serverless DocumentationSpoitinst Serverless Help

Spotinst Serverless Examples

Here are a few examples to help you get started with Spotinst Serverless Functions

Getting Started

If you are new to using Spotinst Serverless Functions you can view the documentation on the Serverless Fameworks Documentation. You will need to have the serverless framework installed on your local machine as well as set up your Spotinst credentials.

Examples

Each of the projects listed here have their own README.md that will help you set up each project and their use cases

Have an example? Fork this repository and submit a PR for review

Example Runtime
Node Spotinst API Get All Elastigroups
This example shows you how to connect to the Spotinst API and return all the Elastigroups that were created in the past hour
nodeJS
Node Spotinst API Suspend/Unsuspend Scaling Policies
This example shows you how to connect to the Spotinst API to suspend or unsupend scaling policies on your elastigroups
nodeJS
Node MySQL Connection
This example shows you how to connect to a MySQL table and insert new values or return all the entries in your table
nodeJS
Python MySQL Connection
This example shows you how to connect to a MySQL table and insert new values or return all the entries in your table
Python

About

Examples to help get you started creating your own Spotinst serverless functions!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published