Categories

azure

How to upload files to Azure Cloud Shell

As the name says, Azure Cloud Shell is a browser-accessible shell, which is used for managing Azure resources. It comes with two types of command shells Bash and PowerShell. It also g...

In azure, Nov 27, 2019

How to quickly create an Azure VM backup using the Azure CLI

In the last post, i was talking about taking Azure Virtual Machines disk snapshots, and why it’s not a good idea to replace backups with snapshots. For today’s post, i’ll write about ...

In azure, Nov 01, 2019

How to create a snapshot of an Azure VM using the Azure CLI

Snapshot is a popular term in the virtual storage world. Snapshots are a full, point-in-time copies of a system, mostly virtual machines disks, known as VHDs. We could use snapshots t...

In azure, Oct 30, 2019

How to easily Start, Stop, Restart or Delete Azure VMs

Managing Azure Virtual Machines through the Portal could be pretty straighforward. But, it requires multiple steps using the GUI. For example, you’ll have to login to the Portal first...

In azure, Oct 28, 2019

How to reset an Azure VM password

Losing and resetting passwords can be quite frustrating, especially if you are working as an IT guy, who have to reset passwords every day for other employees. The same thing could ha...

In azure, Oct 26, 2019

How to create and configure Azure Bastion

A bastion host, or also known as a Jumpbox, is a server which is exposed on the public (demilitarized zone) network for a special purpose. The bastion host is designed and configured ...

In azure, Oct 25, 2019

How to create an Azure PostgreSQL database using Azure CLI

In the previous posts, i’ve covered the creation of MySQL and MariaDB using the Azure Database service. Today, i’ll write about PostgreSQL, the last one Azure’s Database service to of...

In azure, Oct 23, 2019

How to create an Azure MariaDB database using Azure CLI

Besides MySQL, MariaDB is another free open source relation database under the GNU General Public License, that is often compared to MySQL. That’s because MariaDB is a fork of the MyS...

In azure, Oct 22, 2019

How to create an Azure MySQL database using Azure CLI

MySQL is one of the most used open source relation database management system (RDBMS) with a client-server model. It’s most commonly used as a web database, although it can have many ...

In azure, Oct 18, 2019

How to backup and restore an Azure SQL database using Azure CLI

You cannot think of a SQL Server Administration or any kind of a relational and non-relational database administration without the two magic words: backup and restore. Backing up a da...

In azure, Oct 17, 2019

How to rename an Azure SQL database using Azure CLI

As a part of an Azure SQL Database administration series, this post will be a follow up from the last one, where i will write about renaming Azure SQL database, which is kind of a com...

In azure, Oct 14, 2019

How to recover lost admin password for an Azure SQL database using Azure CLI

A very common task that i’m used to as a DevOps engineer working in the cloud, is resetting forgotten or lost passwords for server or database access. Although one of the best practic...

In azure, Oct 13, 2019

How to create and configure Azure SQL Database using Azure CLI

Azure SQL Database is an Azure cloud managed service that provides relational database-as-a-service (DBaaS). In other words, you can migrate or scale on-premise SQL databases without ...

In azure, Oct 12, 2019

How to buy custom domain name with Azure App Service Domains

Azure App Service Domains let you buy and manage top-level domains directly from the Azure Portal. These domains will be hosted on the Azure DNS Service, that you can easily map to yo...

In azure, Oct 11, 2019

How to create and manage public Azure DNS using Azure CLI

Azure DNS is a cloud-based DNS hosting service that allows you to host and manage your own domains. These domains are hosted on Azure’s global network of DNS name servers. Keep in min...

In azure, Oct 10, 2019

How to create and configure Azure CDN using Azure CLI

A Content Delivery Network (CDN) is a globally distributed group of nodes / servers that work together in order to deliver content to end users. The idea behind CDN is to provide high...

In azure, Oct 09, 2019

How to Direct-Upload to Azure Managed Disks

A few days ago, Microsoft announced the preview of direct-upload to Azure Managed Disks. So, there are two ways you could move a VHD to the Azure cloud as a managed disk: Upload the ...

In azure, Oct 08, 2019

How to create Azure Key Vault using Azure CLI

Azure Key Vault is centralized Azure cloud service that securely stores secrets. A secret can be a password, API, or even certificates. Besides Secrets Management, Azure Key Vault can...

In azure, Oct 07, 2019

How to restore deleted Azure Storage Blobs

