<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>BORIS ZAIKIN</title>
    <description>Boris Zaikin is a Certified Software and Cloud Architect, Speaker, Technical Author, Course Creator and founder of the Quantum Space.</description>
    <link>https://www.boriszaikin.com/</link>
    <atom:link href="https://www.boriszaikin.com/feed.xml" rel="self" type="application/rss+xml"/>
    <pubDate>Sun, 04 Jan 2026 18:51:39 +0000</pubDate>
    <lastBuildDate>Sun, 04 Jan 2026 18:51:39 +0000</lastBuildDate>
    <generator>Jekyll v3.10.0</generator>
    
      <item>
        <title></title>
        <description>&lt;div class=&quot;post-feed-title inner&quot;&gt;News and Updates about Azure, Google Cloud, and AWS&lt;/div&gt;

&lt;h3 id=&quot;run-scalable-reliable-aiml-inference-on-kubernetes-with-mlflow-kserve-and-automl-and-explore-deployment-orchestration-and-performance-at-scale-&quot;&gt;&lt;a href=&quot;https://dzone.com/trendreports/kubernetes-in-the-enterprise-4&quot; target=&quot;_blank&quot;&gt;Run scalable, reliable AI/ML inference on Kubernetes with MLflow, KServe, and AutoML, and explore deployment, orchestration, and performance at scale. &lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;As the industry pushes toward more intelligent and integrated operations, platform engineering and internal developer platforms are helping teams address issues like Kubernetes tool sprawl, while AI continues cementing its usefulness for optimizing cluster management, observability, and release pipelines.&lt;/p&gt;

&lt;p&gt;Running artificial intelligence and machine learning (AI/ML) on Kubernetes gives us a scalable, portable platform for training and serving models. Kubernetes schedules GPUs and other resources so that we can pack workloads efficiently and autoscale to match traffic for both batch jobs and real-time inference. It also coordinates multi-component stacks — like model servers, preprocessors, vector DBs, and feature stores — so that complex pipelines and low-latency endpoints run reliably.&lt;/p&gt;

&lt;p&gt;Containerization enforces reproducible environments and makes CI/CD for models practical. Built-in capabilities like rolling updates, traffic splitting, and metrics/tracing help us run safe production rollouts and meet SLOs for real-time endpoints. For teams that want fewer operations, managed endpoints exist, but Kubernetes is the go-to option when control, portability, advanced orchestration, and real-time serving matter.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://dzone.com/articles/ai-ml-kubernetes-mlflow-kserve-vllm&quot; target=&quot;_blank&quot;&gt;
    &lt;img src=&quot;https://dz2cdn1.dzone.com/storage/temp/18653226-bzaikin-figure-1-6.png&quot; width=&quot;700&quot; /&gt;
&lt;/a&gt;&lt;/p&gt;

&lt;h5 id=&quot;this-article-part-of-trend-report-kubernetes-in-the-enterprise&quot;&gt;This Article part of &lt;a href=&quot;https://dzone.com/trendreports/kubernetes-in-the-enterprise-4&quot; target=&quot;_blank&quot;&gt;[Trend Report] Kubernetes in the Enterprise&lt;/a&gt;&lt;/h5&gt;

&lt;p&gt;&lt;a href=&quot;https://dzone.com/trendreports/kubernetes-in-the-enterprise-4&quot; target=&quot;_blank&quot;&gt;
    &lt;img src=&quot;https://dz2cdn1.dzone.com/storage/rc-covers/18718157-lp-dz-tr-kubernetes-cover-front-2025.jpg&quot; width=&quot;400&quot; /&gt;
&lt;/a&gt;&lt;/p&gt;

&lt;hr /&gt;

&lt;h3 id=&quot;git-repository-azure-ml-ai-foundry-labs-hub&quot;&gt;&lt;a href=&quot;https://github.com/Boriszn/azure-ml-ai-foundry-labs-hub&quot; target=&quot;_blank&quot;&gt;[Git Repository] azure-ml-ai-foundry-labs-hub&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Hands-on Azure ML &amp;amp; Microsoft AI Foundry notebooks and artifacts: training, MLflow, pipelines, endpoints, RAI dashboards, privacy/smart noise, RAG with Azure AI Search, LLM fine-tuning, plus cheatsheets for ML/LLM metrics and core concepts.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/Boriszn/azure-ml-ai-foundry-labs-hub&quot; target=&quot;_blank&quot;&gt;
    Explore it here
&lt;/a&gt;
&lt;a href=&quot;https://github.com/Boriszn/azure-ml-ai-foundry-labs-hub&quot; target=&quot;_blank&quot;&gt;
    &lt;img src=&quot;https://raw.githubusercontent.com/Boriszn/azure-ml-ai-foundry-labs-hub/refs/heads/main/src/azure-ml-ms-foundry/images/rai_decision_pipeline.png&quot; width=&quot;700&quot; /&gt;
&lt;/a&gt;&lt;/p&gt;

&lt;hr /&gt;

&lt;h3 id=&quot;a-comprehensive-guide-to-protect-data-models-and-users-in-the-genai-era&quot;&gt;&lt;a href=&quot;https://medium.com/itnext/a-comprehensive-guide-to-protect-data-models-and-users-in-the-genai-era-26a04317f98c&quot; target=&quot;_blank&quot;&gt;A Comprehensive Guide to Protect Data, Models, and Users in the GenAI Era&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Generative AI (GenAI) is transforming how organizations operate, enabling automation, content generation, and intelligent decision-making at an unprecedented scale. From AI-powered chatbots to advanced code generation and creative design, GenAI is revolutionizing industries by increasing efficiency and innovation. However, alongside these advancements come significant security risks that organizations must address.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://medium.com/itnext/a-comprehensive-guide-to-protect-data-models-and-users-in-the-genai-era-26a04317f98c&quot; target=&quot;_blank&quot;&gt;
    &lt;img src=&quot;https://miro.medium.com/v2/resize:fit:1400/format:webp/1*VbOHgm08um-euTommdtF4w.png&quot; width=&quot;700&quot; /&gt;
&lt;/a&gt;&lt;/p&gt;

&lt;hr /&gt;

&lt;h3 id=&quot;from-zero-trust-to-ai-integration--innovations-in-safeguarding-sensitive-information&quot;&gt;&lt;a href=&quot;https://medium.com/itnext/from-zero-trust-to-ai-integration-innovations-in-safeguarding-sensitive-information-1b8db0988f2b&quot; target=&quot;_blank&quot;&gt;From Zero Trust to AI Integration — Innovations in Safeguarding Sensitive Information&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Access and secrets management involves securing and managing sensitive information such as passwords, API keys, and certificates. In today’s cybersecurity landscape, this practice is essential for protecting against breaches, ensuring compliance, and enhancing DevOps and cloud security. By implementing effective secrets management, organizations can reduce risk, improve operational efficiency, and respond to incidents more quickly. For developers, it provides a secure, convenient, and collaborative way to handle sensitive information, allowing them to focus on coding without worrying about the complexities of secure secrets handling.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://medium.com/itnext/from-zero-trust-to-ai-integration-innovations-in-safeguarding-sensitive-information-1b8db0988f2b&quot; target=&quot;_blank&quot;&gt;
    &lt;img src=&quot;https://miro.medium.com/v2/resize:fit:1400/format:webp/0*jJyln_BCO5euY0H3.png&quot; width=&quot;700&quot; /&gt;
&lt;/a&gt;&lt;/p&gt;

&lt;hr /&gt;

</description>
        <pubDate>Sun, 04 Jan 2026 00:00:00 +0000</pubDate>
        <link>https://www.boriszaikin.com/updates-and-news-featured</link>
        <guid isPermaLink="true">https://www.boriszaikin.com/updates-and-news-featured</guid>
        
        <category>News</category>
        
        <category>Industry-Updates</category>
        
        
      </item>
    
      <item>
        <title>Demystifying Multi-Cloud Integration</title>
        <description>&lt;h1 id=&quot;explore-this-in-depth-look-at-multi-cloud-integration-to-discover-comprehensive-strategies-and-patterns-for-integrating-cloud-systems&quot;&gt;Explore this in-depth look at multi-cloud integration to discover comprehensive strategies and patterns for integrating cloud systems&lt;/h1&gt;

&lt;p&gt;Multi-cloud integration strategies may sound like buzzwords and marketing slang, but in this article, I will demystify them. I will also dive deeply into on-premises and legacy systems and how we can integrate with them. Before we jump into the topic, I would like to define what integration means in a cloud context.&lt;/p&gt;

&lt;p&gt;Cloud integration is a process that allows organizations’ applications, infrastructure, data, and components to properly work together within one or several cloud providers. It also includes connecting on-premises data centers to the cloud if migration can be done across the organization.&lt;/p&gt;
&lt;blockquote&gt;
  &lt;p&gt;&lt;em&gt;This is an article from DZone’s 2023 Software Integration Trend Report.For more: &lt;a href=&quot;https://dzone.com/trendreports/software-integration-1&quot;&gt;Read the Report&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2 id=&quot;cloud-integrations&quot;&gt;Cloud Integrations&lt;/h2&gt;

&lt;p&gt;An important part of cloud integration is understanding the strategies. Many medium- and enterprise-level companies choose multi-cloud and hybrid-cloud approaches. Why is successful integration important for companies? Most companies building solutions have to exchange data with on-premises or out-of-support solutions.&lt;/p&gt;

&lt;p&gt;Properly designed integration solutions will save a lot of time and money. We can see it in the example of a bank multi-cloud application at the end of the article.&lt;/p&gt;

&lt;h2 id=&quot;hybrid-vs-multi-cloud&quot;&gt;Hybrid vs. Multi-Cloud&lt;/h2&gt;

&lt;p&gt;Below is a comparison table describing both strategies’ pros and cons. Before we jump in, keep the differences between public and private clouds in mind. Remember that &lt;strong&gt;public clouds&lt;/strong&gt; provide computing power, SaaS, and PaaS services for organizations that don’t have (or where it is difficult to have) their data centers. A &lt;strong&gt;private cloud&lt;/strong&gt; (on-premises) is an infrastructure the company maintains internally.&lt;/p&gt;

&lt;h3 id=&quot;hybrid-vs-multi-cloud-pros-and-cons&quot;&gt;HYBRID VS. MULTI-CLOUD PROS AND CONS&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Hybrid Cloud&lt;/strong&gt; &lt;strong&gt;Multi-Cloud&lt;/strong&gt; Description Hybrid clouds combine private clouds/on-prem data centers with a public cloud, an approach that companies usually take. For example, banks have secure on-prem environments that they won’t move to the cloud. Meanwhile, they have other, less secure solutions that can be easily moved to a public cloud and have fewer connections to on-premises. Multi-cloud combines several public clouds without using a private cloud. Usually, companies choose a multi-cloud strategy to avoid vendor lock-in.&lt;/p&gt;

&lt;p&gt;Pros&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Flexibility to connect infrastructure that can’t be moved to the public cloud.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Increased security thanks to the on-prem component.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Flexibility between using a legacy system and modern public cloud services.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Flexible and scalable environments.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;You can choose the services in each cloud that work best for your company.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Freedom to implement the solution across several clouds.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Cons&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;It can be difficult to maintain legacy, on-prem environments.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Additional cost for companies because they need to maintain their hardware.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;The cost of maintaining different services on several cloud providers can be prohibitive.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Complexity in managing and separating different services.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Securing network communication between clouds can be difficult.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;cloud-integration-patterns-and-best-practices&quot;&gt;Cloud Integration Patterns and Best Practices&lt;/h2&gt;

&lt;p&gt;Applying a good integration strategy also requires knowing some integration best practices and patterns.&lt;/p&gt;

&lt;h2 id=&quot;cloud-integration-patterns&quot;&gt;Cloud Integration Patterns&lt;/h2&gt;

&lt;p&gt;Understanding the main set of integration patterns is key to using existing integration solutions or designing a new one from scratch. Also, having the knowledge of these patterns provides a massive benefit during the integration of cloud applications and enterprise, on-premises infrastructure.&lt;/p&gt;

&lt;h3 id=&quot;asynchronous-messaging&quot;&gt;Asynchronous Messaging&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Asynchronous messaging&lt;/strong&gt; allows components and services to process data without waiting for each other. It also allows components to be decoupled from each other.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://cdn-images-1.medium.com/max/2628/0*iSSZY5NzDVI4RBjb&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 1&lt;/em&gt;&lt;/p&gt;

&lt;h3 id=&quot;shared-databases&quot;&gt;Shared Databases&lt;/h3&gt;

&lt;p&gt;This pattern uses a &lt;strong&gt;shared database&lt;/strong&gt; to communicate and exchange data between enterprise applications and services. As part of a shared database and communication bus, we can also use an enterprise service bus that can save and exchange data between several components.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://cdn-images-1.medium.com/max/3020/0*qe2A99wyzqJY_dK9&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 2&lt;/em&gt;&lt;/p&gt;

&lt;h3 id=&quot;remote-procedure-call&quot;&gt;Remote Procedure Call&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Remote procedure call&lt;/strong&gt; (RPC) is an abstraction layer or protocol that allows one network component to communicate with another without knowing the whole network’s complete functionality.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://cdn-images-1.medium.com/max/3228/0*NpxecIJybzFCON4h&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 3&lt;/em&gt;&lt;/p&gt;

&lt;h3 id=&quot;file-transfer&quot;&gt;File Transfer&lt;/h3&gt;

&lt;p&gt;The &lt;strong&gt;file transfer&lt;/strong&gt; pattern provides an interface to share files between cloud or application components. For example, file transfer is useful if an application produces CSV or XML reports ‘ the integration service should adapt this file for other applications.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://cdn-images-1.medium.com/max/3500/0*oKU35KIEfXAhqRFv&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 4&lt;/em&gt;&lt;/p&gt;

&lt;h2 id=&quot;recommended-practices-for-cloud-integration&quot;&gt;Recommended Practices for Cloud Integration&lt;/h2&gt;

