Which is the problem of the datacenter

Pay for the rent for the data center

Pay for power supply, cooling, maintenance

Adding and replacing hardware takes time

Scaling is limited

Hire 24/7 team to monitor the infrastructure

How to deal with disasters? (earthquake, power shutdown, fire…)

What is Cloud ?

Cloud computing is the on-demand delivery of compute power, database storage, applications, and other IT resources

Through a cloud services platform with pay-as-you-go pricing

You can provision exactly the right type and size of computing resources you need

You can access as many resources as you need, almost instantly

Simple way to access servers…


TL;DR How to get info from Route 53 via AWS SDK Python (Boto3)

What is an API ?

API is the acronym for Application Programming Interface, which is a software intermediary that allows two applications to talk to each other. Each time you use an app like Facebook, send an instant message, or check the weather on your phone, you’re using an API.

What is Route 53?

Amazon Route 53 is a highly available and scalable cloud Domain Name System (DNS) web service. If you are not using Elastic IPs for your EC2 instances, chances are stopping and starting the server will result in different IPs after the instance…

Partitioned table

A partitioned table is a special table that is divided into segments, called partitions, that makes it easier to manage and query your data. By dividing a large table into smaller partitions, you can improve query performance, and you can control costs by reducing the number of bytes read by a query.

There are two types of table partitioning available in BigQuery:

  • Tables partitioned by ingestion time: Tables partitioned based on the data’s ingestion (load) date or arrival date.
  • Partitioned tables: Tables that are partitioned based on a TIMESTAMP or DATE column.

List all partitions:

Below query lists all partitions of a partitioned…

Google recently introduced these features, and I love it. Now, GCP has the option for you to schedule a disk snapshot from the console itself.

  • Go to Compute Engine >> Snapshots
  • Click on the Snapshot schedules tab and the following popup will appear. Click Create snapshot schedules

Cloud Network

Summary: in this tutorial, you will learn step by step how to install MySQL 8 on CentOS 7.

To install MySQL 8 on CentOS 7, you follow these steps:

Step 1. Setup Yum repository

Execute the following command to enable MySQL yum repository on CentOS:

rpm -Uvh https://repo.mysql.com/mysql80-community-release-el7-3.noarch.rpm

Step 2. Install MySQL 8 Community Server

Since the MySQL yum repository has multiple repositories configuration for multiple MySQL versions, you need to disable all repositories in mysql repo file:

sed -i 's/enabled=1/enabled=0/' /etc/yum.repos.d/mysql-community.repo

And execute the following command to install MySQL 8:

yum --enablerepo=mysql80-community install mysql-community-server

Step 3. Start MySQL Service

Use this command to start mysql service:

service mysqld start

Step 4. Show the default password for root user

When you install MySQL 8.0, the root…

This is where the process slightly varies from Ubuntu. With CentOS 7, you must first install a repository before you can install the necessary tool. The repository in question is epel and can be installed with the following command:

yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

Once the repository is installed, you can then installed the google-authenticator with the command:

yum install google-authenticator

The google-authenticator command must be run by any user who will be logging in, via ssh. As a standard user, issue the command:




At the bottom of this file, add the following:

auth required pam_google_authenticator.so




Michele Berardi

Senior DevOps Engineer.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store