Accidental deletion of files can happen to anyone working either on-premise or in the cloud. As a DevOps engineer who is responsible for managing access permissions to resources, the ...

In azure, Oct 04, 2019

How to copy from AWS S3 bucket to Azure Blob Storage

When we mention public cloud and devops, we often think of Amazon Web Services, Microsoft’s Azure or Google Cloud Platform. As AWS becomes dominant public cloud leader through the yea...

In azure, aws, Oct 03, 2019

Generate SAS token for Azure storage containers using Azure CLI

As a part of the Azure series, today we are going to generate SAS token for the Azure storage containers using the azure CLI. It’s pretty much the same steps as generating SAS token f...

In azure, Oct 02, 2019

Generate SAS token for blobs in Azure storage using Azure CLI

A shared access signature (SAS) provides secure and temporary access to the resources in a storage account. You can configure access to specific objects, as well as permissions and SA...

In azure, Oct 01, 2019

How to manage blobs using Azure CLI

In the last Azure post we have discussed the different types of Azure storage accounts and created one using the Azure CLI. Next, we are going to upload, download and list blob files ...

In azure, Sep 30, 2019

Create Azure storage account using Azure CLI

An Azure storage account is used to store all of your Azure data objects. For example: blobs, files, disks, tables, and queues. Even though the storage account is publicly accessible ...

In azure, Sep 27, 2019

Manage Azure subscriptions

Azure subscriptions are used for deploying and consuming Azure resources. A single Azure account can have multiple subscriptions, but there are some limitations. You can combine multi...

In azure, Sep 26, 2019

Add Azure Cloud Shell to Visual Studio Code

Visual Studio Code is a code editor developed by Microsoft, which is currently supported on Mac and Linux as well. It can be customized via extensions. Today we are going to integrate...

In azure, Sep 25, 2019

Install Azure CLI 2.0 on macOS with brew

The Azure CLI is a command-line tool that let you manage the Azure resources from your local terminal. Using the terminal can bring a lot of advantages, like being more efficient and ...

In azure, macos, Sep 24, 2019

macos

Install Azure CLI 2.0 on macOS with brew

The Azure CLI is a command-line tool that let you manage the Azure resources from your local terminal. Using the terminal can bring a lot of advantages, like being more efficient and ...

In azure, macos, Sep 24, 2019

git

Use Git Lfs with existing Bitbucket Repository

Git LFS is a Git extension that allows users to save space by storing binary files in a different location. Git LFS stands for (large file storage) and it’s a method for saving space ...

In git, Sep 28, 2019

aws

How to upload your local files to your AWS S3 bucket with AWS CLI

There are a lot of reasons for moving your local files into your AWS S3 bucket. Maybe you want to host your static files with S3 or you want to make a backup of your database, etc… In...

In aws, Oct 15, 2019

How to install AWS CLI and setup multiple named profiles on Ubuntu

The AWS CLI is an Amazon Command Line Interface that communicates with the AWS API and allows you to manage your AWS services from a terminal session from your local machine. The AWS ...

In aws, Oct 09, 2019

How to copy from AWS S3 bucket to Azure Blob Storage

When we mention public cloud and devops, we often think of Amazon Web Services, Microsoft’s Azure or Google Cloud Platform. As AWS becomes dominant public cloud leader through the yea...

In azure, aws, Oct 03, 2019

Centos 7

How to install Jenkins on Centos 7

Jenkins is an open-source tool a continuous integration and continuous delivery tool written in Java. Basically it will build, test and deploy your software projects.

In Centos 7, Oct 03, 2019

elasticsearch

How to install and setup ELK Stack on Ubuntu

ELK Stack is a combination of three open source tools which forms a log management tool. ELK Stack is a platform that helps in deep searching, analyzing, and visualizing the log gener...

In elasticsearch, Oct 12, 2019

nginx

How to create http to https Nginx redirect

As we know Nginx has a lot of great features, one of them is to redirect your website from http to https. Using https is more secure which means that the communication between the cli...

In nginx, Nov 20, 2019

How to install Nginx on Ubuntu 18.04

Nginx was created in 2004 by a Russian developer Igor Sysoev as he was frustrated with Apache and wanted to build a replacement capable of handling 10000 concurrent connections with t...

In nginx, Oct 31, 2019

How to configure Nginx as a simple and robust load balancer

Nowadays load balancers are mostly used for improving the distribution of workloads across multiple computing resources, improving the scalability, redundancy and the deliverability o...

In nginx, Oct 27, 2019