Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed small errors in spotinst docs #6093

Merged
merged 10 commits into from
May 8, 2019
2 changes: 1 addition & 1 deletion docs/providers/spotinst/guide/active-versions.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ layout: Doc


# Spotinst Functions - Active Versions # Spotinst Functions - Active Versions


Every time you update your function, a new version is being created by default. Version numbers have a unique ID that starts at 0 and incrementes by one each update. Each function version is immutable and cannot be changed. Every time you update your function, a new version is being created by default. Version numbers have a unique ID that starts at 0 and increments by one each update. Each function version is immutable and cannot be changed.


## Latest Version ## Latest Version
The 'Latest' version refers to the most recent version created by the last update. Unless otherwise specified, all incoming traffic is routed to the latest version. The 'Latest' version refers to the most recent version created by the last update. Unless otherwise specified, all incoming traffic is routed to the latest version.
Expand Down
2 changes: 1 addition & 1 deletion docs/providers/spotinst/guide/create-token.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ layout: Doc


# Spotinst Functions - Create Token # Spotinst Functions - Create Token


The Serverless Framework needs access to your Spotinst account so that it can create and manage resources on your behalf. To do this you will need either a permanent or tempary token that is linked to your account The Serverless Framework needs access to your Spotinst account so that it can create and manage resources on your behalf. To do this you will need either a permanent or temporary token that is linked to your account


## Create a Permanent Token ## Create a Permanent Token


Expand Down
4 changes: 2 additions & 2 deletions docs/providers/spotinst/guide/intro.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ layout: Doc
Spotinst Functions is a Multi-Cloud Functions as a Service (FaaS) platform that utilizes affordable compute and network infrastracture. Spotinst Functions is a Multi-Cloud Functions as a Service (FaaS) platform that utilizes affordable compute and network infrastracture.
Spotinst will take care of everything required to run and scale your code with high availability, advanced analytics and monitoring, and in low execution prices by finding the best available compute possible based on **Spot Pricing** across all cloud providers (Amazon Web Services, Microsoft Azure, Google Cloud, IBM Cloud, Oracle and even Bare-metal servers on Equinix). Spotinst will take care of everything required to run and scale your code with high availability, advanced analytics and monitoring, and in low execution prices by finding the best available compute possible based on **Spot Pricing** across all cloud providers (Amazon Web Services, Microsoft Azure, Google Cloud, IBM Cloud, Oracle and even Bare-metal servers on Equinix).


When creating a `Function`, you can specify your desired `Cloud providers`, as well as the `geographical location` (for example `US East` or `Europe`). In addtion you can defines triggers to execute the functions. When creating a `Function`, you can specify your desired `Cloud providers`, as well as the `geographical location` (for example `US East` or `Europe`). In addition you can defines triggers to execute the functions.


Using the Serverless Framework you can develop and deploy your Spotinst Functions easily through a CLI that offers structure, automation, and best practices out-of-the-box. This allows you to focus on building sophisticated, event-driven, serverless architectures, comprised of [Functions](#functions) and [Events](#events). Using the Serverless Framework you can develop and deploy your Spotinst Functions easily through a CLI that offers structure, automation, and best practices out-of-the-box. This allows you to focus on building sophisticated, event-driven, serverless architectures, comprised of [Functions](#functions) and [Events](#events).


## Core Benfits of `Spotinst Functions` ## Core Benefits of `Spotinst Functions`


1. Multi-Cloud Deployments
`(50+ Locations!)` 1. Multi-Cloud Deployments
`(50+ Locations!)`
2. 50-80% Cost Reduction `(via Cloud Spot Prices)` 2. 50-80% Cost Reduction `(via Cloud Spot Prices)`
Expand Down
2 changes: 1 addition & 1 deletion docs/providers/spotinst/guide/quick-start.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ npm install
## Deploying and Updating the Function ## Deploying and Updating the Function
Deploying a project is how you launch the project into production. Once it has been deployed, you will be able to see and edit it in the Spotinst Console. Deploying a project is how you launch the project into production. Once it has been deployed, you will be able to see and edit it in the Spotinst Console.


Before you deploy you will need to add in the environement ID into the `serverless.yml` file. The environment ID can be found on the Spotinst console under Functions. In this menu you will be able to add applications, environments and functions. An application is able to hold many environments and enivronments can hold many functions. They are mostly used for organization purposes and are at your descretion to manipulate as you like. To deploy your function you will need to select an application and environment and copy/paste the environment ID into the `serverless.yml` file under the environement tag. Before you deploy you will need to add in the environment ID into the `serverless.yml` file. The environment ID can be found on the Spotinst console under Functions. In this menu you will be able to add applications, environments and functions. An application is able to hold many environments and environments can hold many functions. They are mostly used for organization purposes and are at your descretion to manipulate as you like. To deploy your function you will need to select an application and environment and copy/paste the environment ID into the `serverless.yml` file under the environment tag.


1. **Deploying the Service** 1. **Deploying the Service**


Expand Down
2 changes: 1 addition & 1 deletion docs/providers/spotinst/guide/variables.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ There are a few ways to introduce external variables to your serverless function


Environment variables allow you to pass static information into your function so you wont have to upload sensitive or protected information in your production code. It also allows you to easily change these variables from the outside so you do not have to upload your code multiple times with different variables. Environment variables allow you to pass static information into your function so you wont have to upload sensitive or protected information in your production code. It also allows you to easily change these variables from the outside so you do not have to upload your code multiple times with different variables.


To enter your environment variables you will need to go into the Spotinst console find the function you want to add environment variables to. Then under the Configuration tab you will find the Environment Variables heading. Here you can enter as many variables you need all with an assoiated key. To enter your environment variables you will need to go into the Spotinst console find the function you want to add environment variables to. Then under the Configuration tab you will find the Environment Variables heading. Here you can enter as many variables you need all with an associated key.


Also you are able to enter in environment variables in the serverless.yml file. As a parameter under any function you can add: Also you are able to enter in environment variables in the serverless.yml file. As a parameter under any function you can add:


Expand Down