An Eventful Update

Kloudless developers can now manage their events even more efficiently using the new Events Endpoint updates. Check out what our engineers have been tinkering with below!

Kloudless Enterprise Events

Connect your Admin account and get access to organization-wide events. Enterprise Events can obtained through the normal events endpoint. The user responsible for the event is specified where applicable. 

Events Endpoint Pagination

The Events endpoint now supports requests of a specific page size and also returns the number of remaining events. It also supports only the retrieval events created after the cloud account has been connected to the Kloudless application. Additionally, a more granular list of event types is also now available, instead of + and -.

S3 Event Notifications

Event data and webhook notifications are now available for changes to data in S3 accounts. Any S3 accounts requiring this feature must be reconnected.

Whether you’re using the cloud, private installs, or Enterprise version of Kloudless, this new update enables your application to respond to activity in cloud storage more effectively.

Not a Kloudless developer yet? Click here to get started. Questions or feedback? Feel free to drop a line at hello@kloudless.com

How to connect with 1.2 billion Microsoft users

Last week at the Connect(); conference in New York, Microsoft publicly unveiled the Microsoft Graph, a unified API that enables developers to tap into Microsoft’s 1.2 billion users around the world.

There is a lot going on in the Microsoft Graph, but we will look closely at the file storage services: OneDrive (OD), OneDrive for Business (ODB), and SharePoint Online (SP).

What is the Microsoft Graph

Microsoft Graph is a unified API for connecting to Office 365.

Previously, each Office 365 service was silo’d and had its own unique API. This required developers to obtain separate access tokens and call different endpoints for each service they wanted to integrate with.

With the new unified API, features, data, and insights across Office 365 services can all be accessed from a single API.

That’s nice but..

Historically, Microsoft has not been great with APIs. Services often have multiple versions, each with multiple APIs spanning hundreds of pages of documentation.

Our implementations of OD, ODB, and SP pull from several different APIs in order to get comprehensive feature and data coverage. Of course, developers that use Kloudless are shielded from this complexity, since we offer a universal interface for integrating file storage services.

Getting started

If you’re not a Kloudless developer yet, this means that you’ll have to go through another proprietary API, integrate it into your application, and maintain it in the long run. You can read through the documentation and try out the Microsoft Graph at graph.microsoft.com.

If you have an existing integration with Office 365 service, make sure to check for feature parity between the old APIs and the new unified API before overhauling you current implementation.

We noticed several differences. Some features like adding an admin user as a site collection administrator SP are only found in the old SP APIs. Other features like listing all site collections (SP) and personal sites (ODB) are only available in the new Microsoft Graph API.

For use cases that only require basic operations, you’ll be fine switching over to the new API. Otherwise, like us, there’s a good chance you’ll find yourself mixing and matching APIs to get everything you need.

If you are using Kloudless, you’re already integrated with the Microsoft Graph! We’re dedicated to bringing you the latest and greatest, so we worked with Microsoft earlier this year to get our hands on a preview of a couple unreleased APIs, including the Office 365 Unified API.

As a result, no extra work is required to transition to the Microsoft Graph, because we’ve taken care of everything under the hood. You will automatically receive all the improvements and new features.

New features supported in Kloudless

You can access new Microsoft features via the respective Kloudless endpoints.

Events and Notifications (ODB, SP) – Real-time notifications for what’s changed in a folder.

Permissions (OD, ODB, SP) – Adding, modifying, and removing permissions on files and folders. (Coming soon)

What we think about the new Graph

We like all the talk coming out of Redmond. Unifying APIs is a mission that we can get behind.

However, a few challenges remain if you’re looking to integrate file storage APIs into your application:

  1. Uniform APIs are a great promise, but execution and timeliness matters. A few years in, OneDrive and OneDrive for Business still have many API differences.
  2. It sounds like a lot of updates are planned. If you plan on integrating directly with the new API, be prepared for several rounds of maintenance work in the near future.
  3. The Microsoft Graph will not unify the other 25+ file storage APIs like Box, Dropbox, Google Drive, Egnyte, etc.

This is definitely a step in the right direction for Microsoft to endear themselves with developers. It certainly makes our job a bit easier.