&lt;p&gt;Here are three of the most important best practices for cloud integration:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Use native SaaS tools that cloud providers offer&lt;/strong&gt;. This approach always provides the best integration options between applications and components. There are even ΓÇ£no-codeΓÇ¥ tools for non-technical people. We will get into native Azure, AWS, and Google Cloud Services in the next section.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Use an Integration Platform as a Service (iPaaS)&lt;/strong&gt;. Some services and components provide integration capabilities and are hosted as cloud services. For example, &lt;a href=&quot;https://github.com/triggermesh/triggermesh&quot;&gt;triggermesh&lt;/a&gt; and &lt;a href=&quot;https://github.com/cenit-io/cenit&quot;&gt;cenit.io&lt;/a&gt; are open-source integration platforms that allow building event-driven applications in Kubernetes, orchestrating data flow, and providing API management capabilities in cloud providers and on-premises&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Use a Function Platform as Service (FPaaS)&lt;/strong&gt;. These platforms provide huge customization levels of integration options, from which some organizations can benefit. This approach is intended for cloud solution architects and requires a knowledge of cloud architecture patterns and function-oriented software development skills. FPaaS tools include &lt;a href=&quot;https://aws.amazon.com/lambda/&quot;&gt;AWS Lambda&lt;/a&gt;, &lt;a href=&quot;https://learn.microsoft.com/en-us/azure/azure-functions/functions-overview&quot;&gt;Azure Functions&lt;/a&gt;, &lt;a href=&quot;https://cloud.google.com/functions/docs/concepts/overview&quot;&gt;Google Cloud Functions&lt;/a&gt;, and &lt;a href=&quot;https://openwhisk.apache.org/&quot;&gt;Apache OpenWhisk&lt;/a&gt;.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;h2 id=&quot;common-integration-services&quot;&gt;Common Integration Services&lt;/h2&gt;

&lt;p&gt;Knowing the general cloud integration best practices and patterns is crucial. However, knowing what exactly each cloud provider offers is also important. In this section, we will briefly touch upon common cloud integration services from providers such as AWS, Azure, and Google Cloud. Keep in mind: This section contains ‘ but is not limited to ‘ some of the most ubiquitous open-source integration services available. To learn more about the list below, common benefits, and drawbacks associated with each, check out &lt;a href=&quot;https://dzone.com/articles/multi-cloud-integration&quot;&gt;this platform breakdown&lt;/a&gt; for more information.&lt;/p&gt;

&lt;h2 id=&quot;aws&quot;&gt;AWS&lt;/h2&gt;

&lt;p&gt;AWS has several integration services that provide powerful features alongside simplicity. This list includes &lt;a href=&quot;https://aws.amazon.com/sns/&quot;&gt;SNS&lt;/a&gt; (Simple Notification Service), &lt;a href=&quot;https://docs.aws.amazon.com/de_de/AWSSimpleQueueService/latest/SQSDeveloperGuide/welcome.html&quot;&gt;SQS&lt;/a&gt; (Simple Queue Service), &lt;a href=&quot;https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-welcome.html&quot;&gt;SWF&lt;/a&gt; (Simple Workflow Service), and &lt;a href=&quot;https://aws.amazon.com/getting-started/hands-on/create-a-serverless-workflow-step-functions-lambda/&quot;&gt;AWS step functions&lt;/a&gt;. To learn more, visit the &lt;a href=&quot;https://cloud.google.com/application-integration/docs/task-overview&quot;&gt;AWS Application Integration services&lt;/a&gt; page.&lt;/p&gt;

&lt;h2 id=&quot;google-cloud&quot;&gt;Google Cloud&lt;/h2&gt;

&lt;p&gt;Google Cloud has a vast integration ecosystem, also commonly referred to as &lt;a href=&quot;https://cloud.google.com/application-integration/docs/overview&quot;&gt;Integration Platform as a Service&lt;/a&gt; (iPaaS). This provides a set of tools and services to manage and connect applications. The Google Cloud iPaaS contains the following core services: &lt;a href=&quot;https://cloud.google.com/application-integration/docs/integrations-ui-layout&quot;&gt;Integration designer&lt;/a&gt;, &lt;a href=&quot;https://cloud.google.com/application-integration/docs/trigger-overview&quot;&gt;triggers&lt;/a&gt;, and &lt;a href=&quot;https://cloud.google.com/application-integration/docs/task-overview&quot;&gt;tasks&lt;/a&gt;. Learn more about each Google Cloud integration service &lt;a href=&quot;https://cloud.google.com/application-integration/docs&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;h2 id=&quot;azure&quot;&gt;Azure&lt;/h2&gt;

&lt;p&gt;Azure offers an Azure integration service set (also commonly referred to as Azure Integration Platform as a Service). This contains a variety of services set up to provide strong integration between applications. Some of the most powerful integration services Azure offers include &lt;a href=&quot;https://learn.microsoft.com/en-us/azure/api-management/api-management-key-concepts&quot;&gt;API Management&lt;/a&gt;, &lt;a href=&quot;https://learn.microsoft.com/en-us/azure/logic-apps/&quot;&gt;Logic Apps&lt;/a&gt;, &lt;a href=&quot;https://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-messaging-overview&quot;&gt;Service Bus&lt;/a&gt;, &lt;a href=&quot;https://learn.microsoft.com/en-us/azure/event-grid/overview&quot;&gt;Event Grid&lt;/a&gt;, and &lt;a href=&quot;https://learn.microsoft.com/en-us/azure/azure-arc/kubernetes/overview&quot;&gt;Azure Arc&lt;/a&gt;. If you are interested in reading more on the various Azure integration services, check out &lt;a href=&quot;https://azure.microsoft.com/en-us/products/category/integration&quot;&gt;this page&lt;/a&gt; to learn more.&lt;/p&gt;

&lt;h2 id=&quot;a-bank-multi-cloud-application&quot;&gt;A Bank Multi-Cloud Application&lt;/h2&gt;

&lt;p&gt;As mentioned, banking applications require a massive security layer. Also, many banks contain their own highly secure data centers, and migrating all secured data to the cloud may not even be an option.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 5: A banking multi-cloud integration application example&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://cdn-images-1.medium.com/max/3500/0*GRIuyij62wVI-P8v&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;p&gt;In this example, we selected Azure as the cloud for the main application. The application is based on a microservices architecture and is deployed to several Kubernetes clusters. Azure stores secrets, a configuration in a &lt;a href=&quot;https://learn.microsoft.com/en-us/azure/cosmos-db/introduction&quot;&gt;Cosmos DB&lt;/a&gt;, and some files in &lt;a href=&quot;https://learn.microsoft.com/en-us/azure/storage/blobs/storage-blobs-introduction&quot;&gt;Blob Storage&lt;/a&gt;. Azure also provides an observability platform with a service mesh. All secured data is stored on the on-premises data center, and the AWS Cloud part contains a workflow for the call center.&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;In this article, we’ve reviewed top cloud integration patterns and services that start the integration process from scratch or that consider an existing environment. Designing integrations of software solutions in the cloud requires knowledge of best practices and patterns. Furthermore, it requires a deep understanding of the toolsets, services, and components each cloud and framework offer. For example, alongside Azure Arc, AWS offers services like &lt;a href=&quot;https://aws.amazon.com/systems-manager/&quot;&gt;Systems Manager&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Before I start an integration project, I’m using the following algorithm:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Keep in mind the &lt;a href=&quot;https://people.apache.org/~fhanik/kiss.html&quot;&gt;KISS principle&lt;/a&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Have a look at existing integration patterns&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Check on what integration components and services other clouds provide&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Therefore, multi-cloud integration means to make solutions and components of one cloud provider work with others using existing integration cloud components and patterns.&lt;/p&gt;
</description>
        <pubDate>Tue, 04 Apr 2023 00:00:00 +0000</pubDate>
        <link>https://www.boriszaikin.com/demystifying-multi-cloud-integration</link>
        <guid isPermaLink="true">https://www.boriszaikin.com/demystifying-multi-cloud-integration</guid>
        
        <category>Distributed-Systems</category>
        
        <category>Cloud</category>
        
        <category>AWS</category>
        
        <category>Azure</category>
        
        <category>Blog</category>
        
        <category>azure</category>
        
        
      </item>
    
      <item>
        <title>A Primer on Distributed Systems Observability</title>
        <description>&lt;h2 id=&quot;in-this-post-explore-what-observability-and-monitoring-systems-the-patterns-of-a-good-observability-platform-and-the-observability-subsystem-may-look-like&quot;&gt;In this post, explore what observability and monitoring systems, the patterns of a good observability platform, and the observability subsystem may look like.&lt;/h2&gt;

&lt;p&gt;In the past few years, the complexity of systems architectures drastically increased, especially in distributed, microservices-based architectures. It is extremely hard and, in most cases, inefficient to debug and watch logs, particularly when we have hundreds or even thousands of microservices or modules. In this article, I will describe what observability and monitoring systems, the patterns of a good observability platform, and the observability subsystem may look like.&lt;/p&gt;
&lt;blockquote&gt;
  &lt;p&gt;&lt;em&gt;This is an article from DZone’s 2022 Performance and Site Reliability Trend Report. For more: &lt;a href=&quot;https://dzone.com/trendreports/performance-and-site-reliability&quot;&gt;Read the Report&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2 id=&quot;observability-vs-monitoring&quot;&gt;Observability vs. Monitoring&lt;/h2&gt;

&lt;p&gt;Before we jump directly to the point, let’s describe what observability is, what components it includes, and how it differs from monitoring. Observability allows us to have a clear overview of what happens in the system without knowing the details or domain model. Moreover, observability lets us efficiently provide information about:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;The overall system, separate service failures, and outages&lt;/li&gt;
  &lt;li&gt;The behavior of the general system and services&lt;/li&gt;
  &lt;li&gt;The overall security and alerts&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We know what functions should cover the observability system. Below we can see what information should be gathered to properly design an observability and monitoring platform.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Metrics&lt;/strong&gt; Data collection allows us to understand the application and infrastructure states for example, latency and the usage of CPU, memory, and storage.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Distributed traces&lt;/strong&gt; Allows us to investigate the event or issue flow from one service to another&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Logs&lt;/strong&gt; This is a message with a timestamp that contains information about application- or service-level errors, exceptions, and information.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Alerting&lt;/strong&gt; When an outage occurs or something goes wrong with one or several services, alerts notify these problems via emails, SMS, chats, or calls to operators. This allows for quick action to fix the issue.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Availability&lt;/strong&gt; Ensures that all services are up and running. The monitoring platform sends prob messages to some service or component (to the HTTP API endpoint) to check if it responds. If not, then the observability system generates an alert (see the bullet point for alerting).&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Also, some observability and monitoring platforms may include user experience monitoring, such as heat maps and user action recording.&lt;/p&gt;

&lt;p&gt;Observability and monitoring follow the same principles and patterns and rely primarily on toolsets, so in my opinion, the differentiation between the two is made for marketing purposes. There is no clear definition of how observability differs from monitoring; all definitions are different and high-level.&lt;/p&gt;

&lt;h2 id=&quot;observability-patterns&quot;&gt;Observability Patterns&lt;/h2&gt;

&lt;p&gt;All complex systems based on microservices have recommendations and patterns. This allows us to build a reliable system without reinventing the wheel. Observability systems also have some essential patterns. The following sections discuss five of the most important patterns.&lt;/p&gt;

&lt;h2 id=&quot;log-aggregation-pattern&quot;&gt;Log Aggregation Pattern&lt;/h2&gt;

&lt;p&gt;In distributed systems, logging can be difficult. Each microservice can produce a lot of logs, and it can be a nightmare to find and analyze errors or other log messages of each microservice. Therefore, the log aggregation pattern helps us here. It contains the central log aggregation service as a central log storage. Also, the service provides options to label, index, categorize, search, and analyze all logs. There are a few examples of log aggregation platforms like &lt;a href=&quot;https://grafana.com/oss/loki/&quot;&gt;Grafana Loki&lt;/a&gt;, &lt;a href=&quot;https://www.splunk.com/&quot;&gt;Splunk&lt;/a&gt;, &lt;a href=&quot;https://www.fluentd.org/&quot;&gt;Fluentd&lt;/a&gt;, and the &lt;a href=&quot;https://www.elastic.co/what-is/elk-stack&quot;&gt;ELK stack&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://cdn-images-1.medium.com/max/4324/1*3it_rB2AU8UmJ07CxoOsEQ.jpeg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 1: Log aggregation pattern&lt;/em&gt;&lt;/p&gt;

&lt;h2 id=&quot;health-check-pattern&quot;&gt;Health Check Pattern&lt;/h2&gt;

&lt;p&gt;Imagine you have multiple services or microservices, and you need to know their current state. Of course, you can go to the logging aggregation service and check logs. But services may not produce logs in a starting state. Also, it may be the case where logging in is unavailable when the services fail.&lt;/p&gt;

&lt;p&gt;In all these instances, you need to implement health check patterns. You just need to create a health (or ping) endpoint in your service and point your log aggregation system to check and collect the checks of each service. You can also set up notifications or alerting when the service is unavailable ‘ it saves a lot of time recognizing what service failed to start or went down.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://cdn-images-1.medium.com/max/3656/1*N7Pw9k599x0_OWXGNgbsvQ.jpeg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 2: Health check pattern&lt;/em&gt;&lt;/p&gt;

&lt;h2 id=&quot;distributed-tracing-pattern&quot;&gt;Distributed Tracing Pattern&lt;/h2&gt;

&lt;p&gt;Imagine this scenario: you have multiple components, modules, and libraries in one or several microservices. You need to check the whole history of component execution or send the request to one microservice, and you need to check the execution history from one service component list to another.&lt;/p&gt;

&lt;p&gt;To do this, you need to have some distributed system that will collect and analyze all tracing data. Some open-source services allow you to do so, such as &lt;a href=&quot;https://www.jaegertracing.io/&quot;&gt;Jaeger&lt;/a&gt;, &lt;a href=&quot;https://opentelemetry.io/docs/&quot;&gt;OpenTelemetry&lt;/a&gt;, and &lt;a href=&quot;https://opencensus.io/&quot;&gt;OpenCensus&lt;/a&gt;. Check out the &lt;a href=&quot;https://istio.io/v1.0/docs/tasks/telemetry/distributed-tracing/&quot;&gt;Istio documentation&lt;/a&gt; for an example that demonstrates distributed tracing in action.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://cdn-images-1.medium.com/max/5224/1*lypFoaqXUydtKb1wBovp_w.jpeg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 3: Distributed tracing pattern&lt;/em&gt;&lt;/p&gt;

&lt;h2 id=&quot;application-metrics-pattern&quot;&gt;Application Metrics Pattern&lt;/h2&gt;

