Tutorials

Guides and tutorials on the Fuga Cloud platform, API, Ansible, Automating Deployments and much more ...

Get our tips, special offers and updates straight into your inbox

Improved performance and more features

BRAND NEW PLATFORM

NOW IN PUBLIC BETA

Test it for FREE! More information
How to make your Kubernetes pods and -services accessible to external networks
kubernetes LBaaS container R2

How to make your Kubernetes pods and -services accessible to external networks

In this tutorial, we will show you how to setup Kubernetes’ external load balancer feature using OpenStack LBaaS v2. If you expose a service type: “LoadBalancer” in Kubernetes, a load balancer will be created automatically. This way pods and services are accessible to external networks. Introduction A Kubernetes cluster, consisting of masters and minions, is connected to a private network, which is connected via a router to the internet. This way all the nodes can access each other and the internet.
How to migrate a volume from one OpenStack provider to another
volume snapshot migrate CLI R2

How to migrate a volume from one OpenStack provider to another

In this tutorial you learn how you can migrate small (bootable) volumes from one provider to another, using images. You can not download or upload volumes from one provider to another that’s why we are going to convert the volume into an image. After converting it into an image, we can download the image and upload it to your new provider. This tutorial was tested on Fuga Cloud Release 1 and Release 2 using the OpenStack CLI tools client version 3.
How to migrate an instance from one OpenStack provider to another
instance snapshots migrate CLI R2

How to migrate an instance from one OpenStack provider to another

In this tutorial, we will show you how you can migrate an instance with ephemeral storage from one OpenStack provider to another OpenStack provider using snapshots. There are several ways of migrating instances and probably even some forms of doing this without any downtime, but this tutorial describes one of the most basic and easiest ways of doing it, using the OpenStack CLI tools. This tutorial was tested on Fuga Cloud Release 1 and Release 2 using the OpenStack CLI tools client version 3.
How to add an SSH Key Pair that can be used with the CLI
instance ssh Key Pair CLI R2

How to add an SSH Key Pair that can be used with the CLI

This tutorial only applies to our Fuga Cloud release 2 that is currently running in public beta Introduction In this tutorial, we show you how to add an SSH key pair using the OpenStack CLI tools. Because of design decisions, you can’t share keys with users in OpenStack. This raises the problem that keys created in the dashboard cannot be used with the OpenStack API credentials as used for the command line interface.
How to create a HA VIP with Corosync on OpenStack
Ansible Automation

How to create a HA VIP with Corosync on OpenStack

Running applications HA (Highly Available) has become the norm. One way of doing this is by deploying your applications in Kubernetes. Exposing your application endpoint is typically done using a loadbalancer, in Kubernetes you can run an Ingress for this. However, this still makes the node running the Ingress pod the single point of failure. A solution to this problem is running Ingress pods on multiple nodes and let these nodes share a VIP (Virtual IP).
How to connect to the Fuga Cloud ObjectStore using .NET Core
dotNET Core Object Store C-Sharp

How to connect to the Fuga Cloud ObjectStore using .NET Core

The possibilities with the Fuga Object Store are endless. One of the scenarios is connecting your .NET Core application to the Fuga Object Store, this way you can access for example files on your Object Store! In this tutorial we will teach you how to make a simple .NET Core MVC file upload application that uses the Fuga Object Store. Requirements .NET Core 2.1 SDK API keys To connect to your Fuga Object Store access and secret keys are required.
How to setup GitLab CI/CD on Fuga Cloud
gitlab ci-cd

How to setup GitLab CI/CD on Fuga Cloud

For some features in GitLab you will have to implement an email service like MailGun, which is beyond the scope of this tutorial. In this tutorial you will learn how to create a CI/CD pipeline that deploys to the Fuga Object Store using GitLab and GitLab runners. GitLab comes with built-in Continuous Integration, Continuous Deployment, and Continuous Delivery support to build, test, and deploy your application. When a commit is made, a CI/CD pipeline will be started.
How to Autoscale your GitLab runners on OpenStack
GitLab Scaling CI/CD Docker

How to Autoscale your GitLab runners on OpenStack

Autoscaling your GitLab runners on Fuga has many advantages. For example, you can only have runners active during office hours or just when you need them. The unused runners will be removed automatically. Since Fuga Cloud is pay for what you use, the total costs for your GitLab CI/CD will go down. In this tutorial, I will explain how to add autoscaling GitLab runners to your GitLab installation using GitLab CI and Docker Machine.
How to migrate your ObjectStore to the Fuga Cloud ObjectStore
Object Store Migrate AWS S3 rclone Swift

How to migrate your ObjectStore to the Fuga Cloud ObjectStore

It’s possible to move your Object Store from a different platform to the Fuga Object Store. Since almost all of the Object Stores are S3 compatible, you are free to migrate to any compatible platform. This tutorial will explain how to create a Fuga Object Store container and how to migrate from different platforms. Requirements Linux/macOS/BSD system Creating a Fuga Object Store container Before you can move your S3 compatible Object Store from a different platform to the Fuga Object Store, you first need a Fuga Object Store container.
How to connect to the Fuga Cloud ObjectStore using Flask
Flask Object Store S3 Swift Python

How to connect to the Fuga Cloud ObjectStore using Flask

Connecting to the Fuga Object Store with Flask The possibilities with the Fuga Object Store are endless. One of the scenarios is connecting your Flask application to the Fuga Object Store, this way you can access for example images on your Store! In this tutorial we will teach you how to make a simple Flask file upload application that uses the Fuga Object Store. API keys To connect to your Fuga Object Store access and secret keys are required.
How to deploy ownCloud using Ansible
Ansible ownCloud

