Creating an API for Edge Computing on Alibaba Cloud

简介: Edge computing is an approach to data processing and resource management in the cloud that can dramatically improve communication between mobile applications, gadgets, and cloud nodes.

SkillsforManagingaLargeBulkofAPIs

Edge computing is an approach to data processing and resource management in the cloud that can dramatically improve communication between mobile applications, gadgets, and cloud nodes. Edge computing remains a relatively novel practice, but it is an increasingly important one as organizations move more and more data to the cloud, and use that data to power more and more endpoints.

This article explains what edge computing means and demonstrates how to set up an API service on Alibaba Cloud for use with an edge computing architecture.

What is Edge Computing?

Briefly put, edge computing is the practice of performing data processing and analytics operations on or near the devices that produce or consume that data. In other words, the data processing occurs at the “edge” of the cloud, rather than on central cloud servers.

Edge computing can help to solve important challenges that organizations face when they migrate to a cloud-based architecture and have to work with large amounts of data. In many cases, the network is the weakest link in your cloud because network bandwidth is limited, and unlike most other types of cloud resources, you cannot simply add more network bandwidth in order to scale up.

By processing data at the edge of the cloud, rather than requiring it to be uploaded and downloaded from endpoints to central cloud servers, you minimize the amount of required data transfers. When you are working with large amounts of data, this strategy offers major performance increases.

Edge Computing Examples

As an example of an edge computing use case, consider an automotive system that is connected to the cloud. If the automotive software relied on the cloud for all of its data processing needs, then bandwidth limitations, or a complete lack of connectivity when the car is unable to connect to the cloud, would pose problems.

As a result, the automotive software can be designed to adopt an edge computing model in which some data processing is performed locally. Other data is transferred to the cloud, but only in cases where the transfer is truly necessary, such as a system failure that requires data to be uploaded to the cloud in order for the problem to be monitored and addressed.

Edge computing can be used in a similar fashion to optimize the way data is processed for cloud-connected devices such as refrigerators, wearable devices and mobile phones.

Edge Computing on Alibaba Cloud

Now, let’s take a look at implementing an edge computing service on Alibaba Cloud. The most important step in this process is to create an API that will allow communication between different resources in the edge computing environment.

The screenshots below illustrate the process of creating an API with Alibaba Cloud that can be used by web, mobile, and IoT devices.

First, access the dashboard and go to the Application Services option, then look for the API Gateway and select the zone where you want to create the API.

From this screen, select the API group type, API name, security certificate, type of visibility that can be public or private, and a brief description of the API that will be created.

1

This screen can be used to configure API settings such as protocol, access method, and requests.

2

This screen shows the details of HTTP methods.

3

And here we have the request methods that the API will accept.

4

Then we have the backend definitions, such as access method, access port, and request timeout time.

5

We also have the types of codes that can be entered as a response and an example of a result.

6

And finally, here is the part that shows the details of the API that was created.

7

In addition to setting up the API, you also need, of course, to create the resources that the API will connect. Setting up a complete cloud environment for edge computing is beyond the scope of this tutorial, but it is straightforward and involves the creation or provisioning of resources such as virtual servers, networking, and Apsara databases for storage.

Conclusion

Alibaba Cloud provides an easy-to-use and intuitive interface for setting up an API for edge computing. As demonstrated above, you can select from multiple regions and configure your API’s behavior in nuanced ways. Alibaba Cloud provides a simple on-ramp for creating the API backbone of an edge computing architecture.

Bio

8

Brena Monteiro is a Fixate IO Contributor and a software engineer with experience in the analysis and development of systems. She is a free software enthusiast and an apprentice of new technologies.

目录
相关文章
|
13天前
|
机器学习/深度学习 边缘计算 人工智能
第二届边缘计算与并行、分布式计算国际学术会议(ECPDC 2025) 2025 2nd international Conference on Edge Computing, Parallel and Distributed Computing
第二届边缘计算与并行、分布式计算国际学术会议(ECPDC 2025) 2025 2nd international Conference on Edge Computing, Parallel and Distributed Computing 机器学习 计算学习理论 数据挖掘 科学计算 计算应用 数字图像处理 人工智能
45 6
|
11天前
|
边缘计算
第十一届传感云和边缘计算系统国际会议 2025 11th International Conference on Sensor-Cloud and Edge Computing System (SCECS2025)
第十一届传感云和边缘计算系统国际会议 2025 11th International Conference on Sensor-Cloud and Edge Computing System (SCECS2025)
28 1
|
1月前
|
IDE API 开发工具
沉浸式集成阿里云 OpenAPI|Alibaba Cloud API Toolkit for VS Code
Alibaba Cloud API Toolkit for VSCode 是集成了 OpenAPI 开发者门户多项功能的 VSCode 插件,开发者可以通过这个插件方便地查找API文档、进行API调试、插入SDK代码,并配置基础环境设置。我们的目标是缩短开发者在门户和IDE之间的频繁切换,实现API信息和开发流程的无缝结合,让开发者的工作变得更加高效和紧密。
沉浸式集成阿里云 OpenAPI|Alibaba Cloud API Toolkit for VS Code
|
1月前
|
存储 边缘计算 物联网
探索Edge Computing:边缘计算的崛起与实践
【10月更文挑战第3天】本文介绍了边缘计算的基本概念、工作原理、实施步骤以及面临的挑战。希望通过本文,读者能够了解边缘计算,并考虑在自己的项目中采用这种新的计算范式。
|
存储 边缘计算 安全
Edge Computing -边缘计算漫谈
随着5G 革命的爆发,Edge Computing (边缘计算) 此类词汇开始走向大众的视野,据不完全统计,自2016年起,全球的巨头们开始布局这一生态
272 0
|
监控 Dubbo Java
3.3 Spring Cloud 开发微服务 API 注册到 Nacos| 学习笔记
快速学习 3.3 Spring Cloud 开发微服务 API 注册到 Nacos。
3.3 Spring Cloud 开发微服务 API 注册到 Nacos| 学习笔记
《Visual Edge Computing Service视图计算产品发布介绍》电子版地址
《Visual Edge Computing Service视图计算产品发布介绍》PDF
45 0
《Visual Edge Computing Service视图计算产品发布介绍》电子版地址
EMQ
|
消息中间件 运维 Kubernetes
EMQX Enterprise 4.4.11 发布:CRL/OCSP Stapling、Google Cloud Pub/Sub 集成、预定义 API 密钥
EMQX Enterprise最新的4.4.11版本发布了CRL(证书吊销列表)与OCSP Stapling为客户端提供更灵活的安全防护,新增Google Cloud Pub/Sub集成帮助用户通过Google Cloud各类服务发掘更多物联网数据价值。
EMQ
155 0
EMQX Enterprise 4.4.11 发布:CRL/OCSP Stapling、Google Cloud Pub/Sub 集成、预定义 API 密钥
|
设计模式 JavaScript 小程序
Spring Cloud 微服务 API 实战开发并注册到 Eureka| 学习笔记
快速学习 Spring Cloud 微服务 API 实战开发并注册到 Eureka。
Spring Cloud 微服务 API 实战开发并注册到 Eureka| 学习笔记
|
缓存 监控 安全
2.7 Spring Cloud 微服务 API 的 Hystrix 熔断限流降级| 学习笔记
快速学习 2.7 Spring Cloud 微服务 API 的 Hystrix 熔断限流降级。
2.7 Spring Cloud 微服务 API 的 Hystrix 熔断限流降级| 学习笔记
下一篇
无影云桌面