&lt;p&gt;Having distributed logging and tracing is essential; however, without application metrics, your observability system will not be complete. You may need to collect infra- and application-level metrics, such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;CPU&lt;/li&gt;
  &lt;li&gt;Memory&lt;/li&gt;
  &lt;li&gt;Disc use&lt;/li&gt;
  &lt;li&gt;Services requests/response time&lt;/li&gt;
  &lt;li&gt;Latency&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Collecting these metrics will not only help you understand what infrastructure size you need but will also help you save money on cloud providers. It also helps you to quickly mitigate outages caused by a lack of CPU or memory resources.&lt;/p&gt;

&lt;p&gt;Below is an example of the service that has a proxy agent. The proxy agent aggregates and sends telemetry data to the observability platform.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://cdn-images-1.medium.com/max/3286/1*pJrnuixeEhVSQnPoMywMiQ.jpeg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 4: Application metrics pattern&lt;/em&gt;&lt;/p&gt;

&lt;h2 id=&quot;service-mesh-for-observability&quot;&gt;Service Mesh for Observability&lt;/h2&gt;

&lt;p&gt;A service mesh not only provides a central management control plane for microservices architecture but also provides a single observability subsystem.&lt;/p&gt;

&lt;p&gt;Instead of installing a separate tool for gathering metrics, distributed traces, and logs, we can just use one. For example, Azure provides an integrated &lt;a href=&quot;https://learn.microsoft.com/en-us/azure/aks/open-service-mesh-about&quot;&gt;service mesh add-on&lt;/a&gt; that can be set up in a minute.&lt;/p&gt;

&lt;p&gt;There is also an option to use &lt;a href=&quot;https://istio.io/latest/docs/concepts/observability/&quot;&gt;Istio service mesh&lt;/a&gt;, which contains all features required for a proper observability subsystem. Moreover, it can gather metrics, logs, and traces for the &lt;a href=&quot;https://istio.io/latest/docs/concepts/observability/#control-plane-metrics&quot;&gt;control plane&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;For example, when we set up Grafana, Loki, or other tools, we also need to enable observability for them, as they may also fail while working or during the deployment process; therefore, we need to troubleshoot.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://cdn-images-1.medium.com/max/4332/1*ASY09IePq-gpQGM9nbi1vw.jpeg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 5: Service mesh as observability&lt;/em&gt;&lt;/p&gt;

&lt;h2 id=&quot;observability-architecture-for-microservices&quot;&gt;Observability Architecture for Microservices&lt;/h2&gt;

&lt;p&gt;As an example of the observability architecture, I’m going to use a smart heating system. Smart heating is an essential part of each home (or even smart home) that allows owners to:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Manually manage heating in the apartment with an application.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Automatically adjust heating depending on time and the temperature outside and inside.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In addition, the system can do the following actions to help the owner:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Turn on/off the heating when people are about to arrive at the apartment.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Notify, alert, or just ask if something requires human attention or if something is wrong.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;img src=&quot;https://cdn-images-1.medium.com/max/11940/1*VBY-3ccdXT3K1bl9YiDJDA.jpeg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 6: Microservices architecture with an observability subsystem&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;In Figure 6, you can see an architecture that is based on the microservices pattern, since it serves best and represents all system components. It contains main and observability subsystems. Each microservice is based on Azure Functions and deployed to the Azure Kubernetes Cluster. We deploy functions to Kubernetes using the &lt;a href=&quot;https://learn.microsoft.com/en-us/azure/azure-functions/functions-kubernetes-keda&quot;&gt;KEDA framework&lt;/a&gt;. KEDA is an open-source, Kubernetes-based event autoscaling that allows us to automatically deploy and scale our microservices functions. Also, KEDA provides the tools to wrap functions to the Docker containers. We can also deploy microservices functions directly without KEDA and Kubernetes if we don’t have a massive load and don’t need the scaling options. The architecture contains the following components that represent the main subsystem:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Azure operating as a microservice&lt;/li&gt;
  &lt;li&gt;Azure Service Bus (or Azure IoT Hub) as a central messaging bus that microservices use to communicate&lt;/li&gt;
  &lt;li&gt;Azure API Apps providing an API for mobile/desktop applications
