# aliyun-jclouds **Repository Path**: anyways/aliyun-jclouds ## Basic Information - **Project Name**: aliyun-jclouds - **Description**: Jclouds components to access an implementation of Aliyun - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: https://github.com/aliyun-beta/aliyun-jclouds - **GVP Project**: No ## Statistics - **Stars**: 35 - **Forks**: 0 - **Created**: 2015-12-22 - **Last Updated**: 2023-08-29 ## Categories & Tags **Categories**: web-dev-toolkits **Tags**: None ## README ## Providers of JClouds for Aliyun [![Build Status](https://travis-ci.org/aliyun-beta/aliyun-jclouds.svg?branch=master)](https://travis-ci.org/aliyun-beta/aliyun-jclouds) [![Maven Central](https://img.shields.io/badge/maven%20central-1.0.0-brightgreen.svg)](http://mvnrepository.com/artifact/io.github.aliyun-beta) ### Introduction aliyun-jclouds adapt for jclouds to use cloud service of [aliyun](https://www.aliyun.com) ### Providers | Provider | Service | |------|------| |aliyun-ecs|ComputeService| |aliyun-oss|BlobStore| |aliyun-slb|LoadBalancerService| ### Maven io.github.aliyun-beta aliyun-ecs 1.0.0 io.github.aliyun-beta aliyun-oss 1.0.0 io.github.aliyun-beta aliyun-slb 1.0.0 ### Usage Offical documents link [Apache-jclouds](http://jclouds.apache.org/start) ###### ComputeService ComputeService computeService; String provider = "aliyun-ecs"; String key = "Your AccessKey"; String secret = "Your AccessKeySecret"; ComputeServiceContext context = ContextBuilder .newBuilder(provider) .credentials(key, secret) .buildView(ComputeServiceContext.class); computeService = context.getComputeService(); ###### BlobStore BlobStore blobStore; String provider = "aliyun-oss"; String key = "Your AccessKey"; String secret = "Your AccessKeySecret"; BlobStoreContext context = ContextBuilder .newBuilder(provider) .credentials(key, secret) .buildView(BlobStoreContext.class); blobStore = context.getBlobStore(); ###### LoadBalancerService LoadBalancerService loadBalancerService; String provider = "aliyun-slb"; String key = "Your AccessKey"; String secret = "Your AccessKeySecret"; LoadBalancerServiceContext context = ContextBuilder .newBuilder(provider) .credentials(key, secret) .buildView(LoadBalancerServiceContext.class); loadBalancerService = context.getLoadBalancerService(); ### Build > mvn package -DskipTests ### License Licensed under the Apache License, Version 2.0