Serverless logo
产品
Tencent Serverless
Tencent CLI
组件模板
Serverless 控制台
产品概览
Serverless Cloud
产品概览
适合所有人的零障碍 serverless 应用开发.
腾讯 Serverless 应用控制台
文档
Tencent Serverless
概览
CLI 命令
云函数开发
组件应用开发
使用指南
适合所有人的零障碍 serverless 应用开发.
腾讯 Serverless 应用控制台
价格
更多
介绍
关于我们
招聘岗位
联系我们
支持
专家支持
社区
讨论区
Serverless 全球官网
腾讯 Serverless 中文网
学习
博客教程
代码示例
SCF 指南
腾讯云 SCF 文档
适合所有人的零障碍 serverless 应用开发.
腾讯 Serverless 应用控制台
联系我们应用控制台
Serverless logo
Log in
产品
Tencent Serverless
Serverless CLI
组件模板
Serverless 控制台
产品概览
Serverless Cloud
产品概览
文档
Tencent Serverless
概览
CLI 命令
云函数开发
组件应用开发
使用指南
价格
更多
介绍
关于我们
招聘岗位
联系我们
支持
专家支持
社区
讨论区
Serverless 中文网
学习
博客教程
代码示例
SCF 指南
支持
应用控制台
Serverless logo
Product
Expand
Option 1Option 2Option 3
DocsPricing
Company
Expand
Feature 1
Lorem ipsum dolor emet sin dor lorem ipsum
Feature 2
Lorem ipsum dolor emet sin dor lorem ipsum
Feature 3
Lorem ipsum dolor emet sin dor lorem ipsum
Feature 4
Lorem ipsum dolor emet sin dor lorem ipsum
Search
Sales & Support
LoginSign Up
Open MenuClose Menu
Serverless Cloud - Docs

Serverless Cloud – Documentation

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Item title

Item description

X
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Item title

Item description

Serverless logo
Product
Expand
Option 1Option 2Option 3
DocsPricing
Company
Expand

Feature 1

Lorem ipsum dolor emet sin dor lorem ipsum

Feature 2

Lorem ipsum dolor emet sin dor lorem ipsum

Feature 3

Lorem ipsum dolor emet sin dor lorem ipsum

Feature 4

Lorem ipsum dolor emet sin dor lorem ipsum
Search
Sales & Support
LoginSign Up
Open MenuClose Menu
Get early access
Go to Github
Home
How it Works
Development Workflows
Building Applications
Link 1Link 1Link 1
Building Applications
Link 1Link 1Link 1
Building Applications
Link 1Link 1Link 1
Automated Testing
CLI Reference

Workflows to interate at the speed of Serverless

Serverless Cloud provides flexible workflows to make publishing and sharing your applications as easy as possible. Whether you're a single developer, or a team working on multiple projects, Serverless Cloud provides the tools you need for rapid iteration and feedback.

Services

Serverless Cloud allows you to build SERVICES within your team's ORGANIZATION. You can create as many services as you want for different use cases or applications.

Using Instances

Serverless Cloud provides every developer, stage, and preview build of a SERVICE, isolated environments called INSTANCES. Each instance is completely separate from all the other instances in a service, and even store their own copy of the data. The environments within instances are identical, so you can ensure that your application will behave exactly the same across all of them.

While instance enviroments are identical, Serverless Cloud lets you classify instances to complement your workflow.

Developer Instances

Every developer on your team gets a Developer Instance for every SERVICE they work on. Each Developer Instances is your own "personal development workspace" that automatically syncs and deploys changes from your local IDE as you code. To enable this interactive development mode, type cloud start into the CLI within your project directory. You'll immediately have access to your own cloud environment, complete with your own data store and streaming logs to help you iterate quickly.

Stages (Permanent Instances)

When you're ready to show your work to the world, you can deploy your code to a stage. These are permanent instances like prod, staging and dev. If you want to publish your code to one of these instances, type cloud deploy my-stage-name into the CLI and your CODE will be published to my-stage-name.

Previews (Ephemeral Instances)

If you want to get feedback on your application, but don't yet want to publish it to one of the permanent stages above, you can created PREVIEWS instead. Type cloud share into the CLI, and Serverless Cloud will create a preview that contains your code AND data. Previews are just like stages, except that previews will automatically expire when they are no longer being used.

Forking Existing Instances

Another powerful feature of Serverless Cloud is its "forking" capabilities. Developer Instances are just versatile working copies that can be used for developing, testing, debugging, and more. If you have an existing git workflow, you can load the current version of your code from your git repository. However, you can also clone an existing instance to give you a starting point. Type cloud clone my-stage-name into the CLI and it will copy both the code AND data from the my-stage-name instance into you Developer Instance as well as update your local working directory. This allows you to quickly begin working with the current version of the code.

Sample Workflows

Workflows are meant to be flexible, giving each unique team (or single developer) serverless superpowers.

Single Developer with a sample project

# Initialize a sample project with interactive development mode on Cloud Shell
> cloud

# Edit your code locally and watch the changes automatically
# deploy into your own developer instance

# Deploy your code to "production"
> deploy production

Single Developer editing/debugging an existing project

# Clone the "dev" stage
> cloud clone dev

# Enable interactive development mode
> cloud

# Edit your code locally and test the changes in
# your developer instance

# Deploy your code back to "dev"
> deploy dev

Team collaborating on a project

# Enable interactive development mode
> cloud

# Edit code locally and test the changes in your
# developer instance

# Share your code and data with your team in a preview instance
> share feature-1

# Continue to work on your developer instance and make changes as feedback comes in.
# Share the changes with your team (to the same preview instance)
> share feature-1 --overwrite

# Once the team is happy with the changes, publish to "dev"
# for additional integration tests and feedback
> deploy dev

Want to get started building apps on Serverless Cloud?

Sign up for early access

Serverless logo
Product
Expand
Option 1Option 2Option 3
DocsPricing
Company
Expand

Feature 1

Lorem ipsum dolor emet sin dor lorem ipsum

Feature 2

Lorem ipsum dolor emet sin dor lorem ipsum

Feature 3

Lorem ipsum dolor emet sin dor lorem ipsum

Feature 4

Lorem ipsum dolor emet sin dor lorem ipsum
Search
Sales & Support
LoginSign Up
Open MenuClose Menu
Tencent Serverless
Serverless CLI
组件模板
控制台(即将上线)
Serverless 控制台
产品概览
Serverless Cloud
产品概览
文档案例
说明文档SCF 指南参考示例博客教程腾讯云 SCF 文档
交流社区
讨论区Serverless 全球官网腾讯 Serverless 中文网
技术支持
联系我们专家支持
公司介绍
关于我们招聘岗位合作伙伴
订阅我们的每月更新
订阅成功!
抱歉!订阅错误,请尝试其他方式和我们去的联系。
© 2021 Serverless, Inc. All rights reserved.
服务条款隐私政策