The essential part here is an observability subsystem. A variety of components and tools represent it. I’ve described all components in Table 1 below:&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;COMPONENTS OF THE OBSERVABILITY SYSTEM&lt;/strong&gt; &lt;strong&gt;Tool&lt;/strong&gt; &lt;strong&gt;Description&lt;/strong&gt; &lt;a href=&quot;https://prometheus.io/&quot;&gt;Prometheus&lt;/a&gt; Prometheus is an open-source framework to collect and store logs and telemetry as &lt;a href=&quot;https://dzone.com/refcardz/working-with-time-series-data&quot;&gt;time series data&lt;/a&gt;. Also, it provides alerting logic. Prometheus proxy or sidecar integrates with each microservice to collect all logs, telemetry, and tracing data. &lt;a href=&quot;https://grafana.com/oss/loki/&quot;&gt;Grafana Loki&lt;/a&gt; Grafana Loki is an open-source distributed log aggregation service. It’s based on a labeling algorithm. It’s not indexing the logs; rather, it’s assigning labels to each log domain, subsystem, or category. &lt;a href=&quot;https://github.com/jaegertracing/jaeger&quot;&gt;Jaeger&lt;/a&gt; Jaeger is an open-source framework for distributed tracing in microservices-based systems. It also provides search and data visualization options. Some of the high-level use cases of Jaeger include:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Performance and latency optimization&lt;/li&gt;
  &lt;li&gt;Distributed transaction monitoring&lt;/li&gt;
  &lt;li&gt;Service dependency analysis&lt;/li&gt;
  &lt;li&gt;Distributed context propagation&lt;/li&gt;
  &lt;li&gt;Root cause analysis&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/grafana/grafana&quot;&gt;Grafana&lt;/a&gt; (&lt;a href=&quot;https://learn.microsoft.com/en-us/azure/managed-grafana/overview&quot;&gt;Azure Managed Grafana&lt;/a&gt;) Grafana is also an open-source data visualization and analytics system. It allows the collection of traces, logs, and other telemetry data from different sources. We are using Grafana as a primary UI ΓÇ£control planeΓÇ¥ to build and visualize data dashboards that will come from Prometheus, Loki, and Grafana Loki sources.&lt;/p&gt;

&lt;p&gt;Let’s summarize our observability architecture. Logging is covered by Prometheus and Grafana Loki, and distributed tracing is covered by Jaeger. All these components report to Grafana, which provides UI data dashboards, analytics, and alerts.&lt;/p&gt;

&lt;p&gt;We can also use &lt;a href=&quot;https://opentelemetry.io/docs/&quot;&gt;OpenTelemetry&lt;/a&gt; (OTel) framework. OTel is an open-source framework that was created, developed, and supported by the &lt;a href=&quot;https://www.cncf.io/&quot;&gt;Cloud Native Computing Foundation&lt;/a&gt; (CNCF). The idea is to create a standardized vendor-free observability language specification, API, and tool. It is intended to collect, transform, and export telemetry data. Our architecture is based on the &lt;a href=&quot;https://learn.microsoft.com/en-us/azure/azure-monitor/app/distributed-tracing#enable-via-opentelemetry&quot;&gt;Azure&lt;/a&gt; cloud, and we can enable OpenTelemetry for our infrastructure and application components. Below you can see how our architecture can change with OpenTelemetry.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://cdn-images-1.medium.com/max/13702/1*ekxVEm7Zz2V-mEX7k_6tEA.jpeg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 7: Smart heating with an observability subsystem and OpenTelemetry&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;It is also worth mentioning that we do not necessarily need to add OTel, as it may add additional complexity to the system. In the figure above, you can see that we need to forward all logs from Prometheus to OTel. Also, we can use Jaeger as a backend service for OTel. Grafana Loki and Grafana will get data from OTel.&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;In this article, we demystified observability and monitoring terms, and we walked through examples of microservices architecture with observability subsystems that can be used not only with Azure but also with other cloud providers. Also, we defined the main difference between monitoring and observability, and we walked through essential monitoring and observability patterns and toolsets. Developers and architects should understand that an observability/monitoring platform is a tooling or a technical solution that allows teams to actively debug their system.&lt;/p&gt;
&lt;blockquote&gt;
  &lt;p&gt;&lt;em&gt;This is an article from DZone’s 2022 Performance and Site Reliability Trend Report. For more: &lt;a href=&quot;https://dzone.com/trendreports/performance-and-site-reliability&quot;&gt;Read the Report&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
</description>
        <pubDate>Sat, 17 Dec 2022 00:00:00 +0000</pubDate>
        <link>https://www.boriszaikin.com/primer-on-distributed-systems-observability</link>
        <guid isPermaLink="true">https://www.boriszaikin.com/primer-on-distributed-systems-observability</guid>
        
        <category>Distributed-Systems</category>
        
        <category>Observability</category>
        
        <category>Security</category>
        
        <category>Azure</category>
        
        <category>Blog</category>
        
        <category>azure</category>
        
        
      </item>
    
      <item>
        <title>Multi-Cloud Strategies Using Microservices Architecture</title>
        <description>&lt;h2 id=&quot;build-highly-available-scalable-and-performant-applications-by-following-this-complete-guide-to-building-microservices-in-azure-aws-and-google-cloud&quot;&gt;Build highly available, scalable, and performant applications by following this complete guide to building microservices in Azure, AWS, and Google Cloud.&lt;/h2&gt;

&lt;p&gt;In 2005, Dr. Peter Rodgers addressed micro web services during a presentation at a Web Services Edge conference, where the first generation of micro web services was based on &lt;a href=&quot;https://www.redhat.com/en/topics/cloud-native-apps/what-is-service-oriented-architecture&quot;&gt;service-oriented architecture&lt;/a&gt; (SOA). SOA is a ΓÇ£self-contained software module that performs as a task, and this allows the service to communicate based on SOAP (Simple Object Access Protocol). The main SOAP idea is, do the simplest thing possible.&lt;/p&gt;

&lt;p&gt;Nowadays, there is no option to avoid talking about microservices during architectural calls, especially if you want to design cloud or multi-cloud, modular, scalable, and multi-user applications. In this article, I will explain microservices and how to design applications based on the multi-cloud scenario. I will walk you through the microservice design pattern and wrap this information into an architectural example.&lt;/p&gt;
&lt;blockquote&gt;
  &lt;p&gt;&lt;em&gt;This is an article from DZone’s 2022 Microservices and Containerization Trend Report. For more: &lt;a href=&quot;https://dzone.com/trendreports/microservices-and-containerization&quot;&gt;Read the Report&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2 id=&quot;microservices-and-multi-cloud-environments&quot;&gt;Microservices and Multi-Cloud Environments&lt;/h2&gt;

&lt;p&gt;Before we jump into microservices architecture, patterns, and how you can build microservices-based applications that support multi-cloud deployment, let’s define the terms. A microservice is an architectural pattern that allows applications to consist of loosely coupled modules. However, microservices designs should follow these rules:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Each module or microservice has its own data and therefore should have an independent database.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Each microservice should be developed by its own team. This doesn’t mean that microservices-based applications can’t be developed by one team, however, having one team per microservice shows how independent microservices can be.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Microservices should have an independent deployment process.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Microservices should give better control over resources and compute power so you can scale each service independently and according to the service needs.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Microservices can be written in different languages, but they should communicate with a single protocol like &lt;a href=&quot;https://dzone.com/refcardz/rest-foundations-restful&quot;&gt;REST&lt;/a&gt;.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Multi-cloud (i.e., hybrid cloud) means there are two different approaches to spreading an app through multiple cloud providers. For example, we can build core applications in AWS, and there are some parts that we can deploy to Azure and Google Cloud. Another multi-cloud example is when an app that was designed for one cloud can be migrated to another with minor changes.&lt;/p&gt;

&lt;h2 id=&quot;microservices-vs-monolith&quot;&gt;Microservices vs. Monolith&lt;/h2&gt;

&lt;p&gt;Before we jump into examples, let’s look at a brief list of the pros and cons of microservices and monolithic architecture:&lt;/p&gt;

&lt;h3 id=&quot;pros-micoservices&quot;&gt;Pros: Micoservices&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Scalability&lt;/strong&gt; As we have all separate services, we can scale each service independently.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Isolation&lt;/strong&gt; A large project may be unaffected when one service goes down.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Flexibility&lt;/strong&gt; You can use different languages and technology as all services are independent. We can separate the whole project into microservices where each microservice will be developed and supported by a separate team.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;DevOps independence&lt;/strong&gt; All microservices are independent; therefore, we can implement an independent deployment process for each microservice.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;cons&quot;&gt;Cons:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Complexity&lt;/strong&gt; Microservices architecture can be a good choice for huge, enterprise-level companies and platforms. Take Netflix, for example. There you can separate domains and subdomains to different services and teams. However, for a small-level company, separating may add redundant complexity. Moreover, it can be impossible to separate small projects into microservices.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Testing&lt;/strong&gt; Testing microservices applications can be a difficult task as you may need to have other services running.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Debugging&lt;/strong&gt; Debugging microservices can be a painful task; it may include running several microservices. Also, we need to constantly investigate logs. This issue can be partially resolved by integrating a monitoring platform.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When I start designing a solution, I always use monolithic architecture as the starting point. Using this approach, we can achieve the following:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;During design and implementation, we can already see if our application can be moved to microservices.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;We can identify monolithic applications that can be moved to microservices using a step-by-step approach.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;pros-monolith&quot;&gt;Pros: Monolith&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Simplicity&lt;/strong&gt; Monolithic architecture is relatively simple and can be used as a base architecture or the first microservice step.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Simple DevOps&lt;/strong&gt;  The DevOps process can be simple as we may need to automate one simple application.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;cons-1&quot;&gt;Cons:&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Vendor lock-in&lt;/strong&gt;  With monolithic architecture, we may be locked with one vendor/ cloud provider. All modules in monolithic architecture are closely tied to each other. It’s hard to spread them across different vendors.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Inflexible DevOps&lt;/strong&gt; The DevOps process for one enterprise-level, monolithic app can take a lot of time as we need to wait until all modules are built and tested.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Stick with one programming language/technology&lt;/strong&gt; Monolithic architecture is not too flexible ‘ you need to stick with one technology/programming language. Otherwise, you must rewrite the whole application to change the core technology.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In Figure 1, you can see an example of a typical modular monolithic architecture of a traveling system. It allows passengers to find drivers, book, and join the trip.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://cdn-images-1.medium.com/max/9064/1*p4yDabqYzXUutho1HokG8Q.jpeg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 1: Travel booking application&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The system consists of several modules:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;UI/front end&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;API&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;SQL adapter&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Stripe adapter to process payments&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;SendGrid to manage emails&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Adapter for Twillio to be able to communicate over the phone (calls, SMS, video)&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This monolithic architecture can be migrated to the microservices one. Each service can operate independently and can keep the state in its own database.&lt;/p&gt;

&lt;p&gt;The solution explained above is quite simple and can be transformed into microservices without a lot of issues. However, when it comes to the enterprise level, this migration is far more complex, as is seen at large companies such as Netflix.&lt;/p&gt;

&lt;h2 id=&quot;cloud-components-and-services-for-building-microservices-architecture&quot;&gt;Cloud Components and Services for Building Microservices Architecture&lt;/h2&gt;

&lt;p&gt;In this section, we will get into a few cloud services that we can use to build microservices architecture so we know what service or cloud component to choose during microservices architecture design and implementation.&lt;/p&gt;

&lt;h2 id=&quot;container-engine&quot;&gt;Container Engine&lt;/h2&gt;

&lt;p&gt;Container engines are essential to building microservices as they allow for separation, orchestration, and management of the microservices within various cloud providers. &lt;a href=&quot;https://www.docker.com/&quot;&gt;Docker&lt;/a&gt; is a widely used container engine that allows one to wrap each microservice into a container and put it into a cloud-based container orchestration system like Kubernetes (AKS, EKS) or directly spin up the application. &lt;a href=&quot;https://containerd.io/&quot;&gt;Containerd&lt;/a&gt; is the same as Docker but has a lightweight and more secure architecture.&lt;/p&gt;

&lt;h2 id=&quot;orchestrator&quot;&gt;Orchestrator&lt;/h2&gt;

&lt;p&gt;&lt;a href=&quot;https://kubernetes.io/&quot;&gt;Kubernetes&lt;/a&gt; is a popular open-source system for orchestrating, automating deployment, and scaling the containers apps. It contains and automates the deployment. &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/aks/&quot;&gt;Azure&lt;/a&gt;, &lt;a href=&quot;https://aws.amazon.com/eks/&quot;&gt;AWS&lt;/a&gt;, and &lt;a href=&quot;https://cloud.google.com/kubernetes-engine&quot;&gt;Google Cloud&lt;/a&gt; have their own managed orchestration services that already include load balancing, auto scaling, workload management, monitoring, and a &lt;a href=&quot;https://docs.microsoft.com/de-de/azure/aks/open-service-mesh-about&quot;&gt;service mesh&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-overview&quot;&gt;Azure Service Fabric&lt;/a&gt; is a distributed platform to orchestrate microservices. For several years, the main goal was to provide the best support for .NET Core/Framework- and Windows-based microservices; we can see it in the &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/architecture/guide/technology-choices/images/compute-choices.png&quot;&gt;selection service flowchart&lt;/a&gt;. Microsoft claims that Service Fabric supports other languages and platforms like Linux as well.&lt;/p&gt;

&lt;h2 id=&quot;message-bus&quot;&gt;Message Bus&lt;/h2&gt;

&lt;p&gt;A &lt;a href=&quot;https://en.wikipedia.org/wiki/Queue_%28abstract_data_type%29&quot;&gt;queue&lt;/a&gt; is a service that is based on the FIFO (first in, first out) principle. All message bus systems are based on this service. For example, Azure has &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/storage/queues/storage-queues-introduction&quot;&gt;queue storage&lt;/a&gt; that contains simple business logic. If you have a simple architecture that needs centralized message storage, you can rely on the queue. AWS and Google Cloud also have the &lt;a href=&quot;https://aws.amazon.com/sqs/&quot;&gt;Simple Queue Service&lt;/a&gt; and &lt;a href=&quot;https://cloud.google.com/tasks/docs/comp-pub-sub&quot;&gt;GC Pub/Sub&lt;/a&gt;, respectively. These allow you to send, store, and receive messages between microservices and software components.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://www.enterpriseintegrationpatterns.com/MessageBus.html&quot;&gt;Service Bus/Message Bus&lt;/a&gt; is based on the same approach as a queue. However, a Message Bus has more features on top ‘ it contains a dead-letter queue, scheduled delivery, message deferral, transactions, duplicate detection, and many other features. For example, &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-messaging-overview&quot;&gt;Azure Service Bus&lt;/a&gt; and &lt;a href=&quot;https://aws.amazon.com/msk/&quot;&gt;AWS Managed Kafka service&lt;/a&gt; are highly available message brokers for enterprise-level applications that can deal with thousands of messages.&lt;/p&gt;

&lt;h2 id=&quot;serverless&quot;&gt;Serverless&lt;/h2&gt;

&lt;p&gt;Serverless allows us to build microservices architecture purely with an event-driven approach. It’s a single cloud service unit that is available on demand with an intended focus on building the microservices straight away in the cloud without thinking about what container engine, orchestrator, or cloud service you should use. AWS and Azure have &lt;a href=&quot;https://docs.aws.amazon.com/whitepapers/latest/serverless-multi-tier-architectures-api-gateway-lambda/microservices-with-lambda.html&quot;&gt;Lambda&lt;/a&gt; and &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/azure-functions/&quot;&gt;Azure Functions&lt;/a&gt;, respectively. &lt;a href=&quot;https://cloud.google.com/blog/products/serverless/serverless-from-the-ground-up-building-a-simple-microservice-with-cloud-functions-part-1&quot;&gt;Google Cloud Functions&lt;/a&gt; follows the same principle.&lt;/p&gt;

&lt;h2 id=&quot;essential-microservices-design-patterns&quot;&gt;Essential Microservices Design Patterns&lt;/h2&gt;

&lt;p&gt;Now we understand microservices architecture and can start developing the application using microservices. We also understand the benefits of using microservices and how to refactor applications to support this architecture. The best point to start with building the app is to know microservices design patterns.&lt;/p&gt;

&lt;h2 id=&quot;domain-microservices&quot;&gt;Domain Microservices&lt;/h2&gt;

&lt;p&gt;The microservices domain model (part of &lt;a href=&quot;https://martinfowler.com/bliki/DomainDrivenDesign.html&quot;&gt;domain-driven design&lt;/a&gt;) is more than a pattern ‘ it is a set of principles to design and scope a microservice. A microservices domain should be designed using the following rules:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;A single microservice should be an independent business function. Therefore, the overall service should be scoped to a single business concept.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Business logic should be encapsulated inside an API that is based on REST.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;anti-corruption-layer&quot;&gt;Anti-Corruption Layer&lt;/h2&gt;

&lt;p&gt;A legacy system may have unmaintainable code and an overall poor design, but we still rely on the data that comes from this module. An anti-corruption layer provides the facade, or bridge, between new microservices architecture and legacy architecture. Therefore, it allows us to stay away from manipulating legacy code and focus on feature development.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://cdn-images-1.medium.com/max/6698/1*RJlPjebyn77DBuzNWxh_ew.jpeg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 2: Anticorruption layer&lt;/em&gt;&lt;/p&gt;

&lt;h2 id=&quot;circuit-breaker&quot;&gt;Circuit Breaker&lt;/h2&gt;

&lt;p&gt;The circuit breaker provides mechanisms to stop a cascade from failing and automatically recovering to a normal state. Imagine we have service A and service B that rely on data from service C. We introduce a bug in service C that affects services A and B. In a well-designed microservices architecture, each service should be independent of the other.&lt;/p&gt;

&lt;p&gt;However, dependencies may occur during refactoring from monolith to microservices. In this case, you need to implement a circuit breaker to predict a cascade failure. Circuit breakers act as a state machine. They monitor numerous recent failures and decide what to do next. They can allow operation (&lt;strong&gt;closed&lt;/strong&gt; state) or return the exception (&lt;strong&gt;open&lt;/strong&gt; or &lt;strong&gt;half-open&lt;/strong&gt; state).&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://cdn-images-1.medium.com/max/8636/1*bAzNz1sqY3TrB19wzugD-g.jpeg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 3: Circuit breaker states&lt;/em&gt;&lt;/p&gt;

&lt;h2 id=&quot;service-mesh&quot;&gt;Service Mesh&lt;/h2&gt;

&lt;p&gt;A service mesh implements the communication layer for microservices architecture. It ensures the delivery of service requests, provides load balancing, encrypts data (with TLS), and provides the discovery of other services. A service mesh also:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Provides circuit breaker logic&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Provides the process to manage traffic control, network resilience, security, and authentication&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Has a proxy that integrates with microservices using a sidecar pattern&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It allows you to not only manage the service but also collect telemetry data and send it to the control plane. We implement a service mesh such as &lt;a href=&quot;https://istio.io/&quot;&gt;Istio&lt;/a&gt;, which is the most popular service mesh framework for managing microservices in Kubernetes.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://cdn-images-1.medium.com/max/8636/1*bAzNz1sqY3TrB19wzugD-g.jpeg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 4: Service mesh algorithm&lt;/em&gt;&lt;/p&gt;

&lt;h2 id=&quot;sidecar&quot;&gt;Sidecar&lt;/h2&gt;

&lt;p&gt;Sidecar is a utility application that is deployed alongside the main service. Sidecar is helpful in:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Collecting logs&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Managing configuration&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Controlling connection to the service&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;img src=&quot;https://cdn-images-1.medium.com/max/2802/1*w873C8HpYBJODjPS74ySZw.jpeg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 5: Sidecar&lt;/em&gt;&lt;/p&gt;

&lt;h2 id=&quot;microservices-in-action&quot;&gt;Microservices in Action&lt;/h2&gt;

&lt;p&gt;To demonstrate the power of microservices, we will migrate our monolithic travel application (see Figure 1) to the microservices architecture.&lt;/p&gt;

&lt;p&gt;We will use the serverless approach and Azure cloud.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;API Gateway&lt;/strong&gt; ‘ Using API Management to expose the endpoints of the back-end services so the client application can consume them securely.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Entry points&lt;/strong&gt; ‘ The public-facing APIs that the client application will be using, powered by Azure Functions responding to HTTP requests.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Async queue&lt;/strong&gt; ‘ Messaging service to handle services intercommunication and pass along information and data between the different services, represented by Azure Event Grid.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Backend services&lt;/strong&gt; ‘ The services that are directly operating with the data layer and other components of the solution, isolated from the rest, and easily replaceable if needed.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;img src=&quot;https://cdn-images-1.medium.com/max/9916/1*_RXx3j19IfS80RU8PVl06w.jpeg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 6: Travel booking microservices&lt;/em&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Building highly available, scalable, and performant applications can be challenging. Microservices architecture provides us the option to build not only independent services but also create several teams to support each service and introduce the DevOps approach. Microservices and all popular cloud providers allow us to build multi-cloud microservices architecture. This saves money, as some services have different pricing strategies. But be sure to choose the most appropriate service that’s suited for specific microservices domains. For example, we can use &lt;a href=&quot;https://www.boriszaikin.com/ms-ignite-2021-top-5-valuable-azure-services-quick-start&quot;&gt;AKS with an integrated service mesh&lt;/a&gt; or a serverless approach based on &lt;a href=&quot;https://github.com/skarlekar/faces&quot;&gt;AWS Lambdas&lt;/a&gt;. Multi-cloud allows us to apply cloud-native DevOps to deliver services independently.&lt;/p&gt;
&lt;blockquote&gt;
  &lt;p&gt;&lt;em&gt;This is an article from DZone’s 2022 &lt;a href=&quot;https://dzone.com/trendreports/microservices-and-containerization&quot;&gt;Microservices and Containerization Trend Repor&lt;/a&gt;t.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
</description>
        <pubDate>Sun, 11 Dec 2022 00:00:00 +0000</pubDate>
        <link>https://www.boriszaikin.com/multi-cloud-strategies-using-microservices-architecture</link>
        <guid isPermaLink="true">https://www.boriszaikin.com/multi-cloud-strategies-using-microservices-architecture</guid>
        
        <category>Microservices</category>
        
        <category>Multi-Cloud</category>
        
        <category>Cloud</category>
        
        <category>Azure</category>
        
        <category>Blog</category>
        
        <category>Azure</category>
        
        <category>AWS</category>
        
        <category>Google-Cloud</category>
        
        
      </item>
    
      <item>
        <title>Top 6 Threat Detection Tools for Containers</title>
        <description>&lt;h2 id=&quot;essentials-to-securing-threats-for-containerized-cloud-native-applications&quot;&gt;Essentials to Securing Threats for Containerized Cloud-Native Applications&lt;/h2&gt;

&lt;p&gt;Nowadays, a containerized solution is a de facto standard in the cloud-native application development world. Tools like Docker, Containers, CRI-O, and Kubernetes are on-trend. Millions of development and architecture teams choose a container-based solution to build their product. All well-known cloud providers have numerous services and are based on Kubernetes, Docker, and other container orchestration platforms.&lt;/p&gt;

&lt;p&gt;Tools and platforms are a fundamental part of the threat detection foundation. There are a lot of open-source tools that contain a lot of threat detection options. Below I-ve listed some tools that provide logic:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Static image vulnerability scanning&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Configuration validation&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Secrets scanning&lt;/p&gt;
    &lt;blockquote&gt;
      &lt;p&gt;&lt;a href=&quot;https://dzone.com/refcardz/threat-detection-for-containers&quot;&gt;Threat Detection for Containers Refcard&lt;/a&gt; contains the extended guide on securing threats for containerized cloud-native applications.&lt;/p&gt;
    &lt;/blockquote&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;clair&quot;&gt;Clair&lt;/h2&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/quay/clair&quot;&gt;Clair&lt;/a&gt; is a static security scanner tool. It is based on &lt;a href=&quot;https://github.com/opencontainers/image-spec/blob/main/spec.md&quot;&gt;Open Container Initiative (OCI)&lt;/a&gt; format. Clair validates and indexes the images against all well-known threats and vulnerability information sources, like CVE Tracker, Redhat security Data, and Debian Security Bug Tracker. Also, Clair provides an API for development integration purposes. It allows you to create your divers to extend and customize Clair functionality. Clair has several &lt;a href=&quot;https://quay.github.io/clair/reference/indexer.html&quot;&gt;Indexer&lt;/a&gt;,&lt;a href=&quot;https://quay.github.io/clair/reference/matcher.html&quot;&gt; matcher&lt;/a&gt;,&lt;a href=&quot;https://quay.github.io/clair/reference/notifier.html&quot;&gt;notifier&lt;/a&gt;, or combo models. The easiest and fastest way to start is the combo model. In this way, it runs in a single process.&lt;/p&gt;

&lt;p&gt;For combo mode, you need a load balancer or Kubernetes ingress and a single database, as shown in the figure above.&lt;/p&gt;

&lt;h2 id=&quot;trivy&quot;&gt;Trivy&lt;/h2&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/aquasecurity/trivy&quot;&gt;Trivy&lt;/a&gt; is a security container scanner based on the CVE threat database. It can also scan misconfiguration, secrets, and software dependencies. Trivy uses several scanning sources, like:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Container image&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Filesystem and Storage&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Kubernetes cluster&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Trivy can be installed on your PC or in the Kubernetes nodes, using npm, apt-get, brew, and other package managers.&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;apt-get install trivy

yum install trivy

brew install aquasecurity/trivy/trivy
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;To execute image scanning you can following command&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;$ trivy image app-backend:1.9-test
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;secret-scanner&quot;&gt;Secret Scanner&lt;/h2&gt;

&lt;p&gt;The main goal &lt;a href=&quot;https://github.com/deepfence/SecretScanner&quot;&gt;Secret Scanner&lt;/a&gt; is to look into the container images, infrastructure as code files, JSON log files for hardcoded and default secrets, passwords, AWS access IDs, AWS secret access keys, Google OAuth Key, SSH keys, and tokens.&lt;/p&gt;

&lt;p&gt;To run SecretScanner as a standalone, you should do the following:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;docker run -it - rm - name=deepfence-secretscanner -v $(pwd):/home/deepfence/output -v /var/run/docker.sock:/var/run/docker.sock deepfenceio/deepfence_secret_scanner:latest -image-name node:8.11
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;openscap&quot;&gt;OpenSCAP&lt;/h2&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/OpenSCAP/openscap&quot;&gt;OpenSCAP&lt;/a&gt; is a tool that includes complex security auditing options. It allows you to scan, edit and export SCAP documents. SCAP (Security Content Automation Protocol) provides and describes security compliance checks for the infrastructure that is based on Linux.&lt;/p&gt;

&lt;p&gt;Open SCAP consists of the following components and tools:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;OpenSCAP Base&lt;/strong&gt;- For vulnerability and configuration scans&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;oscap-docker&lt;/strong&gt;- For compliance scans&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;SCAP Workbench&lt;/strong&gt;- A graphical utility to facilitate the execution of typical oscap tasks&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;OpenSCAP Daemon&lt;/strong&gt;- A service that runs in the background&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;SCAPtimony&lt;/strong&gt;- Middleware that retains SCAP results for the infrastructure of the user&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Below you can see an example of how you run the validation process of the SCAP content.&lt;/p&gt;

&lt;p&gt;oscap ds sds-validate scap-ds.xml&lt;/p&gt;

&lt;h2 id=&quot;kube-bench&quot;&gt;Kube Bench&lt;/h2&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/aquasecurity/kube-bench&quot;&gt;Kube-bench&lt;/a&gt; is one of the most powerful open-source tools to detect threat and security issues for your Kuberenetes cluster. Its security check is based on&lt;a href=&quot;https://www.cisecurity.org/benchmark/kubernetes/&quot;&gt; CIS Kubernetes Benchmark&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;To configure the kube-bench you can use YAML files. I have listed YAML file. You can use it to run the validation process against a single pod.&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;---
apiVersion: batch/v1
kind: Job
metadata:
  name: kube-bench
spec:
  template:
    metadata:
      labels:
        app: kube-bench
    spec:
      hostPID: true
      containers:
        - name: kube-bench
          image: docker.io/aquasec/kube-bench:v0.6.8
          command: [&quot;kube-bench&quot;]
          volumeMounts:
            - name: var-lib-etcd
              mountPath: /var/lib/etcd
              readOnly: true
            - name: var-lib-kubelet
              mountPath: /var/lib/kubelet
              readOnly: true
            - name: var-lib-kube-scheduler
              mountPath: /var/lib/kube-scheduler
              readOnly: true
            - name: usr-bin
              mountPath: /usr/local/mount-from-host/bin
              readOnly: true
            - name: etc-cni-netd
              mountPath: /etc/cni/net.d/
              readOnly: true
            - name: opt-cni-bin
              mountPath: /opt/cni/bin/
              readOnly: true
…
      restartPolicy: Never
      volumes:
        - name: var-lib-etcd
          hostPath:
            path: &quot;/var/lib/etcd&quot;
        - name: var-lib-kubelet
          hostPath:
            path: &quot;/var/lib/kubelet&quot;
…
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Let-s save this document to the file job.yaml and run it with the apply command:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;$ kubectl apply -f job.yaml
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I have to cut the file a bit. You can find the complete version &lt;a href=&quot;https://github.com/aquasecurity/kube-bench/blob/main/job.yaml&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;h2 id=&quot;threat-mapper&quot;&gt;Threat Mapper&lt;/h2&gt;

&lt;p&gt;Threat mapper is a complex security solution for Cloud Native applications. It scans your infrastructure cluster components for threats and vulnerabilities. It contains:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Secret scanning&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Generate &lt;a href=&quot;https://github.com/opensbom-generator/spdx-sbom-generator&quot;&gt;Software Bill of Materials&lt;/a&gt; (SBOM)&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Infrastructure security and threats visualization&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Before we jump into the tool description, I will give an overview of what is software Bill of Materials (SBOM).&lt;/p&gt;

&lt;p&gt;SBOM is a combination of all open-source and third-party tools and components that contains your application. An SBOM contains license information of all components. This information is important for quick identification of the security risk.&lt;/p&gt;

&lt;p&gt;The threat scanner contains the following components:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Management console - is a UI tool that builds a security infrastructure overview and provides vulnerabilities and threats reports.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Sensors agents - is a tool that scans your cluster nodes and gathers security telemetry. Sensors agents report telemetry to the management console.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For example, to install Sensor agents to the AKS cluster, you need to do the following:&lt;/p&gt;

&lt;p&gt;helm repo add deepfence &lt;a href=&quot;https://deepfence-helm-charts.s3.amazonaws.com/threatmapper&quot;&gt;https://deepfence-helm-charts.s3.amazonaws.com/threatmapper&lt;/a&gt;&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;helm repo add deepfence [https://deepfence-helm-charts.s3.amazonaws.com/threatmapper](https://deepfence-helm-charts.s3.amazonaws.com/threatmapper)
helm show readme deepfence/deepfence-agent
helm show values deepfence/deepfence-agent
 
# helm v2
helm install deepfence/deepfence-agent \
    --name=deepfence-agent \
    --set managementConsoleUrl=x.x.x.x \
    --set deepfenceKey=C8TtyEtNB0gBo1wGhpeAZICNSAaGWw71BSdS2kLELY0
 
# helm v3
helm install deepfence-agent deepfence/deepfence-agent \
    --set managementConsoleUrl=x.x.x.x \
    --set deepfenceKey=C8TtyEtNB0gBo1wGhpeAZICNSAaGWw71BSdS2kLELY0
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;To install the management console in your AKS cluster, you can use the following command:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;helm repo add deepfence https://deepfence-helm-charts.s3.amazonaws.com/threatmapper

helm install deepfence-console deepfence/deepfence-console
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The installation downloads and install helm package directly to the cluster namespace. It uses two simple commands that allow you to include it in your IaC process.&lt;/p&gt;

&lt;h2 id=&quot;threat-detection-for-containers&quot;&gt;Threat Detection for Containers&lt;/h2&gt;

&lt;p&gt;“With the exponential increase in container adoption, it-s more critical than ever for teams to ensure that proper security and threat management infrastructure &lt;strong&gt;and&lt;/strong&gt; practices are in place. This Refcard presents a comprehensive examination of threat detection for containerized environments, spanning several focus areas such as common cloud security architectures and Kubernetes hardening guidelines.”&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://dzone.com/refcardz/threat-detection-for-containers&quot;&gt;And central to this Refcard&lt;/a&gt; are the fundamentals of container threat detection, including concepts like resource limits, static image vulnerability scanning, configuration validation, and &lt;em&gt;much&lt;/em&gt; more.&lt;/p&gt;
</description>
        <pubDate>Fri, 19 Aug 2022 00:00:00 +0000</pubDate>
        <link>https://www.boriszaikin.com/top-6-threat-detection-tools-for-containers</link>
        <guid isPermaLink="true">https://www.boriszaikin.com/top-6-threat-detection-tools-for-containers</guid>
        
        <category>ci-cd</category>
        
        <category>Docker</category>
        
        <category>Security</category>
        
        <category>Azure</category>
        
        <category>Blog</category>
        
        <category>aws</category>
        
        <category>iac</category>
        
        
      </item>
    
      <item>
        <title>Internal Developer Platform In Plain English</title>
        <description>&lt;h3 id=&quot;pros-and-cons-of-using-internal-development-platform-in-the-cloud-computing-world&quot;&gt;Pros and Cons of Using Internal Development Platform in the Cloud Computing World&lt;/h3&gt;

&lt;h2 id=&quot;introduction&quot;&gt;Introduction&lt;/h2&gt;

&lt;p&gt;Internal Development Platform (IDP) as a brand new word in the DevOps and product development. In this article, I’m explaining:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;What exactly IDP is&lt;/li&gt;
  &lt;li&gt;How to involve it in your organization&lt;/li&gt;
  &lt;li&gt;An overview of the existing IDP platforms on the market, their pros, and cons&lt;/li&gt;
  &lt;li&gt;An example of IDP Architecture based on the Azure Cloud&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;what-is-an-internal-developer-platform&quot;&gt;What is an internal developer platform?&lt;/h2&gt;

&lt;p&gt;As a software architect, I design the DevOps processes and spend much time selecting the DevOps toolset, building pipelines, and communicating with the DevOps team to implement some procedures for the development team. We can solve this with the internal development platform (IDP).&lt;/p&gt;

&lt;p&gt;An internal developer platform(IDP) is an additional layer between development and DevOps teams. The main idea behind the IDP is to remove the dependency between DevOps and developers.&lt;/p&gt;

&lt;p&gt;Let’s look at what functions and components you should include in the IDP. The IDP platform should provide the following:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;RBAC management&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Infrastructure management&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Configuration management&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Deployment management&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Let’s have a look at what is the IDP from insights and how it is connected with DevOps tools and cloud providers.&lt;/p&gt;

&lt;h2 id=&quot;idp-and-devops&quot;&gt;IDP and DevOps&lt;/h2&gt;

&lt;p&gt;As seen in the previous example, IDPs are like frameworks built on top of DevOps tools, resources, and cloud providers. Some developer platforms may include an option to work with numerous DevOps tools and cloud providers, like in the diagram above. Other IDPs focused on specific ones.&lt;/p&gt;

&lt;p&gt;The diagram below shows the example of the IDP components and how they combine DevOps tools and cloud providers.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://cdn-images-1.medium.com/max/12738/1*fMWlCcd5ZZfSB3GGukREuQ.jpeg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 1&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Let’s see what options of developer platforms are on the market. For example, &lt;a href=&quot;https://github.com/gimlet-io&quot;&gt;Gimplet.IO&lt;/a&gt; is an open-source IDP that focuses primarily on operating Kubernetes deployments. Gimlet contains CLI to manage charts, deployments, secrets, and GitOps.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://cdn-images-1.medium.com/max/2000/0*BSGIXmS1Zp8XnVUj&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;p&gt;The Gimlet doesn’t contain application configuration management which makes it partial IDP. I like the idea when IDP focuses on specific platforms. For example, Kubernetes. It makes it more stable than other platforms that try to cover all well-known platforms and cloud providers. Covering too many platforms can be suitable for marketing. However, having the proper support of multiple platforms and cloud providers requires significant effort as they have different APIs, standards, and even naming conventions.&lt;/p&gt;

&lt;p&gt;Another good example is an &lt;a href=&quot;https://www.upbound.io&quot;&gt;Upbound&lt;/a&gt;. Upbound is a powerful IDP that allows you to deploy and build your application in the Kubernetes cluster. It supports GCP, AWS and the Goolge Cloud. I like how an Upbound team supports the documentation and provides architecture examples and architecture references. Below you can see &lt;a href=&quot;https://github.com/upbound/platform-ref-azure&quot;&gt;Azure Reference Architecture for Kubernetes&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://cdn-images-1.medium.com/max/3200/0*HXJvy4vx8CNsPkOS&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 2&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;There are products like &lt;a href=&quot;https://github.com/backstage/backstage&quot;&gt;Backstage&lt;/a&gt; that made good progress in supporting different platforms. Backstage is an open-source platform made by Spotify and supported by &lt;a href=&quot;https://www.cncf.io&quot;&gt;Cloud Native Computing Foundation (CNCF)&lt;/a&gt;. The Backstage is a platform that is intended to build developer portals. It includes the following components:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;https://backstage.io/docs/features/software-catalog/software-catalog-overview&quot;&gt;Backstage Software Catalog&lt;/a&gt; for managing microservices, libraries, data pipelines, websites, and ML models.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;https://backstage.io/docs/features/software-templates/software-templates-index&quot;&gt;Backstage Software Templates&lt;/a&gt; for quickly creating new projects.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;https://backstage.io/docs/features/techdocs/techdocs-overview&quot;&gt;Backstage TechDocs&lt;/a&gt; for generating project documentation&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The &lt;a href=&quot;https://www.devopsbox.io/profit-calculator&quot;&gt;DevOpsBox&lt;/a&gt; is an example of a platform that supports numerous DevOps platforms, and Cloud Providers offer application configuration management, infrastructure orchestration, environment management, and adequate RBAC. However, many cloud providers and tools are still in the implementation phase ‘ for example, &lt;a href=&quot;https://www.devopsbox.io/profit-calculator&quot;&gt;Azure and Google Cloud&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://cdn-images-1.medium.com/max/2000/0*MuGxPcFS5S5OVcvl&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;p&gt;And last but not least is a &lt;a href=&quot;https://github.com/Humanitec/about&quot;&gt;Humanitec&lt;/a&gt;. It is a platform that connects multiple GitOps tools and Cloud platforms. I like the concept that Humanitec brings. For example, you can &lt;a href=&quot;https://docs.humanitec.com/introduction/how-does-humanitec-integrate&quot;&gt;connect&lt;/a&gt; one or several Kubernetes clusters over Azure and AWS. Connect Datadog and Grafana. You can even reuse your existing Terraform and Pulumi scripts. You can operate all this infrastructure via CLI, API, and developer-focused UI. Developers can quickly provision Kubernetes clusters, spinup databases, and VM instances without writing pipelines, manifests, and Terraform scripts.&lt;/p&gt;

&lt;p&gt;They don’t have to wait for the DevOps team when they provide this one. However, DevOps specialists still should spend time on:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Selecting DevOps tools&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Migrating existing scripts, pipelines, and manifests&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Connect an environment&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;img src=&quot;https://cdn-images-1.medium.com/max/2000/0*SlF8c8cHwqE4MMTX&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 3&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Humanitec also supports the &lt;a href=&quot;https://platformcon.com/&quot;&gt;PlatformCON&lt;/a&gt; community around IDP and DevOps topics.&lt;/p&gt;

&lt;h2 id=&quot;example-of-internal-development-platform&quot;&gt;Example of internal development platform&lt;/h2&gt;

&lt;p&gt;Many enterprise companies like Spotify are building their own IDP. They already have a massive DevOps code base that includes scripts and templates, pipelines for the most available platforms, and cloud providers.&lt;/p&gt;

&lt;p&gt;A few years ago, I was working for an enterprise company with 500+ ongoing projects, and they needed to set up a team for the new project quickly. All projects need to provide infrastructure ASAP. The developer had no time to do DevOps stuff. The company asked to build Internal Developer Platform (IDP) to provision and manage infrastructure. The idea is simple. When a new project appears, the algorithm should be the following:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Onboard a development team.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;The support engineers provision all required infrastructure.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;img src=&quot;https://cdn-images-1.medium.com/max/3200/0*oczaJY_34Bib_uug&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 4&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;As you can see, the architecture is primarily based on the Azure stack. However, you can easily extend it to use in AWS, GoogleCloud, or any other cloud provider. The IDP can provide the following resources and applications:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Azure DevTestLabs, VMs, and Extensions&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Kubernetes Clusters (AKS)&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Databases&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;App Service&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A developer portal is a simple ReactJS application that uses an internal API. The API is based on Azure API management and contains several functions representing a single API call. For example, to trigger deployment or receive deployment status. The API layer is connected to the Azure DevOps API. The Azure DevOps contains YAML pipelines, Terraform, Bash, and PowerShell scripts.&lt;/p&gt;

&lt;h2 id=&quot;pros-and-cons&quot;&gt;Pros and Cons&lt;/h2&gt;

&lt;p&gt;An IDP provides you with the following benefits:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Developer’s productivity. Developers can deliver the code and focus less on DevOps tasks.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;DevOps teams freedom. An IDP reduces the infrastructure provisioning workload and focuses on building baseline configuration and templates.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;IDP can bring value to the product. However, there are some drawbacks involving IDP. Below I’ve listed some of them:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Costs and complexity. Building a developer platform requires companies to provide additional resources to build, support, and keep it updated. We can partially solve this issue by buying the external development platform. I will describe a few existing platforms below.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Culture change. Involving a developer platform requires the development and DevOps team to change their culture and way of working. It may end up with the teams will lose time.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The list can be endless and may require its own article. In the article: &lt;a href=&quot;https://www.bunnyshell.com/blog/companies-build-internal-dev-platforms-pitfalls&quot;&gt;Why companies that build internal dev platforms wouldn’t do it again&lt;/a&gt; you can find a lot more points against building IDP internally.&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Here I’ve tried to clarify what is an internal developer platform and how you and your organization can benefit from involving IDP. Also, I’ve added points about why using IDP may be not reasonable. Also, I’ve shared the architecture example that demonstrates how an organization can build its IDP and save time on managing several DevOps teams across the company.&lt;/p&gt;
</description>
        <pubDate>Wed, 08 Jun 2022 00:00:00 +0000</pubDate>
        <link>https://www.boriszaikin.com/internal-developer-platform-in-plain-english</link>
        <guid isPermaLink="true">https://www.boriszaikin.com/internal-developer-platform-in-plain-english</guid>
        
        <category>ci-cd</category>
        
        <category>Docker</category>
        
        <category>Kubernetes</category>
        
        <category>Azure</category>
        
        <category>Blog</category>
        
        <category>aws</category>
        
        <category>iac</category>
        
        
      </item>
    
      <item>
        <title>CI/CD for Cloud-Native Applications</title>
        <description>&lt;h2 id=&quot;define-continuous-integration-and-continuous-delivery-review-the-steps-in-a-cicd-pipeline-and-explore-devops-and-iac-tools-used-to-build-a-cicd-process&quot;&gt;Define continuous integration and continuous delivery, review the steps in a CI/CD pipeline, and explore DevOps and IaC tools used to build a CI/CD process.&lt;/h2&gt;

&lt;p&gt;Continuous integration (CI) and continuous delivery (CD) are crucial parts of developing and maintaining any cloud-native application. From my experience, proper adoption of tools and processes makes a CI/CD pipeline simple, secure, and extendable. Cloud native (or cloud based) simply means that an application utilizes cloud services. For example, a cloud-native app can be a web application deployed via Docker containers and uses Azure Container Registry deployed to Azure Kubernetes Services or uses Amazon EC2, AWS Lambda, or Amazon S3 services.&lt;/p&gt;

&lt;p&gt;In this article, we will:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Define continuous integration and continuous delivery&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Review the steps in a CI/CD pipeline&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Explore DevOps and IaC tools used to build a CI/CD process&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;an-overview-of-cicd&quot;&gt;An Overview of CI/CD&lt;/h2&gt;

&lt;p&gt;The continuous integration process is when software engineers combine all parts of the code to validate before releasing tested applications to dev, test, or production stages. CI includes the following steps:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Source control&lt;/strong&gt; - Pulls the latest source code of the application from source control.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Build&lt;/strong&gt; - Compiles, builds, and validates the code or creates bundles and linting in terms of JavaScript/Python code.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Test&lt;/strong&gt; - Runs unit tests and validates coding styles.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Following CI is the continuous delivery process, which includes the following steps:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Deploy&lt;/strong&gt; - Places prepared code into the test (or stage) environment.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Testing&lt;/strong&gt; - Runs integration and/or load tests. This step is optional as an application can be small and not have a huge load.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Release&lt;/strong&gt; - Deploys an application to the development, test, and production stages.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;In my opinion, CI and CD are two parts of one process. However, in the cloud-native world, you can implement CD without CI. You can see the whole CI/CD process in the diagram below:&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://cdn-images-1.medium.com/max/2000/0*CDpQIoJqZMu6SWi1.jpg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 1&lt;/em&gt;&lt;/p&gt;

&lt;h2 id=&quot;the-importance-of-cicd-in-cloud-native-application-development&quot;&gt;The Importance of CI/CD in Cloud-Native Application Development&lt;/h2&gt;

&lt;p&gt;Building a successful cloud-native CI/CD process relies on the Infrastructure-as-Code (IaC) toolset. Many cloud-native applications have integrated CI/CD processes that include steps to build and deploy the app and provision and manage its cloud resources.&lt;/p&gt;

&lt;h2 id=&quot;how-iac-supports-cicd&quot;&gt;How IAC Supports CI/CD&lt;/h2&gt;

&lt;p&gt;Infrastructure as Code is an approach where you can describe and manage the configuration of your application’s infrastructure. Many DevOps platforms support the IaC approach, integrating it directly into the venue for example, Azure DevOps, GitHub, GitLab, and Bitbucket support YAML pipelines. With the YAML pipeline, you can build CI/CD processes for your application with infrastructure deployment. Below, you can see DevOps platforms that can easily be integrated with IaC tools:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Azure Resource Manager, Bicep, and Farmer&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Terraform&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Tekton&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Pulumi&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;AWS CloudFormation&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;building-a-successful-cloud-native-cicd-process&quot;&gt;Building a Successful Cloud-Native CI/CD Process&lt;/h2&gt;

&lt;p&gt;In many cases, the CI/CD process for cloud-native applications includes documenting and deploying infrastructure using an IaC approach. The IaC approach allows you to:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Prepare infrastructure for your application before it is deployed.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Add new cloud resources and configuration.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Manage existing configurations and solve problems like “environment drift”.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Environment drift problems appear when teams have to support multiple environments manually. Drift can lead to an inconsistent environment setting that causes application outages. A successful CI/CD process with IaC relies on what tool and platform you use.&lt;/p&gt;

&lt;p&gt;Let’s have a look into the combination of the most popular DevOps and IaC tools.&lt;/p&gt;

&lt;h2 id=&quot;azure-devops&quot;&gt;Azure DevOps&lt;/h2&gt;

&lt;p&gt;&lt;a href=&quot;https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema/?view=azure-pipelines&quot;&gt;Azure DevOps&lt;/a&gt; is a widely used tool to organize and build your cloud-native CI/CD process, especially for Azure Cloud. It supports UI and YAML-based approaches to building pipelines. I prefer using this tool when building an automated CI/CD process for Azure Cloud. Let’s look at a simple YAML pipeline that creates a virtual machine (VM) in &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/devtest-labs/devtest-lab-overview&quot;&gt;Azure DevTest Labs&lt;/a&gt;:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;    . . . . . .
    jobs:
    - deployment: deploy
      displayName: Deploy
      pool:
        vmImage: &apos;ubuntu-latest&apos;
      environment: $
     
      strategy:
        runOnce:
          deploy:
            steps:
            - checkout: self
            - task: AzurePowerShell@4
              displayName: &apos;Check vm-name variable exists&apos;
              continueOnError: true
              inputs:
                azureSubscription: $
                scriptType: &quot;inlineScript&quot;
                azurePowerShellVersion: LatestVersion
                inline: |
                  $vm_name=&quot;$(vm-name)&quot;
                  echo $(vm-name) - $vm_name
                  #if ([string]::IsNullOrWhitespace($vm_name))
                  {
                      throw &quot;vm-name is not set&quot;
                  }
                  
            - task: AzureResourceManagerTemplateDeployment@3
              displayName: &apos;New deploy VM to DevTestLab&apos;
              inputs:
                deploymentScope: &apos;Resource Group&apos;
                azureResourceManagerConnection: $
                subscriptionId: $
                deploymentMode: &apos;Incremental&apos;
                resourceGroupName: $
                location: &apos;$(location)&apos;
                templateLocation: &apos;Linked artifact&apos;
                csmFile: templates/vm.json
                csmParametersFile: templates/vm.parameters.json
                overrideParameters: &apos;-labName &quot;$&quot;
                                     -vmName $ -password $
                                     -userName $
                                     -storageType
    . . . . . .

&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;To simplify the pipeline listing, I’ve shortened the example above. As you can see, the pipeline code can also be generic; therefore, you can reuse it in multiple projects. The pipeline’s first two steps are in-line PowerShell scripts that validate and print required variables. Then this pipeline can be integrated easily into Azure DevOps, as shown in the image below:&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://cdn-images-1.medium.com/max/2120/0*3fK6KjGtaY39V_ba.jpg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 2&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The last step creates the VM in Azure DevTest Labs using &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/overview&quot;&gt;Azure Resource Manager&lt;/a&gt; (ARM) templates and is represented via the &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/templates/microsoft.devtestlab/2015-05-21-preview/labs/virtualmachines?tabs=json&quot;&gt;JSON format&lt;/a&gt;. This step is quite simple: It sends (overrides) variables into the ARM scripts, which Azure uses to create a VM in the DevTest Labs.&lt;/p&gt;

&lt;h2 id=&quot;aws-cloudformation&quot;&gt;AWS CloudFormation&lt;/h2&gt;

&lt;p&gt;&lt;a href=&quot;https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html&quot;&gt;AWS CloudFormation&lt;/a&gt; is an IaC tool from the AWS Cloud stack and is intended to provision resources like EC2, DNS, S3 buckets, and many others. CloudFormation templates are represented in JSON and YAML formats; therefore, they can be an excellent choice to build reliable, cloud-native CI/CD processes. Also, many tools like Azure DevOps, GitHub, Bitbucket, and &lt;a href=&quot;https://docs.aws.amazon.com/codepipeline/latest/userguide/welcome.html&quot;&gt;AWS CodePipelines&lt;/a&gt; have integration options for CloudFormation.&lt;/p&gt;

&lt;p&gt;Below is an example of what an AWS CloudFormation template may look like, which I’ve shortened to fit in this article:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;    {
      &quot;AWSTemplateFormatVersion&quot; : &quot;2010-09-09&quot;,
      &quot;Parameters&quot; : {
         &quot;AccessControl&quot; : {
         &quot;Description&quot; : &quot; The IP address range that can be used to access the CloudFormer tool. NOTE:
    We highly recommend that you specify a customized address range to lock down the tool.&quot;,
          &quot;Type&quot;: &quot;String&quot;,
          &quot;MinLength&quot;: &quot;9&quot;,
          }
      },
          &quot;Mappings&quot; : {
            &quot;RegionMap&quot; : {
            &quot;us-east-1&quot; : { &quot;AMI&quot; : &quot;ami-21341f48&quot; },
            }
      }
      &quot;Resources&quot; : {
         &quot;CFNRole&quot;: {
         &quot;Type&quot;: &quot;AWS::IAM::Role&quot;,
         &quot;Properties&quot;: {
         &quot;AssumeRolePolicyDocument&quot;: {
                &quot;Statement&quot;: [{
                &quot;Effect&quot;: &quot;Allow&quot;,
                &quot;Principal&quot;: { &quot;Service&quot;: [ &quot;ec2.amazonaws.com&quot; ] },
                &quot;Action&quot;: [ &quot;sts:AssumeRole&quot; ]
                }]
          },
          &quot;Path&quot;: &quot;/&quot;
          }
          },
      }
    }
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;a href=&quot;https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html#:~:text=set%20of%20outputs-,Template%20sections,-Templates%20include%20several&quot;&gt;CloudFormation templates&lt;/a&gt; contain sections including:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Parameters - You can specify input parameters to run templates from the CLI or pass data from AWS CodePipeline (or any other CI/CD tool).&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Mappings - You can match the key to a specific value (or set of values) based on a region.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Resources - You can declare the resources included, answering the “what will be provisioned” question, and you can adjust the resource according to your requirement using a parameter.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;AWS CloudFormation templates look similar to Azure ARM templates as they do the same work but for different cloud providers.&lt;/p&gt;

&lt;h2 id=&quot;google-cloud-deployment-manager&quot;&gt;Google Cloud Deployment Manager&lt;/h2&gt;

&lt;p&gt;Google Cloud (GC) offers &lt;a href=&quot;https://cloud.google.com/deployment-manager/docs&quot;&gt;Cloud Deployment Manager&lt;/a&gt;, the all-in-one tool that includes templates that describe resources for provisioning and templates to build CI/CD pipelines. The templates support:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;https://docs.python.org/3/&quot;&gt;Python 3.x&lt;/a&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;https://jinja.palletsprojects.com/en/2.10.x/&quot;&gt;Jinja 2.10.x&lt;/a&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;YAML&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Let’s explore a deployment of the VM using Jinja templates ‘ it looks common to YAML:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;    resources:
    - type: compute.v1.instance
      name: -deployment-vm
      properties:
         zone: 
         machineType:https://www.googleapis.com/compute/v1/projects//zones/
    /machineTypes/f1-micro
         disks:
         - deviceName: boot
         type: PERSISTENT
         boot: true
         autoDelete: true
         initializeParams:
         sourceImage: https://www.googleapis.com/compute/v1/projects/debian-cloud/global/images/family/
    debian-9
         networkInterfaces:
         - network: https://www.googleapis.com/compute/v1/projects//global/networks/
    default
         accessConfigs:
         - name: External NAT
         type: ONE_TO_ONE_NAT
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The example above is similar to ARM and CloudFormation templates as it describes resources to deploy. In my opinion, the YAML/Jinja 2.10.x format works better than the JSON-based structure because:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;YAML increases readily and can read much faster than JSON&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Teams can find and fix errors in YAML and Jinja faster than in JSON&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;YAML pipelines (with small adaptations) can be reused on many other platforms&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can find an extended version of this example in the &lt;a href=&quot;https://gist.github.com/ryu1kn/3f53143e743e2553030f3d7e93b0684e&quot;&gt;GitHub gist&lt;/a&gt;.&lt;/p&gt;

&lt;h2 id=&quot;tekton-and-kubernetes&quot;&gt;Tekton and Kubernetes&lt;/h2&gt;

&lt;p&gt;&lt;a href=&quot;https://tekton.dev/&quot;&gt;Tekton&lt;/a&gt;, supported by the &lt;a href=&quot;https://cd.foundation/&quot;&gt;CD Foundation&lt;/a&gt; (part of the &lt;a href=&quot;https://www.linuxfoundation.org/projects/&quot;&gt;Linux Foundation&lt;/a&gt;), is positioned as an open-source CI/CD framework for cloud-native applications based on Kubernetes. The Tekton framework’s components include:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Tekton Pipelines&lt;/strong&gt; - Most essential and are intended to build CI/CD pipelines based on &lt;a href=&quot;https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/&quot;&gt;Kubernetes Custom Resources&lt;/a&gt;.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Tekton Triggers&lt;/strong&gt; - Provide logic to run pipelines based on an event-driven approach.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Tekton CLI&lt;/strong&gt; - Built on top of the Kubernetes CLI and allows you to run pipelines, check statuses, and manage other options.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;https://github.com/tektoncd/dashboard/blob/main/README.md&quot;&gt;Tekton Dashboard&lt;/a&gt; and &lt;a href=&quot;https://hub.tekton.dev/&quot;&gt;Hub&lt;/a&gt; Use web-based graphical interfaces to run pipelines and observe pipeline execution logs, resource details, and resources for the entire cluster (see dashboard in Figure 3).&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;img src=&quot;https://cdn-images-1.medium.com/max/2284/0*OQbKAPeD0-fpVqV3.jpg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 3&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;I like the idea behind Tekton Hub that you can share your pipelines and other reusable components. Let’s look at a Tekton Pipeline example:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;    apiVersion: tekton.dev/v1beta1
    kind: Pipeline
    metadata:
      name: say-things
    spec:
      tasks:
        - name: first-task
          params:
            - name: pause-duration
              value: &quot;2&quot;
            - name: say-what
              value: &quot;Hello, this is the first task&quot;
          taskRef:
            name: say-something
        - name: second-task
          params:
            - name: say-what
              value: &quot;And this is the second task&quot;
          taskRef:
            name: say-something
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The pipeline code above is written in the native Kubernetes format/manifests and represents a set of tasks. Therefore, you can build native cross-cloud CI/CD processes. In the tasks, you can add steps to operate with Kubernetes resources, build images, print information, and many other actions. You can find the complete tutorial for Tekton Pipelines &lt;a href=&quot;https://developers.redhat.com/blog/2021/01/13/getting-started-with-tekton-and-pipelines#run_in_parallel_or_sequentially&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;h2 id=&quot;terraform-azure-bicep-and-farmer&quot;&gt;Terraform, Azure Bicep, and Farmer&lt;/h2&gt;

&lt;p&gt;&lt;a href=&quot;https://www.terraform.io/docs&quot;&gt;Terraform&lt;/a&gt; is a leading platform for building reliable CI/CD processes based on the IaC approach. I will not go in depth on Terraform as it requires a separate article (or even book). Terraform uses a specific language that simplifies building CI/CD templates. Also, it allows you to reuse code parts, adding dynamic flavor to the CI/CD process. Therefore, you can build templates that are much better than ARM/JSON templates. Let’s see a basic example of Terraform template code:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;    terraform {
      required_providers {
      }
      backend &quot;remote&quot; {
        organization = &quot;YOUR_ORGANIZATION_NAME&quot;
        workspaces {
          name = &quot;YOUR_WORKSPACE_NAME&quot;
        }
      }
    }
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The basic template above contains the resources, providers, and workspace definition. The same approach follows the Azure Bicep and Farmer tools. These Terraform analogs can drastically improve and shorten your code. Let’s look at the Bicep example below:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;    param location string = resourceGroup().location
    param storageAccountName string = &apos;toylaunch${uniqueString(resourceGroup().id)}&apos;

    resource storageAccount &apos;Microsoft.Storage/storageAccounts@2021-06-01&apos; = {
      name: storageAccountName
      location: location
      sku: {
        name: &apos;Standard_LRS&apos;
      }
      kind: &apos;StorageV2&apos;
      properties: {
        accessTier: &apos;Hot&apos;
      }
    }
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The Bicep code above deploys storage accounts in the US region. You can see that the &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/azure-resource-manager/bicep/overview?tabs=json&quot;&gt;JSON ARM example&lt;/a&gt; acts the same. In my opinion, Terraform and Azure Bicep are shorter and much easier to understand than ARM templates. The &lt;a href=&quot;https://compositionalit.github.io/farmer/&quot;&gt;Farmer&lt;/a&gt; tool can also show impressive results in readability and type-safe code:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;    // Create a storage account with a container
    let myStorageAccount = storageAccount {
        name &quot;myTestStorage&quot;
        add_public_container &quot;myContainer&quot;
    }

    // Create a web app with application insights that&apos;s connected to the storage account.
    let myWebApp = webApp {
        name &quot;myTestWebApp&quot;
        setting &quot;storageKey&quot; myStorageAccount.Key
    }

    // Create an ARM template
    let deployment = arm {
        location Location.NorthEurope
        add_resources [
            myStorageAccount
            myWebApp
        ]
    }

    // Deploy it to Azure!
    deployment
    |&amp;gt; Writer.quickDeploy &quot;myResourceGroup&quot; Deploy.NoParameters
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Above, you can see how to deploy your web application to Azure in 20 lines of easily readable and extensible code.&lt;/p&gt;

&lt;h2 id=&quot;pulumi&quot;&gt;Pulumi&lt;/h2&gt;

&lt;p&gt;The &lt;a href=&quot;https://www.pulumi.com/registry/packages/azure-native/how-to-guides/azure-cs-net5-aks-webapp/&quot;&gt;Pulumi&lt;/a&gt; framework follows a different approach to building and organizing your CI/CD processes: It allows you to deploy your app and infrastructure using your favorite programming language. Pulumi supports Python, C#, TypeScript, Go, and many others. Let’s look at the example below:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;    public MyStack()
    {
        var app = new WebApplication(&quot;hello&quot;, new()
        {
            DockerImage = &quot;strm/helloworld-http&quot;
        });
        
        this.Endpoint = app.Endpoint;
    }
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This part of the code deploys the web app to the Azure cloud and uses Docker containers to spin up the web app. You can find examples of how to spin up the web app in an AKS cluster as well as from the Docker container &lt;a href=&quot;https://www.pulumi.com/registry/packages/azure-native/how-to-guides/azure-cs-net5-aks-webapp/&quot;&gt;here&lt;/a&gt;&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;Building a cloud-native CI/CD pipeline for your application can be a never-ending story if you don’t know the principles, tools, and frameworks best suited for doing so. It is easy to get lost in various tools, providers, and buzzwords, so this article aimed to explain what CI/CD cloud-native applications are and walk you through the widely used tools and principles of building reliable CI/CD pipelines. Having this guide helps you to feel comfortable while designing CI/CD processes and choosing the right tools for your cloud-native application.&lt;/p&gt;
&lt;blockquote&gt;
  &lt;p&gt;&lt;em&gt;This is an article from DZone’s 2022 DevOps Trend Report.&lt;/em&gt;
&lt;em&gt;For more:&lt;/em&gt;
&lt;em&gt;&lt;a href=&quot;https://dzone.com/trendreports/devops-3&quot;&gt;Read the Report&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
</description>
        <pubDate>Wed, 20 Apr 2022 00:00:00 +0000</pubDate>
        <link>https://www.boriszaikin.com/cicd-for-cloud-native-applications</link>
        <guid isPermaLink="true">https://www.boriszaikin.com/cicd-for-cloud-native-applications</guid>
        
        <category>ci-cd</category>
        
        <category>Docker</category>
        
        <category>Kubernetes</category>
        
        <category>Azure</category>
        
        <category>Security</category>
        
        <category>Blog</category>
        
        <category>aws</category>
        
        <category>googlecloud</category>
        
        <category>iac</category>
        
        
      </item>
    
      <item>
        <title>Docker Security [Refcard]</title>
        <description>&lt;h3 id=&quot;core-practices-for-securing-containers&quot;&gt;Core Practices for Securing Containers&lt;/h3&gt;

&lt;p&gt;Are containers insecure? Not at all. Features like process isolation with user namespaces, resource encapsulation with cgroups, immutable images, and shipping minimal software and dependencies reduce the attack vector by providing a great deal of protection.&lt;/p&gt;

&lt;p&gt;Container security tools are becoming hot topics in the modern IT space as early adoption fever is evolving into a mature ecosystem. Security is an unavoidable subject to address when planning to change how we architect our infrastructure.&lt;/p&gt;

&lt;p&gt;This Refcard will lay out the basics of container security, assess key challenges, provide hands-on experience with basic security options, and introduce some more advanced workflows.&lt;/p&gt;

&lt;p&gt;We’ll split container security into three sections, covering what to do at each step of your container security lifecycle:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;CI/CD and pre-deployment security&lt;/li&gt;
  &lt;li&gt;Runtime security&lt;/li&gt;
  &lt;li&gt;Incident response and forensics&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Lastly, we will take a look at Docker and Kubernetes security principles, how cloud providers work with Docker containers, and what security options are available.&lt;/p&gt;
&lt;blockquote&gt;
  &lt;p&gt;&lt;em&gt;This is an excerpt from DZone’s 2022 Docker Security Refcard&lt;/em&gt;
&lt;em&gt;For more: &lt;a href=&quot;https://dzone.com/refcardz/docker-security&quot;&gt;Read the Refcard&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
</description>
        <pubDate>Wed, 23 Feb 2022 00:00:00 +0000</pubDate>
        <link>https://www.boriszaikin.com/docker-security-refcard</link>
        <guid isPermaLink="true">https://www.boriszaikin.com/docker-security-refcard</guid>
        
        <category>Cloud</category>
        
        <category>Docker</category>
        
        <category>Kubernetes</category>
        
        <category>API</category>
        
        <category>Security</category>
        
        <category>Blog</category>
        
        
      </item>
    
      <item>
        <title>Common Performance Management Mistakes</title>
        <description>&lt;h2 id=&quot;how-to-avoid-pain-points-introduced-by-cloud-based-architectures&quot;&gt;How to Avoid Pain Points Introduced by Cloud-Based Architectures&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;Editor’s Note: The following is an article written for and published in DZone’s 2021 &lt;a href=&quot;https://dzone.com/trendreports/application-performance-management-1&quot; target=&quot;_blank&quot;&gt;Application Performance Management Trend Report&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Performance in any cloud-distributed application is key to successful user experience. Thus, having a deep understanding of how to measure performance and what metric IO pattern to use is quite important. In this article, we will cover the following:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Performance analysis checklist and strategies&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Performance issue detection and tools&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Performance anti-patterns and how to mitigate issues&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;performance-monitoring-in-the-cloud-checklist&quot;&gt;Performance Monitoring in the Cloud Checklist&lt;/h2&gt;

&lt;p&gt;When improving the performance of your application or infrastructure architecture, use the following checklist:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Introduce logging tools in your application and infrastructure components&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Find anti-patterns and bottlenecks of your code and infrastructure&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Set up monitoring tools to gather CPU, memory, and storage utilization&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Adjust monitoring tools to gather info about events between base components&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Do not log everything identify important events to log&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;most-common-application-performance-anti-patterns&quot;&gt;Most Common Application Performance Anti-Patterns&lt;/h2&gt;

&lt;p&gt;The most important item from the performance checklist is identifying anti-patterns. This will save valuable time once you already know the weak spots.&lt;/p&gt;

&lt;h2 id=&quot;nosy-neighbor&quot;&gt;Nosy Neighbor&lt;/h2&gt;

&lt;p&gt;Imagine you have a microservice that is deployed as a Docker container, and it is eating more CPU and memory than other containers. That can lead to outages since other services might not receive enough resources. For example, if you use Kubernetes, it may kill other containers to release some resources. You can easily fix this by setting up CPU and memory limits at the very beginning of the design and implementation phases.&lt;/p&gt;

&lt;h2 id=&quot;no-caching&quot;&gt;No Caching&lt;/h2&gt;

&lt;p&gt;Some applications that tend to work under a high load do not contain any caching mechanisms. This may lead to fetching the same data and overusing the main database. You can fix this by introducing a caching &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/architecture/best-practices/caching&quot; target=&quot;_blank&quot;&gt;layer in your application&lt;/a&gt;, and it can be based on a Redis cache or just a memory cache module. Of course, you don’t need to use caching everywhere, since that may lead to data inconsistency. Sometimes, you can improve your performance by simply adding output caching to your code. For example:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;namespace MvcApplication1.Controllers
{
  [HandleError]
  public class HomeController : Controller
  {

     [OutputCache(Duration=10, VaryByParam=&quot;none&quot;)]
     public ActionResult Index()
     {
         return View();
     }
   }
}
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Above, I’ve added the output cache attribute to the MVC application. It will cache static content for 60 seconds.&lt;/p&gt;

&lt;h2 id=&quot;busy-database&quot;&gt;Busy Database&lt;/h2&gt;

&lt;p&gt;This issue is often found in modern microservices architectures, when all services are in a Kubernetes cluster and deployed via containers but they all use a single database instance. You can fix this problem by identifying the data scope for each microservice and splitting one database into several. You can also use the database pools mechanism. For example, Azure provides the Azure SQL elastic pool service.&lt;/p&gt;

&lt;h2 id=&quot;retry-storm&quot;&gt;Retry Storm&lt;/h2&gt;

&lt;p&gt;Retrying storms and the issues they cause usually occur in microservice or cloud-distributed applications; when some component or service is offline, other services try to reach it. This often results in a never-ending retry loop. It can be fixed, however, by using the &lt;a href=&quot;https://docs.microsoft.com/en-us/azure/architecture/patterns/circuit-breaker&quot; target=&quot;_blank&quot;&gt;circuit breaker&lt;/a&gt; pattern. The idea for circuit breaker comes from radio electronics. It can be implemented as a separate component, like an auto switch. When the circuit runs into an issue (like a short circuit), then the switch turns the circuit off.&lt;/p&gt;

&lt;h2 id=&quot;example-cloud-performance-monitoring-architecture-that-results-in-an-outage&quot;&gt;Example: Cloud Performance Monitoring Architecture That Results in an Outage&lt;/h2&gt;

&lt;p&gt;To check the performance of your architecture, you need to run load tests against your application. Below, you can see an architectural example that is based on Azure App Services and Azure Functions. The architecture contains the following components:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Separated into four stages: Dev, Test, Staging, and Production.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Login and monitoring are implemented with Prometheus and Grafana&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Loading tests are implemented with Azure DevOps and JMeter&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/azure-samples/jmeter-aci-terraform/tree/main/&quot; target=&quot;_blank&quot;&gt;Here&lt;/a&gt;, you can find an example of how to set up a &lt;strong&gt;JMeter&lt;/strong&gt; load test in Azure DevOps.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Figure 1&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://cdn-images-1.medium.com/max/3200/0*c9EEPdy11PwaPuzS&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;blockquote&gt;
  &lt;p&gt;This is an excerpt from DZone’s 2021 Application Performance Management Trend Report.
For more: &lt;a href=&quot;https://dzone.com/trendreports/application-performance-management-1&quot; target=&quot;_blank&quot;&gt;Read the Report&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2 id=&quot;fixing-the-issue&quot;&gt;Fixing the Issue&lt;/h2&gt;

&lt;p&gt;As you can see in the diagram, everything looks good at first glance. Where do you think there could be an issue?&lt;/p&gt;

&lt;p&gt;You can see the fixed architecture of the diagram in Figure 2.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Figure 2&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://cdn-images-1.medium.com/max/3200/0*Ai7hqv_rqVr0JXqy&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;p&gt;First of all, you should never run load testing against the Production stage as it may (and often will) cause downtime when you run an excessive load test. Instead, you should run the test against the Test or Staging environments.&lt;/p&gt;

&lt;p&gt;You can also create the replica of your production environment explicitly for load test purposes. In this case, you should not use real production data, since that may result in sending emails to real customers!&lt;/p&gt;

&lt;p&gt;Next, let’s look at an application that should be architected under a high load.&lt;/p&gt;

&lt;h2 id=&quot;example-high-load-application-architecture-on-aks&quot;&gt;Example: High-Load Application Architecture on AKS&lt;/h2&gt;

&lt;p&gt;Imagine that we have a popular e-Commerce application that needs to survive Black Friday.&lt;/p&gt;

&lt;p&gt;The application architecture should be based around the following components:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Azure Kubernetes Services (AKS) with &lt;a href=&quot;https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler&quot; target=&quot;_blank&quot;&gt;Kubernetes Cluster Autoscaler&lt;/a&gt; are used as the main distributed environment and mechanism to scale compute power under load.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Istio’s service mesh is used to improve cluster observability, traffic management, and load balancing.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Azure Log Analytics and Azure Portal Dashboards are used as a central logging system.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Figure 3&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://cdn-images-1.medium.com/max/3200/0*QU8dXreqls21JP5S&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;p&gt;In the figure above, you can see that the AKS cluster contains nodes that are represented as virtual machines under the hood. The Autoscaler is the main component here. It scales up the node count when the cluster is under high load. It also scales the node down to a standard size when the cluster is under normal load.&lt;/p&gt;

&lt;p&gt;Istio provides the data plane and control plane, assisting with the following:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Load balancing&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;TLS termination&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Service discovery&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Health checks&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Identity and access management&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Configuration management&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Monitoring, logs, and traffic control&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Please note that the architecture includes the stages Dev, Test, Staging, and Production, of course. The formula for the highly available Kubernetes cluster is having separate clusters per stage. However, for Dev and Test, you can use a single cluster separated by namespaces to reduce infrastructure costs.&lt;/p&gt;

&lt;p&gt;For additional logging reinforcement, we used Azure Log Analytics agents and the Portal to create a dashboard. Istio contains a lot of &lt;a href=&quot;https://istio.io/latest/docs/tasks/observability/metrics/&quot; target=&quot;_blank&quot;&gt;existing metrics&lt;/a&gt;, including those for performance and options to customize them. You can then integrate with a &lt;a href=&quot;https://istio.io/latest/docs/tasks/observability/metrics/using-istio-dashboard/&quot; target=&quot;_blank&quot;&gt;Grafana&lt;/a&gt; dashboard.&lt;/p&gt;

&lt;p&gt;Lastly, you can also set up a load test using Istio. &lt;a href=&quot;https://github.com/istio/tools/tree/release-1.11/perf/load&quot; target=&quot;_blank&quot;&gt;Here&lt;/a&gt; is a good example.&lt;/p&gt;

&lt;h2 id=&quot;top-open-source-application-monitoring-tools&quot;&gt;Top Open-Source Application Monitoring Tools&lt;/h2&gt;

&lt;p&gt;Let’s start off by listing some of the most popular open-source application performance tools:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://skywalking.apache.org/&quot; target=&quot;_blank&quot;&gt;Apache Sky Walking&lt;/a&gt; is a powerful, distributed performance and log analysis platform. It can monitor applications written in .NET Core, Java, PHP, Node.js, Golang, LUA, C++, and Python. It supports cloud integration and contains features like performance optimization, slow service and endpoint detection, service topology map analysis, and much more. See the feature map in the image below:&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Figure 1&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://cdn-images-1.medium.com/max/3200/0*yPLXHcl4Cv7g58gG&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;https://github.com/scouter-project/scouter&quot; target=&quot;_blank&quot;&gt;Scouter&lt;/a&gt; is a powerful tool that can monitor Redis, Nginx, Kafka, MongoDB, Kubernetes, and other sources. It can monitor CPU, memory network and heap utilization, active users, active services, and more.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;https://github.com/wgliang/goappmonitor&quot; target=&quot;_blank&quot;&gt;GoappMonotr&lt;/a&gt; is a tool that provides performance monitoring for Golang applications.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;https://github.com/pinpoint-apm/pinpoint&quot; target=&quot;_blank&quot;&gt;Pinpoint&lt;/a&gt; is a performance monitoring tool for Python, Java, and PHP applications. It can monitor CPU, memory, and storage utilization. You can integrate it into your project without changing a single line of code.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;https://github.com/newrelic&quot; target=&quot;_blank&quot;&gt;Code Speed&lt;/a&gt; is a simple APM tool. It can be installed into your Python application to monitor and analyze the performance of your code.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There are tools like &lt;a href=&quot;https://github.com/DataDog&quot; target=&quot;_blank&quot;&gt;Datadog&lt;/a&gt; that have community licenses or trials. Also, if you are using Azure, you can enable Azure AppInsights with low cost or no cost at all, depending on bandwidth.&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;In this article, we’ve dug into common performance mistakes and anti-patterns when working with distributed cloud-based architectures, introducing a checklist to consider when building applications that will face heavy loads. Also, we explored the open-source tools that can help with performance analysis, especially for projects on limited budgets. And, of course, we’ve covered a few examples of highly performant applications and an application that may have performance issues so that you, dear reader, can avoid these common performance mistakes in your cloud architectures.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Originally published at&lt;a href=&quot;https://dzone.com/trendreports/application-performance-management-1&quot; target=&quot;_blank&quot;&gt;https://dzone.com&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Want to boost your cloud and software architecture skills? Enroll on my hands-on courses:&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href=&quot;https://boriszaikin-course.thinkific.com/courses/build-enterprise-application-with-multitenancy&quot; target=&quot;_blank&quot;&gt;
    &lt;img src=&quot;https://import.cdn.thinkific.com/450020%2Fcustom_site_themes%2Fid%2FwVBTRSnSyWjPk0AaZRlC_Landing-Page-Header.jpeg&quot; width=&quot;700&quot; /&gt;
&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://boriszaikin-course.thinkific.com/courses/build-enterprise-application-with-multitenancy&quot; target=&quot;_blank&quot;&gt;Building Enterprise applications with multitenancy&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://www.educative.io/courses/event-driven-microservices-azure&quot; target=&quot;_blank&quot;&gt;
    &lt;img src=&quot;https://res.cloudinary.com/practicaldev/image/fetch/s--71K_wkAl--/c_imagga_scale,f_auto,fl_progressive,h_420,q_auto,w_1000/https://miro.medium.com/max/875/1%2A2Bfh07YckDlPP8em-Oia_A.png&quot; width=&quot;700&quot; /&gt;
&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://www.educative.io/courses/event-driven-microservices-azure&quot; target=&quot;_blank&quot;&gt;Building Event Driven and Microservices Architecture in Azure&lt;/a&gt;&lt;/p&gt;

&lt;hr /&gt;

</description>
        <pubDate>Mon, 20 Dec 2021 00:00:00 +0000</pubDate>
        <link>https://www.boriszaikin.com/common-performance-management-mistakes</link>
        <guid isPermaLink="true">https://www.boriszaikin.com/common-performance-management-mistakes</guid>
        
        <category>Cloud</category>
        
        <category>Azure</category>
        
        <category>Kubernetes</category>
        
        <category>API</category>
        
        <category>Security</category>
        
        <category>Blog</category>
        
        
      </item>
    
      <item>
        <title></title>
        <description>&lt;div class=&quot;post-feed-title inner&quot;&gt;Latest Courses&lt;/div&gt;

&lt;p&gt;&lt;a href=&quot;https://boriszaikin-course.thinkific.com/courses/build-enterprise-application-with-multitenancy&quot; target=&quot;_blank&quot;&gt;
    &lt;img src=&quot;https://import.cdn.thinkific.com/450020%2Fcustom_site_themes%2Fid%2FwVBTRSnSyWjPk0AaZRlC_Landing-Page-Header.jpeg&quot; width=&quot;700&quot; /&gt;
&lt;/a&gt;&lt;/p&gt;

&lt;h3 id=&quot;building-enterprise-applications-with-multitenancy&quot;&gt;&lt;a href=&quot;https://boriszaikin-course.thinkific.com/courses/build-enterprise-application-with-multitenancy&quot; target=&quot;_blank&quot;&gt;Building Enterprise Applications with Multitenancy.&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;This course intends to teach how to build cloud, enterprise-ready applications with multitenancy, 
based on the Dotnet Core and Docker. Build CI/CD process in the Azure DevOps to deploy the app to the Azure Kubernetes Service.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Notice: I’ve based the course on the “Saw and understand” technique. It means that the important information is represented as Infographics and diagrams. This allows not only to understand information quickly, but also to move fast through the course.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://boriszaikin-course.thinkific.com/courses/build-enterprise-application-with-multitenancy&quot; target=&quot;_blank&quot;&gt;Explore More&lt;/a&gt;&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;&lt;a href=&quot;https://www.educative.io/courses/event-driven-microservices-azure&quot; target=&quot;_blank&quot;&gt;
    &lt;img src=&quot;https://res.cloudinary.com/practicaldev/image/fetch/s--71K_wkAl--/c_imagga_scale,f_auto,fl_progressive,h_420,q_auto,w_1000/https://miro.medium.com/max/875/1%2A2Bfh07YckDlPP8em-Oia_A.png&quot; width=&quot;700&quot; /&gt;
&lt;/a&gt;&lt;/p&gt;

&lt;h3 id=&quot;building-event-driven-and-microservices-architecture-in-azure&quot;&gt;&lt;a href=&quot;https://www.educative.io/courses/event-driven-microservices-azure&quot; target=&quot;_blank&quot;&gt;Building Event Driven and Microservices Architecture in Azure.&lt;/a&gt;&lt;/h3&gt;

&lt;p&gt;Building a cloud infrastructure can be a challenging task. 
In this course, you will learn how to easily design and build complex solutions based on the Event-Driven Architecture in the Azure Cloud.&lt;/p&gt;

&lt;p&gt;There are a lot of dependencies in your software and services that make it difficult. For example:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;SQL Database (SQL Server, My SQL, Mongo)&lt;/li&gt;
  &lt;li&gt;Storage (Blob, Files)&lt;/li&gt;
  &lt;li&gt;Azure Log Analytics&lt;/li&gt;
  &lt;li&gt;Event Grid&lt;/li&gt;
  &lt;li&gt;Azure Functions&lt;/li&gt;
  &lt;li&gt;Virtual Machines&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Notice: I’ve based the course on the “Saw and understand” technique. It means that the important information is represented as Infographics and diagrams. This allows not only to understand information quickly, but also to move fast through the course..&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://www.educative.io/courses/event-driven-microservices-azure&quot; target=&quot;_blank&quot;&gt;Explore More&lt;/a&gt;&lt;/p&gt;
</description>
        <pubDate>Sun, 19 Dec 2021 00:00:00 +0000</pubDate>
        <link>https://www.boriszaikin.com/courses-featured</link>
        <guid isPermaLink="true">https://www.boriszaikin.com/courses-featured</guid>
        
        
      </item>
    
  </channel>
</rss>
