ENGLISH

Immutability: Recipe for Cloud Migration Success: Strategies for Cloud Migration, IaC Implementation, and the Achievement of DevSecOps Goals

Book information

Publisher
BPB Publications
Year
2023
ISBN
9789355512093
Language
english
Format
EPUB
Filesize
3 MB (3313298 bytes)
Pages
238\0
Time added
2025-04-05 18:53:37

Description

Cloud Migration is More Than Infrastructure Migration and Crucial to Business Economy Key Features ● Factors for a successful transition from on-premises to cloud infrastructure, as experienced by various businesses. ● Several strategies to build secure, immutable infrastructure using Infrastructure as Code (IaC). ● Important aspects of pipeline security, multi-tier application migration, disaster recovery, and much more. Description When migrating to the cloud, how can you minimize the time and effort spent on technical fixes? Creating a fault-tolerant, secure, automated, and scalable cloud on-demand infrastructure is a costly and time-consuming organizational operation. This book teaches you how to migrate infrastructure to the cloud utilizing programmable infrastructure. This book explains various ways to implement immutable infrastructure for scalable and secure infrastructure. To begin with, the book educates you on how to spot problems in today's infrastructure. The book explores how to use programmable infrastructure to provide immutability at each tier level of a multitier application. It also explains how to use the Unified Modeling Language (UML) to create high-level design architecture artifacts since it is the most straightforward tool for depicting the layout of a sophisticated program. Finally, the book discusses a detailed CI/CD workflow for 3-tier custom-developed application infrastructure. The reader will complete reading this book with a firm grasp of the fundamentals necessary to execute DevSecOps across a whole infrastructure. The book explains how to put into practice the cutting-edge cloud methodology of infrastructure provisioning using CI/CD pipelines in detail. In addition, the book gives a complete understanding of how to set up immutable multitier infrastructure utilizing programmable infrastructure/infrastructure as Code. What you will learn ● Dos and Don'ts while implementing immutable infrastructure. ● Locating security flaws and incorrect settings across all cloud service providers. ● Applying organization-specific security policies and validation during coding. ● Handling Database Upgrades and Operating System Patches. ● Learning the impact assessment on the infrastructure CI/CD pipeline. ● Learning the ins and outs of public cloud systems like Amazon Web Services. ● Commencing the process of continuous IaC delivery and IaC deployment. Who this book is for Professionals in Cloud, DevOps, DevSecOps, and Software development will find several career-enhancing surprises in this book. In addition, reading about the cultural and process-specific challenges will benefit the leadership team, including the CTO, CIO, Enterprise Architect, and Infrastructure Head. Book Title Inner title Copyright Dedicated About the Author About the Reviewer Acknowledgement Preface Code Bundle and Coloured Images Piracy Table of Contents Chapter 1: What is Culture Formation? Introduction Structure Objectives Lessons learned from the past—An example Public Cloud Service Providers’(CSP) offerings Infrastructure As A Service and bare metal in the cloud Platform As A Service Software As A Service FaaS (Function As a Service) or Serverless Major migration strategies Rehosting Manual rehosting Automation using migration too Replatforming Repurchasing Refactoring or rearchitecting Retiring Retaining Impacts on other aspects of various migration strategies Workload architectural pattern The mainstream inhouse application follows monolith architecture Monolith architecture Microservices architecture Commercial Of The Shelf(COTS)/Modified of the Shelf (MOTS) product Understanding of technical debts Planning to do budgeting around OS upgrades even in the cloud Monthly or quarterly operating system patching IT Ops team handling infrastructure tickets like on-premises Application team still requests to stand-up upcoming infrastructure components manually Outage related to the environment-related disparity Planning to allocate IT operations budget the same as on-premises Planning about security handling Conclusion Points to remember Chapter 2: What Past Taught Us? Introduction Structure Objectives Challenges Security Costly patching cycle management No green computing Issues only during production Costly upgrades across environments Time-consuming capacity exercise Handcrafted infrastructure Outages for significant infrastructure changes Conclusion Points to remember Chapter 3: What is Infrastructure Immutability? Introduction Structure Objectives Understanding repair versus rebuild or replace Repair Rebuild or replace Implications of immutable infrastructure in the cloud versus on-premises Cost Time Pets versus cattle Pets service model Cattle service model Farmyard expansion—additions to the analogy History of immutable Conclusion Points to remember Chapter 4: How to Address Past Concerns? Introduction Structure Objectives Addressing past security challenges How does immutable infrastructure address past security concerns? Avoiding costly patching cycles How does immutable infrastructure address patching concerns? Green computing How does immutable infrastructure address scalability concerns? Environment disparity How does immutable infrastructure address disparity concerns? No more upgrade maintenance across the environment How does immutable infrastructure address past upgrade related concerns? No time-consuming capacity exercise How does immutable infrastructure address past capacity concerns? Automated infrastructure How does immutable infrastructure address past handcrafting concerns? Blue-green deployments How does immutable infrastructure address past blue-green concerns? Conclusion Points to remember Chapter 5: How to Implement Web Application Components? Introduction Structure Objectives Web application components Typical N-tiered application Brief understanding of each Web component Middleware components like Apache ActiveMQ Distributed caching solution Virtual machine Transformed application in the public cloud (AWS) Network management Content delivery Managing public DNS Load balancing across clusters Elastic Compute Cloud (EC2) instance Relational Database Service Apache Active MQ Memory DB Redis Web Application Firewall Elastic File System Amazon Simple Storage Service (Amazon S3) AWS Certificate Manager Conclusion Points to remember Chapter 6: What are the Prerequisites for Decision-making? Introduction Structure Objectives Source code repositories Build tool Accounts setup Account per environment Production environment separation One account for all environment Network setup Application and infrastructure pipeline management Combining IaC with application code Separation of IaC from application code Separation by tiers Code analyzers Testing of infrastructure code Types of testing Encryption at rest DB tier change separation Validation of infrastructure after creation Governance process Programming approach Declarative Imperative Conclusion Points to remember Chapter 7: How to Build Foundation Golden Machine Image? Introduction Structure Objectives What is a machine image? Lifecycle of machine image management Base O/S selection Tightening of base O/S Component installable and test utility installations Storage selection and encryption Validation phase Approval workflow Distributing the approved AMI Decommission and deprecate the golden AMI Conclusion Points to remember Chapter 8: How to do Database Handling inImmutable Infrastructure? Introduction Structure Objectives Database immutability Difference between database IaaS versus PaaS offering Approach for database immutability Types of changes Inside Database schema changes Database level changes Hybrid approach for database immutability Termination protection on database Handling database immutability Application data storage reattach Complete immutability Distributed data replication Rebuilding snapshots Data in multi-environment Conclusion Points to remember Chapter 9: How to Construct the Entire Pipeline? Introduction Structure Objectives Overall workflow Database setup Application code pipeline Web-tier setup Parallel IaC development Stack error handling Tearing down environment Governance and stack Managing multiple application teams and cost Releasing newer IaC stack Conclusion Points to remember Chapter 10: How to Handle Patching and OS releases? Introduction Structure Objectives Patching internal workflow Important consideration Populating machine image variables Tagging AMIs Database patching Database as a service (DaaS) or platform (PaaS) or server (IaaS) Patching environment deployment Conclusion Points to remember Chapter 11: How to Plan Disaster Recovery? Introduction Structure Objectives Business Continuity Plan (BCP) and Disaster Recovery (DR) Business objectives Measuring a successful DR plan Difference between on-premises and cloud On-premises Infrastructure in the cloud Regions Zones-availability zones High availability (HA) is different from disaster recovery Disasters to address Regional major natural disaster Minor regional disaster Advantages of immutable infrastructure in the cloud Conclusion Points to remember Chapter 12: Inbuilt Infrastructure Security and Standard Enforcement Introduction Structure Objectives Infrastructure security Types of security analysis tools Linting/static analysis tool Code formatting linter Security linter/static code analysis Plan level scans or dynamic or deploy time analysis Multiple places to introduce those scans Enforcing organization specific standards or security rules Custom security rules Identifying false positives Suppressing false positives Conclusion Points to remember Chapter 13: What is Application Incompatibility? Introduction Structure Objectives Revisiting past understandings 12-factor principles to address for Immutable Infrastructure Config (3rd principal): storing all the config in the environment Backing services (4th principle): treat backing services as attached resources Processes (8th principle) execute the application as one or more stateless processes Typical Web application Disposability (9th principle) maximizes robustness with fast start-up and graceful shutdown Logs (11th principle) treating application logs as event streams Application data handling Bonus principles Conclusion Points to remember Chapter 14: How to Build an Immutable Infrastructure for COTS/MOTS Products? Introduction Structure Objectives Challenges in COTS/MOTS product installations Manual installations In-house SMEs Manual scaling and configurations Entire pipeline workflow for COTS and MOTS products Robotic process automation Bots Difference between operating different types of bots Types of bots Inside Blue Box Redressal of concern Documented as well as the unique configuration Automated scaling and automated installation Conclusion Points to remember Index Back title

