Skip to content

Java examples using jclouds, the Java Multi-Cloud Toolkit, on AWS (Amazon Web Services), Microsoft Azure, Google Cloud Platform (GCP). How to manage services in these cloud providers.

License

Notifications You must be signed in to change notification settings

alfonsof/jclouds-examples

Repository files navigation

Java examples using Apache jclouds

This repo contains Java code examples using Apache jclouds, the Java Multi-Cloud Toolkit, on:

  • AWS (Amazon Web Services)
  • Microsoft Azure
  • Google Cloud Platform (GCP)

These examples show how to use Java 8 and Apache jclouds in order to manage services on public cloud providers like: AWS, Azure and Google Cloud.

Apache jclouds is an open source multi-cloud toolkit for the Java platform that gives you the freedom to create applications that are portable across clouds while giving you full control to use cloud-specific features.

Apache jclouds.

Apache jclouds allows Java developers to write software that makes use of:

  • Amazon services like EC2 and S3.
  • Azure services like Virtual Machines and Blob storage.
  • Google Cloud services like Compute Engine and Cloud Storage.

Quick start

You must have:

The code for the samples is contained in individual folders on this repository.

For instructions on running the code, please consult the README in each folder.

This is the list of examples:

Compute - CompureService:

  • jcloudscomputeservicegetlocations - Apache jclouds ComputeService Get Locations: Example of how to handle CompureService and get the available locations for CompureService.

Storage - BlobStore:

  • jcloudsblobstoregetlocations - Apache jclouds BlobStore Get Locations: Example of how to handle BlobStore containers and get the available locations for BlobStore containers.
  • jcloudsblobstorecreate - Apache jclouds BlobStore Create: Example of how to handle BlobStore containers and create a new BlobStore container.
  • jcloudsblobstoredelete - Apache jclouds BlobStore Delete: Example of how to handle BlobStore containers and delete a BlobStore container.
  • jcloudsblobstorelist - Apache jclouds BlobStore List: Example of how to handle BlobStore containers and list the blobs in a BlobStore container.
  • jcloudsblobstorelistall - Apache jclouds BlobStore List: Example of how to handle BlobStore containers and list all the containers in BlobStore.
  • jcloudsblobstoreupload - Apache jclouds BlobStore Upload: Example of how to handle BlobStore containers and upload a local file to a BlobStore container.
  • jcloudsblobstoredownload - Apache jclouds BlobStore Download: Example of how to handle BlobStore containers and download a blob from a BlobStore container to a local file.
  • jcloudsblobstoredeleteblob - Apache jclouds BlobStore Delete Object: Example of how to handle BlobStore containers and delete a blob in a BlobStore container.

License

This code is released under the MIT License. See LICENSE file.

About

Java examples using jclouds, the Java Multi-Cloud Toolkit, on AWS (Amazon Web Services), Microsoft Azure, Google Cloud Platform (GCP). How to manage services in these cloud providers.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages