News

Das Neuste aus der Welt von Adfinis SyGroup

First System Engineer joins Adfinis IT Australia Pty Ltd.

16/11/2020

We’re thrilled to announce that our first System Engineer has officially started working at Adfinis IT Australia Pty Ltd. Andrew Roffey will make our “Following-the-sun”-principle come true and relieve our swiss employees regarding the 24/7 SLA service, which they have previously mastered alone.

It’s time to meet Andrew!

Experience and skills

I am a Linux Systems Engineer and have been for around 5 years. Before that, I already had a background on Linux and for the most part, have been using it exclusively for nearly 8 years. Python is my scripting language of choice and have dabbled elsewhere, in Perl, PHP, JavaScript, and others.

Why I chose Adfinis

I started learning about open source and free software many years ago and became very drawn to its philosophy and advantages. I wanted to work for Adfinis because the company has Linux and open source at its core. I’d also like to learn, widen my skill set in the field, meet new people and get involved with the community.

What I’m enthusiastic about – besides IT

Some of my non-IT hobbies include gardening, camping, cycling, and generally being outdoors. Like many others, I enjoy travelling and spent 6 weeks in Europe in 2019. Most of my time was spent in the UK, Germany,  and the Netherlands. I did briefly pay a visit to Switzerland, in Lucerne. The most memorable experiences were of course the mountains, the old buildings and the jingling of the cow bells.

A fun fact about me

I started learning programming when I was relatively young, at 9 years old. I mostly did VBA, HTML, JavaScript and CSS, and PHP a few years later. Whilst learning web tech I discovered Firefox which I thought was such a fantastic idea and how I first got interested in FOSS

Terraform and Ansible a Great Combination

08/10/2020

In this vlog, Robert shows you why Ansible and Terraform are such a good combination.

Maybe you’ve seen Terraform, Terraform is really good at spinning up or managing resources on any cloud provider. These can be many different types of resources, like volumes, load balancers, any kind of resources basically. Terraform is not really good at configuring these instances. Terraform can create the resources and that is about it. Ansible is really good at managing these resources. That’s why we should try to combine them. In this vlog Robert shows you how Terraform writes an Ansible inventory file.

Robert has prepared a very simple example. He will show you that Terraform will drop an inventory file that can be picked up by Ansible. The prepared Ansible Playbook then will make a mail server out of this instance. Of course, you can use any role and any task. This demo will show you that Ansible is much better in configuring the instance then Terraform is. Terraform has a few hooks that you can use, but is never as good as a configuration management system.

Conclusion

  • Terraform is really good at spinning up resources
  • Ansible is really good at managing those
  • Terraform and Ansible work very well and seamlessly together

 

How to Deploy an Application That Stores its State in a Persistent Service on Cloud Foundry

07/10/2020

What happened so far

In the last installment of this series we successfully deployed our demo app to the SUSE Cloud Application Platform Developer Sandbox.

Where should the application state be stored?

According to the point IV. of the Twelve-Factor App manifest we should treat backing services as attached resources. In our target environment, this is easy due to the fact SUSE Cloud Application Platform provides first-class tools to manage things like databases as resources.

We are going to build on the same example we used in the last blog post, but Cassperli has learned a new feature in the meantime. In its latest version it knows if it’s being deployed on CloudFoundry. If it is on Cloud Foundry and it also discovers a MongoDB database through the cfenv subsystem it will use the database to store a simple web page hit counter reminiscent of the page counters from times long gone.

How Cloudfoundry makes services accessible to applications

As part of the cfenv subsytem Cloud Foundry will set some VCAP_* environment variables that a Cloud Foundry native application may use to figure out if it is running on Cloudfoundry as well as to discover information regarding the services that have been bound to the app.

In the following example the existence of the VCAP_APPLICATION environment variable will help us figure out if we are running on Cloud Foundry and the VCAP_SERVICES environment variable will tell us what services are available to use.

These environment variables follow some simple rules and you can assume that the will follow the same basic structure on all major Cloud Foundry distros.

For most programming environments there are libraries that help you parse the variables in a consistent manner:

Using these helper libraries adds a programming environment-specific interface to the cfenv subsystem. Such libraries also isolate you from changes to the underlying cfenv spec.

Creating the backing store

You can create the MongoDB database through the web frontend of the SUSE Cloud Application Platform.
After logging into the sandbox you can create a service.

First you will navigate to “Services” in the application you deployed in the previous post.

Click the + button to create a marketplace service.

Choose the “mongodb” service and click “Next”.

Select the service plan needed by your application. In our case, we can use any recent MongoDB version that is available.

Since we started from the “Services” page on an application the app to bind to is already specified.

Call the service instance “mongodb” to the automatic configuration detection in Caasperli can discover the instance.

Wait for the service to be created and verify that it is bound to the app by looking at the service count on the application overview.

Deploying a new and improved Caasperli that uses the backing store

