Getting Started with Bicep


Book Description

This book is your guide to mastering Bicep! It contains practical solutions and examples to help you jump start your journey towards Infrastructure as Code for Azure! Book Description Infrastructure as Code is crucial to becoming successful in the Azure Cloud. Azure Resource Manager allows you to create resources in Azure in a declarative way. For many years we have been using ARM Templates to declare resources in a JSON format. Although ARM Templates are very powerful, the implementation of the JSON language is hard to read, maintain and debug. Bicep, a Domain Specific Language, overcomes these issues by providing a transparent abstraction layer on top of ARM and ARM Templates. This significantly improves the authoring experience. Bicep is easy to understand at a glance and straightforward to learn regardless of your experience with other programming languages. The book starts with some history and background in Infrastructure as Code and ARM Templates. It continues by explaining Bicep and providing guidance on how to get started. After the introduction, you will start your journey by understanding the syntax of Bicep. You will start by learning the basics first and you will gradually dive deeper in the more advanced scenarios. The book also contains a dedicated chapter on a big real-world example which provides you with great insights on how to leverage Bicep for production usage. Part of this book is also the Bicep playground, visualizer and a PowerShell module for Bicep provided by the community. Sample code used in this book is available on a dedicated GitHub repository. What you will learn How to get started with the Bicep CLI and VSCode Extension Deploying Bicep files to Azure, including template specs Understanding the Bicep file structure How to use the basic concepts of variables, parameters, tags, decorators, expressions, and symbolic names Getting familiar with more advanced topics like dependencies, loops, conditions, target scopes, modules, and nesting Leveraging features like snippets, scaffolding, and linter that support you while authoring Bicep templates. Who this book is intended for DevOps engineers, developers, consultants, and Azure architects with or without experience in ARM Templates and infrastructure as code looking to get started with Bicep. Table of Contents 1 Why this book 2 What is project bicep 3 Getting started 4 Bicep file structure explained 5 Deploying bicep files to azure 6 Bicep syntax 7 Bicep playground and example code 8 Bicep visualizer 9 Template specs 10 Guest Chapter: Bicep PowerShell module 11 A real-world example 12 Alternatives to Bicep 13 Closing Notes 14 About the author




Azure Infrastructure as Code


Book Description

Azure Infrastructure as Code teaches you to use Azure’s native infrastructure as code (IaC) tools, like ARM and Bicep, to build, manage, and scale infrastructure with just a few lines of code. You’ll discover ARM templates, deployment stacks, and the powerful new language Bicep. See how easy they make it to create new environments, safely make infrastructure changes, govern your resources using Azure Policy, and prevent configuration drift. Loaded with in-depth coverage of syntax and lots of illustrative examples, this hands-on guide is a must-read for anyone looking to expand their knowledge of provisioning.




Deep-Dive Terraform on Azure


Book Description

Get started with the foundations of Infrastructure as Code and learn how Terraform can automate the deployment and management of resources on Azure. This book covers all of the software engineering practices related to Terraform and Infrastructure as Code with Azure as a cloud provider. The book starts with an introduction to Infrastructure as Code and covers basic concepts, principles, and tools, followed by an overview of Azure and Terraform that shows you how Terraform can be used to provision and manage Azure resources. You will get started writing multiple Terraform scripts and explore its various concepts. Author Ritesh Modi takes a deep dive into Terraform and teaches you about deployment and multiple resource creation using loops. Writing a reusable script using modules is discussed as well as management and administration of secrets, sensitive data, and passwords within Terraform code. You will learn to store and version Terraform scripts and know how Terraform is used in Azure DevOps pipelines. And you will write unit and integration tests for Terraform and learn its best practices. The book also highlights and walks through the Terraform Azure Provider and shows you a simple way to create a new Terraform provider. After reading this book, you will be able to write quality Terraform scripts that are secure by design, modular, and reusable in Azure. What Will You Learn Understand implementation within infrastructure and application deployments Provision resources in Azure using Terraform Use unit and integration testing Explore concepts such as local vs remote, importing state, workspaces, and backends Who This Book Is For Software engineers, DevOps professionals, and technology architects




Cloud Native Infrastructure with Azure


Book Description

The cloud is becoming the de facto home for companies ranging from enterprises to startups. Moving to the cloud means moving your applications from monolith to microservices. But once you do, running and maintaining these services brings its own level of complexity. The answer? Modularity, deployability, observability, and self-healing capacity through cloud native development. With this practical book, Nishant Singh and Michael Kehoe show you how to build a true cloud native infrastructure using Microsoft Azure or another cloud computing solution by following guidelines from the Cloud Native Computing Foundation (CNCF). DevOps and site reliability engineers will learn how adapting applications to cloud native early in the design phase helps you fully utilize the elasticity and distributed nature of the cloud. This book helps you explore: Why go cloud native? How to use infrastructure as code What it takes to containerize an application Why and how Kubernetes is the "grand orchestrator" How to create a Kubernetes cluster on Azure How observability complements monitoring How to use service discovery and a service mesh to find new territories How networking and policy management serve as gatekeepers How distributed databases and storage work




