What cloud solution to choose and why

There is no cloud. It’s just someone else’s computer.
Chris Watterston

The Cloud (PaaS, SaaS, IaaS, …, etc.) is a stablished as solution nowadays.

According to where is the hardware, it’s told that there’re three types of cloud implementation:

  • public: your solution it’s on provider datacenter
  • private: your cloud it’s on your own datacenter(s)
  • hybrid: your solution is on both; at external at provider’s datacenter and in your datacenter. Important, you are able to move apps, services, VM’s from one to another

Note: the same terms are used to describe if your solution is public in the Internet, or closed only for your company (private) or a mixed one (hybrid). So, let me insists, I’m describing where is your solution (hard + software). I’m not refering here to who is able to use it.

Ussually I miss another variable that impacts a lot: are you going to deploy your cloud solution in a vendor lock-in implementation or don’t? Many cloud companies offers their solution in the three environments (I think that Amazon only offers a full non on-site solution).

PROS: A ready to use solution provided by any vendor has advantages: easy and fast deploy, integration with other products (for instance: As an exemple, if we just have a look to Amazon S3 (Simple Storage Service), there’s a plenty of storage provider with S3 compatible solutions: EMC2, IBM, Veritas, Oracle (it seems that just for backup solution)).

CONS: Your footprint is that concept named vendor lock-in. Once they got you, they may charge you hidden cost and it may be painful to migrate from one cloud solution to another. Plus, on daily work you’re limited about the things you may see, modify, manage, or analyze if anythings fails. Think about this cloud infrastructure with renting a flat: there’s a landlord, you got everything ready for you as soon as you come into the flat, but… you couldn’t change anything in the house ’cause it is not yours home.

I prefer a hybrid solution based on open standards.

CONS: It costs more to get things done, but when you get it you control and decides architechture, services, and many times you may manage your resources, you are not out of the workshop while the vendor manage your solution and you don’t know what’s hoing on or what has happened during a failure. Obviously there’s a footprint too, it is not a ready-to-use solution.

PROS: On the other hand, you’re more free to manage and decide. More; hybrid is going to be the solution because the companies requires an agilty (growing, moving resources, etc.) that only can be satisfied by defining from the scratch a hybrid implementation.

Source: I found the author of the sentence There is no cloud. It’s just someone else’s computer. in the Command Line Heroes podcast Crack the Cloud_Open and it has makes me share here those ideas that I agree with.

How to modify every day login in Linux

Every time you log into a *NIX machine you are wellcomed by a text banner that varies from one *NIX to other, even among Linux distributions.

If you want to customized this message it’s fairly easy, you only have to edit (as a root) the file /etc/motd and the next login will show your new message of the day.

My two cents to a so simple task is enrich your file writting inside some ASCII art. For instance, you may use figlet to writte inside the /etc/motd file your hostname. In short:

  1. Be sure you have figlet installed in your system or install: in Fedora; type yum list figlet or (lazy way) yum list figl* and figlet may appears in one of both list, installed or available package.
  2. Add different messages to each login with fortunes. First, be sure you have fortunes installed in your Fedora and then, edit your .profile and add an invocation to the fortunes program.
    For instance, I add this:
    echo -n "### Fortune for "
    echo -n `date +%d\-\%m\-\%Y`
    echo " ###"
    /usr/games/fortune

    I get this:
    ### Fortune for 22-04-2018 ###
    Computers are useless. They can only give you answers.
    -- Pablo Picasso

    BTW, I recommend to writte the full path to the fortune’s binary ’cause it’s installed out of the usual $PATH.

If you research a few over thhe Internet you may find differente fortunes collections, such The Simpsons, or my favorites inspired by BOFH.

How to ask for root password when using sudo

A minimal improvement to your security is asking for a password when you allow normal users to execute privileges command via sudo. Usually, they just type their own password and that allows they to gaing privileged status to execute what you have set in sudo files.

You should consider change this behaviour and ask for root password. Why? it’s too easy IMHO to execute a root command because the user (or impostor) only needs to know one single password and not your root password but someone elses one.

Instead of that setting I prefer to change sudo files to this in the /etc/sudoers:

Defaults rootpw

Before do that, be sure your root password is setted and accomplish a minimul security recommendations. It will not apply in current shells, but the new ones.

Why I remove the AddThis plugin?

I’ve being using the AddThis plugin in WordPress for a quite time. I’ve have decide to eliminate it for coherence reasons.

I started to use Privacy Badger in Firefox and I realize that the AddThis give a way to make easy to share the posts I wrote but the payment is (as many others things that are for free in the Internet) they collect information about the people browsing this site, no matters if the post is shared or not.

So, as long as I’m Free Software Foundation Europe supporter (consider collaborate with FSFE) and I’ll found myself better if erase it. This are my two cents to improve your and my privacy.

Dropbox on its own datacenter

I wrotte in 2015 about Microsoft will buy Dropbox, was I wrong?

Yes and not. There were a serious threat for Dropbox according its depence from Amazon and, and that time, there were doing things togheter with MS that pointed easily to a possible adquisition.

The changes came from both companies; Microsoft started a strong positioning towards Cloud market and Dropbox started to take off from Amazon its infrastructure. Dropbox goes public and economical argues become more and more important. The truth affects both lines: going public and on the other hand keep themselves independent on its own datacenter. They both go togheter.