You can programmatically integrate capabilities of Object Storage Service (OSS) into your applications and automate bucket management for streamlined operations and lower management costs. This topic describes methods that you can use to integrate OSS.
Integration methods
You can choose an integration method that best fits your practical requirements to integrate OSS.
SDKs
We recommend that you use OSS SDKs to integrate OSS. OSS SDKs are available for many programming languages, such as Java, C#, Go, Python, TypeScript, PHP, and C++. OSS SDKs encapsulate the signing logic, timeout mechanisms, and retry mechanisms. A call to an OSS SDK returns a structured Response object. Integrating OSS SDKs facilitates your application development. For more information about OSS SDKs, see OSS SDKs.
OSS is also compatible with Alibaba Cloud SDKs. For more information, see Alibaba Cloud SDKs.
CLI tools
If you want to manage data in OSS by using a CLI tool, we recommend that you use ossutil. ossutil supports Windows, Linux, and macOS. For more information, see Overview.
You can also use Alibaba Cloud CLI to manage data in OSS by specifying the
aliyun
command in the terminal. For more information, see What is Alibaba Cloud CLI?
Developer tools
OSS provides various management tools that can be used to streamline OSS operations, such as uploads of large objects, signature generation, data migration, and bucket mounting. In addition, third-party tools and plug-ins available in the communities can help provide more enhancements and ease of use. For more information about common OSS tools, see OSS tools.
ROS
Resource Orchestration Service (ROS) is an Alibaba Cloud service that simplifies the management of cloud computing resources. You can create templates to define the required Alibaba Cloud resources such as Elastic Compute Service (ECS) and ApsaraDB RDS instances, as well as the dependencies between the resources. ROS automatically creates and configures all resources based on the template to implement automated deployment and O&M. For more information, see What is ROS?.
You can use OSS together with ROS to create applications. For more information, see Create an NGINX application by using OSS and ROS and Create a SharePoint 2013 application by using OSS and ROS.
Terraform
Terraform is an open-source automated resource orchestration tool that you can use to programmatically manage IT resources. Terraform CLI allows you to easily deploy configuration files to Alibaba Cloud and other supported clouds and implement version control of configuration files.
For more information, see Overview and Use Terraform to manage OSS.
Custom API encapsulation
If none of the preceding methods suits your business requirements, you can encapsulate the API in your code and initiate RESTful API requests to manage data in OSS. However, this is not the recommended method. For more information, see Overview.
Usage notes
If your access experiences an error, OSS returns information such as the error code, error message, and request ID to help you troubleshoot the error. For more information, see Overview.