Similar books

The arraignment and tryall with a declaration of the Ranters also, several sentences proceedings at the sessions in the Old-Baily, and Councel of War: their protestations and the hanging of one up by the thumbs; with divers penalties to be inflicted upon others. The dancing and revelling of Dr. Buckeridge and his wife, and other gent. dancing all in white, in Berkshire, and their Christmas carol. A dispute between a Ranter in Bridewel, and one that came to see him; with his creed and pater noster: and the names of the false gods they worship. As also, a list of many of the Ranters, from whence they are derived: and of many hundreds of them in England

The arraignment and tryall with a declaration of the Ranters also, several sentences proceedings at the sessions in the Old-Baily, and Councel of War: their protestations and the hanging of one up by the thumbs; with divers penalties to be inflicted upon others. The dancing and revelling of Dr. Buckeridge and his wife, and other gent. dancing all in white, in Berkshire, and their Christmas carol. A dispute between a Ranter in Bridewel, and one that came to see him; with his creed and pater noster: and the names of the false gods they worship. As also, a list of many of the Ranters, from whence they are derived: and of many hundreds of them in England

2019 · EPUB

The discoverer; vvherein is set forth (to undeceive the nation) the reall plots and stratagems of Lievt. Col. John Lilburn, Mr. William Walwyn, Mr. Thomas Prince, Mr. Richard Overton, and that partie ... Namely, under the pretence and colour of libertie ... a most dangerous and destructive designe is carried on to deprive the nation of their religion, rights, liberties, proprieties, lawes, government, &c. and to bring a totall and universall ruine upon the land. And so much is here clearely proved. The first part