Kloudless unifies 25+ file storage services under a universal API. If you’d like to easily integrate the Microsoft services and many others, sign up for a Kloudless account and start developing for free!

Level Up: A Guide to Kloudless Enterprise Clustering (III of III)

This blog post was authored by David Thorman, who leads Ops at Kloudless.

In our last post we covered the different options for deploying Kloudless Enterprise. When deploying Kloudless Enterprise, you would start off with a single server. However, when running any application, there is a limit to how much work a single server can handle. A server can be scaled vertically by allocating more CPU cores and memory, but eventually those limits will be reached and another mechanism to increase capacity must be found. This is where clustering is useful.

Clustering allows your application to scale out horizontally rather than up which leads to two benefits: higher throughput capacity and high availability. Clustering is made possible by running more than one Kloudless Enterprise instance behind a load balancer. A load balancer is a server that accepts requests from clients and then forwards them to the backend Kloudless Enterprise servers. This allows the client to take advantage of multiple backend servers without having to manually keep track of their hostnames. The distribution of work allows the cluster to handle a higher number of requests than a single server would, resulting in greater throughput.

Screen Shot 2015-09-28 at 8.55.00 PM

The cluster can continue to serve requests in the event of a failed secondary instance, ensuring high availability. If the primary instance fails, a secondary instance will be promoted to primary, ensuring smooth disaster recovery. Each node is capable of handling similar work, and is configured to be the same size. This means the failure of a single node will not result in the cluster not being able to serve requests.

Service interruption can be minimized by ensuring that the load balancer only sends requests to nodes that it realizes are healthy. This is typically achieved via health checks that the load balancer performs. For example, in AWS, the Elastic Load Balancer’s health checks take the form of an HTTP request to each individual node in the cluster. Nodes that either don’t return or return a non-200 status code are marked as unhealthy. This allows the cluster to handle requests successfully even though there are failures.

Thanks to the HA/DR features above, the cluster can be dynamically scaled up or down without interrupting service to clients. Adding new nodes increases capacity when your service experiences periods of higher load. Removing nodes allows costs to be reduced during periods of lower load. On certain platforms ,these changes in capacity can be handled automatically either on a timed schedule or based on metrics gathered from the cluster itself. This allows you to take full advantage of the elasticity of modern IaaS platforms such as AWS without disrupting service to your customers.

This post has covered the high-level benefits of clustering and the flexibility of a Kloudless Enterprise deployment. Our configuration guide covers the technical details of deploying Kloudless Enterprise as well as a walkthrough detailing how to deploy Kloudless Enterprise in an auto-scaling cluster. The guide can be accessed by emailing us at hello@kloudless.com. Feel free to reach out to us or comment below with any questions.

Thanks for following our Kloudless Enterprise Series!

Level Up: You Call the Shots (Part II of III)

In our last post, we introduced Kloudless Enterprise, a version of our software that you can host in your own private infrastructure.

There are actually several options for deploying Kloudless: Cloud, Cloud Private Install, On-premises, and a couple more that we can’t talk about yet. But, we get it. Too many choices, too little time.

Here’s a side-by-side comparison of our current deployment options to help you quickly pick the options that’s right for you:

Cloud

Private Install

Enterprise

Manager Kloudless Kloudless You
Hosted in AWS AWS
Your or your customer’s private infrastructure
Connectors Cloud services only Cloud services only Cloud services + On-premises proxy connector
Scaling Auto-scaled based on total usage across all tenants Auto-scaled based on your usage Scaling managed by you
Availability Kloudless manages high availability Kloudless manages high availability via Enterprise Clustering. Clustering support to enable high availability
Security Data encrypted in transit and at rest. 24/7 Ops team on call Same as “Cloud” except your data is isolated. Access is restricted to your IPs Inherits your security and regulatory compliance promises. No data passes through Kloudless infrastructure

The Level Up mini series is wrapping up soon –don’t miss it! If you can’t wait until our next blog post and want to start using Kloudless Enterprise today, drop us a line at hello@kloudless.com.

Level Up: A Developer’s Intro to Kloudless Enterprise (Part I of III)

Get all the benefits of Kloudless without using Kloudless servers.

That’s right. Now, you choose where your data goes. Introducing, the latest version of Kloudless: Kloudless Enterprise.

