concept access in category azure

This is an excerpt from Manning's book Azure Storage, Streaming, and Batch Analytics: A guide for data engineers.
The open source community answered the challenge of building web-scale data systems. Hadoop makes it easy to access vast disk storage. Spark provides a fast and highly available logging endpoint. NoSQL databases give users access to large stores of data quickly. Languages like Python and R make deep dives into huge flat files possible. Analysts and data scientists write algorithms and complex queries to draw conclusions from the data. But this new environment still requires system administrators to build and maintain servers in their data center.
The Event Hubs namespace can be thought of as the gateway or load balancer for one or more Event Hubs. It lets applications use common connection strings to access multiple Hubs for sending and receiving. It also allows you to create SAS keys that grant access to read and write to the Hubs in the namespace. By acting as a gateway in front of your Event Hub, the namespace can route traffic to a second Hub if there is a regional outage.
Listing 6.7. Create firewall rule to allow access by Azure resources
New-AzSqlServerFirewallRule -ResourceGroupName "ade-dev-eastus2" <lineArrow/>-ServerName "ade-dev-eastus2-sql" #1 <lineArrow/>-AllowAllAzureIPs #2 New-AzSqlServerFirewallRule -ResourceGroupName "ade-dev-eastus2" <lineArrow/>-ServerName "ade-dev-eastus2-sql" #1 <lineArrow/>-FirewallRuleName "Onpremises" #3 <lineArrow/>-StartIpAddress "192.168.0.198" #4 <lineArrow/>-EndIpAddress "192.168.0.198" #5

This is an excerpt from Manning's book Learn Azure in a Month of Lunches, Second Edition.
Software as a Service (SaaS) --You just need access to software, with a vendor providing everything else. Developers can build against an existing platform to provide customizations or unique features without having to maintain a large code base. This approach is often daunting at first, but you likely already know about and use a successful SaaS offering such as Salesforce, Office 365, or the Google suite of Mail or Docs. You use email, create documents or presentations, or manage customer contact information and sales information. Your focus is on the content that you create and manage, not on how to make the application run.
Chapter 14 discussed how to encrypt your data and VMs. This process is a great first step, and we briefly looked at how to create and use encryption keys stored with the Azure Key Vault service. Secure data such as keys, secrets, and certificates is best stored in a digital vault like a key vault, which can centrally manage, issue, and audit the use of your critical credentials and data. As your applications and services need access to different resources, they can automatically request, retrieve, and use these keys, secrets, and credentials. In this chapter, you’ll learn why and how to create a secure key vault, control access, and then store and retrieve secrets and certificates.
Figure 15.4 When you create a managed identity for a VM, a service principal is created in Azure Active Directory. This service principal is a special type of account that can be used for resources to authenticate themselves. Then this VM uses the Instance Metadata Service endpoint to makes requests for access to resources. The endpoint connects to Azure AD to request access tokens when the VM needs to request data from other services. When an access token is returned, it can be used to request access to Azure resources, such as a key vault.
![]()
A managed identity lets you create a special kind of account that can be used by an Azure resource, like a VM. If you’ve used a directory service such as Active Directory, a computer account is often used to identify and grant access to various network resources that a computer needs. You don’t create and use regular user accounts for this type of authentication, which improves security: you can grant a restrictive set of permissions just to a computer rather than also worrying about user permissions and shared folder access, for example.
A managed identity is like a computer account, but it’s stored in Azure Active Directory (Azure AD). The identity, called a service principal, is unique to each VM and can be used to assign permissions to other Azure resources, such as an Azure Storage account or key vault. The VM has permissions to access those resources, so you can script tasks (such as with Azure Automation, which we’ll explore in chapter 18) that require no user intervention or prompts for usernames and passwords. The VMs authenticate themselves, and the Azure platform authorizes access to their assigned resources.
echo $database_password