The discoverer; vvherein is set forth (to undeceive the nation) the reall plots and stratagems of Lievt. Col. John Lilburn, Mr. William Walwyn, Mr. Thomas Prince, Mr. Richard Overton, and that partie ... Namely, under the pretence and colour of libertie ... a most dangerous and destructive designe is carried on to deprive the nation of their religion, rights, liberties, proprieties, lawes, government, &c. and to bring a totall and universall ruine upon the land. And so much is here clearely proved. The first part

2019 · EPUB

An act to impower Sir John Molesworth: Baronet, and Joseph Moyle, Esquire, Two of the surviving Trustees, in an Indenture, dated the Twenty-Fifth Day of December One thousand Seven hundred and Forty-Three, to raise the several Sums in the said Indenture mentioned, or such of them as are still unsatisfied, and pay the same, as well as the rest of the personal Estate of Hugh Gregor, deceased, to such Person as Jane Gregor, an Infant, shall marry during her Infancy, with the Consent of the surviving Trustees, and of her Guardians

An act to impower Sir John Molesworth: Baronet, and Joseph Moyle, Esquire, Two of the surviving Trustees, in an Indenture, dated the Twenty-Fifth Day of December One thousand Seven hundred and Forty-Three, to raise the several Sums in the said Indenture mentioned, or such of them as are still unsatisfied, and pay the same, as well as the rest of the personal Estate of Hugh Gregor, deceased, to such Person as Jane Gregor, an Infant, shall marry during her Infancy, with the Consent of the surviving Trustees, and of her Guardians

EPUB