Kloudless Enterprise is a virtual appliance that is installed to private infrastructure. This means that you can host Kloudless in your own private cloud or on-premises data center.

Unlike the Cloud or Cloud Private Install versions of our service, the data exchanged between your application and storage services never passes through Kloudless’s infrastructure. Your servers communicate directly with the file storage services.

In the next two blog posts, we’ll cover how Kloudless Enterprise differs from our Cloud Private Install and the security/performance benefits of going on-premises.

On Premises Illustration
Stay tuned for Part II! Interested in hosting Kloudless Enterprise on your own servers? Shoot us an email at hello@kloudless.com.

VIP Kloud Treatment

If you built and deployed an application without contacting us, you are using our Cloud version, which is hosted on Amazon Web Services, multi-tenant, and fully managed by us. However, as the saying goes, “too many chefs in the kitchen can ruin the broth.” (This isn’t the best analogy, plus only we can ruin our broth, but you get the point.).

For a number of reasons (data security, special support requirements, etc.), not all developers want to be part of a multi-tenant facility. That’s why we’re introducing our new VIP service: the Cloud Private Install.

Cloud Private Installs are hosted on an instance in a service provider of your choice (AWS, Azure, Rackspace, etc.), with all features from the Cloud version supported. The installation is fully managed by Kloudless, including all infrastructure requirements, security updates and application upgrades. Based on the performance and availability you need, we can come up with the right instance category and bring up the virtual appliance in the appropriate regions of the cloud provider of your choosing.

Benefits of the Cloud Private Install include:

  • Superior networking performance and data throughput (e.g. Up to 10 Gbps on AWS)
  • Multi-tenant capable: CPU affinity can be optimized for either single or multiple tenants
  • Complementary proxy tool, enabling you to connect to on-premises storage repositories in your customer’s infrastructure
  • Custom SLAs and higher tiers of support

Our Cloud version and Cloud Private Install come with 99.9% uptime and a dedicated Ops team available 24/7, so regardless of which edition you’re using, you’re in good hands.

Interested in becoming a VIP? Get started with a Kloudless developer account and drop us a line at hello@kloudless.com.

Kick Size Restrictions to the Curb

With improved Multipart and URL uploads, we can kiss goodbye to file size restrictions and say hello to efficiency.

URL Uploads

URL uploads enable files to be obtained from a URL and uploaded to a location in cloud storage. Previously, file sizes were limited to only 100 MB. Now, URL uploads can support file sizes greater than 100 MB via an automatic multipart upload.

Multipart Uploads

Multipart Uploads can directly upload large files, and now support seven additional cloud services: Azure, Amazon S3, Dropbox, Egnyte, Google Drive, OneDrive, ShareFile, SharePoint and OneDrive for Business.

Uploading in parts minimizes the consequences of failed uploads due to connection issues. Several cloud services require that files over a certain size be uploaded in parts. Developers can also parallelize uploads with Azure and Amazon S3, with support for parallel uploads to other services coming soon.

This update isn’t the last of it –follow us on Twitter and Facebook for more!

Upgrade your Toolbox: SDKs and File Explorer

Kloudless developers have a new Ruby SDK, updated Python and Java SDKs, as well as an improved File Explorer at their fingertips.

SDKs

A Ruby SDK is now available! Try it out here.

The Python and Java SDKs have been upgraded to include the Team and Permissions endpoints, as well as the Management API.

  • The Team endpoint allows developers to easily request and retrieve information on their Users and Groups.
  • The Permissions endpoint grants seamless management to the developer for user access and rights to their data.
  • The  Management API enables developers to conveniently control their Applications and API Keys.

You can access the Python SDK and Java SDK on Github, along with the rest of the Kloudless UI toolkit.

File Explorer

If you can recall, we open-sourced our File Explorer last October, but we’re not stopping there.

We’ve expanded the File Explorer’s events and methods. Check out the full list here.

The File Explorer now supports a search bar, allowing for users to easily search for and find files in an account. Improved sorting capabilities also aid in easily locating a file.

Feel free to leave us any questions, comments, or feedback regarding the Kloudless UI Toolkit by sending us an email. Not a part of the Kloudless family yet? Sign up for your free developer account here.