Getting Started with Containers in Azure


Book Description

Deploy and execute Microsoft Azure container and containerized applications on Azure. This second book in author Shimon Ifrah’s series on containers will help you manage and scale containers along with their applications, tools and services. You’ll start by setting up the Azure environment and quickly work through techniques and methods of managing container images with Azure Container Registry (ACR). As you move forward, deploying containerized applications with Azure container instances and Azure Kubernetes Service is discussed in detail, and in the process, you’ll see how to install Docker container host on Azure Virtual Machine. This is followed by a discussion on security in Azure containers where you’ll learn how to monitor containers and containerized applications backed by illustrative examples. Next, you will review how to scale containers along with methods for backing up and restoring containers and containerized applications on Azure. Towards the end, the book demonstrates troubleshooting applications and Docker container host issues in Azure. Getting Started with Containers in Azure will equip you to deploy, manage and secure containerized applications using Azure tools and services for containers. What You’ll Learn Explore containers on Microsoft Azure. Store Docker images on Azure Container Registry Automate deployment of container services using Azure CLI and Azure Cloud Shell Use Azure Container Instances (ACI) for smaller deployment Who This Book Is For Azure administrators, developers, and architects who want to get started and learn more about containers and containerized applications on Microsoft Azure.




Learning DevOps


Book Description

Simplify your DevOps roles with DevOps tools and techniques Key FeaturesLearn to utilize business resources effectively to increase productivity and collaborationLeverage the ultimate open source DevOps tools to achieve continuous integration and continuous delivery (CI/CD)Ensure faster time-to-market by reducing overall lead time and deployment downtimeBook Description The implementation of DevOps processes requires the efficient use of various tools, and the choice of these tools is crucial for the sustainability of projects and collaboration between development (Dev) and operations (Ops). This book presents the different patterns and tools that you can use to provision and configure an infrastructure in the cloud. You'll begin by understanding DevOps culture, the application of DevOps in cloud infrastructure, provisioning with Terraform, configuration with Ansible, and image building with Packer. You'll then be taken through source code versioning with Git and the construction of a DevOps CI/CD pipeline using Jenkins, GitLab CI, and Azure Pipelines. This DevOps handbook will also guide you in containerizing and deploying your applications with Docker and Kubernetes. You'll learn how to reduce deployment downtime with blue-green deployment and the feature flags technique, and study DevOps practices for open source projects. Finally, you'll grasp some best practices for reducing the overall application lead time to ensure faster time to market. By the end of this book, you'll have built a solid foundation in DevOps, and developed the skills necessary to enhance a traditional software delivery process using modern software delivery tools and techniques What you will learnBecome well versed with DevOps culture and its practicesUse Terraform and Packer for cloud infrastructure provisioningImplement Ansible for infrastructure configurationUse basic Git commands and understand the Git flow processBuild a DevOps pipeline with Jenkins, Azure Pipelines, and GitLab CIContainerize your applications with Docker and KubernetesCheck application quality with SonarQube and PostmanProtect DevOps processes and applications using DevSecOps toolsWho this book is for If you are a developer or a system administrator interested in understanding continuous integration, continuous delivery, and containerization with DevOps tools and techniques, this book is for you.




The Azure Cloud Native Architecture Mapbook


Book Description

