A little story about brew, Firefox 47, Selenium and Capybara

I am quite a big fan of brew and brew cask. I switched from Linux to OSX less than a year ago and both of them gave me immediately the feel of being at home with a “standardized” way to handle the installation of applications on my system.

Yes, I know there are different conflicting opinions regarding how brew works under the hood like where it puts the installed applications, how it symlinks them and how it handles different app versions. Sincerely I never paid much attention to these discussions (my bad). For me it works quite well as it gives me the feel to have an organized and clean system.

Personally I also like to have my system steadily up-to-date and to achieve this goal I constantly use a brew update everything command that I built (or found?…sorry, I don’t remember XD) which automatically updates all the applications, “CLI and GUI based”, I’ve installed:

brew update && brew upgrade && brew cask list | xargs brew cask install --force && brew cleanup --force && brew cask cleanup --force

What it does is to update both brew and brew cask repositories, upgrade the installed applications (again, “CLI and GUI based”) and then do a cleanup by removing the old version of the applications.

Launching this command is quite disruptive considering that it forces the removal of the old version of the apps. So I do not feel like recommend it unless you’re able to handle some occasional problems.

A few days ago I ran indeed in one of these problems.

Continue reading “A little story about brew, Firefox 47, Selenium and Capybara”

AWS Summit Milan Keynote recap

Last 14th of April I had the opportunity to attend the AWS Summit here in Milan.

The agenda was really dense and rich of interesting contents. Moreover, thanks to some Amazon partners, many hands-on labs were organized during the day. They were focused on letting the attendants get in touch with many of the Amazon Web Services by granting them the possibility to interact with valid and prepared experts.
As for the presentation sessions they were divided into three parallel “channels” focused respectively on live demos, enterprise & security and big data & analytics.

Continue reading “AWS Summit Milan Keynote recap”

CloudConf 2016

Edit: despite the time passed since I wrote this article it seems that there is still someone that is finding it interesting and entertaining! I’m really happy about it and so, thanks a lot Eric! 😄

Regarding interesting posts let me grab the chance to suggest this one wrote by James Crace of Cloudwards 👌.
Go on and take a look at it, I’ll wait you here don’t worry 😉

…oh there you are, welcome back! Ejoy my post! 😁

Continue reading “CloudConf 2016”

A few (silly) tips about AWS EC2 instances “backup/migration”

EC2 instances are often considered long lasting resources in charge to deliver the Web applications deployed on them.
This is actually a wrong belief as their nature is instrinsically ephemeral and they should be considered reproducible assets in the context of a much larger infrastructure.

Continue reading “A few (silly) tips about AWS EC2 instances “backup/migration””

ECS and KISS dockerization of WordPress (Part 2)

‘Two article ago’ I wrote about my initial experience with Docker and ECS, the container service, built on top of EC2, offered by Amazon. Here it is if you want to take a look.

Today I want to continue in that direction describing the configuration of containers (or better container) I choose to serve the application selected as guinea pig to try ECS. Just as a reminder, the app was an almost standard WordPress blog with a custom theme and a few plugins.

Continue reading “ECS and KISS dockerization of WordPress (Part 2)”

Bash quirk in Dockerfile

In my last article I wrote about my initial experience with ECS, Docker and WordPress.

While already practical with the core concepts of Docker, after learning the basics of ECS and creating a working Dockerfile I encountered the need to dive deeper in many aspects of the “platform” and the technology under discussion.

Continue reading “Bash quirk in Dockerfile”

ECS and KISS dockerization of WordPress

ECS (EC2 Container Service) is one of the latest Web services released by Amazon and it is among the cool kids around. Why? Well it let you deploy and administer Docker containers by integrating deeply with the other Web services offered by Amazon. To name a few, ELB (Elastic Load Balancer), Launching Configuration and Auto Scaling Groups (ASG).

At the base of ECS reside two fundamental concepts, tasks and services.

Continue reading “ECS and KISS dockerization of WordPress”

Milan Codemotion 2015

Last week Milan hosted one of the events that I personally find more interesting among all those held in Italy. Together oviously with its twin, the Rome Codemotion 😉

The reason why I value a lot Codemotion events and conferences is that they really encompass many different fields of the tech industry and so they gather a lot of people with different backgrounds and expertises.

Continue reading “Milan Codemotion 2015”