Next, we will update Caasperli to a version that supports using MongoDB and discovering a backing service on cloud foundry. Click on the three dots to the right of the firstmost commit in the list of commits and choose to Deploy from the menu.

Double check that the commit you are deploying is the given or a later one.

Press “Redeploy” to confirm that you want to roll out the next version of the Caasperli application.

After the service has been built by the buildpack and started. The logs will contain some output telling you that it is running on cloud foundry and that it detected the “mongodb” service.

You may now visit Caasperli at the route we deployed it to and find a happy new feature.

In the next installment of this blog series, we will be looking into other ways to deploy applications to the SUSE Cloud Application Platform.

How to Prevent Cloud Lock-In with Robert

06/10/2020

In this video, Robert demonstrates how you can prevent cloud lock-in with Terraform. Terraform allows you to describe your infrastructure as code and lets you decide on what cloud you want to use.

In this vlog, Robert de Bock will give you a short explanation about what “Cloud Lock-in” is and how you can prevent it.

What is a Cloud Lock-In

Cloud Lock-in is the situation where you can’t get away from a cloud provider because you are using many resources that are specific to that cloud provider. By using those resources, you are not able to move your workload somewhere else. Although these cloud provider services are nice to use, you basically lock yourself into a specific Cloud provider by using them.

An Example

Robert shows you Cloud formation from AWS as an example. It is a solution for everything-as-code and infrastructure-as-code. So it is a descriptive language where you can describe all the resources you need, could be machines, could be load balancers. These examples are very specific to AWS. Works well, but in this case only specifically for AWS: You’re locked-in.

The Solution

Terraform is an alternative to that. Like AWS’ Cloud formation, you describe your infrastructure as code, but Terraform is independent of any specific cloud provider. You can use the services from all cloud providers. You can even mix. So, you could for example build a machine on one cloud provider and have the load balancer on another cloud provider, how fancy is this?!

The code of Terraform is a little different from the code of AWS’ Cloud formation, but maybe you recognize that some resources.

Do you also want to be independent of your cloud providers? We’ll help you!

Robert de Bock joins Adfinis as a DevOps Architect in the Netherlands

26/08/2020

 

 

We are happy to announce, that with Robert de Bock, a first Engineer joined our team in the Netherlands – Welcome a board!

Last week, our NL-team went on a roadtrip and made it all the way down to our offices in Basel and Bern. So we already got the chance to meet Robert and, of course, were very curious about his background, his goals and everything that makes him special. We are happy to share Robert’s interview and hope you can meet him some time soon.

 

Hi Robert, welcome at Adfinis! It’s so nice to have you on board and we are really looking forward to our joint future journey. We are very interested in getting to know you and therefore ask you to tell us a bit more about your background and where in IT you are specialized in.

Thank you very much, I am looking forward to it too. As for your question: I have a strong Linux background, which I sometimes do see as a problem, because I only can do Linux. But it also has its upsides to be specialized in something. Regarding technologies, I know Terraform and Ansible very well and all kinds of technologies, where you don’t have to do things manually anymore. I kinda moved to “everything as code”, because it is much more honest, as everyone can contribute and read how it works. This shift meets good with the culture of Adfinis.

So is that also why you wanted to start working at Adfinis?

Yes I like the core values, and that the work is very broad. If you work with many different technologies, you see much more of the market than with only a single product. I worked at a bank for five years, which really is a good place to work, but it is also narrow and therefore limiting. At Adfinis we can work with different technologies, which opens the mind and I see many possibilities and the chance to discover new things to focus on. I also really like learning new things, work with people, learn from others, broadening my portfolio and getting confronted with new technologies. That’s why I see in Adfinis lots of opportunities to grow.

A keen learner with a passion for technology, I like that. And what are your interests beside IT?

As almost every dutch person, I’m really fond of water. I like swimming, sailing and diving. I once used to be a diving instructor but with three kids, there is currently just not enough time to keep it up. Architecture is also something I’m interested in. It tells you something about the time. You can walk through the streets and can see the history in it.

What about your history? What is a characteristic or a fun fact that makes Robert – Robert?

That I do something daily. This “something” can be anything: writing, painting, coding. Important is that you are not doing it for your boss, not for money, but for yourself and every day.

So back in 2014 when I started, I made a photo everyday. After working off all the ideas I had in taking photos, I started questioning myself. Why do you do this? Why do you do the things, that you do in life? So I then had to realize that I like taking pictures, but that this won’t benefit my work. So after 3 years, I then decided to start writing code in a language I really wanted to master. So now I’m doing this also for almost 3 years already.

What have I learned? That I am a slow learner. My starting point might be a bit better than the average, but then others’ learning curve is just taking off, while I’m still learning quite slow. But if you are motivated and persist, you will get much better than the rest. You will master, whatever you do daily.

Thank you so much Robert, for these personal insights. We are really looking forward to working with you and I’m already thinking about what my “something daily” could be …

Want to learn more about Robert and his work? Feel free to visit his website.
Want to learn more about Adfinis Netherlands? Feel free to get in touch.