Application Support Center function calculation function

track_ua.gif?APIVersion=0.6.0&title=%E5%87%BD%E6%95%B0%E8%AE%A1%E7%AE%97%E6%94%AF%E6%8C%81%E5%BA%94%E7%94%A8%E4%B8%AD%E5%BF%83%E5%8A%9F%E8%83%BD&author=%E9%A6%99%E4%B8%98&src=article

Foreword

Event-driven computing function is fully managed computing services. Calculated using a function, you do not need to purchase and manage server infrastructure, just write and upload code. Function calculates ready for your computing resources, flexibly and reliably run tasks, and provide the log queries, performance monitoring and alarm functions. With computing function, you can rapidly build any type of application and service, and only for the resources actually consumed mission paid.

Using the function to calculate some typical scenarios can be achieved:

  • Oss-based trigger to do photo processing
  • Based Puppeteer make screenshots of web pages or web crawlers
  • Based TensorFlow do machine learning
  • Based on the framework of a small back-end program
  • Based web application framework to do
  • and many more

From the above we can see that a typical scenario function calculating not only function, but also may be a complex applications that one or more functions, plus other cloud service resources (e.g., oss, rds, etc.) are combined, there may be based on traditional application development framework (legacy applications seamlessly migrate to the running through Custom Runtime function calculation).

What is Application Center

Application Center is a new feature provides a function to calculate the console, rather than the perspective of the perspective of the application functions to manage, deploy and monitor your application. Application Center will continue to provide application templates that you can apply a template-based console provides a key to deploying applications. Before deployment, you can provide parameters by applying a template to customize the behavior of the application, of course, you can also apply Once deployed, directly modify the function code.

The underlying implementation, we used the ROS service as the underlying implementation, application template is essentially ROS template, if you come into contact with ROS, that you will be more easy to use. Learn ROS .

Application Center renderings:

Application Center overview .gif

Why do I need Application Center

First, the application center can facilitate typical application scenarios we recurring precipitation for the application template, output function to calculate the center console application; In addition, when an application associated with a number of cloud resources, application center to provide you with the perspective of application to manage these cloud resources, more intuitive and convenient. Application Center brings value, as follows:

  • Application out of the box. You do not understand the function of convenience in computing, the computing function of the ability to quickly experience
  • 透出函数计算的能力。通过浏览应用中心有哪些应用模板,可以直观的告诉您,函数计算可以解哪些具体的业务问题,是怎么解决的
  • 零开发成本。部分应用模板是从真实场景中提炼出来,可以直接部署,并在生成环境中使用

应用中心如何使用

应用中心围绕应用的生命周期提供了一些列的管理功能,主要包含应用的创建、删除、修改、查看
和监控功能。

一、应用中心页面

在函数计算应用中心页面里,包含以下操作:

  • 新建应用。通过 “新建应用” 新建一个应用
  • 查看应用详情。可以点击应用名称查看应用的详情
  • 删除应用。点击删除按钮,删除某一个具体的应用
  • 更新应用。需要在应用详情中更新引用

image.png

二、概览页应用模板入口

在函数计算控制台概览页中,提供了一个应用模板展示区域,可以通过该区域了解应用中心有哪些应用模板,并快速基于某个应用模板创建应用。

image.png

三、新建应用

目前提供了两种方法新建应用:

  1. 通过函数计算控制台概览页中的应用模板区域快速新建应用
  2. 通过函数计算应用中心页面的 “新建应用” 按钮新建应用

新建应用向导包含两步:

  1. 选择应用模板(某些场景已经包含了选择应用模板动作,会跳过这一步向导,如:通过概览页新建应用)
  2. 配置应用并部署(一些简单的应用模板只需要填写应用名称,即可部署;一些复杂的模板可能会提供一些个性化的模板参数供用户填写)

image.png

四、应用详情

应用详情主要包含三块内容:

  1. 概览

    1. 应用包含的资源列表。通过资源列表,可以快速跳转到对应的资源详情
    2. 应用部署成功后的输出信息。不同模板的输出信息可能会不一样,有模板的定义决定
  2. 部署

    1. 应用的 ROS 模板定义
    2. 应用部署事件记录。应用的部署和更新,都会有相应的记录,当部署失败后,可以方便查看失败信息
  3. 监控

    1. 应用包含资源的各种监控指标


image.png

五、应用模板介绍

Each application will have a detailed template, template description, you can explore what to do, how to use the application of the principles and application implementation. Next to the HelloWorld Nodejs template, for example, the template description below:

Template introduced .gif

Sixth, application testing

To HelloWorld Nodejs apply a template to create, for example, the template is based on Node.js language to build a simple Web application that returns a Helloworld. We only need to enter this function through the resource list, and then perform the test function can be executed in the code tab.

Application Testing .gif

Written in the last

Application Center to apply perspective to provide you with management, application deployment and monitoring tools, as well as the service provider we can continue to precipitate the best solution for vertical scenarios, these programs, one can be provided to you as a reference; the other On the one hand, allows you to zero cost out of the box. In the future, we will provide more and more application templates also welcome to contact us and share your application template. Immediately Experience Application Center .

Guess you like

Origin yq.aliyun.com/articles/741470