Improve your Azure architecture practice and set out on a cloud and cloud-native journey with this Azure cloud native architecture guide Key FeaturesDiscover the key drivers of successful Azure architectureImplement architecture maps as a compass to tackle any challengeUnderstand architecture maps in detail with the help of practical use casesBook Description Azure offers a wide range of services that enable a million ways to architect your solutions. Complete with original maps and expert analysis, this book will help you to explore Azure and choose the best solutions for your unique requirements. Starting with the key aspects of architecture, this book shows you how to map different architectural perspectives and covers a variety of use cases for each architectural discipline. You'll get acquainted with the basic cloud vocabulary and learn which strategic aspects to consider for a successful cloud journey. As you advance through the chapters, you'll understand technical considerations from the perspective of a solutions architect. You'll then explore infrastructure aspects, such as network, disaster recovery, and high availability, and leverage Infrastructure as Code (IaC) through ARM templates, Bicep, and Terraform. The book also guides you through cloud design patterns, distributed architecture, and ecosystem solutions, such as Dapr, from an application architect's perspective. You'll work with both traditional (ETL and OLAP) and modern data practices (big data and advanced analytics) in the cloud and finally get to grips with cloud native security. By the end of this book, you'll have picked up best practices and more rounded knowledge of the different architectural perspectives. What you will learnGain overarching architectural knowledge of the Microsoft Azure cloud platformExplore the possibilities of building a full Azure solution by considering different architectural perspectivesImplement best practices for architecting and deploying Azure infrastructureReview different patterns for building a distributed application with ecosystem frameworks and solutionsGet to grips with cloud-native concepts using containerized workloadsWork with AKS (Azure Kubernetes Service) and use it with service mesh technologies to design a microservices hosting platformWho this book is for This book is for aspiring Azure Architects or anyone who specializes in security, infrastructure, data, and application architecture. If you are a developer or infrastructure engineer looking to enhance your Azure knowledge, you'll find this book useful.




Automating Microsoft Azure Infrastructure Services


Book Description

Get valuable tips and techniques for automating your cloud deployments with Azure PowerShell cmdlets, and learn how to provision Azure services on the fly. In this hands-on guide, Microsoft cloud technology expert Michael Washam shows you how to automate various management tasks and deploy solutions that are both complex and at scale. By combining the native automation capabilities of PowerShell with Azure Infrastructure Services, these powerful cmdlets enable you to create and configure virtual machines with ease. You’ll learn how to take advantage of these technologies to build complete virtual networks. If you have experience with PowerShell and Azure, you’re ready to get started. Install and authenticate cmdlets to set up your environment Create and update virtual machines with Azure platform images Manage network endpoints, access control lists, and IP addresses Use cmdlets to manage and configure virtual machine storage Automate Azure virtual networks with hybrid technologies such as site-to-site, point-to-site, and ExpressRoute Dive into advanced virtual machine provisioning capabilities and management techniques Learn tips and tricks for deleting or moving virtual machines within (or out of) your subscription




Mastering Microsoft Azure Infrastructure Services


Book Description

Understand, create, deploy, and maintain a public cloud using Microsoft Azure Mastering Microsoft Azure Infrastructure Services guides you through the process of creating and managing a public cloud and virtual network using Microsoft Azure. With step-by-step instruction and clear explanation, this book equips you with the skills required to provide services both on-premises and off-premises through full virtualization, providing a deeper understanding of Azure's capabilities as an infrastructure service. Each chapter includes online videos that visualize and enhance the concepts presented in the book, and access to a Windows app that provides instant Azure updates and demonstrates the process of going from on-premises to public cloud via Azure. Coverage includes storage customization, connectivity, virtual networks, backing up, hybrid environments, System Center management, and more, giving you everything you need to understand, evaluate, deploy, and maintain environments that utilize Microsoft Azure. Understand cost, options, and applications of Infrastructure as a Service (IaaS) Enable on- and off-premises connectivity to Azure Customize Azure templates and management processes Exploit key technologies and embrace the hybrid environment Mastering Microsoft Azure Infrastructure Services is your total solution.




Microsoft Azure Security Center


Book Description

Discover high-value Azure security insights, tips, and operational optimizations This book presents comprehensive Azure Security Center techniques for safeguarding cloud and hybrid environments. Leading Microsoft security and cloud experts Yuri Diogenes and Dr. Thomas Shinder show how to apply Azure Security Center’s full spectrum of features and capabilities to address protection, detection, and response in key operational scenarios. You’ll learn how to secure any Azure workload, and optimize virtually all facets of modern security, from policies and identity to incident response and risk management. Whatever your role in Azure security, you’ll learn how to save hours, days, or even weeks by solving problems in most efficient, reliable ways possible. Two of Microsoft’s leading cloud security experts show how to: • Assess the impact of cloud and hybrid environments on security, compliance, operations, data protection, and risk management • Master a new security paradigm for a world without traditional perimeters • Gain visibility and control to secure compute, network, storage, and application workloads • Incorporate Azure Security Center into your security operations center • Integrate Azure Security Center with Azure AD Identity Protection Center and third-party solutions • Adapt Azure Security Center’s built-in policies and definitions for your organization • Perform security assessments and implement Azure Security Center recommendations • Use incident response features to detect, investigate, and address threats • Create high-fidelity fusion alerts to focus attention on your most urgent security issues • Implement application whitelisting and just-in-time VM access • Monitor user behavior and access, and investigate compromised or misused credentials • Customize and perform operating system security baseline assessments • Leverage integrated threat intelligence to identify known bad actors