Benefits of Cloud Computing
Benefits of Cloud Computing
Hybrid Cloud – using both on-premise and a cloud service provider and
they connected together and there is lot of diff networking services that
you can use that will facilitate the connection b/w the two, in this case we
are using express route, express route is a dedicated connection running
from your on-premise data center to azure network.
High Availability – your ability for your service to remain available by
ensuring there is no single point of failure. If you have a server which runs
web application if anything happened to a single server, traffic could
always be routed to other servers that way your service would remain
available.
Now having multiple servers in multiple datacenters because something
could happen to a data center, it could become unavailable because of
networking issue so being able to route the traffic that way you are going
to remain highly available. And running workload across multiple
availability zones so one or two data centers becomes unavailable your
service will remain available. Now to distribute the traffic or manage the
traffic to all three we have azure load balancer come and play.
Azure Load Balancer – LB allows you to evenly distribute traffic to multiple
servers in one or more data centers. If a datacentre or server become
unavailable (unhealthy) the load balancer will route the traffic to only
available data centers with servers.
Paired regions: each region is paired with another region 300 miles away.
Why because if one region is being updated then other region is still
available, if you are planning to make sure that you never have downtime,
you can put your resources in that paired regions so you have high
availability, so some azure services rely on paired regions for disaster
recovery, so when you turn on those services automatically launch in that
paired region. One service which would help you leverage your paid
region service called azure geo redundant storage (GRS).
Geographies:
Azure divides the world into geographies that are defined by geopolitical
boundaries or country borders. An Azure geography is containing two or
more regions that preserve data residency and compliance boundaries.
Azure Geographies: United States, Azure Government (US), Canada,
Brazil, Mexico. Ex: I am in Canada and I work for Canada the data will
remain within Canada for whatever government regulatory regions so you
use Canada geography
Each region belongs to a single geography and has specific service
availability, compliance, and data residency/sovereignty rules applied to
it.
Fault Domain
Fault domains define the group of virtual machines that share a
common power source and network switch.
Each and every fault domain contains some racks and each rack
contains virtual machine.
If there is a failure in the fault domain then all the resources in the
fault domain become unavailable.
Update Domains
Virtual machines get update domains automatically once they are
put inside availability set.
All virtual machines within that update domain will reboot together.
Update domains are used for patching of the virtual machines.
Only one update domain would be updated at the time
Key Points to remember
You need to create virtual machines in the same resource group as
the availability set.
One virtual machine can only be in one availability set.
You can assign virtual machines to the availability set only during
the creation of virtual machines.
You should create separate storage accounts for each virtual
machine.
Under 1 availability set you can deploy 2000 VMs.
Routing Methods
Priority – allows you to set a primary endpoint for all traffic.
Weighted – distribute traffic according to weights.
Performance – routes users to the closest endpoint.
Geographic – direct users to a specific endpoint.
Multivalue – endpoints for IPv4/IPv6 addresses.
Subnet – map a group of end-user IP address range to a specific endpoint.
Both basic and standard protects IPv4 and IPv6 public IP addresses.
Standard has advanced capabilities to protect you against network
attacks such as logging, alerting, and telemetry.
Mitigates attacks like; Volumetric attacks – flood the network layer with
attacks.
Protocol attacks – exploit a weakness in layers 3 and 4.
Resource layer attacks – a layer 7 attack that disrupts the transmission of
data between hosts.
What is azure Firewall?
It is managed, cloud-based network security service that protects your
azure virtual network resources. Uses a static public IP address to protect
your Vnet resources. High availability is built in; no additional load
balancers are required. No additional cost for a firewall deployed in an AZ.
What is NAT?
NAT stands for Network Address Translation. In networking world there is
NAT Device which is responsible for changing the IP address. It can either
change destination or source address depending on how data has to flow.
We are using NAT to convert all traffic going towards internet or coming
from internet. NAT Device is changing change IP address to 200.0.0.1 for
the data coming from local network. NAT is used to convert all inbound
traffic (from internet to your local network) to convert destination address
to your local network’s common IP address which is 192.168.0.1
NAT has a separate role and Firewall has separate. They cannot substitute
each other. However, you need both of them if you want to communicate
between 2 networks or the internet from a local network. you must put
firewall and NAT together to manage outbound and inbound traffic.
What is DNS?
The Domain Name System (DNS) is the phonebook of the Internet. Each
device connected to the Internet has a unique IP address which other
machines use to find the device. DNS servers eliminate the need for
humans to memorize IP addresses such as 192.168.1.1 (in IPv4), or more
complex newer alphanumeric IP addresses such as
2400:cb00:2048:1::c629:d7a2 (in IPv6).
Features
Secure your data with end-to-end SSL.
Route traffic based on URL path or host header-based.
Protect your applications from common web vulnerabilities using
WAF.
Scales automatically based on your web application traffic load.
With gateway-managed cookies, you can direct subsequent traffic
from a user session to the same server.
What is Azure VPN Gateway and Types of VPN Gateway?
A virtual private network (VPN) is a type of private interconnected
network. VPNs use an encrypted tunnel within another network. Protocols:
Internet Protocol Security (IPsec) and Internet Key Exchange (IKE).
VPN gateway connections: VNet-to-VNet, Site-to-Site, and Point-to-Site
Connect on-premises data centers to Azure virtual networks through
a site-to-site connection.
Used to connect on-premises network to an azure virtual network over an
IPsec/IKE (IKEv1 or IKEv2) VPN tunnel. This type of connection requires a
VPN device located on-premises that has an externally facing public IP
address assigned to it.
Connect individual devices to Azure virtual networks through
a point-to-site connection.
It allows you to create a secure connection to your virtual network from an
individual client computer. A P2S connection is established by starting it
from the client’s computer. This solution is useful for telecommuters who
want to connect to Azure Vnet’s from a remote location such as from
home or a conference. P2S VPN is also a useful solution to use instead of
S2S VPN when you have only a few clients that need to connect to a Vnet.
As part of the P2S configuration, you install a certificate and a VPN client
configuration package, which contains the settings that allow your
computer to connect to any virtual machine or role instance within the
virtual network.
Connect Azure virtual networks to other Azure virtual networks
through a network-to-network connection.
VPN types: 2 types
Policy-Based VPNs: Policy-based VPN gateways specify statically the IP
address of packets that should be encrypted through each tunnel. Support
for IKEv1 only.
Active / Standby
On any planned maintenance or un-planned interruption affects active
instance then within 90 seconds the standby gateway will become
active automatically without any human involvement. This is excellent
feature.
Active/ Active
In this mode you have to deploy 2 VPN gateways with 2 distinct IP
Addresses. Then on-premise will have 2 VPN devices to connect with
them. With this you see how much traffic can be distributed among these
2 gateways.
Policy vs RBAC
A policy maintains compliance with the resource state, while RBAC
focuses on controlling user actions at different scopes.
Even if the user has access to perform an action, if the result is a non-
compliant resource, the policy will still block the create or update option.
Azure policy effects: Disabled, Append/Modify, Deny and Audit
ITSM
IT Service Management (ITSM) Few ITSM tools are ServiceNow, System
Center Service Manager, Provance, Cherwell. You can use IT Service
Management Connector in Azure to connect your own ITSM tools.
Log Analytics
All log data obtained by Azure Monitor shall be stored in a Log
Analytics workspace
Query simple to advanced logs.
The data is retrieved from a workspace using a log query written
using Kusto Query Language (KQL).
Log analytics agent cannot send data to Azure Monitor Metrics,
Azure Storage, or Azure Event Hubs.
Azure Arc
A hybrid cloud management platform for managing servers, Kubernetes
clusters, and applications across on-premises, multi-cloud, and edge
environments.
Centralize resource management and deploy consistent Azure services
anywhere.
Azure Arc Features
You can deploy Azure services (Azure Policy, Azure Monitor, and Azure
Defender) anywhere, allowing them to use the same tools and processes
across their entire hybrid cloud estate.
Azure Subscription: is the same as saying our azure account. There are 4
tiers of azure subscriptions: Free subscription, Pay-As-You-Go
Subscription, Enterprise Agreement and Student Subscription.
What is Serverless?
Enables you to build applications without managing infrastructure.
Abstraction of Servers
Still there is a server somewhere that you don’t need to configure just
deploy your code.
Event-Driven / Instant Scale
Your code will react to some events happened on Serverless platform or
cloud.
Micro Billing
Application can be deployed in single container or thousands of
containers. However, you will only pay when event occurred and your
function/code executes. This is micro-billing. So You don’t pay if your code
is not running. You don’t pay continuously to maintain the server, to scale,
to secure your server etc.
What is PowerShell?
PowerShell is a task automation and configuration management
framework. A command-line shell and a scripting language.
PowerShell is built on top of the .NET common Language Runtime (CLR),
and accepts and returns .NET objects.
What is SNAT?
Source Network Address Translation (SNAT) allows traffic from a private
network to go out to the internet. Virtual machines launched on a private
network can get to the internet by going through a gateway capable of
performing SNAT. The device performing NAT changes the private IP
address of the source host to public IP address.
An employee sitting inside your company LAN and behind the firewall
wants to browse google.com that time first routing decision will trigger
once it is allowed to route to the internet then SNAT process will kick off.
During SNAT process only source address of the data packet is changed
while passing through the NAT Device. SNAT can be done for the traffic
going outside from your local network. SNAT is possible from many hosts
within your local network to many hosts outside network.
What is DNAT?
DNAT changes the destination address of packets passing through the
Router. DNAT can be done for the traffic coming from outside your local
network. DNAT is possible from many hosts from outside network to only
host within your local network.