AWS Elastic Beanstalk Environment Scheduling

In this short tutorial we will learn about AWS Elastic Beanstalk Environment Scheduling using a simple Shell Script that can be used as part of a possible large automation project where for example you want to save some money on your bill by turning off and on let’s say specific environments that are not used between specific hours during weekdays or weekends for environments like Development, Staging or QA. This solution can be easily used for example being as a Cronjob on one of your management / admin servers or maybe simply as a Jenkins scheduled job, also can be […]

Category: AWS | Published: 18/04/2019 | Updated: 14/05/2019

Enforce SSL on AWS Elastic Beanstalk

Enabling SSL on AWS Elastic Beanstalk with Classic Elastic Load Balancer is not that easy, it might seem impossible when for example we have to use a standard PHP Environment for our application deployment. Unfortunately Amazon AWS does not provide any option or additional tools to achieve this when using Classic Elastic Load Balancer and we will end up using being HTTP or HTTPS. There is no way to set up a redirect from HTTP to HTTPS being on Classic EB or ELB. No matter how unrealistic this it may sound taking into account that nothing publicly exposed should respond […]

Category: AWS | Published: 11/04/2019 | Updated: 23/04/2019

Enable mod_deflate on AWS Elastic Beanstalk

Enabling mod_deflate module for Apache on AWS Elastic Beanstalk can be quite challenging as the environments fine tuning currently is not possible via web console yet. Luckily AWS provides some other clever ways that allows us to perform advanced configuration for Elastic Beanstalk deployments via .ebextensions (Elastic Beanstalk Extensions). By using these extensions we can perform almost any kind tweaks in terms of software for each individual environments that we have within our EB Application. In this short tutorial we will guide you, step by step as usual how to enable and configure mod_defalte module for Apache using .ebextensions for […]

Category: AWS | Published: | Updated: 23/04/2019

Remove .php extension with NGiNX

Removing .php or .html extension from your website URL when using NGiNX can be quite frustrating, luckily there is a quick and simple solution that we can use in order to fix this and no, it is not called .htaccess as you used to do it when using Apache as web server. It is a nice and elegant solution where you can manage this straight from your .conf file. In this short tutorial we will guide you step by step how to remove .php and .html extension from your URL when using NGiNX, this is a pretty good solution to […]

Category: General | Published: 09/04/2019 | Updated: 23/04/2019

Setup AWS CLI on CentOS 7

Setting up AWS CLI on CentOS 7 is quite straight forward, no need for advanced knowledge or a huge amount of time in order to install this. AWS CLI is a very powerful toolset that helps you to manage all your AWS resources by using the Command Line Interface API calls instead of the well known classic Web Console. AWS CLI can be used and implemented in various projects like Automation, Cost Control, Security Audit etc. giving you the power to manipulate and query all AWS resources in a more granular manner. In this very short tutorial we will guide […]

Category: General | Published: | Updated: 26/08/2019

Install Python from Source

Python is one of the most used programming language and in this tutorial we will show you how to install Python from source on a CentOS 7 operating system. We can safely say that Python, conceived in the late 1980s by Guido van Rossum, comes these days preinstalled on most Linux distributions. If it is not there by default then we can always install it, for example on CentOS we can get Python using yum utility but as we know that will not be the latest Python version available. We may have a new project that requires to be built […]

Category: General | Published: | Updated: 28/05/2019