Fuga Update: The Big Advantages Of APIs And Why You Should Use Them

Fuga Update: The Big Advantages Of APIs And Why You Should Use Them

In this new update you learn more about APIs. Not in a reading mood? No worries. Relax and enjoy our podcast below.

Fuga Cloud is based on OpenStack, an open-source software platform. It contains many different projects and applications which all communicate with each other using APIs. Each project has a specific job in the cloud ecosystem. We offer a user-friendly dashboard to easily manage your infrastructure, which in turn uses the APIs to communicate and execute the requests that are made by the user in the dashboard to other parts of the Fuga Cloud. For example, creating an instance or assigning a floating IP is not executed by the dashboard itself, it only tells other projects to do so using the APIs.

The reason why I’m talking about APIs is that we are still tweaking our new registration flows for our second region and during the development of our new interface, we wanted freedom for our front-end and back-end developers. The freedom to develop without having to depend on each other. We also wanted to be able to rapidly change things, like our payment methods for example. To keep it flexible without having to rewrite the entire system when we decide to change something, we implemented an API. This way we are more flexible in which frameworks our front-end is using without worrying about the back-end application. It gives us the flexibility we want for the future and enables us with the possibilities to develop a second application beside our interface, for example, a mobile application. We could also allow other companies to develop new products for us or even offer white labeling.

So what’s an API

Let’s take a step back, to explain what an API is. CentOS 7.5 1804

An API (Application Programming Interface) is nothing more than an entry point to a system or application for other systems or applications. If you want something from another system, this system should have the functionality to provide a standardized way of communicating. The API is a set of definitions which software programs can use. The API serves as an interface between different software applications so that the used code, automatically gives each other access to information and/or functionality, without developers having to know how the other system exactly works. Through APIs, developers gain access to a huge amount of functionality, which then can easily be used in their own application. For example, if a developer creates a dashboard that includes weather data, it would be illogical for the developer to set up a weather station at home to get these data. This ‘problem’ has already been solved by other parties. An API offers the solution by ensuring that a developer can use weather data determined by another party by using the API of the weather data provider.

The Big Advantages

One of the big advantages that our APIs are used for in the Cloud is, automatically Build, automatically Deploy and automatically Scale Cloud services. Let’s just give you another example, one that is frequently used with the Fuga Cloud APIs. A developer has an application that needs to automatically scale the number of instances it’s running on if the number of visitors increases. The application itself can tell when the number of visitors is growing and that it will need an extra instance to keep the performance of the application fast enough for visitors. When this growth appears, the application can trigger a script or several scripts to run, so that the scripts can tell the API of the cloud platform to create more instances of a certain flavor and then automatically install the software needed for the application to run. Even more ideal would be if the application also knows when the number of visitors decreases so that it can switch off or remove the extra resources when they are not needed anymore.

By doing so, you will not only create a better way of working by automating all the boring repeatable tasks, you will also decrease the number of faults that are made. And of course, last but not least, your platform will be way more cost-efficient.

Bottom line

APIs are awesome, they make your applications flexible, and when used correctly they can be a very powerful tool to interact with other services.

Please visit our Academy (by using the links below) to get started using our APIs:

Getting started with Fuga API

Create a server with the OpenStack API​

Was this article helpful?


Next article:

Fuga Update: How UI/UX has become more important than ever

In this new update you learn more about the improvements we’re currently working on in the field of UI / UX. Not in a reading mood? No worries. Relax and enjoy our podcast below. In 2015 Fuga Cloud was born. A 100% IaaS service created by the team behind the Dutch Managed Service Provider, Cyso. A service that makes it as easy as possible to launch a VM within a few seconds without the intervention of a cloud provider.