Save your Money on Azure! Goodbye Azure Bastion, Welcome Cloud Shell.
Cloud Shell into an Azure virtual network

Save your Money on Azure! Goodbye Azure Bastion, Welcome Cloud Shell.

Azure Cloud Shell is a browser-based shell experience to manage and develop Azure resources. It comes with valuable tools like Terraform, Kubectl, Ansible and many more. Everything you need for a day is up in the cloud.

A regular Cloud Shell session runs in a container in a Microsoft network separate from your resources. This means that commands running inside the Container cannot access resources that can only be accessed from a specific virtual network. For example, you cannot use SSH to connect from Cloud Shell to a virtual machine with only a private IP address or use kubectl to connect to a Kubernetes cluster with locked-down access.

Well, that is in the past now. Cloud Shell got support for running directly in your Virtual Network. To make Azure Cloud Shell reach your private network resources, and allow you to reach Azure Cloud Shell, two critical Azure services are used:

Customize CloudShell Profile for VNET Isolation

  • Azure Container Instances lets you run the Cloud Shell container without overhead setting up and managing servers, Kubernetes clusters, or similar container hosts.
  • Azure Relay allows you to connect securely to your Container without having to open firewall ports and expose it directly to the Internet.

How is this compared to Azure Bastion Host?

Azure Bastion and Cloud Shell in VNet will allow you to SSH to your private VMs. However, comparing the pricing of both services is a huge difference.

While Azure Bastion would cost you 140$/month for Basic SKU and around 210$/month for Standard SKU, Azure Cloud shell is a free service but you will have to pay for Azure Relay/PrivateEndpoint Traffic which is a few dollars a month.

The only downside is that Cloud Shell in VNet is limited to Primary Regions until this date and of course, RDP is not supported.

Resources

#azure #cloud #devops #shell #ssh #cloudshell #costreduction #cloudsavings

Amr Nagy

Senior Cloud Solutions Architect @ Midis Group with expertise in Azure Cloud Solutions

2 年

Amazing my friend keep up the good work ?? , but we still need azure bastion to connect securely to windows azure vms without exposing rdp port publicly ??

要查看或添加评论,请登录

社区洞察

其他会员也浏览了