How to deploy ownCloud using Ansible

Deploying ownCloud with Ansible With ownCloud you can achieve a similar functionality to the widely used Dropbox or Google Drive. In this tutorial you will learn on how to deploy ownCloud automatically with Ansible on Fuga cloud. Requirements Deployed instance on Fuga Cloud, with a working SSH connection. See our Getting Started guide here Ansible at least version 2.5.x For OSX Python 3 is recommended Creating security groups for HTTP(S) access To access ownCloud from outside your instance, you need to open the HTTP and HTTPS ports.
How to deploy Fuga Cloud infrastructure with Ansible
Ansible Automation

How to deploy Fuga Cloud infrastructure with Ansible

Deploy Fuga Cloud infrastructure with Ansible The possibilities with Ansible are endless. In this tutorial we will teach you on how to deploy your Fuga Cloud infrastructure automatically with Ansible. Requirements Ansible at least version 2.5.x Shade version at least 1.28.0 OpenRC file from your Fuga dashboard (This might give a security warning on some systems, we use it for our configuration) SSH Key added to Fuga Cloud -> Create or import existing keypair For OSX Python 3 is recommended Startup Create a new folder called ansible somewhere on your system, this will contain all our files for this tutorial.
How to deploy Kubernetes on Fuga Cloud
kubernetes containers

How to deploy Kubernetes on Fuga Cloud

Containerizing is a new way of deploying apps, when high availability and fast increments are required. Kubernetes is an amazing tool for orchestration of these apps. In this tutorial, we will configure Fuga and deploy Kubernetes on multiple instances. First create a security group with access to all ports for inside the security group, so these instances can communicate freely between each other. Go the security tab, create an new security group and add the rule all TCP in the ‘ingress’ direction with remote ‘Security Group’ and security group current.
OpenStack disk and container formats for images
images

OpenStack disk and container formats for images

When you add an image to your image library in Fuga Cloud, you can specify its disk and container formats. An image is a bootable filesystem that contains an operating system. Images are the basis of instances (a virtual machine in OpenStack terminology). Disk formats The disk format of a virtual machine image is the format of the underlying disk image. Virtual appliance vendors have different formats for laying out the information contained in a virtual machine disk image.
How to install a Plex Media Server
PLEX

How to install a Plex Media Server

With Plex, you can organize and stream your video and audio files from anywhere in the world. This guide will show you how to deploy your own Plex Media Server running on an Ubuntu instance located on the Fuga Cloud. Prerequisites For this tutorial you’ll need the following: A Fuga Cloud account An instance already running Ubuntu 16.04 where an ssh connection is possible. Ensure that your Ubuntu instance is up to date: sudo apt-get update && sudo apt-get upgrade Plex requires an account in order to make use of the service.
How to add extra SSH Key Pairs to an Instance
instance ssh key pair

How to add extra SSH Key Pairs to an Instance

Introduction When you’re creating an instance, one key pair is added to your instance during launch, so that you can remotely connect using SSH. After you launched your instance, you can add extra SSH key pairs. This tutorial will explain how to add extra SSH key pairs to your instance. Prerequisites: A running instance SSH access Key Pair Before you begin Check if your system already has an SSH key pair at the default location by opening a shell, or command prompt on Windows, with the following command:
How to connect to the Fuga Cloud ObjectStore
Object Store S3 Swift instance

How to connect to the Fuga Cloud ObjectStore

Using the Fuga object storage is a good way to store lots of data in use cases where speed isn’t the most important factor, but scalability is. First we need some setup. Creating an Object Store container Open the ‘Object Store’ tab and click on ‘Containers’. Click on ‘+ Container’ and give your new container a fitting name. Now we can use the Object Store inside the browser, but if we want to use it outside the browser, we need some more setup.
How to use OpenStack Swift as backup server for your computer
Swift OpenStack Restic object-store

How to use OpenStack Swift as backup server for your computer

For some of the newer devices equipped with less storage, at least compared to the immense storage requirements nowadays, finding the storage space for your rather sizable backup becomes harder and harder. Some of you might have noticed that our Fuga Cloud platform comes with a rather copious amount of storage and have wondered “Why can’t I use that storage for my rather sizable back-up?”. If this was the case, then wonder no longer for this handy tutorial will describe the process* in which we will leverage the storage potential of Fuga Cloud to ensure your data is safely stored on your Volume.
How to create a LAMP/LEMP Instance with cloud-init
instance Openstack cloud-init Ubuntu

How to create a LAMP/LEMP Instance with cloud-init

Creating a LAMP instance Launching an instance (VM) on Fuga Cloud is very fast thanks to our SSD-drives. But without the software we need, the instance is nearly useless. Of course we can always install our software manually, but that’s cumbersome and error prone. Thankfully the Openstack platform and Ubuntu support cloud-init which enables us to attach an install-script to our instance. So when we launch our instance in Horizon, our software is automagically installed with it.
How to attach a Volume to your Instance
volumes blockstorage

How to attach a Volume to your Instance

I’m going to assume you have a running instance already. Mine is called test-instance. See Create a cloud instance to see how to create an instance. STEP 1 Creating a volume Create the volume by clicking Compute -> Volumes -> Create Volume. Mine is called test-volume, will be 20 GB large and use the regular storage tier. STEP 2 Attach the volume to the instance After you have created the volume it is time to attach it to your instance.

Improved performance and more features

BRAND NEW PLATFORM

NOW IN PUBLIC BETA

Test it for FREE! More information