Posts

Cloud Conf 2017

Last week I have been at the great yearly appointment here in Turin: Cloud Conf '17 . This event, now at its 5 th edition, always gives an overview of on-going projects and state-of-the-art technologies. But never like this year, the organizers Gabriele Mittica ( @GabrieleMittica ) and Walter Dal Mut ( @walterdalmut ), with their company Corley Cloud ( @CorleyCloud ) succeeded in mixing such a variety of topics for talks, that really allowed us to touch where technology is and where it is going. From Microservices to Serverless   For me it was very interesting to comprehend that few years ago we started massively splitting architecture of backend applications from legacy servers into small pieces of microservices communicating via API. Nowadays the same it's happening with the applications themselves; the serverless paradigm is changing the overview of application development in the cloud environment. You now will split an application into a large numbe...

Scaling Host on Amazon AWS EC2 using Ansible

It's already a long time since I started playing around with Ansible. Actually I was curious about other CM (Configuration Management) software tools like SaltStack , Chef or Puppet but as long as I started looking for them I jumped into a book which compares and explains them, giving a real taste of all of them. It turns out that Ansible was both powerful and simple to learn and without particular requested backgrounds. What captured early my attention was the possibility to deploy quickly host machines on Amazon AWS using EC2 and the corresponding Ec2 Ansible module , since I haven't a “real” set of machines to play with. Using EC2 hosts I can easily test my configuration without worrying about which machine I am using, moreover using micro-instances these tests are almost priceless (as long as you remember to stop them from time to time!). What I wanted to create is a system to deploy on Amazon AWS a scalable set of instances of Apache Tomcat container proxied vi...

Connect To a PPTP VPN from an Ubuntu Server using command line

I ended up in handling tens of linux servers remotely and as a developer running into sysadmin tasks is quite common. That's one of the reasons which make me become a command-line lover. Anyway, in this situation the major issue for me is to make Google understand what am I really looking for, since this kind of problem is usually faced in a Desktop or GUI-based Ubuntu environment. As I said it was really hard to let Google find something useful for my purpose, but after some heavy digging I could figure out how I should proceed The Ubuntu version on which I perform this setup is a 12.04 LTS, so I can not guarantee for other versions. And in addiction to that often the information retrieved belongs to old Ubuntu releases. In any case this is how I proceeded. Note 1 : you would use your favourite text editor (nano, pico, vim) where I may refer to VIM Note 2 : All the following commands are intended to be executed as superuser (using sudo or being root) Note 3 : the followi...