<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <copyright>Copyright TechTarget - All rights reserved</copyright>
        <description></description>
        <docs>https://cyber.law.harvard.edu/rss/rss.html</docs>
        <generator>Techtarget Feed Generator</generator>
        <language>en</language>
        <lastBuildDate>Sun, 19 Apr 2026 17:28:59 GMT</lastBuildDate>
        <link>https://www.techtarget.com/searchaws</link>
        <managingEditor>editor@techtarget.com</managingEditor>
        <item>
            <body>&lt;p&gt;A target function, in &lt;a href="https://www.techtarget.com/searchenterpriseai/definition/machine-learning-ML"&gt;machine learning&lt;/a&gt;, is a mathematical representation of the ideal mapping between &lt;a href="https://www.techtarget.com/searchenterpriseai/definition/supervised-learning"&gt;supervised learning&lt;/a&gt; inputs and outputs. Target functions are often written as &lt;i&gt;f(x)&lt;/i&gt;, where &lt;i&gt;x&lt;/i&gt; represents the input and &lt;i&gt;f(x)&lt;/i&gt; represents the correct output.&lt;/p&gt; 
&lt;p&gt;In real-world problems, the target function is not directly observable. To approximate the target function, supervised learning models use labeled training data to learn a hypothesis function, written as &lt;i&gt;h(x)&lt;/i&gt;, that closely matches the target function.&lt;/p&gt; 
&lt;p&gt;Once a &lt;a href="https://www.techtarget.com/whatis/definition/machine-learning-algorithm"&gt;machine learning algorithm&lt;/a&gt; converges on a hypothesis function, it can use the h(x) to make predictions about new, unseen data. This process, known as inference, is used in &lt;a href="https://www.techtarget.com/searchbusinessanalytics/definition/predictive-analytics"&gt;predictive analytics&lt;/a&gt; to identify patterns, forecast outcomes and support data-driven decision-making in real-world applications.&lt;/p&gt; 
&lt;section class="section main-article-chapter" data-menu-title="How a target function works"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;How a target function works&lt;/h2&gt;
 &lt;p&gt;In supervised learning, the &lt;a href="https://www.techtarget.com/searchenterpriseai/feature/Comparing-supervised-vs-unsupervised-learning"&gt;training process&lt;/a&gt; involves feeding labeled examples -- pairs of inputs and corresponding outputs -- into a machine learning algorithm. During training, the algorithm learns a hypothesis function that maps inputs to outputs by identifying patterns in the data.&lt;/p&gt;
 &lt;p&gt;Machine learning models use optimization techniques, such as &lt;a href="https://www.techtarget.com/searchenterpriseai/definition/gradient-descent"&gt;gradient descent&lt;/a&gt;, to iteratively adjust the parameters of the model so that h(x) closely approximates f(x) for as many inputs as possible. This process can be described mathematically as &lt;i&gt;y = f(x)&lt;/i&gt;, where &lt;i&gt;x&lt;/i&gt; is the input, &lt;i&gt;y&lt;/i&gt; is the correct output and &lt;i&gt;f(x)&lt;/i&gt; is the unknown target function.&lt;/p&gt;
 &lt;p&gt;Data scientists and machine learning engineers approximate the target function to build &lt;a href="https://www.techtarget.com/searchenterpriseai/definition/predictive-modeling"&gt;predictive models&lt;/a&gt;. When successful, a hypothesis function will minimize &lt;a href="https://www.techtarget.com/whatis/definition/prediction-error"&gt;prediction error&lt;/a&gt; and enable a predictive model to perform well on both the training data and new, unseen data.&lt;/p&gt;
&lt;/section&gt;    
&lt;section class="section main-article-chapter" data-menu-title="Target function vs. hypothesis function"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;Target function vs. hypothesis function&lt;/h2&gt;
 &lt;p&gt;In supervised learning, the target function represents the true, underlying relationship between inputs and outputs in the real world, and the hypothesis function is what the model actually learns and uses to generate new outputs.&lt;/p&gt;
 &lt;p&gt;Understanding the distinction between these two functions is important because it frames the entire learning process as an approximation task. The concept of approximation is essential for understanding how concepts like &lt;a href="https://www.techtarget.com/whatis/definition/overfitting-in-machine-learning"&gt;overfitting&lt;/a&gt;, underfitting and generalization influence a model's ability to make accurate predictions on new inputs.&lt;/p&gt;
 &lt;figure class="main-article-image full-col" data-img-fullsize="https://www.techtarget.com/rms/onlineimages/target_function_vs_hypothesis_function-f.png"&gt;
  &lt;img data-src="https://www.techtarget.com/rms/onlineimages/target_function_vs_hypothesis_function-f_mobile.png" class="lazy" data-srcset="https://www.techtarget.com/rms/onlineimages/target_function_vs_hypothesis_function-f_mobile.png 960w,https://www.techtarget.com/rms/onlineimages/target_function_vs_hypothesis_function-f.png 1280w" alt="Comparison graphic of target function vs. hypothesis function definitions. " height="182" width="560"&gt;
  &lt;figcaption&gt;
   &lt;i class="icon pictures" data-icon="z"&gt;&lt;/i&gt;The terms 'target function' and 'hypothesis function' are often used interchangeably, but there's an important distinction.
  &lt;/figcaption&gt;
  &lt;div class="main-article-image-enlarge"&gt;
   &lt;i class="icon" data-icon="w"&gt;&lt;/i&gt;
  &lt;/div&gt;
 &lt;/figure&gt;
&lt;/section&gt;    
&lt;section class="section main-article-chapter" data-menu-title="Examples of target functions in machine learning"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;Examples of target functions in machine learning&lt;/h2&gt;
 &lt;p&gt;The nature of a target function depends on the type of machine learning problem that's being solved, and whether the solution involves regression, binary classification, multiclass classification or more complex nonlinear mappings.&lt;/p&gt;
 &lt;ul class="default-list"&gt; 
  &lt;li&gt;&lt;b&gt;Linear regression.&lt;/b&gt; The target function assumes there is a linear relationship between inputs and outputs, e.g., predicting house prices.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Logistic regression.&lt;/b&gt; The target function defines the relationship between inputs and binary class labels, e.g., spam vs. not spam.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Decision trees.&lt;/b&gt; The target function is modeled as a &lt;a href="https://www.techtarget.com/searchenterpriseai/definition/decision-tree-in-machine-learning"&gt;nonlinear, hierarchical structure&lt;/a&gt; that maps inputs to outputs using a series of rule-based decisions.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Support vector machines.&lt;/b&gt; The model learns a decision boundary -- or a hyperplane -- that separates classes in the feature space to approximate the target function in classification tasks.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Neural networks.&lt;/b&gt; The model approximates complex, often nonlinear target functions using multiple layers of interconnected nodes with activation functions. Activation functions enable the model to learn complex mappings.&lt;/li&gt; 
 &lt;/ul&gt;
 &lt;div class="youtube-iframe-container"&gt;
  &lt;iframe id="ytplayer-0" src="https://www.youtube.com/embed/yOf2ssqJFFk?autoplay=0&amp;amp;modestbranding=1&amp;amp;rel=0&amp;amp;widget_referrer=null&amp;amp;enablejsapi=1&amp;amp;origin=https://www.techtarget.com" type="text/html" height="360" width="640" frameborder="0"&gt;&lt;/iframe&gt;
 &lt;/div&gt;
&lt;/section&gt;    
&lt;section class="section main-article-chapter" data-menu-title="Importance of the target function in machine learning"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;Importance of the target function in machine learning&lt;/h2&gt;
 &lt;p&gt;In supervised learning, the concept of a target function is important because it guides the learning process and helps define what the model is ultimately trying to approximate. As &lt;a href="https://www.techtarget.com/searchenterpriseai/definition/deep-learning-deep-neural-network"&gt;deep learning&lt;/a&gt;, &lt;a href="https://www.techtarget.com/searchenterpriseai/definition/reinforcement-learning"&gt;reinforcement learning&lt;/a&gt; and &lt;a href="https://www.techtarget.com/searchenterpriseai/definition/generative-AI"&gt;generative AI&lt;/a&gt; models become more advanced, accurately approximating the target function has become essential for building reliable predictive models.&lt;/p&gt;
 &lt;p&gt;Modern systems use a combination of approaches to effectively approximate the target function. They include the following:&lt;/p&gt;
 &lt;ul class="default-list"&gt; 
  &lt;li&gt;Loss functions that quantify &lt;a target="_blank" href="https://www.ibm.com/think/topics/loss-function" rel="noopener"&gt;how closely&lt;/a&gt; the model's hypothesis function aligns with the target function.&lt;/li&gt; 
  &lt;li&gt;&lt;a href="https://www.techtarget.com/searchenterpriseai/feature/Machine-learning-regularization-explained-with-examples"&gt;Regularization techniques&lt;/a&gt; that help prevent overfitting while still capturing the underlying target function.&lt;/li&gt; 
  &lt;li&gt;&lt;a href="https://www.techtarget.com/searchenterpriseai/feature/Interpretability-vs-explainability-in-AI-and-machine-learning"&gt;Explainability tools&lt;/a&gt;, such as SHAP and LIME, analyze model behavior and provide insights into how a hypothesis function relates to the predicted outputs.&lt;/li&gt; 
 &lt;/ul&gt;
 &lt;figure class="main-article-image full-col" data-img-fullsize="https://www.techtarget.com/rms/onlineimages/interpretability_vs_explainability-f.png"&gt;
  &lt;img data-src="https://www.techtarget.com/rms/onlineimages/interpretability_vs_explainability-f_mobile.png" class="lazy" data-srcset="https://www.techtarget.com/rms/onlineimages/interpretability_vs_explainability-f_mobile.png 960w,https://www.techtarget.com/rms/onlineimages/interpretability_vs_explainability-f.png 1280w" alt="Graphic that explains the differences between interpretability vs. explainability." height="319" width="560"&gt;
  &lt;figcaption&gt;
   &lt;i class="icon pictures" data-icon="z"&gt;&lt;/i&gt;Interpretability is about understanding how a model works internally, and explainability is about understanding why it makes specific predictions.
  &lt;/figcaption&gt;
  &lt;div class="main-article-image-enlarge"&gt;
   &lt;i class="icon" data-icon="w"&gt;&lt;/i&gt;
  &lt;/div&gt;
 &lt;/figure&gt;
 &lt;p&gt;When a model's hypothesis function approximates the true target function, it can reduce error and improve generalization to unseen data. In turn, this enables machine learning engineers to build AI systems that are more trustworthy, interpretable and aligned with real-world outcomes.&lt;/p&gt;
 &lt;p&gt;Today, improving the approximation of target functions is vital for AI model accuracy, fairness and robustness, especially in high-stakes fields like healthcare, finance and autonomous systems. In these domains, even small prediction errors can lead to significant consequences, such as incorrect diagnoses, &lt;a href="https://www.techtarget.com/searchenterpriseai/definition/machine-learning-bias-algorithm-bias-or-AI-bias"&gt;biased&lt;/a&gt; lending decisions or unsafe navigation.&lt;/p&gt;
&lt;/section&gt;       
&lt;section class="section main-article-chapter" data-menu-title="Related concepts to target function"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;Related concepts to target function&lt;/h2&gt;
 &lt;p&gt;To fully understand target functions, it helps to be familiar with related machine learning terms:&lt;/p&gt;
 &lt;ul class="default-list"&gt; 
  &lt;li&gt;&lt;b&gt;Training data.&lt;/b&gt; Examples with known inputs and outputs used to train the model.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Generalization.&lt;/b&gt; The ability of a model to apply the learned function to new, unseen data.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Overfitting.&lt;/b&gt; When a model learns the training data too well, its outputs can be based on noise instead of the underlying patterns it should use to generate new outputs.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Model capacity.&lt;/b&gt; A model's ability to approximate complex target functions; higher-capacity models can learn more complex mappings, but risk overfitting.&lt;/li&gt; 
 &lt;/ul&gt;
 &lt;p&gt;&lt;em&gt;Learn more about the &lt;a href="https://www.techtarget.com/whatis/feature/History-and-evolution-of-machine-learning-A-timeline"&gt;history and evolution of machine learning&lt;/a&gt; in this comprehensive essential guide.&lt;/em&gt;&lt;/p&gt;
&lt;/section&gt;</body>
            <description>A target function, in machine learning, is a mathematical representation of the ideal mapping between supervised learning inputs and outputs.</description>
            <image>https://cdn.ttgtmedia.com/visuals/digdeeper/4.jpg</image>
            <link>https://www.techtarget.com/whatis/definition/target-function</link>
            <pubDate>Tue, 03 Jun 2025 10:00:00 GMT</pubDate>
            <title>What is a target function?</title>
        </item>
        <item>
            <body>&lt;p&gt;LangChain is an open source framework that enables software developers working with artificial intelligence (&lt;a href="https://www.techtarget.com/searchenterpriseai/definition/AI-Artificial-Intelligence"&gt;AI&lt;/a&gt;) and its machine learning subset to combine large language models with other external components to develop &lt;a href="https://www.techtarget.com/whatis/definition/large-language-model-LLM"&gt;LLM&lt;/a&gt;-powered applications.&lt;/p&gt; 
&lt;p&gt;LangChain aims to link powerful LLMs, such as OpenAI's GPT-3.5 and &lt;a href="https://www.techtarget.com/whatis/definition/GPT-4"&gt;GPT-4&lt;/a&gt;, to an array of external data sources to create and reap the benefits of natural language processing (&lt;a href="https://www.techtarget.com/searchenterpriseai/definition/natural-language-processing-NLP"&gt;NLP&lt;/a&gt;) applications. It's also used for creating interfaces that produce humanlike responses and answer questions.&lt;/p&gt; 
&lt;p&gt;Developers, software engineers and data scientists with experience in Python, JavaScript or TypeScript programming languages can use LangChain packages offered in those languages.&lt;/p&gt; 
&lt;p&gt;LangChain was released in 2022 as an open source project by co-founders Harrison Chase and Ankush Gola.&lt;/p&gt; 
&lt;section class="section main-article-chapter" data-menu-title="Why is LangChain important?"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;Why is LangChain important?&lt;/h2&gt;
 &lt;p&gt;LangChain is a framework that simplifies the process of creating &lt;a href="https://www.techtarget.com/searchenterpriseai/definition/generative-AI"&gt;generative AI&lt;/a&gt; application interfaces. Developers working on these types of interfaces use various tools to create advanced NLP apps; LangChain streamlines this process. For example, LLMs must access large volumes of &lt;a href="https://www.techtarget.com/searchdatamanagement/definition/big-data"&gt;big data&lt;/a&gt;, so LangChain organizes these large quantities of data so that they can be accessed with ease.&lt;/p&gt;
 &lt;p&gt;In addition, GPT (&lt;a href="https://www.techtarget.com/searchenterpriseai/feature/ChatGPT-vs-GPT-How-are-they-different"&gt;generative pre-trained transformer&lt;/a&gt;) models are trained on data available until a specific point in time, known as their knowledge cutoff date. While models are often updated to extend their cutoff date, LangChain can connect AI models directly to data sources to give them knowledge of recent data without limitations.&lt;/p&gt;
 &lt;div class="youtube-iframe-container"&gt;
  &lt;iframe id="ytplayer-0" src="https://www.youtube.com/embed/zKndCikg3R0?autoplay=0&amp;amp;modestbranding=1&amp;amp;rel=0&amp;amp;widget_referrer=null&amp;amp;enablejsapi=1&amp;amp;origin=https://www.techtarget.com" type="text/html" height="360" width="640" frameborder="0"&gt;&lt;/iframe&gt;
 &lt;/div&gt;
&lt;/section&gt;    
&lt;section class="section main-article-chapter" data-menu-title="What are the benefits of LangChain?"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;What are the benefits of LangChain?&lt;/h2&gt;
 &lt;p&gt;LangChain offers various benefits, including the following:&lt;/p&gt;
 &lt;ul class="default-list"&gt; 
  &lt;li&gt;&lt;b&gt;Open source and community benefits.&lt;/b&gt; As an open source framework, LangChain thrives on community contributions and collaboration, and is readily accessible on platforms such as &lt;a href="https://www.techtarget.com/searchitoperations/definition/GitHub"&gt;GitHub&lt;/a&gt;. Developers can drive innovation by accessing a wealth of resources, tutorials, documentation and support from fellow LangChain users.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Modular design.&lt;/b&gt; LangChain's modular architecture enables developers to mix, match and customize components for specific needs.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Simplified development.&lt;/b&gt; LangChain offers a standardized interface that enables developers to easily switch between different LLMs, streamline workflows and reduce integration complexity. For example, they can switch between LLMs from providers such as OpenAI or &lt;a href="https://www.techtarget.com/whatis/definition/Hugging-Face"&gt;Hugging Face&lt;/a&gt; with minimal code changes.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Repurposed LLMs.&lt;/b&gt; LangChain lets organizations repurpose LLMs for domain-specific applications without retraining, enabling development teams to enhance model responses with proprietary information, such as summarizing internal documents. The retrieval-augmented generation (&lt;a href="https://www.techtarget.com/searchenterpriseai/definition/retrieval-augmented-generation"&gt;RAG&lt;/a&gt;) workflow further improves response accuracy and reduces model &lt;a href="https://www.techtarget.com/searchenterpriseai/tip/A-short-guide-to-managing-generative-AI-hallucinations"&gt;hallucination of generative AI&lt;/a&gt; by introducing relevant information during prompting.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Interactive applications.&lt;/b&gt; LangChain enables interactive applications through real-time communication with language models. For example, its modular components can be used to create interactive applications such as chatbots and AI assistants that engage users in real time.&lt;/li&gt; 
 &lt;/ul&gt;
&lt;/section&gt;   
&lt;section class="section main-article-chapter" data-menu-title="What are the features of LangChain?"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;What are the features of LangChain?&lt;/h2&gt;
 &lt;p&gt;LangChain is made up of the following modules that ensure the multiple components needed to make an effective NLP app can run smoothly:&lt;/p&gt;
 &lt;ul class="default-list"&gt; 
  &lt;li&gt;&lt;b&gt;Model interaction.&lt;/b&gt; Also called Model I/O, this module enables LangChain to interact with any language model and perform tasks such as managing inputs to the model and extracting information from its outputs.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Prompt templates.&lt;/b&gt; LangChain includes prompt template modules that enable developers to create structured prompts for LLMs. These templates can incorporate examples and specify output formats, facilitating smoother interactions and more accurate responses from the models.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Data connection and retrieval.&lt;/b&gt; Data that LLMs access can be transformed, stored in databases and retrieved from those databases through queries with this module.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Chains.&lt;/b&gt; Using LangChain to build more complex apps might require other components or even more than one LLM. This module links multiple LLMs with other components or LLMs. This is referred to as an LLM chain.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Agents.&lt;/b&gt; The agent module lets LLMs decide the best steps or actions to take to solve problems. It orchestrates a series of complex commands to LLMs and other tools to get them to respond to specific requests.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Memory.&lt;/b&gt; The memory module helps an LLM remember the context of its interactions with users. Depending on the specific use, both short-term and long-term memory can be added to a model.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Retrieval modules.&lt;/b&gt; LangChain supports the development of RAG systems with tools for transforming, storing and retrieving information to enhance language model responses. This enables developers to produce &lt;a href="https://www.techtarget.com/searchenterpriseai/tip/Embedding-models-for-semantic-search-A-guide"&gt;semantic representations with word embeddings&lt;/a&gt; and store them in local or cloud-based &lt;a href="https://www.techtarget.com/searchdatamanagement/definition/What-is-a-vector-database"&gt;vector databases&lt;/a&gt;.&lt;/li&gt; 
 &lt;/ul&gt;
&lt;/section&gt;   
&lt;section class="section main-article-chapter" data-menu-title="What are LangChain integrations?"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;What are LangChain integrations?&lt;/h2&gt;
 &lt;p&gt;LangChain typically builds applications using integrations with LLM providers and external sources where data can be found and stored. For example, LangChain can build &lt;a href="https://www.techtarget.com/searchcustomerexperience/infographic/The-evolution-of-chatbots-and-generative-AI"&gt;chatbots&lt;/a&gt; or question-answering systems by integrating an LLM with data sources or stores, including relational or graph databases, text files, knowledge bases or unstructured data. This enables an app to take user-input text, process it and retrieve the best answers from any of these sources. In this sense, LangChain integrations use the most up-to-date &lt;a href="https://www.theserverside.com/tutorial/Natural-language-programming-using-GPTScript"&gt;NLP technology to build effective apps&lt;/a&gt;.&lt;/p&gt;
 &lt;p&gt;Other potential integrations include cloud storage platforms, such as &lt;a href="https://www.techtarget.com/searchaws/definition/Amazon-Web-Services"&gt;Amazon Web Services&lt;/a&gt;, &lt;a href="https://www.techtarget.com/searchcloudcomputing/definition/Google-Cloud-Platform"&gt;Google Cloud&lt;/a&gt; and &lt;a href="https://www.techtarget.com/searchcloudcomputing/definition/Windows-Azure"&gt;Microsoft Azure&lt;/a&gt;, as well as vector databases. A vector database can store large volumes of high-dimensional data -- such as videos, images and long-form text -- as mathematical representations that make it easier for an application to query and search for those data elements.&lt;/p&gt;
 &lt;figure class="main-article-image full-col" data-img-fullsize="https://www.techtarget.com/rms/onlineimages/a_langchain_app_in_its_most_basic_form-f.png"&gt;
  &lt;img data-src="https://www.techtarget.com/rms/onlineimages/a_langchain_app_in_its_most_basic_form-f_mobile.png" class="lazy" data-srcset="https://www.techtarget.com/rms/onlineimages/a_langchain_app_in_its_most_basic_form-f_mobile.png 960w,https://www.techtarget.com/rms/onlineimages/a_langchain_app_in_its_most_basic_form-f.png 1280w" alt="A diagram showing how a LangChain app works." height="241" width="560"&gt;
  &lt;figcaption&gt;
   &lt;i class="icon pictures" data-icon="z"&gt;&lt;/i&gt;LangChain augments existing LLMs so that they can handle user queries and prompts.
  &lt;/figcaption&gt;
  &lt;div class="main-article-image-enlarge"&gt;
   &lt;i class="icon" data-icon="w"&gt;&lt;/i&gt;
  &lt;/div&gt;
 &lt;/figure&gt;
&lt;/section&gt;    
&lt;section class="section main-article-chapter" data-menu-title="How to create prompts in LangChain"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;How to create prompts in LangChain&lt;/h2&gt;
 &lt;p&gt;&lt;a href="https://www.techtarget.com/searchenterpriseai/definition/AI-prompt"&gt;Prompts&lt;/a&gt; serve as inputs to the LLM that instruct it to return a response, which is often an answer to a query. This response is also referred to as an output. A prompt must be designed and executed correctly to increase the likelihood of a well-written and accurate response from a language model. That's why &lt;a href="https://www.techtarget.com/whatis/feature/Skills-needed-to-become-a-prompt-engineer"&gt;prompt engineering is an emerging science&lt;/a&gt; that has received more attention in recent years.&lt;/p&gt;
 &lt;p&gt;Prompts can be generated easily in LangChain executions using a prompt template, which serves as instructions for the underlying LLM. Prompt templates can vary in specificity. They can be designed to pose simple questions to a language model. They can also be used to provide a set of explicit instructions to a language model with enough detail and examples to retrieve a high-quality response.&lt;/p&gt;
 &lt;p&gt;With Python programming, LangChain has a premade prompt template that takes the form of structured text. The following steps are required to use this:&lt;/p&gt;
 &lt;ol class="default-list"&gt; 
  &lt;li&gt;&lt;b&gt;Install Python.&lt;/b&gt; A recent version of Python must be installed. Once the Python &lt;a href="https://www.techtarget.com/searchdatacenter/definition/shell-script"&gt;shell&lt;/a&gt; terminal is open, enter the following command to install just the bare minimum requirements of LangChain for the sake of this example:&lt;/li&gt; 
 &lt;/ol&gt;
 &lt;pre class="language-python"&gt;&lt;code&gt;pip install langchain&lt;/code&gt;&lt;/pre&gt;
 &lt;ol start="2" class="default-list"&gt; 
  &lt;li&gt;&lt;b&gt;Add integrations.&lt;/b&gt; LangChain typically requires at least one integration. OpenAI is a prime example. To use OpenAI's LLM application programming interfaces, a developer must create an account on the OpenAI website and retrieve the &lt;a href="https://www.techtarget.com/searchapparchitecture/definition/application-program-interface-API"&gt;API&lt;/a&gt; &lt;a href="https://www.theserverside.com/video/How-to-get-an-OpenAI-API-key-for-ChatGPT"&gt;access key&lt;/a&gt;. Then, using the following code snippet, install OpenAI's Python package and enter the key for access to the APIs:&lt;/li&gt; 
 &lt;/ol&gt;
 &lt;pre class="language-python"&gt;&lt;code&gt;pip install openai
from langchain.llms import OpenAI
llm = OpenAI(openai_api_key="...")&lt;/code&gt;&lt;/pre&gt;
 &lt;ol start="3" class="default-list"&gt; 
  &lt;li&gt;&lt;b&gt;Import the prompt template.&lt;/b&gt; Once these basic steps are complete, LangChain's prompt template method must be imported. The code snippet shown below does this:&lt;/li&gt; 
 &lt;/ol&gt;
 &lt;pre class="language-python"&gt;&lt;code&gt;from langchain import PromptTemplate
prompt_template = PromptTemplate.from_template(
 "Tell me an {adjective} fact about {content}."
)
prompt_template.format(adjective="interesting", content="zebras")
"Tell me an interesting fact about zebras."&lt;/code&gt;&lt;/pre&gt;
 &lt;p&gt;In this scenario, the language model would be expected to take the two input variables -- the adjective and the content -- and produce a fascinating fact about zebras as its output.&lt;/p&gt;
&lt;/section&gt;           
&lt;section class="section main-article-chapter" data-menu-title="How to develop applications in LangChain"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;How to develop applications in LangChain&lt;/h2&gt;
 &lt;p&gt;LangChain is built to develop apps powered by language model functionality. There are different ways to do this, but the process typically entails the following key steps:&lt;/p&gt;
 &lt;ol class="default-list"&gt; 
  &lt;li&gt;&lt;b&gt;Set up the environment.&lt;/b&gt; The first step is to install LangChain with all its necessary dependencies. In addition, developers should ensure they have access to an LLM API, such as OpenAI, and obtain the API key for integration.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Define the application.&lt;/b&gt; An application developer must first define a specific use case for the application. This also means determining its scope, including requirements such as any needed integrations, components and LLMs.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Build functionality.&lt;/b&gt; Developers use prompts to build the functionality or logic of the intended app.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Customize functionality.&lt;/b&gt; LangChain lets developers modify their code to create customized functionality that meets the needs of the use case and shapes the application's behavior.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Fine-tune LLMs.&lt;/b&gt; It's important to choose the appropriate LLM for the job and to fine-tune it to adhere to the needs of the use case.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Cleanse data.&lt;/b&gt; Using &lt;a href="https://www.techtarget.com/searchdatamanagement/definition/data-scrubbing"&gt;data cleansing&lt;/a&gt; techniques ensures clean and accurate data sets. Security measures should also be executed to protect sensitive data.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Test.&lt;/b&gt; Regularly testing LangChain apps ensures they continue to run smoothly.&lt;/li&gt; 
 &lt;/ol&gt;
&lt;/section&gt;   
&lt;section class="section main-article-chapter" data-menu-title="LangChain vs. LangSmith"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;LangChain vs. LangSmith&lt;/h2&gt;
 &lt;p&gt;LangChain and LangSmith play specific roles in the landscape of LLM applications. The LangChain framework helps developers create LLM-powered applications by offering tools that build intricate workflows and integrate different components.&lt;/p&gt;
 &lt;p&gt;The LangSmith platform is focused on monitoring, testing, debugging and evaluating these applications in production to ensure they operate reliably and efficiently.&lt;/p&gt;
 &lt;p&gt;In essence, LangChain aids in the creation of applications, while LangSmith enhances their operational management and &lt;a href="https://www.techtarget.com/searchsoftwarequality/definition/quality-assurance"&gt;quality assurance&lt;/a&gt;.&lt;/p&gt;
&lt;/section&gt;    
&lt;section class="section main-article-chapter" data-menu-title="LangChain vs. LangGraph"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;LangChain vs. LangGraph&lt;/h2&gt;
 &lt;p&gt;Similar to LangChain and LangSmith, LangGraph is also a framework for LLMs. LangChain offers a standard interface for building simple applications and workflows using linear chains and retrieval flows.&lt;/p&gt;
 &lt;p&gt;In contrast, LangGraph builds on LangChain by enabling cyclical graphs, which facilitate the development of complex, stateful and multi-actor applications. This feature enables more control over interactions, including conditional paths and opportunities for human intervention, making LangGraph suitable for advanced agent-based software development.&lt;/p&gt;
&lt;/section&gt;   
&lt;section class="section main-article-chapter" data-menu-title="Examples and use cases for LangChain"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;Examples and use cases for LangChain&lt;/h2&gt;
 &lt;p&gt;The LLM-based applications LangChain is capable of building can be applied to multiple advanced use cases within various industries and vertical markets, such as the following:&lt;/p&gt;
 &lt;ul class="default-list"&gt; 
  &lt;li&gt;&lt;b&gt;Customer service chatbots.&lt;/b&gt; LangChain enables advanced chat applications to handle complex questions and user transactions. These applications can understand and maintain a user's context throughout a conversation in the same way as &lt;a href="https://www.techtarget.com/whatis/definition/ChatGPT"&gt;ChatGPT&lt;/a&gt;. AI is widely used to &lt;a href="https://www.techtarget.com/searchcustomerexperience/post/How-AI-can-benefit-CX-and-customer-service"&gt;enhance customer experience and service&lt;/a&gt;.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Coding assistants.&lt;/b&gt; It's possible to build coding assistants with the help of LangChain. Using LangChain and OpenAI's API, developers can create a tool to assist those in the tech sector with enhancing their coding skills and improving productivity.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Healthcare.&lt;/b&gt; AI has entered healthcare in several ways. LLM-centric LangChain applications help doctors make diagnoses. They also automate rote, repetitive administrative tasks, such as scheduling patient appointments, enabling healthcare workers to focus on more important work.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Marketing and e-commerce.&lt;/b&gt; Businesses use e-commerce platforms with LLM functionality to better engage customers and expand their customer base. An application that can understand consumer purchasing patterns and product descriptions can generate product recommendations and compelling descriptions for potential customers.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Summarization tasks.&lt;/b&gt; LangChain can help condense large volumes of text into concise summaries. This is particularly useful in fields such as journalism, research and content creation, where vital information must be accessed quickly.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Data augmentation.&lt;/b&gt; LangChain can enhance data by generating new data that resembles the existing data. This includes creating variations of the data by paraphrasing or slightly altering its context. Data augmentation is useful for training machine learning models and developing new data sets.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Media adaptation.&lt;/b&gt; LangChain can help the entertainment industry by enabling dubbing and subtitling of content, making movies and TV shows accessible to a broader audience. This improves the viewer experience and expands the content's international reach.&lt;/li&gt; 
 &lt;/ul&gt;
 &lt;p&gt;&lt;em&gt;Discover how advancements in large language models and generative AI are revolutionizing industries and driving innovation. Explore future &lt;a href="https://www.techtarget.com/searchbusinessanalytics/news/366608491/GenAI-evolving-remains-dominant-data-and-analytics-trend"&gt;trends that are shaping AI&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
&lt;/section&gt;</body>
            <description>LangChain is an open source framework that enables software developers working with artificial intelligence (AI) and its machine learning subset to combine large language models with other external components to develop LLM-powered applications.</description>
            <image>https://cdn.ttgtmedia.com/visuals/digdeeper/4.jpg</image>
            <link>https://www.techtarget.com/searchenterpriseai/definition/LangChain</link>
            <pubDate>Thu, 02 Jan 2025 17:00:00 GMT</pubDate>
            <title>What is LangChain and how to use it: A guide</title>
        </item>
        <item>
            <body>&lt;p&gt;Robotics is a branch of engineering and computer science that involves the conception, design, manufacture and operation of &lt;a href="https://www.techtarget.com/searchenterpriseai/definition/robot"&gt;robots&lt;/a&gt;. The objective of the robotics field is to create intelligent machines that can assist humans in a variety of ways.&lt;/p&gt; 
&lt;p&gt;Robotics can take on a number of forms. A robot might resemble a human or be in the form of a robotic application, such as &lt;a href="https://www.techtarget.com/searchcio/definition/RPA"&gt;robotic process automation&lt;/a&gt;, which simulates how humans engage with software to perform repetitive, rules-based tasks.&lt;/p&gt; 
&lt;p&gt;While the field of robotics and exploration of the potential uses and functionality of robots have grown substantially in the 21st century, the idea certainly isn't new.&lt;/p&gt; 
&lt;section class="section main-article-chapter" data-menu-title="The early history of robotics"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;The early history of robotics&lt;/h2&gt;
 &lt;p&gt;The term &lt;i&gt;robotics&lt;/i&gt; is an extension of the word &lt;i&gt;robot&lt;/i&gt;. One of its first uses came from Czech writer Karel Čapek, who used the word in his 1920 play, &lt;i&gt;Rossum's Universal Robots&lt;/i&gt;.&lt;/p&gt;
 &lt;p&gt;However, in the 1940s, the Oxford English Dictionary credited science fiction author Isaac Asimov for being the first person to use the term. In Asimov's story, he suggested three principles to guide the behavior of autonomous robots and smart machines:&lt;/p&gt;
 &lt;ol class="default-list"&gt; 
  &lt;li&gt;Robots must never harm human beings.&lt;/li&gt; 
  &lt;li&gt;Robots must follow instructions from humans without violating rule 1.&lt;/li&gt; 
  &lt;li&gt;Robots must protect themselves without violating the other rules.&lt;/li&gt; 
 &lt;/ol&gt;
 &lt;p&gt;His three laws of robotics have survived to the present day. However, it wasn't until a couple of decades later, in 1961, that the first programmable robot -- called Unimate, derived from &lt;i&gt;universal automation&lt;/i&gt; -- was created based on designs from the '50s to move scalding metal pieces from a die-cast machine. The Stanford Research Institute's robot dubbed Shakey followed suit in 1966 as the first &lt;a href="https://www.techtarget.com/iotagenda/definition/mobile-robot-mobile-robotics"&gt;mobile robot&lt;/a&gt;, thanks to software and hardware that enabled it to sense and grasp the environment, though in a limited capacity.&lt;/p&gt;
&lt;/section&gt;     
&lt;section class="section main-article-chapter" data-menu-title="Robotics applications"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;Robotics applications&lt;/h2&gt;
 &lt;p&gt;Today, industrial robots, as well as many other types of robots, are used to perform repetitive tasks. They can take the form of a robotic arm, a &lt;a href="https://www.techtarget.com/whatis/video/An-explanation-of-collaborative-robots"&gt;collaborative robot&lt;/a&gt; (cobot), a robotic exoskeleton or traditional humanoid robots.&lt;/p&gt;
 &lt;p&gt;Industrial robots and robot arms are used by manufacturers and warehouses, such as those owned by &lt;a href="https://www.techtarget.com/whatis/definition/Amazon"&gt;Amazon&lt;/a&gt; and Best Buy.&lt;/p&gt;
 &lt;p&gt;To function, a combination of computer programming and &lt;a href="https://www.techtarget.com/whatis/definition/algorithm"&gt;algorithms&lt;/a&gt;, a remotely controlled manipulator, actuators, &lt;a href="https://www.techtarget.com/whatis/definition/control-system"&gt;control systems&lt;/a&gt; -- action, processing and perception -- real-time sensors and an element of automation help to inform what a robot or robotic system does.&lt;/p&gt;
 &lt;p&gt;Some additional applications for robotics include the following:&lt;/p&gt;
 &lt;ul class="default-list"&gt; 
  &lt;li&gt;&lt;b&gt;Home electronics.&lt;/b&gt; Vacuum cleaners and lawnmowers can be programmed to automatically perform tasks without human intervention.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Home monitoring.&lt;/b&gt; This includes specific types of robots that can monitor home energy usage or provide home security monitoring services, such as Amazon Astro.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Artificial intelligence (AI).&lt;/b&gt; Robotics is widely used in &lt;a href="https://www.techtarget.com/searchenterpriseai/definition/AI-Artificial-Intelligence"&gt;AI&lt;/a&gt; and &lt;a href="https://www.techtarget.com/searchenterpriseai/definition/machine-learning-ML"&gt;machine learning&lt;/a&gt; (ML) processes, specifically for object recognition, &lt;a href="https://www.techtarget.com/searchenterpriseai/definition/natural-language-processing-NLP"&gt;natural language processing&lt;/a&gt;, predictive maintenance and process automation.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Data science.&lt;/b&gt; The field of &lt;a href="https://www.techtarget.com/searchenterpriseai/definition/data-science"&gt;data science&lt;/a&gt; relies on robotics to perform tasks including data cleaning, data automation, data analytics and anomaly detection.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Law enforcement and military.&lt;/b&gt; Both law enforcement and the military rely heavily on robotics, as it can be used for surveillance and reconnaissance missions. Robotics is also used to improve soldier mobility on the battlefield.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Mechanical engineering.&lt;/b&gt; Robotics is widely used in manufacturing operations, such as the inspection of pipelines for corrosion and testing the structural integrity of buildings.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Mechatronics.&lt;/b&gt; Robotics aids in the development of &lt;a href="https://www.techtarget.com/searcherp/definition/smart-factory"&gt;smart factories&lt;/a&gt;, robotics-assisted surgery devices and &lt;a href="https://www.techtarget.com/searchenterpriseai/feature/Autonomous-vehicle-technology-advancing-amid-big-challenges"&gt;autonomous vehicles&lt;/a&gt;.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Nanotechnology.&lt;/b&gt; Robotics is extensively used in the manufacturing of &lt;a href="https://www.techtarget.com/iotagenda/definition/micro-electromechanical-systems-MEMS"&gt;microelectromechanical systems&lt;/a&gt;, which is a process used to create tiny integrated systems.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Bioengineering and healthcare.&lt;/b&gt; &lt;a href="https://www.techtarget.com/searchenterpriseai/definition/robotic-surgery-robot-assisted-surgery"&gt;Surgical robots&lt;/a&gt;, assistive robots, lab robots and telemedicine robots are all examples of robotics used in the fields of healthcare and bioengineering.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Aerospace.&lt;/b&gt; Robotics can be used for drilling, painting, coating, inspection and maintenance of aircraft components.&lt;/li&gt; 
 &lt;/ul&gt;
 &lt;div class="youtube-iframe-container"&gt;
  &lt;iframe id="ytplayer-0" src="https://www.youtube.com/embed/Kf9rgbq-G2k?autoplay=0&amp;amp;modestbranding=1&amp;amp;rel=0&amp;amp;widget_referrer=null&amp;amp;enablejsapi=1&amp;amp;origin=https://www.techtarget.com" type="text/html" height="360" width="640" frameborder="0"&gt;&lt;/iframe&gt;
 &lt;/div&gt;
&lt;/section&gt;       
&lt;section class="section main-article-chapter" data-menu-title="Types of robotics"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;Types of robotics&lt;/h2&gt;
 &lt;p&gt;Robots are designed to perform specific tasks and operate in different environments. The following are some common types of robots used across various industries:&lt;/p&gt;
 &lt;ul class="default-list"&gt; 
  &lt;li&gt;&lt;b&gt;Industrial robots.&lt;/b&gt; Frequently used in manufacturing and warehouse settings, these large &lt;a href="https://www.techtarget.com/searchenterpriseai/feature/How-warehouse-automation-robotics-transformed-the-supply-chain"&gt;programmable robots are transforming the supply chain&lt;/a&gt; by performing tasks such as welding, painting, assembling and material handling.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Service robots.&lt;/b&gt; These robots are used in a variety of fields in different scenarios, such as domestic chores, hospitality, retail and healthcare. Examples include cleaning robots, entertainment robots and personal assistance robots.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Medical robots.&lt;/b&gt; These robots help with surgical procedures, rehabilitation and diagnostics in healthcare settings. Robotic surgery systems, exoskeletons and artificial limbs are a few examples of medical robots.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Autonomous vehicles.&lt;/b&gt; These robots are mainly used for transportation purposes and can include self-driving cars, drones and autonomous delivery robots. They navigate and make decisions using advanced sensors and &lt;a href="https://www.techtarget.com/searchenterpriseai/tip/Types-of-AI-algorithms-and-how-they-work"&gt;AI algorithms&lt;/a&gt;.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Humanoid robots.&lt;/b&gt; These robots are programmed to imitate and mimic human movements and actions. They look humanlike and are employed in research, entertainment and human-robot interactions.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Cobots.&lt;/b&gt; Contrary to the majority of other types of robots, which do their tasks alone or in entirely separated work environments, &lt;a href="https://www.techtarget.com/whatis/definition/collaborative-robot-cobot"&gt;cobots&lt;/a&gt; can share workplaces with human employees, enabling them to work more productively. They're typically used to remove costly, dangerous or time-consuming tasks from routine workflows. Cobots can occasionally recognize and respond to human movement.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Agricultural robots.&lt;/b&gt; These robots are used in farming and agricultural applications. They can plant, harvest, apply pesticides and check crop health.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Exploration and space robots.&lt;/b&gt; These robots are used in missions to explore space as well as in harsh regions on Earth. Examples include underwater exploration robots and rovers used on Mars expeditions.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Defense and military robots.&lt;/b&gt; These robots aid military tasks and operations including surveillance, bomb disposal and search-and-rescue missions. They're specifically designed to operate in unknown terrains.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Educational robots.&lt;/b&gt; These robots are created to instruct and educate kids about robotics, programming and problem-solving. Kits and platforms for hands-on learning in academia are frequent examples of educational robots.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Entertainment robots.&lt;/b&gt; Created for entertainment purposes, these robots come in the form of robotic pets, humanoid companions and interactive toys.&lt;/li&gt; 
 &lt;/ul&gt;
 &lt;figure class="main-article-image full-col" data-img-fullsize="https://www.techtarget.com/rms/onlineimages/types_of_robots-f.png"&gt;
  &lt;img data-src="https://www.techtarget.com/rms/onlineimages/types_of_robots-f_mobile.png" class="lazy" data-srcset="https://www.techtarget.com/rms/onlineimages/types_of_robots-f_mobile.png 960w,https://www.techtarget.com/rms/onlineimages/types_of_robots-f.png 1280w" alt="Types of robots." height="226" width="560"&gt;
  &lt;figcaption&gt;
   &lt;i class="icon pictures" data-icon="z"&gt;&lt;/i&gt;There are many different kinds of robots suited to a variety of tasks.
  &lt;/figcaption&gt;
  &lt;div class="main-article-image-enlarge"&gt;
   &lt;i class="icon" data-icon="w"&gt;&lt;/i&gt;
  &lt;/div&gt;
 &lt;/figure&gt;
&lt;/section&gt;    
&lt;section class="section main-article-chapter" data-menu-title="Machine learning in robotics"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;Machine learning in robotics&lt;/h2&gt;
 &lt;p&gt;Machine learning and robotics intersect in a field known as robot learning. Robot learning is the study of techniques that enable a robot to acquire new knowledge or skills through ML algorithms.&lt;/p&gt;
 &lt;p&gt;Some applications that have been explored by robot learning include grasping objects, object categorization and even linguistic interaction with a human peer. Learning can happen through self-exploration or guidance from a human operator.&lt;/p&gt;
 &lt;p&gt;To learn, intelligent robots must accumulate facts through human input or sensors. Then, the robot's processing unit compares the newly acquired data with previously stored information to predict the best course of action based on the data it has acquired. However, it's important to understand that a robot can only solve problems that it's built to solve. It doesn't have general analytical abilities.&lt;/p&gt;
 &lt;p&gt;Some examples of current applications of machine learning in robotics include the following:&lt;/p&gt;
 &lt;ul class="default-list"&gt; 
  &lt;li&gt;&lt;b&gt;Computer vision.&lt;/b&gt; Robots can perceive, identify and navigate their environments with the help of machine vision, which uses ML algorithms and sensors. &lt;a href="https://www.techtarget.com/searchenterpriseai/ehandbook/Computer-vision-AI-looks-beyond-the-narrow-into-the-mainstream"&gt;Computer vision is used in a wide range of settings&lt;/a&gt;, including manufacturing procedures, such as material inspection and pattern and signature recognition.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Self-supervised learning.&lt;/b&gt; By using large sets of data, robots can be taught to perform tasks without being specifically trained to do so, such as in &lt;a href="https://www.techtarget.com/searchenterpriseai/definition/neural-network"&gt;neural networks&lt;/a&gt;. Self-supervised learning can be used to increase the ability of robots to adapt to changing environments.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Imitation learning.&lt;/b&gt; This entails educating robots to replicate human behavior by demonstrating desirable actions to them. This can be used to improve the speed and accuracy of automated procedures.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Assistive robotics.&lt;/b&gt; Machine learning can be used to create robotic devices that help people with daily tasks such as mobility and household duties. For example, wheelchair-mounted robot arms can offer greater independence to people with limited mobility in their upper extremities.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Reinforcement learning.&lt;/b&gt; This entails teaching robots how to carry out challenging tasks through the use of trial-and-error techniques to make robotic systems more effective and efficient.&lt;/li&gt; 
 &lt;/ul&gt;
&lt;/section&gt;      
&lt;section class="section main-article-chapter" data-menu-title="The pros and cons of robotics"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;The pros and cons of robotics&lt;/h2&gt;
 &lt;p&gt;Robotic systems are coveted in many industries because they can increase accuracy, reduce costs and increase safety for human beings.&lt;/p&gt;
 &lt;p&gt;Common advantages of robotics include the following:&lt;/p&gt;
 &lt;ul class="default-list"&gt; 
  &lt;li&gt;&lt;b&gt;Safety.&lt;/b&gt; Safety is arguably one of robotics' greatest benefits, as many dangerous or unhealthy environments no longer require the human element. Examples include the nuclear industry, space, defense and maintenance. With robots or robotic systems, workers can avoid exposure to hazardous chemicals and even limit psychosocial and ergonomic health risks.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Increased productivity.&lt;/b&gt; Robots don't readily become tired or worn out as humans do. They can work continuously without breaks while performing repetitive jobs, which boosts productivity.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Accuracy.&lt;/b&gt; Robots can perform precise tasks with greater consistency and accuracy than humans can. This eliminates the risk of errors and inconsistencies.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Flexibility.&lt;/b&gt; Robots can be programmed to carry out a variety of tasks and are easily adaptable to new use cases.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Cost savings.&lt;/b&gt; By automating repetitive tasks, robots can reduce labor costs.&lt;/li&gt; 
 &lt;/ul&gt;
 &lt;p&gt;However, despite these benefits, robotics also comes with the following drawbacks:&lt;/p&gt;
 &lt;ul class="default-list"&gt; 
  &lt;li&gt;&lt;b&gt;Task suitability.&lt;/b&gt; Certain tasks are simply better suited for humans -- for example, those jobs that require creativity, adaptability and critical decision-making skills.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Economic problems.&lt;/b&gt; Since robots can perform most jobs that humans do with more precision, speed and accuracy, there's always a potential risk that they could eventually replace human jobs.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Cost.&lt;/b&gt; Most robotic systems have a high initial cost. It can also cost a lot to repair and maintain robots.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Increased dependency.&lt;/b&gt; Overreliance on robots can result in a decrease in human talents and problem-solving abilities as well as an increase in technological dependence.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Security risks.&lt;/b&gt; There's always a risk of robotic devices getting hacked or hijacked, especially if they're being used for defense and security purposes.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Power requirements.&lt;/b&gt; Robots consume a lot of energy and constant power to operate. Regular upkeep and maintenance are also needed to keep them in good working condition.&lt;/li&gt; 
 &lt;/ul&gt;
 &lt;figure class="main-article-image full-col" data-img-fullsize="https://www.techtarget.com/rms/onlineimages/what_can_robots_do-f.png"&gt;
  &lt;img data-src="https://www.techtarget.com/rms/onlineimages/what_can_robots_do-f_mobile.png" class="lazy" data-srcset="https://www.techtarget.com/rms/onlineimages/what_can_robots_do-f_mobile.png 960w,https://www.techtarget.com/rms/onlineimages/what_can_robots_do-f.png 1280w" alt="Robotics pros and cons." height="269" width="560"&gt;
  &lt;figcaption&gt;
   &lt;i class="icon pictures" data-icon="z"&gt;&lt;/i&gt;Although robots can perform certain tasks better than humans, they also have their shortcomings.
  &lt;/figcaption&gt;
  &lt;div class="main-article-image-enlarge"&gt;
   &lt;i class="icon" data-icon="w"&gt;&lt;/i&gt;
  &lt;/div&gt;
 &lt;/figure&gt;
&lt;/section&gt;       
&lt;section class="section main-article-chapter" data-menu-title="The future of robotics"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;The future of robotics&lt;/h2&gt;
 &lt;p&gt;Robots are becoming more efficient, flexible and autonomous as AI, machine learning and sensor technologies progress. They're predicted to play an increasingly essential role in a variety of industries and applications in the future. A study by Spherical Insights and Consulting estimated that the size of the global robotics market will increase from $25.82 billion in 2022 to $115.88 billion by 2032.&lt;/p&gt;
 &lt;p&gt;However, there are also possible concerns about employment losses associated with the exponential adoption of robotics across various industries. According to Oxford Economics, up to 20 million manufacturing jobs could be &lt;a href="https://resources.oxfordeconomics.com/how-robots-change-the-world" target="_blank" rel="noopener"&gt;lost to robots&lt;/a&gt; by 2030. On the flip side, robots are likely to generate new professional opportunities in fields such as programming and maintenance, despite the looming possibility of job losses.&lt;/p&gt;
 &lt;p&gt;&lt;em&gt;Manufacturing organizations are using robotics and AI to improve operations and boost productivity. Explore the 10 &lt;a href="https://www.techtarget.com/searcherp/feature/10-AI-use-cases-in-manufacturing"&gt;use cases of robotics in the manufacturing industry&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
&lt;/section&gt;</body>
            <description>Robotics is a branch of engineering that involves the conception, design, manufacture and operation of robots.</description>
            <image>https://cdn.ttgtmedia.com/visuals/digdeeper/1.jpg</image>
            <link>https://www.techtarget.com/whatis/definition/robotics</link>
            <pubDate>Wed, 04 Sep 2024 13:15:00 GMT</pubDate>
            <title>What is Robotics?</title>
        </item>
        <item>
            <body>&lt;p&gt;AWS Migration Hub is a service from Amazon Web Services that enables AWS users to simplify migration to the AWS public cloud. Its purpose is to simplify discovery, assessment, planning and execution to streamline organizations' end-to-end migrations and modernization journeys.&lt;/p&gt; 
&lt;p&gt;AWS Migration Hub supports and integrates with native migration tools, such as AWS Server Migration Service and AWS Database Migration Service, as well as several partner tools to provide accurate &lt;a href="https://www.techtarget.com/searchstorage/definition/data-migration"&gt;data migrations&lt;/a&gt;.&lt;/p&gt; 
&lt;section class="section main-article-chapter" data-menu-title="Purpose of AWS Migration Hub"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;Purpose of AWS Migration Hub&lt;/h2&gt;
 &lt;p&gt;With AWS Migration Hub, business users can plan migrations, track the migration status of each application, get full visibility into the entire application portfolio, and collect and view data from on-premises resources including servers. AWS Migration Hub facilitates discovery of applications, migration execution, grouping servers into applications and accelerating application &lt;a href="https://www.techtarget.com/searchapparchitecture/definition/refactoring"&gt;refactoring&lt;/a&gt;. The service also enables users to manage existing applications and &lt;a href="https://www.techtarget.com/searchapparchitecture/definition/microservices"&gt;microservices&lt;/a&gt; as one application.&lt;/p&gt;
 &lt;p&gt;AWS Migration Hub provides guidance, tools, automation recommendations and prescriptive plans to accelerate &lt;a href="https://www.techtarget.com/searchcloudcomputing/definition/cloud-migration"&gt;cloud migration&lt;/a&gt;. It also provides proven journey templates and facilitates cross-team collaboration and tracking, enabling businesses to define the migration and modernization strategy that is most likely to help accelerate the process of rehosting, &lt;a href="https://www.techtarget.com/searchcloudcomputing/definition/replatforming"&gt;replatforming&lt;/a&gt; or refactoring applications. The AWS Migration Hub console enables users to track the migration progress of their applications into AWS.&lt;/p&gt;
 &lt;div class="youtube-iframe-container"&gt;
  &lt;iframe id="ytplayer-0" src="https://www.youtube.com/embed/-xanQ3aUWms?autoplay=0&amp;amp;modestbranding=1&amp;amp;rel=0&amp;amp;widget_referrer=null&amp;amp;enablejsapi=1&amp;amp;origin=https://www.techtarget.com" type="text/html" height="360" width="640" frameborder="0"&gt;&lt;/iframe&gt;
 &lt;/div&gt;
&lt;/section&gt;    
&lt;section class="section main-article-chapter" data-menu-title="Important features of AWS Migration Hub"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;Important features of AWS Migration Hub&lt;/h2&gt;
 &lt;p&gt;AWS Migration Hub includes numerous features to make it easy for organizations to plan, execute and track migrations. For example, it provides journey templates to offer guidance on the recommended tasks for all migration phases, customizable step-by-step &lt;a href="https://www.techtarget.com/searchnetworking/definition/run-book"&gt;runbooks&lt;/a&gt; to execute various subtasks, and predefined workflow templates to accelerate migration and enhance user experiences. By leveraging the guidance, &lt;a href="https://www.techtarget.com/whatis/definition/template"&gt;templates&lt;/a&gt; and runbooks, businesses can speed up project planning and reduce dependency on outside cloud consultants.&lt;/p&gt;
 &lt;p&gt;Users can import information about on-premises servers and applications, and discover applications to determine which ones can be migrated and modernized. Another option is to use discovery tools like AWS Discovery Agent or the agentless AWS Discovery Collector for VMware environments if a deeper discovery process is required.&lt;/p&gt;
 &lt;p&gt;A network visualization feature enables users to quickly identify servers and associated dependencies, identify server roles, and group servers into applications. Doing so can help to accelerate migration planning. To build a migration and modernization strategy for on-premises or AWS applications, AWS Migration Hub provides Strategy Recommendations, a feature that analyzes applications and determines the optimal migration strategies.&lt;/p&gt;
 &lt;p&gt;Once the migration begins, users can use the AWS Migration Hub &lt;a href="https://www.techtarget.com/searchcio/definition/executive-dashboard"&gt;dashboard&lt;/a&gt; to view the migration status and metrics. The dashboard is particularly useful to track the progress of rehost and replatform migrations, and to identify and troubleshoot issues.&lt;/p&gt;
 &lt;p&gt;For incremental application refactoring to microservices, AWS Migration Hub provides a chargeable Refactor Spaces feature that removes the undifferentiated work of building and operating AWS infrastructure, minimizes the risk of evolving applications into microservices, and bridges networking across AWS accounts. Moreover, Refactor Spaces maintains the transparency of the underlying architecture changes by providing an application proxy.&lt;/p&gt;
&lt;/section&gt;      
&lt;section class="section main-article-chapter" data-menu-title="Start a migration with AWS Migration Hub"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;Start a migration with AWS Migration Hub&lt;/h2&gt;
 &lt;p&gt;To help users get started with a migration using AWS Migration Hub, the tool prompts them to choose a home region from the &lt;a href="https://www.techtarget.com/searchaws/definition/AWS-Management-Console"&gt;AWS Management Console&lt;/a&gt;. The home region is where the migration tracking data will be stored. That said, an AWS login is not required to start the AWS migration; applications can also be migrated outside the AWS Console.&lt;/p&gt;
 &lt;p&gt;Whether or not a login is used, the AWS Migration Hub prompts users to provide information about their existing environment and to specify their migration goals. After doing this, they can either select a built-in journey template or customize it to define their end-to-end migration project.&lt;/p&gt;
 &lt;p&gt;Prior to migration, users can perform discovery on local resources using a discovery tool. The tools -- Agentless Collector, Discovery Agent and Migration Evaluator -- are available on the Discovery Tools page of the AWS Migration Hub console navigation pane. After choosing a discovery tool, users can view detailed information about discovered servers and explore server network connections.&lt;/p&gt;
 &lt;p&gt;It's important to authorize the chosen migration tool to communicate the migration status to Migration Hub in the home region. Without this authorization, AWS Migration Hub will not track the migration.&lt;/p&gt;
 &lt;figure class="main-article-image full-col" data-img-fullsize="https://www.techtarget.com/rms/editorial/sAWS_20180510_MigrationHub.png"&gt;
  &lt;img data-src="https://www.techtarget.com/rms/editorial/sAWS_20180510_MigrationHub_mobile.png" class="lazy" data-srcset="https://www.techtarget.com/rms/editorial/sAWS_20180510_MigrationHub_mobile.png 960w,https://www.techtarget.com/rms/editorial/sAWS_20180510_MigrationHub.png 1280w" alt="Screenshot of the AWS Migration Hub dashboard." height="247" width="519"&gt;
  &lt;figcaption&gt;
   &lt;i class="icon pictures" data-icon="z"&gt;&lt;/i&gt;Users can get started with AWS Migration Hub at the dashboard.
  &lt;/figcaption&gt;
  &lt;div class="main-article-image-enlarge"&gt;
   &lt;i class="icon" data-icon="w"&gt;&lt;/i&gt;
  &lt;/div&gt;
 &lt;/figure&gt;
 &lt;p&gt;&lt;a href="https://www.techtarget.com/searchitoperations/definition/service-discovery"&gt;Resource discovery&lt;/a&gt; prior to migration helps to build a business case for migrating and to build a detailed and systematic migration plan. However, discovery is an optional process, so users can start a migration without it. If they choose to bypass the discovery process and migrate immediately, all application and database servers will appear as resources in AWS Migration Hub as the migration takes place.&lt;/p&gt;
 &lt;p&gt;During migration, the servers being migrated appear in the Servers page, which can be accessed from the AWS Migration Hub console navigation pane under Discover. To simplify migration tracking, it's useful to group servers as applications. This can be done from the servers list or from the &lt;a href="https://www.techtarget.com/searchnetworking/feature/Discover-8-network-diagramming-tools-aimed-at-architects"&gt;network diagram&lt;/a&gt;.&lt;/p&gt;
 &lt;p&gt;Once AWS Application Discovery Service collects data, it stores it in a repository, which AWS Migration Hub accesses. The service then relays that data to the user, who can examine technical specifications along with other performance information.&lt;/p&gt;
 &lt;p&gt;Whichever discovery option a user chooses, they must populate a servers list before grouping servers into an application. After the list populates, the user selects the resources to group into an application. All &lt;a href="https://www.techtarget.com/searchcloudcomputing/tip/An-introduction-to-AWS-IAM-best-practices"&gt;AWS Identity and Access Management&lt;/a&gt; users within the same account can view each other's applications.&lt;/p&gt;
&lt;/section&gt;          
&lt;section class="section main-article-chapter" data-menu-title="Track a migration with AWS Migration Hub"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;Track a migration with AWS Migration Hub&lt;/h2&gt;
 &lt;p&gt;AWS Migration Hub tracks migration progress status and the details of each server grouped to the application. Specifically, the migration tool communicates the status to AWS Migration Hub at key points during the migration.&lt;/p&gt;
 &lt;p&gt;Users can track migration status by following this procedure:&lt;/p&gt;
 &lt;ul class="default-list"&gt; 
  &lt;li&gt;Navigate to Dashboard in the navigation pane of the Migration Hub console.&lt;/li&gt; 
  &lt;li&gt;Select the migration application under Most Recently Updated Applications.&lt;/li&gt; 
  &lt;li&gt;The status will show as Not Started, In Progress or Completed.&lt;/li&gt; 
  &lt;li&gt;Users can manually change the status from Not Started to In Progress or from In Progress to Completed.&lt;/li&gt; 
 &lt;/ul&gt;
 &lt;p&gt;AWS Migration Hub displays the migration status of applications in its console. Each migrating resource shows its status within a diagram and a table. Possible status levels are as follows:&lt;/p&gt;
 &lt;ul class="default-list"&gt; 
  &lt;li&gt;In progress, &lt;a href="https://www.techtarget.com/searchdisasterrecovery/definition/data-replication"&gt;replication&lt;/a&gt; starting.&lt;/li&gt; 
  &lt;li&gt;In progress, replication complete.&lt;/li&gt; 
  &lt;li&gt;Completed, &lt;a href="https://www.techtarget.com/searchaws/definition/Amazon-Machine-Image-AMI"&gt;Amazon Machine Image&lt;/a&gt; created.&lt;/li&gt; 
 &lt;/ul&gt;
 &lt;p&gt;Once migration is finished, AWS Migration Hub will also display data on the newly created resources.&lt;/p&gt;
 &lt;p&gt;AWS Migration Hub only tracks resources that are in an AWS repository and are migrated with supported tools. Unsupported tools will not report resource statuses back to AWS Migration Hub.&lt;/p&gt;
 &lt;div class="youtube-iframe-container"&gt;
  &lt;iframe id="ytplayer-1" src="https://www.youtube.com/embed/UEyaTsFTfnk?autoplay=0&amp;amp;modestbranding=1&amp;amp;rel=0&amp;amp;widget_referrer=null&amp;amp;enablejsapi=1&amp;amp;origin=https://www.techtarget.com" type="text/html" height="360" width="640" frameborder="0"&gt;&lt;/iframe&gt;
 &lt;/div&gt;
&lt;/section&gt;         
&lt;section class="section main-article-chapter" data-menu-title="AWS Migration Hub pricing"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;AWS Migration Hub pricing&lt;/h2&gt;
 &lt;p&gt;AWS Migration Hub is free to use for these purposes:&lt;/p&gt;
 &lt;ul class="default-list"&gt; 
  &lt;li&gt;Collecting and storing discovery data in the home region.&lt;/li&gt; 
  &lt;li&gt;Planning a migration to AWS.&lt;/li&gt; 
  &lt;li&gt;Tracking an in-progress migration.&lt;/li&gt; 
 &lt;/ul&gt;
 &lt;p&gt;However, organizations can incur costs for using migration tools and for any resources consumed on AWS. Migration Hub's Refactor Spaces is also chargeable on a pay-as-you-use basis at $0.000002 per request. In addition, there are charges for AWS services provisioned by Refactor Spaces, but there are no upfront costs or minimum fees for using Refactor Spaces. AWS also provides a free tier that lets users try Refactor Spaces with 2,160 free environment hours per month for 90 days.&lt;/p&gt;
 &lt;p&gt;&lt;em&gt;Organizations should take stock of their applications and modernize them where appropriate as part of a cloud migration. Learn about the &lt;a href="https://www.techtarget.com/searchcloudcomputing/tip/How-to-modernize-apps-as-part-of-the-cloud-migration-process"&gt;benefits of modernizing apps and be aware of the potential pitfalls&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
&lt;/section&gt;</body>
            <description>AWS Migration Hub is a service from Amazon Web Services that enables AWS users to simplify migration to the AWS public cloud.</description>
            <image>https://cdn.ttgtmedia.com/visuals/digdeeper/4.jpg</image>
            <link>https://www.techtarget.com/searchaws/definition/AWS-Migration-Hub</link>
            <pubDate>Mon, 19 Aug 2024 12:00:00 GMT</pubDate>
            <title>What is AWS Migration Hub?</title>
        </item>
        <item>
            <body>&lt;section class="section main-article-chapter" data-menu-title="What is CQRS (command query responsibility segregation)?"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;What is CQRS (command query responsibility segregation)?&lt;/h2&gt;
 &lt;p&gt;CQRS (command query responsibility segregation) is a programming design and architectural pattern that treats retrieving data and changing data differently. CQRS uses command handlers to simplify the &lt;a href="https://www.techtarget.com/searchdatamanagement/definition/query"&gt;query&lt;/a&gt; process and hide complex, multisystem changes.&lt;/p&gt;
 &lt;p&gt;When the CQRS pattern is combined with the event sourcing pattern, it guarantees an audit &lt;a href="https://www.techtarget.com/whatis/definition/log-log-file"&gt;log&lt;/a&gt; of changes to the &lt;a href="https://www.techtarget.com/searchdatamanagement/definition/database"&gt;database&lt;/a&gt; that can help maintain transactional consistency. Moreover, its read model can contain, or be used to generate, a materialized view pattern of write model data.&lt;/p&gt;
 &lt;p&gt;CQRS is a software architecture pattern in which the responsibilities of a system's commands and queries are segregated by vertically slicing the application logic. You can think of the pattern as a way to separate read and update operations for a data store. The goal of CQRS is maximizing application performance, security and scalability.&lt;/p&gt;
 &lt;p&gt;In CQRS, a command conveys the user's intent. It is an instruction the user provides to the system to perform a certain task. A command does not generate a result and is part of the write model. A query is a user's request for information. It returns a result but does not change the state and is part of the read model.&lt;/p&gt;
 &lt;figure class="main-article-image full-col" data-img-fullsize="https://www.techtarget.com/rms/onlineimages/app_arch-cqrs_pattern-f.png"&gt;
  &lt;img data-src="https://www.techtarget.com/rms/onlineimages/app_arch-cqrs_pattern-f_mobile.png" class="lazy" data-srcset="https://www.techtarget.com/rms/onlineimages/app_arch-cqrs_pattern-f_mobile.png 960w,https://www.techtarget.com/rms/onlineimages/app_arch-cqrs_pattern-f.png 1280w" alt="diagram showing steps in the command query responsibility segregation pattern" height="241" width="560"&gt;
  &lt;figcaption&gt;
   &lt;i class="icon pictures" data-icon="z"&gt;&lt;/i&gt;Steps in the command query responsibility segregation pattern
  &lt;/figcaption&gt;
  &lt;div class="main-article-image-enlarge"&gt;
   &lt;i class="icon" data-icon="w"&gt;&lt;/i&gt;
  &lt;/div&gt;
 &lt;/figure&gt;
 &lt;p&gt;Greg Young developed the CQRS design pattern in 2010, around the same time as &lt;a href="https://www.theserverside.com/tip/How-the-event-sourcing-design-pattern-works-with-example"&gt;&lt;i&gt;event sourcing&lt;/i&gt;&lt;/a&gt; emerged. As he defined the pattern: "[CQRS] uses the same definition of commands and queries that Meyer used and maintains the viewpoint that they should be pure. The fundamental difference is that, in CQRS, objects are split into two objects, one containing the commands, one containing the queries." Young was referring to Bertrand Meyer, who developed CQRS' predecessor, the command query separation (CQS) pattern.&lt;/p&gt;
&lt;/section&gt;       
&lt;section class="section main-article-chapter" data-menu-title="CQRS vs. CQS"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;CQRS vs. CQS&lt;/h2&gt;
 &lt;p&gt;Although related to and inspired by CQS, CQRS is different in that objects are split into two objects: one containing commands and one containing queries. Separate model representations for queries and commands make the approach highly suitable for event sourcing or task-based user interface (&lt;a href="https://www.techtarget.com/searchapparchitecture/definition/user-interface-UI"&gt;UI&lt;/a&gt;) applications. In contrast, the CQS application architecture pattern is mainly about separating the logic for queries that don't update a system's observable state from the logic of commands that do perform state updates.&lt;/p&gt;
 &lt;p&gt;Bertrand Meyer first referred to CQS in his book, &lt;i&gt;Object-Oriented Software Construction. &lt;/i&gt;It is also part of his work on the Eiffel programming language. He proposed separating methods that change state from those that don't. This enables queries to be confidently used in many situations. They can also be introduced anywhere, and their order can be changed as needed.&lt;/p&gt;
 &lt;p&gt;&lt;em&gt;Learn more about the &lt;a href="https://www.techtarget.com/searchapparchitecture/tip/A-comparison-of-6-top-programming-languages"&gt;most popular programming languages&lt;/a&gt; in the world.&lt;/em&gt;&lt;/p&gt;
&lt;/section&gt;    
&lt;section class="section main-article-chapter" data-menu-title="When to use the CQRS pattern -- and when not to"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;When to use the CQRS pattern -- and when not to&lt;/h2&gt;
 &lt;p&gt;The CQRS pattern is useful in all these scenarios:&lt;/p&gt;
 &lt;ul class="default-list"&gt; 
  &lt;li&gt;&lt;b&gt;Collaborative domains.&lt;/b&gt; Numerous users can view the same data concurrently.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Task-based UIs.&lt;/b&gt; Users are led through a series of steps to finish a task.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;High-traffic systems.&lt;/b&gt; Evenly distributing the workload between read/write operations improves performance and scalability in high-traffic systems.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Querying from repositories.&lt;/b&gt; Query the data users need to view from repositories.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Complex business logic.&lt;/b&gt; Separating read/write processes can help streamline application design if it contains complicated business logic.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Optimizing read operations.&lt;/b&gt; CQRS can create dedicated read models to optimize the read operations, especially if an application has many such operations.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Different data models for reads/writes.&lt;/b&gt; Through CQRS, multiple &lt;a href="https://www.techtarget.com/searchdatamanagement/tip/7-data-modeling-techniques-and-concepts-for-business"&gt;data models can be established&lt;/a&gt; for each operation by separating the read/write models.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Support for event sourcing.&lt;/b&gt; CQRS can be combined with event sourcing patterns to develop a system that can handle many events and queries.&lt;/li&gt; 
 &lt;/ul&gt;
 &lt;p&gt;It's important to consider CQRS' unique requirements and limitations and assess thoroughly whether this pattern is appropriate for its particular use cases. Use it only in restricted situations where it's necessary. It's useless for systems that follow the create, read, update and delete mental model.&lt;/p&gt;
&lt;/section&gt;    
&lt;section class="section main-article-chapter" data-menu-title="How the CQRS pattern is executed"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;How the CQRS pattern is executed&lt;/h2&gt;
 &lt;p&gt;The most common way to deploy CQRS is the command pattern, which is the software system that defines a high-level interface. At runtime, the base class takes the command, creates the appropriate object handler -- perhaps update, delete or create -- and calls a method to execute the command.&lt;/p&gt;
 &lt;p&gt;Before and after execution, the base class can log that the method was called. The log can be replayed from and to any point in time. Once the interface and dispatch code exist, the computer program to take the events and replay them is called a &lt;i&gt;for&lt;/i&gt; loop. It reads a file from a certain point, and then, for each line, it calls the command on that line with the data on that line. The complexity hidden inside the command handler is limited or &lt;a href="https://www.techtarget.com/searchnetworking/definition/encapsulation"&gt;encapsulated&lt;/a&gt; by the handler.&lt;/p&gt;
 &lt;p&gt;The handlers call each step of the process to create, update or delete a logical item in the system. They can dispatch the first request and monitor to see when that action completes, handling errors and rollbacks if needed. The handler sets up a long-running, &lt;a href="https://www.techtarget.com/searchapparchitecture/definition/two-phase-commit-2PC"&gt;two-phase commit&lt;/a&gt; (&lt;a href="https://www.techtarget.com/searchapparchitecture/tip/Using-the-saga-design-pattern-for-microservices-transactions"&gt;saga pattern&lt;/a&gt;) post in which it writes the results to the event log. This log contains a record of every system change. If this log is created in a consistent way that a program can read and replay, it enables event sourcing.&lt;/p&gt;
&lt;/section&gt;    
&lt;section class="section main-article-chapter" data-menu-title="CQRS example: Customer order process"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;CQRS example: Customer order process&lt;/h2&gt;
 &lt;p&gt;When a customer looks at an order, a straightforward process is executed: a read from a database. The read could be from a &lt;a href="https://www.techtarget.com/searchdatamanagement/definition/NoSQL-Not-Only-SQL"&gt;NoSQL&lt;/a&gt; key-value store, like &lt;a href="https://www.computerweekly.com/news/252505466/Whole-system-view-of-railways-from-Resonate-on-Redis-offers-progress"&gt;Redis&lt;/a&gt;, that stores all customer information. A &lt;a href="https://www.techtarget.com/searchapparchitecture/definition/microservices"&gt;microservice&lt;/a&gt; picks up the information, and a webpage displays it. The Redis team, working with the front-end developers, can handle the read side easily.&lt;/p&gt;
 &lt;div class="youtube-iframe-container"&gt;
  &lt;iframe id="ytplayer-0" src="https://www.youtube.com/embed/8bxpZmNKhU8?autoplay=0&amp;amp;modestbranding=1&amp;amp;rel=0&amp;amp;widget_referrer=null&amp;amp;enablejsapi=1&amp;amp;origin=https://www.techtarget.com" type="text/html" height="360" width="640" frameborder="0"&gt;&lt;/iframe&gt;
 &lt;/div&gt;
 &lt;p&gt;The operation's write side is much more complex and contains several different steps and dependencies. For example, if an order is canceled before it is shipped, the following occurs:&lt;/p&gt;
 &lt;ul class="default-list"&gt; 
  &lt;li&gt;The return must be canceled in the cache and returned in the main source system of record.&lt;/li&gt; 
  &lt;li&gt;If there is a &lt;a href="https://www.techtarget.com/searchdatamanagement/definition/data-warehouse"&gt;data warehouse&lt;/a&gt;, the record must be deleted from it and other auxiliary systems.&lt;/li&gt; 
  &lt;li&gt;The physical warehouse and shipping must be notified to not ship the item.&lt;/li&gt; 
  &lt;li&gt;Credit card charges must be reversed, inventory counts in the warehouse must be changed and the supplier's refill order must go down by one.&lt;/li&gt; 
 &lt;/ul&gt;
 &lt;p&gt;Since a single change (order cancellation) must be copied to so many places, the update, delete and create sides of the operation must interact with either an enterprise service bus (&lt;a href="https://www.techtarget.com/searchapparchitecture/definition/Enterprise-Service-Bus-ESB"&gt;ESB&lt;/a&gt;)or a command handler, such as the saga pattern. CQRS helps create the logic to handle these complex transactions.&lt;/p&gt;
 &lt;figure class="main-article-image full-col" data-img-fullsize="https://www.techtarget.com/rms/onlineImages/data_management-ods_vs_warehouse.jpg"&gt;
  &lt;img data-src="https://www.techtarget.com/rms/onlineImages/data_management-ods_vs_warehouse_mobile.jpg" class="lazy" data-srcset="https://www.techtarget.com/rms/onlineImages/data_management-ods_vs_warehouse_mobile.jpg 960w,https://www.techtarget.com/rms/onlineImages/data_management-ods_vs_warehouse.jpg 1280w" alt="A chart showing key differences between an operational data store and a data warehouse" height="241" width="560"&gt;
  &lt;figcaption&gt;
   &lt;i class="icon pictures" data-icon="z"&gt;&lt;/i&gt;An operational data store has important differences from a data warehouse, including requirements for how CQRS works with them.
  &lt;/figcaption&gt;
  &lt;div class="main-article-image-enlarge"&gt;
   &lt;i class="icon" data-icon="w"&gt;&lt;/i&gt;
  &lt;/div&gt;
 &lt;/figure&gt;
&lt;/section&gt;       
&lt;section class="section main-article-chapter" data-menu-title="Challenges of CQRS"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;Challenges of CQRS&lt;/h2&gt;
 &lt;p&gt;Some challenges associated with CQRS are the following:&lt;/p&gt;
 &lt;ul class="default-list"&gt; 
  &lt;li&gt;&lt;b&gt;Complexity.&lt;/b&gt; CQRS creates complexity on top of the codebase. Instead of a simple relational database, like a &lt;a href="https://www.techtarget.com/searchdatamanagement/definition/SQL"&gt;Structured Query Language&lt;/a&gt; database, the application now has command handlers, dispatching and logging, all of which increase the potential for error.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Messaging.&lt;/b&gt; CQRS doesn't require messaging, but it's typical to use messaging to process commands and broadcast update events, with the application having to handle message failures or duplicate messages.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Conversion.&lt;/b&gt; It can be challenging to convert to CQRS currently online running noncomplex systems like those that don't have a complex transition log or systems that use overnight batch mode to do updates.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Eventual consistency.&lt;/b&gt; Separating the read/write databases can cause the read data to become stale. Updating the former to reflect changes in the latter can cause data consistency issues. It can be difficult to detect when a user issued a request based on outdated data from the reading database.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Delayed data synchronization.&lt;/b&gt; Changes made in the write mode can take some time to reflect in the read mode, which can &lt;a href="https://www.computerweekly.com/feature/Can-real-time-data-visualisation-deliver-trust-and-opportunity"&gt;cause issues&lt;/a&gt; if a user queries the read mode before change synchronization.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Cost.&lt;/b&gt; CQRS patterns can increase hardware costs. &lt;a href="https://www.techtarget.com/searchcloudcomputing/opinion/Utilize-AI-for-cloud-cost-optimization"&gt;Cloud utilization costs&lt;/a&gt; can also increase since additional database technologies are required for deployment.&lt;/li&gt; 
 &lt;/ul&gt;
 &lt;div class="youtube-iframe-container"&gt;
  &lt;iframe id="ytplayer-1" src="https://www.youtube.com/embed/cdzUXv8SpjY?autoplay=0&amp;amp;modestbranding=1&amp;amp;rel=0&amp;amp;widget_referrer=null&amp;amp;enablejsapi=1&amp;amp;origin=https://www.techtarget.com" type="text/html" height="360" width="640" frameborder="0"&gt;&lt;/iframe&gt;
 &lt;/div&gt;
&lt;/section&gt;    
&lt;section class="section main-article-chapter" data-menu-title="Combining CQRS with other patterns: CQRS and event sourcing"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;Combining CQRS with other patterns: CQRS and event sourcing&lt;/h2&gt;
 &lt;p&gt;The CQRS pattern is frequently used with the event sourcing pattern. The latter is an approach to a series or sequence of events. Events are user-generated actions, such as clicking a mouse button or pressing a keyboard key. CQRS-based systems use separate read/write data models, where each model is tailored to relevant tasks and often located in physically separate data stores.&lt;/p&gt;
 &lt;p&gt;In CQRS, the system tracks past changes in data states and alerts users on how to handle them. Every step of the data transformation process is recorded, not just the most recent state. Since the system itself can be recreated as the collection of all the changes over time, it creates a new view of data in the system: the transaction log. This log is not just a text file, but an actual set of commands that can be replayed to recreate the change. In some cases, the event log can be "played backward" to undo large changes.&lt;/p&gt;
 &lt;p&gt;Setting up event sourcing requires capturing the changes, along with building the software to replay those changes. Deployed carefully, command handlers can write to a log, creating the transaction log for event sourcing. Running each line in the log through a command handler executes event sourcing.&lt;/p&gt;
 &lt;p&gt;The CQRS and event sourcing patterns have considerable overlap. The command in CQRS is one way to create event sourcing. CQRS works well with event sourcing since it divides the system by business operations and events are the result of those operations.&lt;/p&gt;
&lt;/section&gt;     
&lt;section class="section main-article-chapter" data-menu-title="What are some related patterns?"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;What are some related patterns?&lt;/h2&gt;
 &lt;p&gt;CQRS is compatible with &lt;a href="https://www.techtarget.com/whatis/definition/domain-driven-design"&gt;domain-driven design&lt;/a&gt; -- an explicit domain model -- event sourcing and the command pattern. An ESB might deliver the messages to perform the create, update and delete. The general pattern is &lt;a href="https://www.techtarget.com/searchapparchitecture/definition/service-oriented-architecture-SOA"&gt;service-oriented architecture&lt;/a&gt;.&lt;/p&gt;
 &lt;p&gt;&lt;em&gt;While CQRS can be useful in constructing an event-driven architecture, bad practices can turn it into more of a nuisance. Explore &lt;a href="https://www.techtarget.com/searchapparchitecture/tip/Common-CQRS-pattern-problems-and-how-teams-can-avoid-them"&gt;common CQRS pattern problems&lt;/a&gt;, and see how they can be mitigated.&lt;/em&gt;&lt;/p&gt;
&lt;/section&gt;</body>
            <description>CQRS (command query responsibility segregation) is a programming design and architectural pattern that treats retrieving data and changing data differently.</description>
            <image>https://cdn.ttgtmedia.com/visuals/digdeeper/4.jpg</image>
            <link>https://www.techtarget.com/searchapparchitecture/definition/CQRS-command-query-responsibility-segregation</link>
            <pubDate>Fri, 31 May 2024 09:00:00 GMT</pubDate>
            <title>CQRS (command query responsibility segregation)</title>
        </item>
        <item>
            <body>&lt;section class="section main-article-chapter" data-menu-title="What are AWS Reserved Instances?"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;What are AWS Reserved Instances?&lt;/h2&gt;
 &lt;p&gt;AWS Reserved Instances (RIs) refer to compute capacity that can be reserved on Amazon Elastic Compute Cloud (&lt;a href="https://www.techtarget.com/searchaws/definition/Amazon-Elastic-Compute-Cloud-Amazon-EC2"&gt;Amazon EC2&lt;/a&gt;) and Amazon Relational Database Service (&lt;a href="https://www.techtarget.com/searchaws/definition/Amazon-Relational-Database-Service-RDS"&gt;Amazon RDS&lt;/a&gt;) to take advantage of discounted pricing. Rather than a physical instance, an RI is a billing discount that can be applied to all types of physical instances.&lt;/p&gt;
 &lt;p&gt;To create RIs, companies choose one of the various instance types available in an Amazon Web Services (AWS) service and an associated operating system (&lt;a href="https://www.techtarget.com/whatis/definition/operating-system-OS"&gt;OS&lt;/a&gt;), term, tenancy specification, Region and &lt;a href="https://www.techtarget.com/searchaws/definition/availability-zones"&gt;Availability Zone&lt;/a&gt; (AZ). The payment option that AWS will consider during billing is also selected. In some cases, RIs can be exchanged within the instance family or moved between different Availability Zones within the Region.&lt;/p&gt;
&lt;/section&gt;   
&lt;section class="section main-article-chapter" data-menu-title="What is a Reserved Instance in AWS?"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;What is a Reserved Instance in AWS?&lt;/h2&gt;
 &lt;p&gt;An instance is a server resource provided by AWS. It contains all the compute resources such as &lt;a href="https://www.techtarget.com/searchitoperations/definition/container-containerization-or-container-based-virtualization"&gt;containers&lt;/a&gt;, databases, &lt;a href="https://www.techtarget.com/searchapparchitecture/definition/microservices"&gt;microservices&lt;/a&gt; and &lt;a href="https://www.techtarget.com/searchitoperations/definition/virtual-machine-VM"&gt;virtual machines&lt;/a&gt; that organizations need to run their workloads in the AWS cloud. AWS maintains all the necessary hardware in its data centers and provides virtual access to the compute resources in the form of an instance. Different types of workloads can be run on AWS instances, including compute-intensive, memory-intensive, storage-intensive and &lt;a href="https://www.techtarget.com/searchdatacenter/definition/high-performance-computing-HPC"&gt;high-performance computing&lt;/a&gt; workloads.&lt;/p&gt;
 &lt;p&gt;A Reserved Instance is not a physical instance. Rather, it refers to a billing discount offered when organizations reserve capacity in an AWS service. The discount is applied to the use of on-demand instances in the AWS customer's account.&lt;/p&gt;
&lt;/section&gt;   
&lt;section class="section main-article-chapter" data-menu-title="Benefits of AWS Reserved Instances"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;Benefits of AWS Reserved Instances&lt;/h2&gt;
 &lt;p&gt;RIs provide users with the confidence to launch instances when they need them. At the same time, they can help users save on the cost of equivalent &lt;a href="https://www.techtarget.com/searchdatacenter/definition/capacity-on-demand"&gt;on-demand capacity&lt;/a&gt;. For example, RIs on Amazon EC2 can provide cost savings of up to 72% over on-demand instances. Reserving capacity also enables organizations to manage their cloud budgets more predictably, minimize risks and comply with policies that require longer-term commitments.&lt;/p&gt;
 &lt;p&gt;The costs and usage associated with RIs can be easily viewed and managed using three AWS cost management tools:&lt;/p&gt;
 &lt;ul class="default-list"&gt; 
  &lt;li&gt;Default RI reports in AWS Cost Explorer.&lt;/li&gt; 
  &lt;li&gt;Reservation-related data in the Cost and Usage Report.&lt;/li&gt; 
  &lt;li&gt;RI purchase recommendations provided by AWS Cost Explorer.&lt;/li&gt; 
 &lt;/ul&gt;
&lt;/section&gt;    
&lt;section class="section main-article-chapter" data-menu-title="Payment options for Reserved Instances in AWS"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;Payment options for Reserved Instances in AWS&lt;/h2&gt;
 &lt;p&gt;RIs are available on two AWS services: Amazon EC2 and Amazon RDS. For both services, AWS offers three options to pay for the RIs:&lt;/p&gt;
 &lt;ul class="default-list"&gt; 
  &lt;li&gt;All upfront (AURI).&lt;/li&gt; 
  &lt;li&gt;Partial upfront (PURI).&lt;/li&gt; 
  &lt;li&gt;No upfront payments (NURI).&lt;/li&gt; 
 &lt;/ul&gt;
 &lt;p&gt;All three options have their pros and cons.&lt;/p&gt;
 &lt;p&gt;The AURI option offers the largest discount, but since it involves a larger upfront investment, it might not be suitable for every organization's tech budget. With PURI, companies spend less upfront, but also get smaller discounts. Finally, NURI is best for companies that prefer not to spend anything upfront. This way, they can free up capital for other purposes, even if they save the least amount of money on RIs over time.&lt;/p&gt;
 &lt;p&gt;With the PURI option, the remaining balance becomes due in monthly increments over the term, while with NURI, users make all payments in monthly increments over the term.&lt;/p&gt;
 &lt;div class="youtube-iframe-container"&gt;
  &lt;iframe id="ytplayer-0" src="https://www.youtube.com/embed/-xanQ3aUWms?autoplay=0&amp;amp;modestbranding=1&amp;amp;rel=0&amp;amp;widget_referrer=null&amp;amp;enablejsapi=1&amp;amp;origin=https://www.techtarget.com" type="text/html" height="360" width="640" frameborder="0"&gt;&lt;/iframe&gt;
 &lt;/div&gt;
&lt;/section&gt;       
&lt;section class="section main-article-chapter" data-menu-title="Reserved Instances in Amazon EC2"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;Reserved Instances in Amazon EC2&lt;/h2&gt;
 &lt;p&gt;Amazon EC2 RIs are best for companies looking to save significant amounts of money -- up to 72% -- compared with the costs incurred with on-demand instances. These RIs are available at a discounted hourly rate, either when applied to all the &lt;a href="https://www.techtarget.com/searchcloudcomputing/tip/Understand-AWS-Regions-vs-Availability-Zones"&gt;AZs in an AWS Region&lt;/a&gt; or when used in a specific AZ. The billing is automatically adjusted to apply the discounted rate when the attributes of EC2 instance usage match the attributes of an active RI, such as the instance type, platform or tenancy.&lt;/p&gt;
 &lt;p&gt;Also, the RI's capacity reservation is automatically used by any running instances matching its attributes. The RIs can be shared between multiple accounts within a consolidated billing family.&lt;/p&gt;
 &lt;p&gt;Three types of RIs are available with Amazon EC2:&lt;/p&gt;
 &lt;ul class="default-list"&gt; 
  &lt;li&gt;&lt;b&gt;Standard.&lt;/b&gt; These RIs provide the highest discount of up to 40% with a one-year commitment and up to 60% with a three-year commitment. They are most suitable for applications that require steady-state instance usage.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Convertible.&lt;/b&gt; Convertible RIs provide slightly lower discounts -- up to 31% with a one-year commitment and up to 54% with a three-year commitment -- than standard RIs. However, enterprise users that reserve EC2 capacity with convertible RIs can change instance families, OS types and tenancies. Convertible RIs are also best for steady-state usage.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Scheduled.&lt;/b&gt; These RIs can be launched within specific reserved time windows, even if the windows are only a fraction of a day, week or month.&lt;/li&gt; 
 &lt;/ul&gt;
 &lt;p&gt;Both standard and convertible EC2 RIs require a one-year or three-year commitment from the customer. One key difference between them is that with the convertible RI, changes are allowed to AZ, instance size, networking type and instance families, OS, tenancy, and payment options. With the standard RI, only changes to AZ, instance size and networking type are allowed. Also, convertible RIs can be exchanged for different convertible RIs of equal or greater value. This cannot be done with standard or scheduled RIs.&lt;/p&gt;
 &lt;figure class="main-article-image full-col" data-img-fullsize="https://www.techtarget.com/rms/onlineimages/amazon_ec2_pricing_options-f.png"&gt;
  &lt;img data-src="https://www.techtarget.com/rms/onlineimages/amazon_ec2_pricing_options-f_mobile.png" class="lazy" data-srcset="https://www.techtarget.com/rms/onlineimages/amazon_ec2_pricing_options-f_mobile.png 960w,https://www.techtarget.com/rms/onlineimages/amazon_ec2_pricing_options-f.png 1280w" alt="Amazon EC2 pricing options table." height="314" width="560"&gt;
  &lt;figcaption&gt;
   &lt;i class="icon pictures" data-icon="z"&gt;&lt;/i&gt;Reserved Instances for Amazon EC2 help companies save significant amounts of money compared with using on-demand instances.
  &lt;/figcaption&gt;
  &lt;div class="main-article-image-enlarge"&gt;
   &lt;i class="icon" data-icon="w"&gt;&lt;/i&gt;
  &lt;/div&gt;
 &lt;/figure&gt;
&lt;/section&gt;       
&lt;section class="section main-article-chapter" data-menu-title="Amazon EC2 RI Marketplace"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;Amazon EC2 RI Marketplace&lt;/h2&gt;
 &lt;p&gt;When companies purchase Amazon EC2 RIs from AWS, either through the &lt;a href="https://www.techtarget.com/searchaws/definition/AWS-Management-Console"&gt;AWS Management Console&lt;/a&gt; or using application programming interface tools, they must commit to either a one-year or three-year term. Also, the purchases are nonrefundable.&lt;/p&gt;
 &lt;p&gt;Organizations also have the option of buying RIs with shorter terms from Reserved Instance Marketplace sellers. These third-party RIs are usually of the standard type. When a customer makes such a purchase, AWS shares the buyer's city, state and ZIP code with the seller for tax purposes. If the buyer no longer needs the RI, they can either modify or exchange it, or list it -- for standard RIs only -- on the Reserved Instance Marketplace.&lt;/p&gt;
&lt;/section&gt;   
&lt;section class="section main-article-chapter" data-menu-title="Reserved Instances in Amazon RDS"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;Reserved Instances in Amazon RDS&lt;/h2&gt;
 &lt;p&gt;RIs are also available in Amazon RDS, again for a one-year or three-year period. As with Amazon EC2, RDS RIs enable significant cost savings -- up to 69% -- compared with on-demand RDS instance pricing when used in a steady state. The RI discounts are tied to instance type and AWS Region.&lt;/p&gt;
 &lt;p&gt;To use an Amazon RDS Reserved Instance, a new &lt;a href="https://www.techtarget.com/searchdatamanagement/definition/database"&gt;database&lt;/a&gt; instance must first be created, similar to how it's done for using an on-demand instance. The new DB instance must match the Reserved Instance in all these aspects: AWS Region; DB engine; DB instance type and size; edition; and license type.&lt;/p&gt;
 &lt;p&gt;In Amazon RDS, all RI types are available for these database engines:&lt;/p&gt;
 &lt;ul class="default-list"&gt; 
  &lt;li&gt;&lt;a href="https://www.techtarget.com/searchaws/definition/Amazon-Aurora"&gt;Amazon Aurora&lt;/a&gt;.&lt;/li&gt; 
  &lt;li&gt;MariaDB.&lt;/li&gt; 
  &lt;li&gt;&lt;a href="https://www.techtarget.com/searchoracle/definition/MySQL"&gt;MySQL&lt;/a&gt;.&lt;/li&gt; 
  &lt;li&gt;&lt;a href="https://www.techtarget.com/searchoracle/definition/Oracle"&gt;Oracle&lt;/a&gt;.&lt;/li&gt; 
  &lt;li&gt;PostgreSQL.&lt;/li&gt; 
  &lt;li&gt;&lt;a href="https://www.techtarget.com/searchdatamanagement/definition/SQL-Server"&gt;SQL Server&lt;/a&gt;.&lt;/li&gt; 
 &lt;/ul&gt;
 &lt;p&gt;In Aurora, MariaDB, MySQL and PostgreSQL, users have instance size flexibility. The bring-your-own-license edition of Oracle also offers similar flexibility.&lt;/p&gt;
 &lt;p&gt;All three payment options -- AURI, PURI and NURI -- are available for Amazon RDS RIs. However, the NURI option is only available for a one-year term. The AURI and PURI options are available for both one-year and three-year terms.&lt;/p&gt;
 &lt;p&gt;&lt;em&gt;AWS users should take steps to avoid unnecessary charges and keep cloud costs in check. Read here to &lt;a href="https://www.techtarget.com/searchcloudcomputing/tip/Get-a-handle-on-AWS-costs-with-these-tips-and-tools"&gt;get a handle on AWS costs with these tips and tools&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
&lt;/section&gt;</body>
            <description>AWS Reserved Instances (RIs) refer to compute capacity that can be reserved on Amazon Elastic Compute Cloud (Amazon EC2) and Amazon Relational Database Service (Amazon RDS) to take advantage of discounted pricing.</description>
            <image>https://cdn.ttgtmedia.com/visuals/digdeeper/1.jpg</image>
            <link>https://www.techtarget.com/searchaws/definition/AWS-Reserved-Instances-Amazon-Reserved-Instances</link>
            <pubDate>Tue, 14 May 2024 11:00:00 GMT</pubDate>
            <title>AWS Reserved Instances</title>
        </item>
        <item>
            <body>&lt;section class="section main-article-chapter" data-menu-title="What is a fact table?"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;What is a fact table?&lt;/h2&gt;
 &lt;p&gt;In &lt;a href="https://www.techtarget.com/searchdatamanagement/definition/data-warehouse"&gt;data warehousing&lt;/a&gt;, a fact table is a database table in a dimensional model. The fact table stores quantitative information for analysis. The table lies at the center of the dimensional model, surrounded by multiple &lt;a href="https://www.techtarget.com/searchdatamanagement/definition/dimension-table"&gt;dimension tables&lt;/a&gt;. Each dimension table contains a set of related &lt;a href="https://www.techtarget.com/whatis/definition/attribute"&gt;attributes&lt;/a&gt; that describe the facts in the fact table. Together with the &lt;a href="https://www.techtarget.com/searchdatamanagement/definition/dimension"&gt;dimensions&lt;/a&gt;, the fact table provides a consolidated view of the quantitative and attribute data, which is optimized for querying, reporting and &lt;a href="https://www.techtarget.com/searchbusinessanalytics/definition/big-data-analytics"&gt;analytics&lt;/a&gt;.&lt;/p&gt;
 &lt;p&gt;A fact table usually contains two types of columns: measures and &lt;a href="https://www.techtarget.com/searchoracle/definition/foreign-key"&gt;foreign keys&lt;/a&gt;. The measures contain the quantitative data, usually in the form of numeric values. The measures represent key &lt;a href="https://www.techtarget.com/searchcustomerexperience/definition/business-metric"&gt;business metrics&lt;/a&gt; -- or facts -- about a &lt;a href="https://www.techtarget.com/searchcio/definition/business-process"&gt;process&lt;/a&gt;, event or condition. The fact table's &lt;a href="https://www.techtarget.com/searchdatamanagement/definition/primary-key"&gt;primary key&lt;/a&gt; is usually a composite of the foreign key columns, although it can also be a surrogate key.&lt;/p&gt;
 &lt;p&gt;The foreign key columns join to multiple dimension tables and their attributes, making it possible to "slice and dice" the warehouse data by various attribute combinations to answer specific business questions. For example, key &lt;a href="https://www.techtarget.com/searchcio/definition/stakeholder"&gt;stakeholders&lt;/a&gt; in an organization might want to answer the question: "How many female customers in Utah and Nevada between ages 42 through 62 purchased hiking boots in May and June 2023?"&lt;/p&gt;
 &lt;figure class="main-article-image full-col" data-img-fullsize="https://www.techtarget.com/rms/onlineimages/data_management-database_keys.png"&gt;
  &lt;img data-src="https://www.techtarget.com/rms/onlineimages/data_management-database_keys_mobile.png" class="lazy" data-srcset="https://www.techtarget.com/rms/onlineimages/data_management-database_keys_mobile.png 960w,https://www.techtarget.com/rms/onlineimages/data_management-database_keys.png 1280w" alt="Common database keys explained." height="224" width="560"&gt;
  &lt;figcaption&gt;
   &lt;i class="icon pictures" data-icon="z"&gt;&lt;/i&gt;There are many common database keys including primary key, candidate key, super key and foreign key.
  &lt;/figcaption&gt;
  &lt;div class="main-article-image-enlarge"&gt;
   &lt;i class="icon" data-icon="w"&gt;&lt;/i&gt;
  &lt;/div&gt;
 &lt;/figure&gt;
&lt;/section&gt;     
&lt;section class="section main-article-chapter" data-menu-title="Data warehouse layout"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;Data warehouse layout&lt;/h2&gt;
 &lt;p&gt;A data warehouse is typically laid out in a &lt;a href="https://www.techtarget.com/searchdatamanagement/definition/star-schema"&gt;star schema&lt;/a&gt; or &lt;a href="https://www.techtarget.com/searchdatamanagement/definition/snowflaking"&gt;snowflake schema&lt;/a&gt;, with the fact table at the center. A data warehouse can contain multiple fact tables, but each of those tables still lies at the center of its respective dimensions.&lt;/p&gt;
 &lt;p&gt;The descriptive attributes in the dimension tables make it possible to filter, categorize and summarize the facts to extract the answers to critical business questions. The following figure shows a simple star schema with four dimension tables and one fact table.&lt;/p&gt;
 &lt;p&gt;The fact table lies at the heart of this &lt;a href="https://www.techtarget.com/searchdatamanagement/definition/data-modeling"&gt;data model&lt;/a&gt;. It includes five measures (UnitPrice, SalesAmount, UnitsSold, PercentProfit and DailyInventory) as well as multiple foreign keys that &lt;a href="https://www.techtarget.com/searchdatamanagement/answer/What-are-the-differences-between-fact-tables-and-dimension-tables-in-star-schemas"&gt;reference the dimension tables&lt;/a&gt;. The foreign keys make it possible to access the dimensions' attributes, which contain information about the customers, products, territories and dates involved in each sale. The &lt;a href="https://www.techtarget.com/searchdatamanagement/feature/Data-lake-vs-data-warehouse-Key-differences-explained"&gt;warehouse data&lt;/a&gt; can be filtered by any combination of attributes available in the dimension tables.&lt;/p&gt;
 &lt;p&gt;Four of the foreign keys reference the same date dimension, making it possible to slice the data by any of those dates. Some dimension tables, such as dimTerritory and dimProduct, contain hierarchical data, which can be broken down into more granular segments. For example, stakeholders might request a report that shows the total annual sales by product type and sales territory. Because of the hierarchical nature of the data, they'll also be able to drill down to view sales totals for individual products and countries.&lt;/p&gt;
 &lt;figure class="main-article-image full-col" data-img-fullsize="https://www.techtarget.com/rms/onlineimages/a_basic_star_schema_example-f.png"&gt;
  &lt;img data-src="https://www.techtarget.com/rms/onlineimages/a_basic_star_schema_example-f_mobile.png" class="lazy" data-srcset="https://www.techtarget.com/rms/onlineimages/a_basic_star_schema_example-f_mobile.png 960w,https://www.techtarget.com/rms/onlineimages/a_basic_star_schema_example-f.png 1280w" alt="Example diagram of a star schema with a fact table." height="353" width="560"&gt;
  &lt;figcaption&gt;
   &lt;i class="icon pictures" data-icon="z"&gt;&lt;/i&gt;Star schema with four dimension tables (blue) and one fact table (green).
  &lt;/figcaption&gt;
  &lt;div class="main-article-image-enlarge"&gt;
   &lt;i class="icon" data-icon="w"&gt;&lt;/i&gt;
  &lt;/div&gt;
 &lt;/figure&gt;
&lt;/section&gt;      
&lt;section class="section main-article-chapter" data-menu-title="Types of fact tables"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;Types of fact tables&lt;/h2&gt;
 &lt;p&gt;Fact tables serve different purposes and operate at different grains. The grain determines what a record in the &lt;a href="https://www.techtarget.com/whatis/definition/table"&gt;table&lt;/a&gt; should represent at its most atomic level. The table might include records at other grains, such as inventory totals, but the table's core purpose is to host records based on the defined grain. In the previous example, the fact table's grain can be specified as the "sale of a product to a customer at a specific time and place." A fact table's design should be based on the lowest possible and practical grain.&lt;/p&gt;
 &lt;p&gt;Fact tables are often categorized as one of the following types:&lt;/p&gt;
 &lt;ul class="default-list"&gt; 
  &lt;li&gt;&lt;b&gt;Transactional.&lt;/b&gt; This is the most basic type of fact table and the most used. The table's grain is typically treated as one row per transaction or event. In the example, the factSales table is a &lt;a href="https://www.techtarget.com/whatis/definition/transactional-data"&gt;transactional&lt;/a&gt; fact table. Each row records one sales transaction.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Periodic snapshot.&lt;/b&gt; The fact table stores a snapshot of the dimensional data at a defined period of time, such as capturing weekly or monthly sales totals.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Accumulating snapshot.&lt;/b&gt; The fact table stores snapshots of a process or activity that has a specific beginning and end. For example, this type of fact table might be used to track service calls or the order processing cycle.&lt;/li&gt; 
 &lt;/ul&gt;
 &lt;figure class="main-article-image full-col" data-img-fullsize="https://www.techtarget.com/rms/onlineimages/data_architect_roles_and_responsibilities-f.png"&gt;
  &lt;img data-src="https://www.techtarget.com/rms/onlineimages/data_architect_roles_and_responsibilities-f_mobile.png" class="lazy" data-srcset="https://www.techtarget.com/rms/onlineimages/data_architect_roles_and_responsibilities-f_mobile.png 960w,https://www.techtarget.com/rms/onlineimages/data_architect_roles_and_responsibilities-f.png 1280w" alt="List of data architect roles and responsibilities." height="288" width="559"&gt;
  &lt;figcaption&gt;
   &lt;i class="icon pictures" data-icon="z"&gt;&lt;/i&gt;A data architect's roles and responsibilities are great and include research, evaluation, integration, deployment, monitoring and collaboration.
  &lt;/figcaption&gt;
  &lt;div class="main-article-image-enlarge"&gt;
   &lt;i class="icon" data-icon="w"&gt;&lt;/i&gt;
  &lt;/div&gt;
 &lt;/figure&gt;
 &lt;p&gt;Fact tables can also include &lt;a target="_blank" href="https://www.kimballgroup.com/data-warehouse-business-intelligence-resources/kimball-techniques/dimensional-modeling-techniques/additive-semi-additive-non-additive-fact/" rel="noopener"&gt;different types&lt;/a&gt; of measures, which provide the quantitative data needed to find answers to specific business questions. A fact table supports three types of measures:&lt;/p&gt;
 &lt;ul class="default-list"&gt; 
  &lt;li&gt;&lt;b&gt;Additive.&lt;/b&gt; The measure can be added across any dimension. In the previous example, the fact table's UnitsSold column can be summed up based on customer, product, date, territory or any combination of these. As a result, the column is considered an additive measure. Additive measures are the most common and easiest to work with.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Non-additive.&lt;/b&gt; The measure cannot be added across any dimensions. In the example, the PercentProfit column stores the percentage of profit on each sale. If those percentages are added up across a dimension, you might end up with totals such as 26,000%. Because the percentages should not be added together, the column is considered a non-additive measure.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Semi-additive.&lt;/b&gt; The measure can be added across some dimensions but not others. In the example, the DailyInventory column maintains a record of the number of products in stock on each day. Although it's possible to aggregate these totals for products and territories, it does not make sense to add them together for the dimDate dimension. For instance, if there were 25 widgets in stock on July 27, and 25 widgets on July 28, it does not mean that there are a total of 50 widgets in stock.&lt;/li&gt; 
 &lt;/ul&gt;
 &lt;div class="youtube-iframe-container"&gt;
  &lt;iframe id="ytplayer-0" src="https://www.youtube.com/embed/TcgiZFZ-r1U?autoplay=0&amp;amp;modestbranding=1&amp;amp;rel=0&amp;amp;widget_referrer=null&amp;amp;enablejsapi=1&amp;amp;origin=https://www.techtarget.com" type="text/html" height="360" width="640" frameborder="0"&gt;&lt;/iframe&gt;
 &lt;/div&gt;
 &lt;p&gt;It is also possible to create fact tables that contain no measures. These tables, referred to as factless fact tables, are basically collections of foreign keys that join to dimension tables. Even without measures, this type of fact table can still &lt;a href="https://www.techtarget.com/searchbusinessanalytics/tip/6-essential-big-data-best-practices-for-businesses"&gt;provide useful information&lt;/a&gt;. For example, if the fact table in the example included no measures, the customers, products, territories and dates could still be linked together to provide a complete picture of all sales events, which could be filtered along any of the dimensions.&lt;/p&gt;
 &lt;p&gt;When designing fact tables and their related dimension tables, &lt;a href="https://www.techtarget.com/searchdatamanagement/definition/data-architect"&gt;data architects&lt;/a&gt; should take into account both current and future needs, ensuring that &lt;a href="https://www.techtarget.com/searchdatamanagement/tip/9-steps-to-a-dynamic-data-architecture-plan"&gt;the design is flexible&lt;/a&gt; enough to accommodate changing business requirements without having to rebuild the warehouse.&lt;/p&gt;
 &lt;p&gt;&lt;em&gt;Evaluate &lt;a href="https://www.techtarget.com/searchdatamanagement/feature/Evaluating-your-need-for-a-data-warehouse-platform"&gt;data warehouse deployment options and use cases&lt;/a&gt;. Explore the &lt;a href="https://www.techtarget.com/searchdatamanagement/answer/What-are-the-differences-between-fact-tables-and-dimension-tables-in-star-schemas"&gt;differences between dimension tables vs. fact tables&lt;/a&gt;. Check out the &lt;a href="https://www.techtarget.com/searchdatamanagement/tip/On-premises-vs-cloud-data-warehouses-Pros-and-cons"&gt;pros and cons of on-premises vs. cloud data warehouses&lt;/a&gt;. Read about &lt;a href="https://www.techtarget.com/searchdatamanagement/feature/5-data-integration-challenges-and-how-to-overcome-them"&gt;data integration challenges and how to overcome them&lt;/a&gt; and see how to &lt;a href="https://www.techtarget.com/searchdatamanagement/tip/Developing-an-enterprise-data-strategy-10-steps-to-take"&gt;develop an enterprise data strategy&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
&lt;/section&gt;</body>
            <description>In data warehousing, a fact table is a database table in a dimensional model. The fact table stores quantitative information for analysis.</description>
            <image>https://cdn.ttgtmedia.com/visuals/digdeeper/5.jpg</image>
            <link>https://www.techtarget.com/searchdatamanagement/definition/fact-table</link>
            <pubDate>Wed, 27 Dec 2023 11:30:00 GMT</pubDate>
            <title>fact table</title>
        </item>
        <item>
            <body>&lt;p&gt;While Amazon EC2 provides the ability to launch a variety of virtual servers, there is also the need to deploy data storage for each virtual server.&lt;/p&gt; 
&lt;p&gt;Amazon Elastic Block Storage (&lt;a href="https://www.techtarget.com/searchaws/definition/Amazon-EBS-Amazon-Elastic-Block-Store"&gt;EBS&lt;/a&gt;) volumes are virtual storage devices in the cloud that get attached to &lt;a href="https://www.techtarget.com/searchaws/definition/Amazon-Elastic-Compute-Cloud-Amazon-EC2"&gt;EC2&lt;/a&gt; instances and provide internal storage for essential areas in any application, such as OS files, source code, libraries and configuration files. Given the critical nature of this data, enterprises need a reliable way to create and manage backups of EBS volumes.&lt;/p&gt; 
&lt;p&gt;Learn how EBS snapshots can help with disaster recovery, as well as how to create and manage them through the AWS Command Line Interface.&lt;/p&gt; 
&lt;section class="section main-article-chapter" data-menu-title="EBS snapshot features and pricing"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;EBS snapshot features and pricing&lt;/h2&gt;
 &lt;p&gt;EBS snapshots are a point-in-time backup of an EBS volume. With EBS snapshots, users can control how data in an EBS volume is backed up, stored, managed and recovered. Developers can trigger the creation of an EBS snapshot using the AWS CLI or SDK, or through the EC2 console. Some core features of EBS snapshots include the following:&lt;/p&gt;
 &lt;ul class="default-list"&gt; 
  &lt;li&gt;&lt;b&gt;Direct read access.&lt;/b&gt; Users can read snapshots' data and pinpoint differences between two EBS snapshots without needing to create EBS volumes and EC2 instances via the EBS direct API. This feature enables users to better track incremental changes on EBS volumes, which provides increased granularity and faster backup times.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Create snapshots from any block storage.&lt;/b&gt; In addition, with the direct API, users can create snapshots directly from any block storage data, no matter where it is stored, and then recover into EBS volumes.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Copy snapshots across AWS Regions.&lt;/b&gt; With EBS, users can automatically copy snapshots &lt;a href="https://www.techtarget.com/searchcloudcomputing/tip/Understand-AWS-Regions-vs-Availability-Zones"&gt;across other Regions&lt;/a&gt;. This helps migration and disaster recovery efforts.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Share snapshots.&lt;/b&gt; Users have the choice to share data within their organization as well as publicly to all AWS users.&lt;/li&gt; 
 &lt;/ul&gt;
 &lt;p&gt;EBS snapshots are a better fit for the creation of regular backups of EBS volumes. For a solid disaster recovery strategy, users should create snapshots routinely and copy them to other AWS Regions and AWS accounts. EBS snapshots can also be transitioned to cold storage, which is an option to consider to significantly reduce storage costs.&lt;/p&gt;
 &lt;h3&gt;EBS snapshot pricing&lt;/h3&gt;
 &lt;p&gt;EBS snapshots cost $0.05 per GB, per month, for the standard tier. The cost to create and keep an &lt;a href="https://www.techtarget.com/searchaws/definition/Amazon-Machine-Image-AMI"&gt;Amazon Machine Image&lt;/a&gt; depends solely on the EBS snapshots that are essential to that AMI. A 100 GB EBS snapshot or AMI would cost $5 per month. Subsequent snapshots of a particular EBS volume are charged based only on the blocks that have changed since the previous snapshot.&lt;/p&gt;
 &lt;p&gt;To reduce costs, users can transition snapshots to the Archive tier, which costs $0.0125 per GB, per month. In the Archive tier, the same 100 GB snapshot would then cost $1.25 per month. Data retrieval from the Archive tier is billed at $0.03 per GB. Be aware that there's a minimum 90-day retention period.&lt;/p&gt;
&lt;/section&gt;       
&lt;section class="section main-article-chapter" data-menu-title="EBS snapshots vs. Amazon Machine Images"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;EBS snapshots vs. Amazon Machine Images&lt;/h2&gt;
 &lt;p&gt;When users create an EBS snapshot, they can use it to configure an EC2 AMI. An AMI supplies a storage image, which a new EC2 instance requires at launch.&lt;/p&gt;
 &lt;p&gt;An active EC2 instance can also create an AMI. The EC2 service first creates one or more EBS snapshots, which are then automatically used for the new AMI. The number of snapshots produced depends on how many EBS volumes are attached to the source EC2 instance. The EC2 service creates one EBS snapshot per attached EBS volume.&lt;/p&gt;
 &lt;p&gt;EC2 instances can be launched only from an existing AMI and not directly from an EBS snapshot. If an EBS snapshot is used as the source data to launch new EC2 instances, it must first be used to create an AMI. Then, the AMI will be the input when launching new EC2 instances.&lt;/p&gt;
 &lt;p&gt;Since AMIs are a way to manage the starting point of new EC2 instances, there is no need to create AMIs as frequently as EBS snapshots. Also, AWS recommends maintaining cross-region and cross-account copies of AMIs for disaster recovery purposes, as well as enabling encryption when creating EBS volumes and snapshots.&lt;/p&gt;
&lt;/section&gt;     
&lt;section class="section main-article-chapter" data-menu-title="Create and manage EBS snapshots"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;Create and manage EBS snapshots&lt;/h2&gt;
 &lt;p&gt;It's convenient to launch and manage EBS snapshots through the AWS CLI. The &lt;span style="font-family: 'courier new', courier, monospace;"&gt;create-snapshot&lt;/span&gt; command provides a way to quickly start snapshot creation. A basic example of this CLI command looks like the following example.&lt;/p&gt;
 &lt;pre&gt;&lt;span style="font-family: 'courier new', courier, monospace;"&gt;aws ec2 create-snapshot --volume-id &amp;lt;ebs-volume-id&amp;gt; –description &amp;lt;ebs-snapshot-description&amp;gt;&lt;/span&gt;&lt;/pre&gt;
 &lt;p&gt;This command returns, among other data, the &lt;span style="font-family: 'courier new', courier, monospace;"&gt;SnapshotId&lt;/span&gt; value of the recently created snapshot, as well as its creation state, the value of which will be &lt;span style="font-family: 'courier new', courier, monospace;"&gt;Pending&lt;/span&gt; right after calling this command.&lt;/p&gt;
 &lt;p&gt;The &lt;span style="font-family: 'courier new', courier, monospace;"&gt;describe-snapshots&lt;/span&gt; command in the following example offers a way to list and filter snapshots in your account.&lt;/p&gt;
 &lt;pre&gt;&lt;span style="font-family: 'courier new', courier, monospace;"&gt;aws ec2 describe-snapshots --snapshot-ids&lt;/span&gt; &lt;span style="font-family: 'courier new', courier, monospace;"&gt;&amp;lt;space-separated-list-of-snapshot-ids&amp;gt;&lt;/span&gt;&lt;/pre&gt;
 &lt;p&gt;This command also offers a useful &lt;span style="font-family: 'courier new', courier, monospace;"&gt;filters&lt;/span&gt; parameter to narrow the list of returned EBS snapshots.&lt;/p&gt;
 &lt;p&gt;As with any AWS CLI command, it's important to define &lt;span style="font-family: 'courier new', courier, monospace;"&gt;region&lt;/span&gt; and &lt;span style="font-family: 'courier new', courier, monospace;"&gt;profile&lt;/span&gt; parameters, or set them through the &lt;span style="font-family: 'courier new', courier, monospace;"&gt;AWS_DEFAULT_REGION&lt;/span&gt; and &lt;span style="font-family: 'courier new', courier, monospace;"&gt;AWS_PROFILE&lt;/span&gt; &lt;a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html" target="_blank" rel="noopener"&gt;environment variables&lt;/a&gt;, respectively. The examples provided show basic scenarios. Keep in mind that the CLI offers additional parameters that deliver more options.&lt;/p&gt;
&lt;/section&gt;</body>
            <description>EBS snapshots are an essential part of any data backup and recovery strategy in EC2-based deployments. Become familiar with how to create and manage them with the AWS CLI.</description>
            <image>https://cdn.ttgtmedia.com/rms/onlineimages/container_g1294273513.jpg</image>
            <link>https://www.techtarget.com/searchcloudcomputing/tutorial/How-to-create-and-manage-Amazon-EBS-snapshots-via-AWS-CLI</link>
            <pubDate>Wed, 12 Jul 2023 12:12:00 GMT</pubDate>
            <title>How to create and manage Amazon EBS snapshots via AWS CLI</title>
        </item>
        <item>
            <body>&lt;p&gt;Delays in application delivery not only hurt the bottom line, they provide a negative customer experience.&lt;/p&gt; 
&lt;p&gt;Placement within the AWS global infrastructure affects how well an application performs. Still, it is an oversimplification to say that the distance between the client and the server is the cause of network &lt;a href="https://www.techtarget.com/searchnetworking/video/A-brief-explanation-of-latency"&gt;latency&lt;/a&gt;.&lt;/p&gt; 
&lt;p&gt;Data travels through fiber optic cables at the speed of light. Unfortunately, the &lt;a href="https://www.techtarget.com/searchnetworking/definition/TCP-IP"&gt;TCP/IP protocol&lt;/a&gt; does not employ direct, uninterrupted connections. Instead, requests hop from router to router, with data packets read and rerouted at each stop.&lt;/p&gt; 
&lt;p&gt;For example, an HTTP request from Toronto to the TechTarget server in Boston required seven hops to complete. These hops create latency.&lt;/p&gt; 
&lt;figure class="main-article-image half-col" data-img-fullsize="https://www.techtarget.com/rms/onlineimages/seven_hops_powershell-h.jpg"&gt;
 &lt;img data-src="https://www.techtarget.com/rms/onlineimages/seven_hops_powershell-h_half_column_mobile.jpg" class="lazy" data-srcset="https://www.techtarget.com/rms/onlineimages/seven_hops_powershell-h_half_column_mobile.jpg 960w,https://www.techtarget.com/rms/onlineimages/seven_hops_powershell-h.jpg 1280w" alt="An example of network latency and tracing a route" height="121" width="280"&gt;
 &lt;figcaption&gt;
  &lt;i class="icon pictures" data-icon="z"&gt;&lt;/i&gt;An example of route tracing a request from Toronto to TechTarget's East coast servers.
 &lt;/figcaption&gt;
 &lt;div class="main-article-image-enlarge"&gt;
  &lt;i class="icon" data-icon="w"&gt;&lt;/i&gt;
 &lt;/div&gt;
&lt;/figure&gt; 
&lt;p&gt;Amazon offers IT teams the following ways to design high-performance, low-latency architectures:&lt;/p&gt; 
&lt;ul class="default-list"&gt; 
 &lt;li&gt;&lt;b&gt;AWS Regions.&lt;/b&gt; Provide a full suite of compute, data storage and serverless capabilities.&lt;/li&gt; 
 &lt;li&gt;&lt;b&gt;AWS Local Zones.&lt;/b&gt; Provide compute power near high-density populations.&lt;/li&gt; 
 &lt;li&gt;&lt;b&gt;AWS edge locations.&lt;/b&gt; Quicken the delivery of cacheable resources to customers around the world.&lt;/li&gt; 
 &lt;li&gt;&lt;b&gt;AWS Outposts.&lt;/b&gt; Allows companies to install AWS hardware inside their own data center.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;With an understanding of the global distribution of your customer base, your application's latency requirements and your project's budget, these options can be optimally combined to build an architecture that best suits your cloud computing needs.&lt;/p&gt; 
&lt;p&gt;But how do you know if AWS Local Zones is the right choice for your low-latency app? Learn more about Local Zones and its uses, as well as how it compares with other options.&lt;/p&gt; 
&lt;section class="section main-article-chapter" data-menu-title="AWS Local Zone benefits and use cases"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;AWS Local Zone benefits and use cases&lt;/h2&gt;
 &lt;p&gt;Amazon builds AWS Local Zones near densely populated city centers to reduce the round-trip distance data must travel to fulfill nearby users' web-based requests. For example, a Dallas user in the AWS Local Zone in Dallas cuts more than 2,000 miles from the roundtrip distance packets must travel versus the parent region's data center in Northern Virginia. Since these zones are placed in close proximity to the clients who use them, low-latency applications can meet rigorous service-level agreements requirements.&lt;/p&gt;
 &lt;p&gt;The response time of a web-based request is a combination of the following two factors:&lt;/p&gt;
 &lt;ul class="default-list"&gt; 
  &lt;li&gt;&lt;b&gt;Origin time.&lt;/b&gt; How long it takes the server to process the request.&lt;/li&gt; 
  &lt;li&gt;&lt;b&gt;Round-trip time.&lt;/b&gt; How long a request takes to travel back and forth across the network.&lt;/li&gt; 
 &lt;/ul&gt;
 &lt;p&gt;A well-designed AWS architecture, built upon technologies like Amazon &lt;a href="https://www.techtarget.com/searchaws/definition/Amazon-Elastic-Compute-Cloud-Amazon-EC2"&gt;EC2&lt;/a&gt;, Amazon &lt;a href="https://www.techtarget.com/searchaws/definition/Amazon-Elastic-Container-Service-for-Kubernetes-Amazon-EKS"&gt;EKS&lt;/a&gt; and serverless functions, can bring the origin time down to less than 10 milliseconds. At these service levels, total response time becomes entirely dependent upon how long it takes data to travel across the network.&lt;/p&gt;
 &lt;p&gt;AWS Local Zones reduce the number of network hops required to route a request and provide high-speed, private access to the Amazon network backbone.&lt;/p&gt;
 &lt;p&gt;A Local Zone also reduces the number of hops between the Local Zone, the closest Availability Zone (AZ) and systems that run in other AWS Regions around the globe.&lt;/p&gt;
 &lt;p&gt;With per-usage rates that are only marginally higher than the AZ hosted equivalent, AWS Local Zones are an effective, budget-conscious way to reduce response times for latency-sensitive applications. For applications that require extremely low latency but must also access block storage or microservices hosted in remote AWS regions, the use of an AWS Local Zone makes sense.&lt;/p&gt;
 &lt;h3&gt;Use cases&lt;/h3&gt;
 &lt;p&gt;High-frequency trading is a compelling use-case for AWS Local Zones. For every city in the Western world that has a high-volume stock exchange, Amazon has either &lt;a href="https://aws.amazon.com/about-aws/global-infrastructure/localzones/locations/" target="_blank" rel="noopener"&gt;announced or implemented&lt;/a&gt; a fully functional nearby AWS Local Zone. The majority of AWS Local Zones provide support for AWS compute-related services such as EC2, EBS, EKS and more.&lt;/p&gt;
 &lt;p&gt;Other examples of applications that benefit from reduced latency and the local compute capacity an AWS Local Zone provides include:&lt;/p&gt;
 &lt;ul class="default-list"&gt; 
  &lt;li&gt;Medical automation.&lt;/li&gt; 
  &lt;li&gt;Military and policing.&lt;/li&gt; 
  &lt;li&gt;Real-time gambling.&lt;/li&gt; 
  &lt;li&gt;Online auctions.&lt;/li&gt; 
  &lt;li&gt;Virtual reality gaming.&lt;/li&gt; 
  &lt;li&gt;Cloud-based IDEs and editors.&lt;/li&gt; 
 &lt;/ul&gt;
 &lt;h3&gt;Drawbacks&lt;/h3&gt;
 &lt;p&gt;Persistence services such as block storage, relational systems and NoSQL databases are generally not available in Local Zones. To access any AWS Service other than the limited set offered through the Local Zone, enterprises will need a more remote AZ.&lt;/p&gt;
 &lt;p&gt;Most applications require access to persistent storage services such as Amazon S3 and Amazon Relational Databases (RDS). Most applications require access to persistent storage services, such as S3 or RDS, so hosting any application in a Local Zone that requires constant access to data stored in a remote AZ would defeat the purpose. After all, why not host everything in the more remote AZ if every request fetches S3 or RDS data stored there?&lt;/p&gt;
 &lt;p&gt;This is where network latency and the way the AWS backbone connects Local Zones to their parent region come into play.&lt;/p&gt;
&lt;/section&gt;                
&lt;section class="section main-article-chapter" data-menu-title="Compare Local Zones with other AWS options"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;Compare Local Zones with other AWS options&lt;/h2&gt;
 &lt;p&gt;AWS has several options to place resources close to densely populated areas, which are comparable to Local Zones.&lt;/p&gt;
 &lt;h3&gt;CDNs&lt;/h3&gt;
 &lt;p&gt;Content delivery networks (&lt;a href="https://www.techtarget.com/searchnetworking/definition/CDN-content-delivery-network"&gt;CDNs&lt;/a&gt;) such as Cloudflare, Akamai and Amazon &lt;a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/HowCloudFrontWorks.html" target="_blank" rel="noopener"&gt;CloudFront&lt;/a&gt; also place resources closer to those who access them. A CDN caches static content at more than 150 edge locations. AWS CloudFront routes HTTP traffic to the edge location closest to the client making the request. CloudFront greatly reduces download times for shared files that rarely change, such as images, videos, CSS files and HTML pages.&lt;/p&gt;
 &lt;p&gt;While CloudFront and Local Zones solve the latency problem through servers, the specific use case each service addresses is quite different.&lt;/p&gt;
 &lt;h3&gt;Edge locations&lt;/h3&gt;
 &lt;p&gt;There's a key difference between CloudFront edge locations and AWS Local Zones. CloudFront will serve shared, static, cached content from any one of more than 150 edge locations around the world, while a Local Zone is a single, redundantly designed data center located close to large, urban populations with the ability to provide AWS compute services.&lt;/p&gt;
 &lt;p&gt;Unlike an AWS Local Zone, edge locations do not allow users to host applications, &lt;a href="https://www.techtarget.com/searchitoperations/tip/Strategies-for-Kubernetes-multi-cluster-management"&gt;manage Kubernetes clusters&lt;/a&gt; or run serverless Lambda functions. In contrast, AWS Local Zones support services like ECS and EC2.&lt;/p&gt;
 &lt;p&gt;Webpage metrics like time-to-first load or time-to-first byte are improved using edge locations. CloudFront cannot improve response times for applications that require compute power.&lt;/p&gt;
 &lt;p&gt;If the need is to improve response times for low latency, data processing applications that require application logic, only AWS Local Zones meet the requirements.&lt;/p&gt;
 &lt;h3&gt;Availability Zones&lt;/h3&gt;
 &lt;p&gt;An AWS Local Zone provides more services than an edge location, but far fewer than an AWS Region's AZ. Local Zones are only guaranteed to host compute offerings such as EC2, ECS and EKS services. When accessed through a Local Zone, compute services come with a slightly higher cost than equivalent ones hosted in the Region's AZ.&lt;/p&gt;
 &lt;figure class="main-article-image full-col" data-img-fullsize="https://www.techtarget.com/rms/onlineimages/aws_availability_zones_vs_regions-f.png"&gt;
  &lt;img data-src="https://www.techtarget.com/rms/onlineimages/aws_availability_zones_vs_regions-f_mobile.png" class="lazy" data-srcset="https://www.techtarget.com/rms/onlineimages/aws_availability_zones_vs_regions-f_mobile.png 960w,https://www.techtarget.com/rms/onlineimages/aws_availability_zones_vs_regions-f.png 1280w" alt="Multiple availability zones make up an AWS region." height="370" width="560"&gt;
  &lt;figcaption&gt;
   &lt;i class="icon pictures" data-icon="z"&gt;&lt;/i&gt;An AWS Region is made up of multiple Availability Zones. Users can configure a Region to extend to an AWS Local Zone.
  &lt;/figcaption&gt;
  &lt;div class="main-article-image-enlarge"&gt;
   &lt;i class="icon" data-icon="w"&gt;&lt;/i&gt;
  &lt;/div&gt;
 &lt;/figure&gt;
 &lt;p&gt;For example, a Windows-based, t3.xlarge system with 16 gibibytes (GiB) of memory would cost $0.24 per hour if hosted in an Oregon Availability Zone; in the Denver Local Zone, the hosted price rises to $0.28 per hour.&lt;/p&gt;
 &lt;p&gt;Local Zones are limited in the types of server configurations that are available for deployment. For example, the Denver Local Zone does not have t3.large EC2 instances available for deployment, while all AZs do.&lt;/p&gt;
 &lt;h3&gt;AWS Outposts&lt;/h3&gt;
 &lt;p&gt;For extremely low-latency applications where a double-digit response time is unacceptable or where AWS Local Zones are unavailable, AWS customers have the option to &lt;a href="https://www.techtarget.com/searchcloudcomputing/tip/What-you-need-to-know-to-deploy-an-AWS-hybrid-cloud-with-Outposts"&gt;purchase an AWS Outpost&lt;/a&gt;.&lt;/p&gt;
 &lt;p&gt;An AWS Outpost is a physical server costing an estimated $150,000 to $750,000 depending on the type of unit. It comes preconfigured with various AWS services such as RDS, S3, EKS and EC2. Since an AWS Outpost is a physical piece of hardware that sits inside a company's data center, the network latency for direct connections is negligible. Low, single-digit response times are possible.&lt;/p&gt;
 &lt;p&gt;One of the primary use cases for AWS Outposts configured with RDS and S3 support is data sovereignty law compliance. When companies want to use Amazon services, but compliance regulations forbid offsite storage in the cloud, Outposts brings the AWS cloud into the client's on-premises data center.&lt;/p&gt;
 &lt;p&gt;Configured with a high-speed, AWS Direct Connect linkage to a Local Zone or AZ, AWS Outposts are the lowest latency option. However, AWS Outposts does not support the same number of services as an AZ in an AWS Region.&lt;/p&gt;
&lt;/section&gt;</body>
            <description>AWS offers its customers several options to minimize application latency. Let's look at the role AWS Local Zones can play in delivering your apps right on time.</description>
            <image>https://cdn.ttgtmedia.com/rms/onlineimages/location_g1202864734.jpg</image>
            <link>https://www.techtarget.com/searchcloudcomputing/tip/Are-AWS-Local-Zones-right-for-my-low-latency-app</link>
            <pubDate>Tue, 27 Jun 2023 14:57:00 GMT</pubDate>
            <title>Are AWS Local Zones right for my low-latency app?</title>
        </item>
        <item>
            <body>&lt;h3&gt;What is Amazon CloudWatch?&lt;/h3&gt; 
&lt;p&gt;Amazon CloudWatch is a component of Amazon Web Services that provides monitoring for AWS resources and the customer applications running on the&amp;nbsp;Amazon infrastructure.&lt;/p&gt; 
&lt;p&gt;CloudWatch enables &lt;a href="https://www.techtarget.com/whatis/definition/real-time-monitoring"&gt;real-time monitoring&lt;/a&gt; of AWS resources such as Amazon Elastic Compute Cloud (&lt;a href="https://www.techtarget.com/searchaws/definition/Amazon-Elastic-Compute-Cloud-Amazon-EC2"&gt;EC2&lt;/a&gt;) instances, Amazon Elastic Block Store (EBS)&amp;nbsp;volumes, Elastic Load Balancing and&amp;nbsp;Amazon Relational Database Service (&lt;a href="https://www.techtarget.com/searchaws/definition/Amazon-Relational-Database-Service-RDS"&gt;RDS&lt;/a&gt;) instances. The application automatically collects and provides metrics for&amp;nbsp;CPU&amp;nbsp;utilization,&amp;nbsp;&lt;a href="https://www.techtarget.com/whatis/definition/latency"&gt;latency&lt;/a&gt; and request counts. Users can also stipulate additional metrics to be monitored, such as memory usage, transaction volumes or error rates.&lt;/p&gt; 
&lt;p&gt;Users can access CloudWatch functions through an&amp;nbsp;application programming interface (&lt;a href="https://www.techtarget.com/searchapparchitecture/definition/application-program-interface-API"&gt;API&lt;/a&gt;), command-line tools, one of the AWS&amp;nbsp;software development kits or the AWS Management Console. The CloudWatch interface provides current statistics that users can view in graph format. Users can set notification alarms to be sent when something being monitored surpasses a specified threshold. The app can also detect and shut down unused or underused EC2 instances.&lt;/p&gt; 
&lt;p&gt;Amazon CloudWatch is designed for AWS users, including DevOps engineers, IT managers, cloud developers and site reliability engineers.&lt;/p&gt; 
&lt;h3&gt;CloudWatch features&lt;/h3&gt; 
&lt;p&gt;CloudWatch enables users to collect and view monitoring data for AWS infrastructures in a single platform. CloudWatch includes specific features for data collection, monitoring, automated actions, analysis and compliance and security.&lt;/p&gt; 
&lt;figure class="main-article-image full-col" data-img-fullsize="https://www.techtarget.com/rms/onlineimages/security-4_steps_toward_cloud_sec-f.png"&gt;
 &lt;img data-src="https://www.techtarget.com/rms/onlineimages/security-4_steps_toward_cloud_sec-f_mobile.png" class="lazy" data-srcset="https://www.techtarget.com/rms/onlineimages/security-4_steps_toward_cloud_sec-f_mobile.png 960w,https://www.techtarget.com/rms/onlineimages/security-4_steps_toward_cloud_sec-f.png 1280w" alt="chart of how Amazon CloudWatch works " height="332" width="558"&gt;
 &lt;figcaption&gt;
  &lt;i class="icon pictures" data-icon="z"&gt;&lt;/i&gt;What does Amazon CloudWatch do?
 &lt;/figcaption&gt;
 &lt;div class="main-article-image-enlarge"&gt;
  &lt;i class="icon" data-icon="w"&gt;&lt;/i&gt;
 &lt;/div&gt;
&lt;/figure&gt; 
&lt;ul class="default-list"&gt; 
 &lt;li&gt;&lt;strong&gt;CloudWatch Logs.&lt;/strong&gt; This service enables users to collect and store logs for vended services for customers, logs for specific AWS services such as AWS CloudTrail, AWS Lambda, Amazon API Gateway, Amazon Simple Notification Service, or for proprietary applications and on-premises resources. CloudWatch Logs Insights can provide quick queries and visualization of log data.&lt;/li&gt; 
 &lt;li&gt;&lt;strong&gt;Metrics collection.&lt;/strong&gt; Users can collect default metrics from more than 70 distributed AWS applications and view them in one place. They also can collect metrics and customize logs from their own applications or on-premises resources.&lt;/li&gt; 
 &lt;li&gt;&lt;strong&gt;Container Insights.&lt;/strong&gt; This feature collects, aggregates and monitors metrics and logs for containerized applications and microservices. It can also &lt;a href="https://www.techtarget.com/searchaws/tip/Use-CloudWatch-Container-Insights-to-troubleshoot-ECS-EKS"&gt;troubleshoot Amazon Elastic Kubernetes Service&lt;/a&gt; and Amazon Container Orchestration Service.&amp;nbsp;&lt;/li&gt; 
 &lt;li&gt;&lt;strong&gt;CloudWatch Lambda Insights.&lt;/strong&gt; This service collects, aggregates and monitors &lt;a href="https://www.techtarget.com/searchaws/definition/AWS-Lambda-Amazon-Web-Services-Lambda"&gt;AWS Lambda&lt;/a&gt; logs and performance metrics from each container, including CPU, memory and disk information.&amp;nbsp; &amp;nbsp;&lt;/li&gt; 
 &lt;li&gt;&lt;strong&gt;Contributor Insights.&lt;/strong&gt; This feature provides a view of the top contributors influencing system performance, such as API calls, applications or customer accounts.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;ul class="default-list"&gt; 
 &lt;li&gt;&lt;strong&gt;Unified view. &lt;/strong&gt;This feature enables users to create dashboard views for selected applications, graphs and other visualized cloud data.&lt;/li&gt; 
 &lt;li&gt;&lt;strong&gt;Composite alarms. &lt;/strong&gt;This function unifies alarms for different issues affected by the same application into a single notification. This can help &lt;a href="https://www.techtarget.com/searchitoperations/definition/root-cause-analysis"&gt;root-cause diagnosis&lt;/a&gt;.&lt;/li&gt; 
 &lt;li&gt;&lt;strong&gt;High resolution alarms. &lt;/strong&gt;Users can set thresholds for specific metrics that trigger alarm actions, such as shutting down unused instances.&lt;/li&gt; 
 &lt;li&gt;&lt;strong&gt;Correlation. &lt;/strong&gt;CloudWatch can correlate specific patterns in logs with metrics to diagnose a root cause.&lt;/li&gt; 
 &lt;li&gt;&lt;strong&gt;Application Insights for .NET and SQL Server. &lt;/strong&gt;This feature provides easy monitoring for .NET and SQL Server applications, with automated dashboards and smart metrics.&lt;/li&gt; 
 &lt;li&gt;&lt;strong&gt;Anomaly Detection. &lt;/strong&gt;&lt;a href="https://www.techtarget.com/searchenterpriseai/definition/machine-learning-ML"&gt;Machine learning&lt;/a&gt; algorithms can detect abnormal activity in AWS systems.&lt;/li&gt; 
 &lt;li&gt;&lt;strong&gt;ServiceLens. &lt;/strong&gt;This service monitors the performance, health and availability of applications and dependencies to reduce bottlenecks, recognize affected users and diagnose root causes.&lt;/li&gt; 
 &lt;li&gt;&lt;strong&gt;Synthetics. &lt;/strong&gt;This facility monitors application endpoints and alerts the user to errors and abnormal infrastructure issues.&lt;/li&gt; 
 &lt;li&gt;&lt;strong&gt;Metric Streams. &lt;/strong&gt;This feature enables users to create near real-time metric streams to other applications, such as Amazon S3, or share them with third-party service providers.&lt;/li&gt; 
 &lt;li&gt;&lt;strong&gt;Auto Scaling. &lt;/strong&gt;This feature automates capacity and resource planning.&lt;/li&gt; 
 &lt;li&gt;&lt;strong&gt;CloudWatch Events.&lt;/strong&gt; This service provides a near real-time stream of system events and automates responses to operational changes.&lt;/li&gt; 
 &lt;li&gt;&lt;strong&gt;Log analytics. &lt;/strong&gt;Advanced analytics are available for the information in CloudWatch Logs, without provisioning additional servers or the need for extra software. Queries can be exported to dashboards.&lt;/li&gt; 
 &lt;li&gt;&lt;strong&gt;Integration with AWS Identity and Access Management. &lt;/strong&gt;This facility provides a management console to control which users and applications have access to CloudWatch data and resources.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;h3&gt;CloudWatch vs. CloudTrail&lt;/h3&gt; 
&lt;p&gt;CloudWatch and &lt;a href="https://searchcloudsecurity.techtarget.com/definition/AWS-CloudTrail"&gt;CloudTrail&lt;/a&gt; are both monitoring services for AWS resources and applications.&lt;/p&gt; 
&lt;p&gt;AWS CloudWatch is a service that monitors system performance for AWS applications and resources, and AWS CloudTrail is a web service that monitors the activity within the AWS environment through tracking API calls.&lt;/p&gt; 
&lt;p&gt;CloudTrail provides a detailed log of all actions in the AWS system, and helps users track user activity and changes, monitoring the trail of activity, hence the name. AWS CloudTrail provides information on the who, what, where and when of activity in the AWS account and environment.&lt;/p&gt; 
&lt;h3&gt;Benefits of CloudWatch&lt;/h3&gt; 
&lt;p&gt;CloudWatch offers several benefits for organizations using AWS resources and applications. These are related to the information that CloudWatch can provide, as well as its intuitive interface, and include the following.&lt;/p&gt; 
&lt;ul class="default-list"&gt; 
 &lt;li&gt;offers ease of use for basic functions;&lt;/li&gt; 
 &lt;li&gt;provides visibility for all AWS monitoring data on one platform;&lt;/li&gt; 
 &lt;li&gt;effectively collects &lt;a href="https://www.techtarget.com/searchaws/tip/Master-Amazon-CloudWatch-metrics-to-track-AWS-use"&gt;metrics for AWS environments&lt;/a&gt;;&lt;/li&gt; 
 &lt;li&gt;increases and optimizes operational performance of AWS and on-premises resources;&lt;/li&gt; 
 &lt;li&gt;provides insights into correlations and other relationships in system performance;&lt;/li&gt; 
 &lt;li&gt;provides stability and reliability; and&lt;/li&gt; 
 &lt;li&gt;offers integration with other AWS resources.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;h3&gt;Challenges of CloudWatch&lt;/h3&gt; 
&lt;p&gt;related to the use of AWS CloudWatch include the following:&lt;/p&gt; 
&lt;ul class="default-list"&gt; 
 &lt;li&gt;costs more than most &lt;a href="https://www.techtarget.com/searchaws/tip/CloudWatch-Logs-Insights-wont-replace-third-party-tools-yet"&gt;third-party monitoring and log&lt;/a&gt; tools;&lt;/li&gt; 
 &lt;li&gt;many standard AWS metrics cannot be seen in units smaller than one-minute intervals;&lt;/li&gt; 
 &lt;li&gt;advanced integration is mostly limited to AWS resources; and&lt;/li&gt; 
 &lt;li&gt;more advanced use of CloudWatch can have a high learning curve.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;h3&gt;Amazon CloudWatch pricing&lt;/h3&gt; 
&lt;p&gt;CloudWatch is available in free and paid tiers. The free tier includes limited monitoring metrics, API requests, dashboards, alarms, log data, events, contributor insights and &lt;a href="https://www.techtarget.com/whatis/definition/canary-canary-testing"&gt;canary runs&lt;/a&gt;.&lt;/p&gt; 
&lt;p&gt;Like other cloud services, the paid tier follows a pay-as-you-go pricing structure that is billed monthly. Pricing is based on the quantity of metrics, APIs and metric streams used.&lt;/p&gt; 
&lt;p&gt;&lt;em&gt;See the &lt;/em&gt;&lt;a href="https://aws.amazon.com/cloudwatch/pricing/?loc=ft#Free_tier" target="_blank" rel="noopener"&gt;&lt;em&gt;AWS CloudWatch pricing page&lt;/em&gt;&lt;/a&gt;&lt;em&gt; for a comprehensive breakdown with a pricing calculator and pricing examples.&lt;/em&gt;&lt;/p&gt; 
&lt;h3&gt;Amazon CloudWatch use cases&lt;/h3&gt; 
&lt;p&gt;CloudWatch collects data for operational and monitoring purposes with a unified view and can deploy automated responses to monitored metrics reaching a specified threshold. More broadly, CloudWatch is used for the following tasks:&lt;/p&gt; 
&lt;ul class="default-list"&gt; 
 &lt;li&gt;to help fix operational issues and optimize performance using log analytics;&lt;/li&gt; 
 &lt;li&gt;monitor AWS applications in the cloud or on premises;&lt;/li&gt; 
 &lt;li&gt;monitor and troubleshoot the AWS infrastructure; and&lt;/li&gt; 
 &lt;li&gt;optimize system resources.&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;&lt;em&gt;For more information on metrics in cloud monitoring, &lt;/em&gt;&lt;a href="https://www.techtarget.com/searchcloudcomputing/feature/Metrics-that-matter-in-cloud-application-monitoring"&gt;&lt;em&gt;read here&lt;/em&gt;&lt;/a&gt;&lt;em&gt;. &lt;/em&gt;&lt;/p&gt; 
&lt;p&gt;&lt;em&gt;Learn how AWS &lt;/em&gt;&lt;a href="https://www.techtarget.com/searchaws/tip/Compare-CloudWatch-vs-Datadog-and-New-Relic-for-AWS-monitoring"&gt;&lt;em&gt;CloudWatch compares&lt;/em&gt;&lt;/a&gt;&lt;em&gt; to other cloud monitoring services.&lt;/em&gt;&lt;/p&gt; 
&lt;div class="youtube-iframe-container"&gt;
 &lt;iframe id="ytplayer-0" src="https://www.youtube.com/embed/Xg4yz33vvvU?autoplay=0&amp;amp;modestbranding=1&amp;amp;rel=0&amp;amp;widget_referrer=null&amp;amp;enablejsapi=1&amp;amp;origin=https://www.techtarget.com" type="text/html" height="360" width="640" frameborder="0"&gt;&lt;/iframe&gt;
&lt;/div&gt; 
&lt;p&gt;&lt;/p&gt;</body>
            <description>Amazon CloudWatch is a component of Amazon Web Services that provides monitoring for AWS resources and the customer applications running on the Amazon infrastructure.</description>
            <image>https://cdn.ttgtmedia.com/visuals/digdeeper/5.jpg</image>
            <link>https://www.techtarget.com/searchaws/definition/CloudWatch</link>
            <pubDate>Mon, 17 May 2021 00:00:00 GMT</pubDate>
            <title>AWS CloudWatch</title>
        </item>
        <item>
            <body>&lt;p&gt;More and more developers run Docker-based applications in the cloud, and Amazon's container services simplify the launch and management of those applications on AWS. However, the offerings do have drawbacks when it comes to the limited set of available &lt;a href="https://www.techtarget.com/searchcloudcomputing/tip/Use-these-CloudWatch-features-to-improve-AWS-app-monitoring"&gt;CloudWatch&lt;/a&gt; metrics.&lt;/p&gt; 
&lt;p&gt;For example, Amazon Elastic Container Service (&lt;a href="https://www.techtarget.com/whatis/definition/cluster"&gt;ECS&lt;/a&gt;) publishes metrics at the cluster level, such as CPU and memory utilization and reservation, as well as similar metrics at the service level. While this information can help determine the overall health of ECS infrastructure, it's not sufficient to effectively prevent and remediate all AWS container issues.&lt;/p&gt; 
&lt;p&gt;CloudWatch Container Insights, a feature within AWS' native monitoring and management service, provides a more detailed set of metrics at the cluster, service and task level compared to default ECS metrics. Developers can use Container Insights to monitor the number of desired, pending or running tasks for a particular service. This monitoring capability can detect issues related to launching tasks -- when tasks are stuck in pending state and cannot be launched, or when a task is launched too frequently, which could be a sign of an unhealthy container.&lt;/p&gt; 
&lt;p&gt;Developers can also use Container Insights to monitor CPU and memory utilization at the ECS task level, which offers a more granular view of system health. CloudWatch Container Insights can examine received and transmitted bytes at the cluster, service and task definition level, which can help developers discover and troubleshoot issues in a way that isn't possible with default ECS metrics.&lt;/p&gt; 
&lt;p&gt;When it comes to Amazon Elastic Kubernetes Service (EKS) clusters, CloudWatch Container Insights is particularly useful, since EKS doesn't automatically publish metrics to CloudWatch. Here, Container Insights provides visibility at the &lt;a href="https://www.techtarget.com/searchitoperations/tip/Kubernetes-Pods-and-Nodes-map-out-container-relationships-for-production"&gt;cluster, node and pod&lt;/a&gt; level. Users can access metrics that capture the total number of worker nodes in the cluster and the total percentage of CPU units used on cluster nodes, among others. With these metrics, users can closely monitor the overall Kubernetes infrastructure health and react to potential issues.&lt;/p&gt; 
&lt;p&gt;Developers can trigger &lt;a href="https://www.techtarget.com/searchaws/news/252433485/AWS-Auto-Scaling-simplifies-management-across-services"&gt;AWS Auto Scaling&lt;/a&gt; actions based on resource utilization at the node level and set alarms for when pods are unhealthy. They can also better troubleshoot their AWS container infrastructure by visualizing detailed metrics in a CloudWatch dashboard. These metrics can also be enabled in &lt;a href="https://www.techtarget.com/searchaws/news/252433485/AWS-Auto-Scaling-simplifies-management-across-services"&gt;self-managed Kubernetes&lt;/a&gt; clusters running on EC2 instances.&lt;/p&gt; 
&lt;section class="section main-article-chapter" data-menu-title="Set up CloudWatch Container Insights"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;Set up CloudWatch Container Insights&lt;/h2&gt;
 &lt;p&gt;CloudWatch Container Insights isn't enabled by default, so developers have to explicitly configure it. The setup process is relatively simple for ECS clusters and can be completed with one step using either the ECS console for new clusters or the AWS Command Line Interface (CLI) for existing clusters.&lt;/p&gt;
 &lt;p&gt;For EKS or self-managed Kubernetes clusters, the process isn't as simple, as it requires users to install the CloudWatch agent as well as data collector &lt;a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Container-Insights-setup-logs.html" target="_blank" rel="noopener"&gt;FluentD&lt;/a&gt;. Users will have to configure Identity and Access Management permissions, download custom files, use the kubectl CLI and undertake a few other steps.&lt;/p&gt;
 &lt;p&gt;For the time being, developers can't enable the feature using CloudFormation for either ECS or EKS, which is a limitation that AWS could improve in the future.&lt;/p&gt;
&lt;/section&gt;    
&lt;section class="section main-article-chapter" data-menu-title="How to access and use CloudWatch Container Insights metrics"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;How to access and use CloudWatch Container Insights metrics&lt;/h2&gt;
 &lt;p&gt;CloudWatch automatically builds a detailed dashboard with Container Insights metrics. Enable and view the dashboard in the CloudWatch console, or access Container Insights metrics using the CloudWatch API or CLI, as Container Insights metrics are published as custom CloudWatch metrics. You can also use these metrics to trigger CloudWatch alarms and add them to custom CloudWatch Dashboards.&lt;/p&gt;
 &lt;figure class="main-article-image full-col" data-img-fullsize="https://www.techtarget.com/rms/onlineImages/cloudwatchdash.jpg"&gt;
  &lt;img data-src="https://www.techtarget.com/rms/onlineImages/cloudwatchdash_mobile.jpg" class="lazy" data-srcset="https://www.techtarget.com/rms/onlineImages/cloudwatchdash_mobile.jpg 960w,https://www.techtarget.com/rms/onlineImages/cloudwatchdash.jpg 1280w" alt="Container Insights Dashboard" height="289" width="560"&gt;
  &lt;figcaption&gt;
   &lt;i class="icon pictures" data-icon="z"&gt;&lt;/i&gt;The CloudWatchContainer Insights dashboard enables you to track all your relevant metrics in one hub.
  &lt;/figcaption&gt;
  &lt;div class="main-article-image-enlarge"&gt;
   &lt;i class="icon" data-icon="w"&gt;&lt;/i&gt;
  &lt;/div&gt;
 &lt;/figure&gt;
 &lt;p&gt;CloudWatch Container Insights also creates entries in &lt;a href="https://www.techtarget.com/searchaws/answer/How-do-CloudWatch-logging-features-track-resources"&gt;CloudWatch Logs&lt;/a&gt;, which enables users to submit their own container-related queries using CloudWatch Logs Insights. This supports more detailed analysis of log entries and deeper visibility into individual metric events, which is useful during troubleshooting activities.&lt;/p&gt;
&lt;/section&gt;    
&lt;section class="section main-article-chapter" data-menu-title="CloudWatch Container Insights pricing"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;CloudWatch Container Insights pricing&lt;/h2&gt;
 &lt;p&gt;As previously stated, Container Insights publishes metric data as custom CloudWatch metrics, which start at $0.30 per metric, at time of publication. That rate decreases after an account's first 10,000 metrics. A single ECS cluster with one service deployed in it and one task running in the service would publish 16 custom metrics. This would cost $4.80 per month in the U.S. East-1 region, assuming your account hasn't passed 10,000 custom metrics yet. For a single EKS cluster with one namespace, node and pod, there would be 25 custom metrics published to CloudWatch, resulting in a charge of $7.50 per month.&lt;/p&gt;
 &lt;p&gt;There's also some associated cost to ingest and store data in CloudWatch Logs -- $0.50 per gigabyte ingested and $0.03 per gigabyte per month of data stored. In most situations, CloudWatch Logs costs will likely be low, given the volume of data users send to it.&lt;/p&gt;
&lt;/section&gt;</body>
            <description>Ensure container-based apps run properly in AWS with CloudWatch Container Insights. Discover how to set up and use this feature for detailed assessments of ECS or EKS workloads.</description>
            <image>https://cdn.ttgtmedia.com/visuals/searchCloudComputing/applications/cloudcomputing_article_001.jpg</image>
            <link>https://www.techtarget.com/searchaws/tip/Use-CloudWatch-Container-Insights-to-troubleshoot-ECS-EKS</link>
            <pubDate>Thu, 31 Oct 2019 13:01:00 GMT</pubDate>
            <title>Use CloudWatch Container Insights to troubleshoot ECS, EKS</title>
        </item>
        <item>
            <body>&lt;p&gt;In April 2012,&amp;nbsp;&lt;a href="https://www.techtarget.com/searchaws/definition/Amazon-Web-Services"&gt;Amazon Web Services&lt;/a&gt;&amp;nbsp;launched AWS Marketplace, a one-stop spot for finding software that runs on AWS. Today, AWS Marketplace contains 37 categories that include software infrastructure, business software, desktop software and developer tools.&lt;/p&gt; 
&lt;p&gt;The online store is among&amp;nbsp;AWS' fastest-growing services, regularly adding new technology partners that seek to fill service gaps or otherwise appeal to AWS' many customers.&lt;/p&gt; 
&lt;p&gt;But how does AWS Marketplace work? And what can you expect to find there? These frequently asked questions and answers shed some light on the expansive AWS Marketplace.&lt;/p&gt; 
&lt;h3&gt;What is the AWS Marketplace?&lt;/h3&gt; 
&lt;p&gt;Amazon describes AWS Marketplace as "an online store that helps customers find, buy and immediately start using the software and services they need to build products and run their businesses." It also serves as a new sales channel for software vendors.&lt;/p&gt; 
&lt;h3&gt;What drove AWS to create its online store?&lt;/h3&gt; 
&lt;blockquote class="main-article-pullquote"&gt;
 &lt;div class="main-article-pullquote-inner"&gt;
  &lt;figure&gt;
   Software sold in AWS Marketplace is available to run only on Amazon EC2; it's not available for download.
  &lt;/figure&gt;
  &lt;i class="icon" data-icon="z"&gt;&lt;/i&gt;
 &lt;/div&gt;
&lt;/blockquote&gt; 
&lt;p&gt;Amazon said customers have been asking for faster, better ways to find and deploy&amp;nbsp;software running on AWS. In a blog post, Amazon CTO Werner Vogels wrote, "The way businesses are buying applications is changing. There is a new generation of leaders that have very different expectations about how they can select the products and tools they need to be successful." Specifically, he said, Amazon created AWS Marketplace to meet customer demands for choosing software "in a way that was completely in line with the 'cloud experience:' no software to install, no sales cycle, no procurement delays and [with] a selection of licensing models to choose from."&lt;/p&gt; 
&lt;h3&gt;Who can shop at the AWS Marketplace?&lt;/h3&gt; 
&lt;p&gt;Any customer with an AWS account can shop in AWS Marketplace. Customers should be familiar with &lt;a href="https://www.techtarget.com/searchaws/definition/Amazon-Elastic-Compute-Cloud-Amazon-EC2"&gt;Amazon Elastic Compute Cloud&lt;/a&gt;&amp;nbsp;(EC2) instances before purchasing vendor software.&lt;/p&gt; 
&lt;h3&gt;What types of products are sold on AWS Marketplace?&lt;/h3&gt; 
&lt;p&gt;The store offers commercial&amp;nbsp;software products targeted to companies and developers,&amp;nbsp;as well as open source software. The four major product categories include:&lt;/p&gt; 
&lt;ol start="1" type="1" class="default-list"&gt; 
 &lt;li&gt;Software infrastructure, which includes OSes, security, migration and big data tools;&lt;/li&gt; 
 &lt;li&gt;Developer tools, such as issue and bug tracking, monitoring, source control and testing;&lt;/li&gt; 
 &lt;li&gt;Business software in categories ranging from business intelligence to collaboration to e-commerce to storage and recovery; and&lt;/li&gt; 
 &lt;li&gt;Desktop software, which includes Microsoft Windows desktop applications for accounts payable and billing, media and encoding, project management and other Windows apps.&lt;/li&gt; 
&lt;/ol&gt; 
&lt;p&gt;Software sold in AWS Marketplace is available to run only on Amazon EC2; it's not available for download.&lt;/p&gt; 
&lt;h3&gt;How does AWS Marketplace work?&lt;/h3&gt; 
&lt;p&gt;Customers pick the preconfigured software they want to buy and launch it immediately using AWS' 1-Click Deployment, which provides a similar experience to the 1-Click Ordering option available to consumers on Amazon.com. (If customers prefer, they can skip the one-click installation and develop the software using their own tools.) Their purchases are available either via &lt;a href="https://www.techtarget.com/searchcloudcomputing/definition/Software-as-a-Service"&gt;SaaS&lt;/a&gt; or as an Amazon Machine Image (AMI).&lt;/p&gt; 
&lt;h3&gt;What is an AMI?&lt;/h3&gt; 
&lt;p&gt;AWS describes an &lt;a href="https://www.techtarget.com/searchaws/definition/Amazon-Machine-Image-AMI"&gt;AMI&lt;/a&gt; as a template with a software configuration for the customer's server -- for instance, an OS or an application server. In the case of AWS Marketplace, an AMI is a template carrying the information needed to boot an Amazon EC2&amp;nbsp;&lt;a href="https://www.techtarget.com/searchaws/definition/Amazon-EC2-instances"&gt;instance&lt;/a&gt;&amp;nbsp;with the customer's software.&lt;/p&gt; 
&lt;h3&gt;How does AWS Marketplace customer billing work?&lt;/h3&gt; 
&lt;p&gt;AWS Marketplace offers a pay-as-you-go pricing model. For paid software, customers pay only for what they use, either by the hour or by the month, scaling their usage as needed. Charges from AWS Marketplace are integrated into each customer's existing AWS bill.&lt;/p&gt; 
&lt;h3&gt;Who sells software in AWS Marketplace?&lt;/h3&gt; 
&lt;p&gt;Vendors are members of the AWS Partner Network, the AWS global program for its technology and consulting partners. They include&amp;nbsp;&lt;a href="https://www.techtarget.com/searchitchannel/definition/ISV"&gt;independent software vendors&lt;/a&gt;,&amp;nbsp;&lt;a href="https://www.techtarget.com/searchitchannel/definition/VAR"&gt;value-added resellers&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://www.techtarget.com/searchitchannel/definition/systems-integrator"&gt;systems integrators&lt;/a&gt;.&lt;/p&gt; 
&lt;h3&gt;What companies currently use AWS Marketplace?&lt;/h3&gt; 
&lt;p&gt;Participating SaaS vendors include CA, Check Point, IBM, Microsoft, &lt;a href="https://www.ogf.org/OGF24/materials/1448/Ent02+-+SaaS+on+the+Grid.pdf" target="_blank"&gt;Red Hat&lt;/a&gt; and SAP, among many other large and small sellers. Open source offerings include Drupal, MediaWiki and WordPress.&lt;/p&gt; 
&lt;h3&gt;How can I become an AWS Marketplace seller?&lt;/h3&gt; 
&lt;div class="imagecaption alignRight"&gt;
 &lt;iframe width="220" height="182" src="https://www.youtube.com/embed/4YPH0_Vis84?ecver=1" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;
 &lt;br&gt; 
 &lt;i&gt;A tutorial of AWS Marketplace with WordPress&lt;/i&gt;
&lt;/div&gt; 
&lt;p&gt;According to Amazon, vendors completing a seller registration must sell publicly available software that fits into one of the store's supported categories. Vendors must also have "a strong track record of customer satisfaction" and provide tax information for paid AMI products. They must demonstrate strong, clear business operations and ethical practices. They must place high priority on keeping their products up-to-date and virus-free. And they must verify that the AWS cloud hosts and runs their software on EC2 instances.&lt;/p&gt; 
&lt;h3&gt;How does AWS Marketplace handle vendor payments?&lt;/h3&gt; 
&lt;p&gt;Amazon handles billing for all software purchases and manages payouts to participating vendors. When an AWS customer purchases vendor software, the cloud provider adds the cost to the customer's AWS bill. Sellers can apply several different pricing models to their software, including bring your own license, free, hourly, monthly and usage-based billing. AWS might charge seller fees depending on the pricing model a vendor chooses. The AWS Marketplace seller guide contains a full list of vendor guidelines and recommendations.&lt;/p&gt;</body>
            <description>AWS Marketplace serves Amazon Web Services customers and vendor partners alike. So, how does it work, and what types of software are available?</description>
            <image>https://cdn.ttgtmedia.com/visuals/digdeeper/4.jpg</image>
            <link>https://www.techtarget.com/searchaws/feature/FAQ-How-the-AWS-Marketplace-serves-software-buyers-and-sellers-alike</link>
            <pubDate>Tue, 25 Jul 2017 15:00:42 GMT</pubDate>
            <title>AWS Marketplace seller, buyer FAQs</title>
        </item>
        <item>
            <body>&lt;p&gt;AWS AppStream is a new Amazon service that streams Windows applications in the cloud, extending the OS to a variety of computers and mobile devices. Today, the most practical use cases for the service are providing brief game demos and longer-term support for high-value applications, like CAD and medical imaging. In the case of CAD applications, AppStream allows an engineer to make quick updates in the field from a tablet. In medical imaging applications, AWS AppStream makes it easier for multiple medical experts to collaborate remotely.&lt;/p&gt; 
&lt;section class="section main-article-chapter" data-menu-title="Start streaming the client application"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;Start streaming the client application&lt;/h2&gt;
 &lt;p&gt;The first consideration for &lt;a href="https://www.techtarget.com/searchaws/tips"&gt;AWS AppStream&lt;/a&gt; adoption lies in identifying the business and revenue model behind AppStream apps. Today, it costs 83 cents per hour to deploy these apps in the US East region. This might be an acceptable cost to provide gamers an instant demo of a new game, but it would not make sense for sustained game play in many cases. It may also be an acceptable cost for high-end CAD as a service offerings that are provisioned to allow engineers to make changes in the field on a low-end tablet.&lt;/p&gt;
 &lt;p&gt;The client application works in a dedicated AppStream app that runs locally on each device. The local app decodes audio and video sent from Amazon Web Services (AWS) and collects user input from a keyboard, mouse and touch screen. Users can configure the local app to gather additional input, like GPS data, using the AppStream &lt;a href="https://www.techtarget.com/whatis/definition/software-developers-kit-SDK"&gt;software development kit&lt;/a&gt;. Client applications are available for iOS, Android, Chrome, Windows and Mac operating systems. The application must be able to run on Windows Server 2008 or later. If the application has other dependencies, such as the .NET framework, these need to be included as part of the application installer.&lt;/p&gt;
&lt;/section&gt;   
&lt;section class="section main-article-chapter" data-menu-title="Bringing high-end performance to low-end devices"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;Bringing high-end performance to low-end devices&lt;/h2&gt;
 &lt;p&gt;The underlying notion of desktop virtualization has been around for years. In this traditional model, a Windows desktop instance is provisioned in the cloud. This approach makes it easier to spin up and provide an entire Windows environment with the appropriate configurations and application collections. AppStream takes this to a more granular level by allowing IT to provision individual applications or collections. It also includes features for integration with custom clients, subscriptions, identity and storage.&lt;/p&gt;
 &lt;p&gt;By streaming applications, organizations can better distribute computational loads for CPU- and GPU-intensive applications. For example, applications like &lt;a href="https://www.techtarget.com/searchvirtualdesktop/tip/5-tips-to-optimize-CAD-application-performance-for-VDI"&gt;CAD&lt;/a&gt;, 3D modeling, video editing and medical imaging can move the heavy processing to the cloud. The client application can then render the results using the standard video decoder chips already common on tablets and phones. In essence, any application that can benefit from additional CPU, GPU, RAM or storage requirements can benefit from AppStream.&lt;/p&gt;
&lt;/section&gt;   
&lt;section class="section main-article-chapter" data-menu-title="Understand network effects"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;Understand network effects&lt;/h2&gt;
 &lt;p&gt;An important consideration when moving Windows applications to the cloud is &lt;a href="https://www.techtarget.com/searchnetworking/tip/How-to-improve-network-latency-in-3-steps"&gt;latency&lt;/a&gt;, which creates a perception of delay between user action and its effect on the application. This is less important for applications like CAD annotation that can tolerate 100-millisecond delays. But gaming experiences might suffer with delays as little as 20 milliseconds. Latency is affected by the physical distance a data packet has to travel to the cloud, the number of routers through which it has to pass and the amount of competing Internet traffic. Loses incurred by wireless networks can also exacerbate latency issues.&lt;/p&gt;
 &lt;p&gt;Another important consideration is that AppStream requires a live Internet connection. This could be a problem for mobile users outside the coverage areas of cell phone towers. However, it is possible to divide hosting duties between native resources and AppStream to take advantage of better processing. In these cases, users can continue to work when the Internet connection goes down, albeit with less performance. However, these hybrid apps require more development work for each supported platform.&lt;/p&gt;
 &lt;p&gt;AppStream requires a minimum of 3 megabytes per second (MBps) for streaming applications. This is probably not a big deal for individual users with a cable or DSL connection, but it is when dozens of workers are trying to simultaneously run AppStream applications. It could also quickly push mobile workers over their wireless network data plan allotments. Applications will continue to function at lower bit-rates -- down to 553 KBps -- and at lower quality.&lt;/p&gt;
&lt;/section&gt;    
&lt;section class="section main-article-chapter" data-menu-title="Steps to getting started"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;Steps to getting started&lt;/h2&gt;
 &lt;p&gt;AppStream supports an interactive deployment wizard that converts a Windows application installer into an AppStream instance. Initial application performance may appear slow during this process, as it relies on the legacy Windows &lt;a href="https://www.techtarget.com/searchenterprisedesktop/definition/Remote-Desktop-Protocol-RDP"&gt;Remote Desktop Protocol&lt;/a&gt;. Once the application is running in the cloud, it will use the native AWS AppStream STX protocol, which has been optimized to improve application response to latency.&lt;/p&gt;
 &lt;p&gt;Next, secure the AppStream application by setting up an entitlement service to authenticate and authorize users. To do this, compare users to subscribers in a database, use an external log-in service or authenticate all clients. The entitlement service sends the client a URL to connect to the live application.&lt;/p&gt;
 &lt;p&gt;AppStream data is lost when the client session ends. If data needs to be shared between AppStream apps or persist between client sessions, set up some form of persistent storage. The AppStream console includes features for integrating and preserving session data using &lt;a href="https://www.techtarget.com/iotagenda/definition/Internet-of-Things-IoT"&gt;Simple Storage Service&lt;/a&gt;, &lt;a href="https://www.techtarget.com/searchaws/tip/Perform-an-Amazon-RDS-failover-with-minimal-downtime"&gt;Relational Database Service&lt;/a&gt; or DynamoDB.&lt;/p&gt;
 &lt;p&gt;To track user experience and resource utilization, users can capture log data from AppStream sessions. This information can also be used to identify bottlenecks to application performance.&lt;/p&gt;
&lt;/section&gt;</body>
            <description>While a valuable service for AWS users looking to connect to different types of devices, AppStream has network and security limitations IT professionals should consider.</description>
            <image>https://cdn.ttgtmedia.com/visuals/searchAWS/infrastructure/aws_article_008.jpg</image>
            <link>https://www.techtarget.com/searchaws/tip/What-to-know-before-going-all-in-with-AWS-AppStream</link>
            <pubDate>Mon, 24 Aug 2015 16:15:38 GMT</pubDate>
            <title>What to know before going all-in with AWS AppStream</title>
        </item>
        <item>
            <body>&lt;p&gt;There are a few common issues all developers encounter when running applications in Amazon Elastic Beanstalk, especially if they are unfamiliar with Elastic Load Balancing and Auto Scaling Groups. This tip covers a few best practices for working with Elastic Load Balancing to ensure AWS applications run as expected.&lt;/p&gt; 
&lt;section class="section main-article-chapter" data-menu-title="Configure Elastic Load Balancing and security groups"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;&lt;b&gt;Configure Elastic Load Balancing and security groups&lt;/b&gt;&lt;/h2&gt;
 &lt;p&gt;If you're automatically redirecting HTTP traffic to HTTPs, enable HTTPS proxying on Elastic load balancing (ELB) and upload an SSL certificate. In addition, open up HTTPS on the security group for the outside world and ensure HTTP is also open to the outside world.&lt;/p&gt;
 &lt;p&gt;If your load balancer can't connect to the AWS instance, make sure the security group that hosts the load balancer can access the port in which your service is running on application servers. Application servers run in a different security group than the ELB, and the load balancer must have access to them.&lt;/p&gt;
&lt;/section&gt;   
&lt;section class="section main-article-chapter" data-menu-title="Set Auto Scaling Group to use ELB health checks"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;&lt;b&gt;Set Auto Scaling Group to use ELB health checks&lt;/b&gt;&lt;/h2&gt;
 &lt;p&gt;By default, the Auto Scaling Group (ASG) will check that instances are running, which could indicate that services on the AWS instance are working. While using the ELB health check provides a few false-error conditions, such as when a server is recovering from high load, it can ensure your service remains responsive. Play it safe; have the ASG health check use the ELB health check.&lt;/p&gt;
 &lt;p&gt;In addition, be sure there's enough time specified on the ASG's &lt;i&gt;Health Check Grace Period&lt;/i&gt; or the time the system waits after a server is spawned before it assumes it didn't work. I've had issues where this was so low the ASG continually spawned and then killed instances because they took too long to spin up.&lt;/p&gt;
 &lt;p&gt;Setting this up is as simple as defining an .ebextension in the repository. This works only on the first time you create the environment, so be sure to add it&lt;i&gt; &lt;/i&gt;before you spin up the environment. You can also add something like the following under .ebextensions/asg.config:&lt;/p&gt;
 &lt;p&gt;Resources:&lt;/p&gt;
 &lt;p&gt;AWSEBAutoScalingGroup:&lt;/p&gt;
 &lt;p&gt;Type: AWS::AutoScaling::AutoScalingGroup&lt;/p&gt;
 &lt;p&gt;Properties:&lt;/p&gt;
 &lt;p&gt;HealthCheckGracePeriod: 600&lt;/p&gt;
 &lt;p&gt;HealthCheckType: ELB&lt;/p&gt;
&lt;/section&gt;          
&lt;section class="section main-article-chapter" data-menu-title="Setting up Virtual Private Cloud routing"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;&lt;b&gt;Setting up Virtual Private Cloud routing&lt;/b&gt;&lt;/h2&gt;
 &lt;p&gt;AWS instances need access to the outside world and to Amazon. One common issue is that developers accidentally set up a subnet group that doesn't have access to the Internet and launch the environment there. If you've blocked access to the outside world, servers won't be able to download the software they need to spin up and, most likely, won't be able to contact Elastic Beanstalk to update their own status. Check the VPC subnet configuration to be sure servers can access the outside world. And check that routes have a path to &lt;i&gt;0.0.0.0/0&lt;/i&gt; that is not in a black hole.&lt;/p&gt;
&lt;/section&gt;  
&lt;section class="section main-article-chapter" data-menu-title="Planning subnets for ELB and application servers"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;&lt;b&gt;Planning subnets for ELB and application servers&lt;/b&gt;&lt;/h2&gt;
 &lt;p&gt;If you set up a new VPC and try to save time by only creating only one subnet, it won't work. While you can apply the same route to Elastic Load Balancing and application servers, they cannot be in the same subnet because this causes countless problems.&lt;/p&gt;
 &lt;p&gt;App servers don’t need public IP addresses, but load balancers do. App servers can proxy Internet traffic through NAT instances; load balancers can't. Place the load balancer in the same availability zones (AZ) as application servers and always set up at least two AZs. That means the typical setup is four subnets split across two AZs. Reserve two subnets for the load balancer and two for app servers. And be sure the subnets are large enough to support all the application servers you need. Keep more available in case ELB needs to scale.&lt;/p&gt;
&lt;/section&gt;   
&lt;section class="section main-article-chapter" data-menu-title="Prepare for load balancer changes"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;&lt;b&gt;Prepare for load balancer changes&lt;/b&gt;&lt;/h2&gt;
 &lt;p&gt;If you make major changes or update the environment, the load balancer may change. This is important because you can't make a CNAME to a root domain, such as Amazon.com, but you can make an alias to Elastic Load Balancing. To determine what the load balancer is for an environment, check to see what instances are associated to it.&lt;/p&gt;
 &lt;p&gt;If you use an alias via Route 53 to point a root domain to the load balancer, check it every time you make a major change, such as replacing the environment. Keep in mind: DNS takes a few minutes to propagate, so be sure to spin up the replacement, make the change to Route 53 and wait at least a day before terminating the old environment.&lt;/p&gt;
&lt;/section&gt;</body>
            <description>Improperly configuring Elastic Load Balancing and Auto Scaling Groups in Elastic Beanstalk can harm AWS app performance. Avoid these setup mistakes.</description>
            <image>https://cdn.ttgtmedia.com/visuals/searchAWS/cloud_development/aws_article_005.jpg</image>
            <link>https://www.techtarget.com/searchaws/tip/Elastic-Load-Balancing-tricks-for-AWS-applications</link>
            <pubDate>Fri, 17 Apr 2015 16:49:31 GMT</pubDate>
            <title>Elastic Load Balancing tricks for AWS applications</title>
        </item>
        <item>
            <body>&lt;p&gt;&lt;a href="https://www.techtarget.com/iotagenda/definition/Internet-of-Things-IoT"&gt;Amazon Simple Storage Service&lt;/a&gt; (S3) is mostly known for its object-based storage for storing data, but S3 bucket policy can help AWS save time in setting and managing complex access rights for Amazon S3 resources. This tip guides developers through basic S3 practices. Note that S3 is usually used with Amazon &lt;a href="https://www.techtarget.com/searchcio/feature/IAM-driven-biometrics-in-security-requires-adjustments"&gt;Identity and Access Management&lt;/a&gt; (IAM) policy, which is used to set up, capture and record user identities and permissions. I'll cover IAM in a future tip.&lt;/p&gt; 
&lt;p&gt;You need an S3 bucket policy to access a file you've uploaded. If you don't have it in place, you will get an error message that you are denied access.&lt;/p&gt; 
&lt;table border="1" cellspacing="0" cellpadding="3"&gt; 
 &lt;tbody&gt;
  &lt;tr&gt; 
   &lt;td width="664" valign="top"&gt;This XML file does not appear to have any style information associated with it. The document tree is shown below&lt;/td&gt; 
  &lt;/tr&gt; 
 &lt;/tbody&gt;
&lt;/table&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt; 
&lt;table border="1" cellspacing="0" cellpadding="3"&gt; 
 &lt;tbody&gt;
  &lt;tr&gt; 
   &lt;td width="665" valign="top"&gt; &lt;p&gt;&lt;code&gt;1 -&amp;lt;error&amp;gt;&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;2 &amp;lt;code&amp;gt;&lt;b&gt;AccessDenied&lt;/b&gt;&amp;lt;/code&amp;gt;&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;3 &amp;lt;message&amp;gt;&lt;b&gt;Access Denied&lt;/b&gt;&amp;lt;/message&amp;gt;&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;4 &amp;lt;requestid&amp;gt;&lt;b&gt;F7A33F55E19C8BFA&lt;/b&gt;&amp;lt;/requestid&amp;gt;&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;5 -&amp;lt;hostid&amp;gt;&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;6 &lt;b&gt;UHwvZfsh+B9IczJIyrBQOKG1+JRVsybONoS8+pwo1DZSvscmdb9OIsnZw&lt;/b&gt;&amp;lt;/hostid&amp;gt;&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;7 &amp;lt;/error&amp;gt;&lt;/code&gt;&lt;/p&gt; &lt;/td&gt; 
  &lt;/tr&gt; 
 &lt;/tbody&gt;
&lt;/table&gt; 
&lt;p&gt;This message pops up after you click on the linked file name in the Properties window. To see this window, click on the Properties tab on your right of the All Buckets window.&lt;/p&gt; 
&lt;p&gt;To fix the problem, create an S3 bucket policy. Use the &lt;a href="http://awspolicygen.s3.amazonaws.com/policygen.html" target="_blank"&gt;AWS Policy Generator&lt;/a&gt; to generate a script that allows you to access your file.&lt;/p&gt; 
&lt;p&gt;I have two script examples to show you how to set permissions. The first example is a simple script to permit anyone to access my files. The second example is a bit longer script to allow all users, except one, to upload their files to my bucket.&lt;/p&gt; 
&lt;p&gt;For the first example, here are the three steps to follow:&amp;nbsp;&lt;/p&gt; 
&lt;section class="section main-article-chapter" data-menu-title="Step 1. Select policy type"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;&lt;b&gt;Step 1. Select policy type&lt;/b&gt;&lt;/h2&gt;
 &lt;p&gt;Choose&lt;b&gt;S3 bucket policy.&lt;/b&gt;&lt;/p&gt;
 &lt;p&gt;This policy is one of the four types of policies you can create. The other three are:&lt;/p&gt;
 &lt;ul class="indentfix"&gt; 
  &lt;li class="indentfix"&gt;&lt;a href="http://docs.amazonwebservices.com/IAM/latest/UserGuide/PermissionsAndPolicies.html" target="_blank"&gt;IAM Policy&lt;/a&gt;&lt;/li&gt; 
  &lt;li class="indentfix"&gt;&lt;a href="http://docs.amazonwebservices.com/sns/latest/gsg/AccessPolicyLanguage.html" target="_blank"&gt;SNS Topic Policy&lt;/a&gt;&lt;/li&gt; 
  &lt;li class="indentfix"&gt;&lt;a href="http://docs.amazonwebservices.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/AccessPolicyLanguage.html" target="_blank"&gt;SQS Queue Policy&lt;/a&gt;&lt;/li&gt; 
 &lt;/ul&gt;
&lt;/section&gt;    
&lt;section class="section main-article-chapter" data-menu-title="Step 2. Add statements"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;&lt;b&gt;Step 2. Add statements&lt;/b&gt;&lt;/h2&gt;
 &lt;p&gt;A statement is the formal description of a single permission. There are five elements in a statement. They are:&lt;/p&gt;
 &lt;ul class="indentfix"&gt; 
  &lt;li class="indentfix"&gt;Effect element&lt;/li&gt; 
  &lt;li class="indentfix"&gt;Principal element&lt;/li&gt; 
  &lt;li class="indentfix"&gt;AWS service element&lt;/li&gt; 
  &lt;li class="indentfix"&gt;Actions element&lt;/li&gt; 
  &lt;li class="indentfix"&gt;Amazon Resource Name (ARN) element&lt;/li&gt; 
 &lt;/ul&gt;
 &lt;p&gt;For the Effect element, choose &lt;b&gt;Allow&lt;/b&gt; to permit users to read a file.&lt;/p&gt;
 &lt;p&gt;For the Principal element, add &lt;b&gt;*&lt;/b&gt; to the input box. It is a wildcard to allow anonymous users to read the file.&lt;/p&gt;
 &lt;p&gt;For the AWS Service element, the generator automatically inserts &lt;b&gt;Amazon S3&lt;/b&gt; in the input box.&lt;/p&gt;
 &lt;p&gt;For the Actions element, check off &lt;b&gt;Get Object. &lt;/b&gt;This is the only action you need to read a file. You don't need any other actions in the list.&lt;/p&gt;
 &lt;p&gt;For the Amazon Resource Name element, set it to the following format.&lt;/p&gt;
 &lt;p align="center"&gt;arn:aws:s3:::&amp;lt;bucket_name&amp;gt;/&amp;lt;key_name&amp;gt;&lt;/p&gt;
 &lt;p&gt;Choose a bucket name (e.g., bucket01) that you've created. Set the key name to *. Enter the following in the input box:&lt;/p&gt;
 &lt;p align="center"&gt;arn:aws:s3:::bucket01/*&lt;/p&gt;
 &lt;p&gt;Skip conditions about the statement such as date, location, version ID, maximum keys and other restrictions.&lt;/p&gt;
 &lt;p&gt;Click the &lt;b&gt;Add Statement&lt;/b&gt; button when you are ready.&lt;/p&gt;
 &lt;p&gt;In an instant, you will see the result of what elements you've added to the statement.&lt;/p&gt;
 &lt;p&gt;Once you are satisfied with the result, proceed to the next step.&lt;/p&gt;
&lt;/section&gt;               
&lt;section class="section main-article-chapter" data-menu-title="Step 3. Create bucket policy"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;&lt;b&gt;Step 3. Create bucket policy&lt;/b&gt;&lt;/h2&gt;
 &lt;p&gt;Press the &lt;b&gt;Generate Policy&lt;/b&gt; button. This will generate the policy you will need to add to your bucket. The policy is written in the &lt;a href="http://docs.amazonwebservices.com/IAM/latest/UserGuide/AccessPolicyLanguage.html" target="_blank"&gt;Access Policy Language.&lt;/a&gt;&lt;/p&gt;
 &lt;table border="1" cellspacing="0" cellpadding="3"&gt; 
  &lt;tbody&gt;
   &lt;tr&gt; 
    &lt;td width="605" valign="top"&gt; &lt;p&gt;&lt;code&gt;{&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&amp;nbsp;&lt;b&gt;"Id": "Policy1393570093893",&lt;/b&gt;&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&lt;b&gt;&amp;nbsp;"Statement": [&lt;/b&gt;&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&lt;b&gt;&amp;nbsp; {&lt;/b&gt;&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; "Sid": "Stmt1393569661962",&lt;/b&gt;&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; "Action": [&lt;/b&gt;&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "s3:GetObject"&lt;/b&gt;&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; ],&lt;/b&gt;&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; "Effect": "Allow",&lt;/b&gt;&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; "Resource": "arn:aws:s3:::bucket01/*",&lt;/b&gt;&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; "Principal": {&lt;/b&gt;&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "AWS": [&lt;/b&gt;&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "*"&lt;/b&gt;&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ]&lt;/b&gt;&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; }&lt;/b&gt;&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&lt;b&gt;&amp;nbsp; }&lt;/b&gt;&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&lt;b&gt;&amp;nbsp;]&lt;/b&gt;&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&lt;b&gt;}&lt;/b&gt;&lt;/code&gt;&lt;/p&gt; &lt;/td&gt; 
   &lt;/tr&gt; 
  &lt;/tbody&gt;
 &lt;/table&gt;
 &lt;p&gt;If the script shows you've given a wrong bucket name, you can edit it. Once you are satisfied with the policy, copy it onto your clipboard. You will need to paste it on a policy editor.&lt;/p&gt;
 &lt;p&gt;Here's how to get to the policy editor:&lt;/p&gt;
 &lt;ul class="indentfix"&gt; 
  &lt;li class="indentfix"&gt;Open your bucket in the &lt;a href="http://aws.amazon.com/console/" target="_blank"&gt;AWS Management Console&lt;/a&gt;&lt;/li&gt; 
  &lt;li class="indentfix"&gt;Go to &lt;b&gt;Properties&lt;/b&gt; and click &lt;b&gt;Permissions&lt;/b&gt;&lt;/li&gt; 
  &lt;li class="indentfix"&gt;&lt;b&gt;Select Add bucket policy&lt;/b&gt;&lt;/li&gt; 
 &lt;/ul&gt;
 &lt;p&gt;Once the editor opens, paste the policy. Then click &lt;b&gt;Save. &lt;/b&gt;The editor provides a link to &lt;b&gt;Sample Bucket Policies.&lt;/b&gt;&lt;/p&gt;
 &lt;p&gt;In the second S3 bucket policy example, the bucket owner with full control permits all accounts, except one, to upload files. The bucket owner sets a certain condition that the one account must meet before granting the permission to upload files. The PutObject operation is used to add a file to a bucket.&lt;/p&gt;
 &lt;table border="1" cellspacing="0" cellpadding="3"&gt; 
  &lt;tbody&gt;
   &lt;tr&gt; 
    &lt;td width="665" valign="top"&gt; &lt;p&gt;&lt;code&gt;{&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;"Version":"2012-10-17",&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;"Statement":[&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp; {&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"Sid":"111",&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"Effect":"&lt;b&gt;Allow&lt;/b&gt;",&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"Principal":{&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"AWS":"&lt;b&gt;123456789&lt;/b&gt;"&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;},&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"Action":"&lt;b&gt;s3:PutObject&lt;/b&gt;",&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"Resource":"&lt;b&gt;arn:aws:s3:::bucket01&lt;/b&gt;/*"&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp; },&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp; {&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"Sid":"112",&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"Effect":"&lt;b&gt;Deny&lt;/b&gt;",&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"Principal":{&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "AWS":"&lt;b&gt;123456789&lt;/b&gt;"&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;},&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"Action":"&lt;b&gt;s3:PutObject&lt;/b&gt;",&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"Resource":"&lt;b&gt;arn:aws:s3:::bucket01/*&lt;/b&gt;",&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"Condition":{&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "StringNotEquals":{&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"&lt;b&gt;s3:x-amz-grant-full-control&lt;/b&gt;":[&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;b&gt;emailAddress=xyz@amazon.com&lt;/b&gt;"&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;]&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp; }&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;]&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;}&lt;/code&gt;&lt;/p&gt; &lt;/td&gt; 
   &lt;/tr&gt; 
  &lt;/tbody&gt;
 &lt;/table&gt;
 &lt;p&gt;This script starts off with the first statement allowing account 123456789 to upload a file in bucket01 only if the condition is not satisfied in the second statement. If account 123456789 does not email the bucket owner granting him the full control, then uploading the files is denied.&lt;/p&gt;
 &lt;p&gt;In conclusion, you need a bucket policy to grant or deny accounts to read and upload files in your bucket. Amazon provides a reference on operations on &lt;a href="http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketOps.html" target="_blank"&gt;buckets&lt;/a&gt; and &lt;a href="http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectOps.html" target="_blank"&gt;objects&lt;/a&gt;.&lt;/p&gt;
&lt;/section&gt;</body>
            <description>In this AWS Management Console series, learn five ways to create an S3 bucket policy.</description>
            <image>https://cdn.ttgtmedia.com/visuals/digdeeper/4.jpg</image>
            <link>https://www.techtarget.com/searchaws/tip/AWS-Management-Console-Five-steps-to-create-an-S3-bucket-policy</link>
            <pubDate>Fri, 18 Apr 2014 09:26:58 GMT</pubDate>
            <title>AWS Management Console: Five steps to create an S3 bucket policy</title>
        </item>
        <item>
            <body>&lt;p&gt;Simple Storage Service (S3) browser is a client interface for AWS developers using &lt;a href="https://www.techtarget.com/iotagenda/definition/Internet-of-Things-IoT"&gt;Amazon S3 service&lt;/a&gt;. Its user-friendly &lt;a href="https://www.techtarget.com/whatis/definition/GUI"&gt;GUI&lt;/a&gt; aids them in managing buckets of files of any size. The browser can be used as an interface for &lt;a href="https://www.techtarget.com/searchaws/answer/Whats-the-difference-between-Amazon-S3-and-Amazon-CloudFront"&gt;Amazon CloudFront&lt;/a&gt;.&lt;/p&gt; 
&lt;p&gt;In a previous tip, I showed you how to create a bucket policy for a bucket that you own. If you are the owner of many buckets, you may wish to edit the original bucket policy for each bucket.&lt;/p&gt; 
&lt;p&gt;To make life easier when editing the policies, meet &lt;a href="https://www.techtarget.com/searchaws/tip/Process-large-data-sets-quickly-with-Amazon-Elastic-MapReduce"&gt;S3&lt;/a&gt; Browser with its friendly GUI. If this is the first time you're using this browser after you &lt;a href="http://s3browser.com/download.php" target="_blank"&gt;download&lt;/a&gt; it, you must create a new account.&lt;/p&gt; 
&lt;p&gt;You will be prompted for&lt;/p&gt; 
&lt;ul type="disc" class="default-list"&gt; 
 &lt;li class="indentfix"&gt;Account name&lt;/li&gt; 
 &lt;li class="indentfix"&gt;Access Key ID&lt;/li&gt; 
 &lt;li class="indentfix"&gt;Secret Access Key&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;The browser will give you the URL address where you can pick up your access keys that &lt;a href="http://amazon.com"&gt;Amazon&lt;/a&gt; generates for you. Put them in a safe place.&lt;/p&gt; 
&lt;p&gt;You have the option to encrypt access keys with a password that you will need to get in the S3 Browser. When you're done, the browser icon will be placed on your home screen.&lt;/p&gt; 
&lt;p&gt;If you already have created a bucket policy for a bucket, you may choose to copy and edit it for another bucket. Here are the steps you should take:&lt;/p&gt; 
&lt;p&gt;To get to a policy you want to copy:&lt;/p&gt; 
&lt;ul type="disc" class="default-list"&gt; 
 &lt;li class="indentfix"&gt;Highlight a bucket&lt;/li&gt; 
 &lt;li class="indentfix"&gt;Click &lt;b&gt;Edit Bucket Policies&lt;/b&gt; under the &lt;b&gt;Buckets&lt;/b&gt; Tab&lt;/li&gt; 
 &lt;li class="indentfix"&gt;Copy the policy in the editor&lt;/li&gt; 
 &lt;li class="indentfix"&gt;Click &lt;b&gt;Apply bucket policies&lt;/b&gt;&lt;/li&gt; 
 &lt;li class="indentfix"&gt;Close the editor&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;To edit the copied policy:&lt;/p&gt; 
&lt;ul type="disc" class="default-list"&gt; 
 &lt;li class="indentfix"&gt;Highlight the other bucket&lt;/li&gt; 
 &lt;li class="indentfix"&gt;Click &lt;b&gt;Edit Bucket Policies &lt;/b&gt;&lt;/li&gt; 
 &lt;li class="indentfix"&gt;Paste and make changes to the policy in the editor&lt;/li&gt; 
 &lt;li class="indentfix"&gt;Click &lt;b&gt;Apply bucket policies&lt;/b&gt;&lt;/li&gt; 
 &lt;li class="indentfix"&gt;Close the editor&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;You should test the bucket policy to make sure it works as you intended.&lt;/p&gt; 
&lt;p&gt;Another useful tool is the &lt;b&gt;Bucket Sharing Wizard. &lt;/b&gt;You first create a new user and grant him permissions to your buckets and files. You click the button to take you to the next window.&lt;/p&gt; 
&lt;p&gt;Amazon generates &lt;b&gt;Access Key Id &lt;/b&gt;and &lt;b&gt;Secret Access Key. &lt;/b&gt;Click the button to copy the keys for that user (note: The free version of S3 Browser doesn't provide this option).&lt;/p&gt; 
&lt;p&gt;To edit the policy, click &lt;b&gt;Identity&lt;/b&gt; &lt;b&gt;Access Management (IAM)&lt;/b&gt; under &lt;b&gt;Tools&lt;/b&gt;, then on the desired user in the left panel. The policy appears in the right panel.&lt;/p&gt; 
&lt;p&gt;Amazon CloudFront is a good choice for distribution of frequently accessed static content like popular website images, videos, media files or software downloads.&lt;/p&gt; 
&lt;p&gt;If this is the first time you're creating a CloudFront distribution, go to &lt;b&gt;CloudFront&lt;/b&gt; in the &lt;b&gt;Bucket&lt;/b&gt; tab. Choose a delivery method:&lt;/p&gt; 
&lt;ul type="disc" class="default-list"&gt; 
 &lt;li class="indentfix"&gt;Download&lt;/li&gt; 
 &lt;li class="indentfix"&gt;Streaming&lt;/li&gt; 
 &lt;li class="indentfix"&gt;Live HTTP with Flash Media Server&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;You can enable logging of your distributions.&lt;/p&gt; 
&lt;p&gt;To edit, view, delete and create CloudFront distributions, choose &lt;b&gt;CloudFront Manager&lt;/b&gt; under &lt;b&gt;Tools&lt;/b&gt;.&lt;/p&gt; 
&lt;p&gt;The S3 Browser can process very large amounts of files up to 5 TB. If the upload gets interrupted, you can resume uploading. To find out whether the uploading has been completed or not, go to &lt;b&gt;Tools&lt;/b&gt;, and then choose &lt;b&gt;Uncompleted Multipart Uploads.&lt;/b&gt;&lt;/p&gt; 
&lt;p&gt;To ensure the files are not corrupted during downloading or uploading, check the data integrity of these files by following these steps:&lt;/p&gt; 
&lt;ul type="disc" class="default-list"&gt; 
 &lt;li class="indentfix"&gt;Go to &lt;b&gt;Options&lt;/b&gt; under &lt;b&gt;Tools&lt;/b&gt;&lt;/li&gt; 
 &lt;li class="indentfix"&gt;Choose &lt;b&gt;Data Integrity&lt;/b&gt;&lt;/li&gt; 
 &lt;li class="indentfix"&gt;Check off the boxes to perform data integrity&lt;/li&gt; 
 &lt;li class="indentfix"&gt;Choose the &lt;b&gt;Strict&lt;/b&gt; mode, which treats the files as missing or invalid &lt;a href="https://www.techtarget.com/searchcontentmanagement/tip/Consider-these-electronic-signature-best-practices"&gt;MD5 hashes&lt;/a&gt; (Message-Digest algorithm 5)&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;The above features are available in the free version of S3 Browser. Developers who want to run the application in commercial, business, government or military institutions must purchase a Pro version license.&lt;/p&gt; 
&lt;p&gt;You can get one lifetime license for installing S3 Browser on a single machine for $29.95. You can transfer the license if you change your PC. The license is lifetime and includes one year of free upgrades and support. Amazon offers volume discount pricing.&lt;/p&gt; 
&lt;p&gt;S3 Browser Pro allows you to upload and download multiple files at the same time. All files larger than 5 Mb can be uploaded via multiple parts in parallel. The free version allows up to two concurrent uploads and downloads.&lt;/p&gt; 
&lt;p&gt;To adjust the number of concurrent uploads and downloads, try this:&lt;/p&gt; 
&lt;ul type="disc" class="default-list"&gt; 
 &lt;li class="indentfix"&gt;Go to &lt;b&gt;Options&lt;/b&gt; under &lt;b&gt;Tools&lt;/b&gt;&lt;/li&gt; 
 &lt;li class="indentfix"&gt;Click &lt;b&gt;Queueing&lt;/b&gt; tab&lt;/li&gt; 
 &lt;li class="indentfix"&gt;Configure maximum number of concurrent uploads and downloads&lt;/li&gt; 
 &lt;li class="indentfix"&gt;Click&lt;b&gt; OK&lt;/b&gt;&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;In conclusion, you've met S3 Browser. Get the Pro version to get the full benefits of the tools and options it offers developers.&lt;/p&gt;</body>
            <description>Learn how to use the SS3 Browser and how to benefit from it.</description>
            <image>https://cdn.ttgtmedia.com/visuals/digdeeper/3.jpg</image>
            <link>https://www.techtarget.com/searchaws/tip/S3-Browser-Amazons-adaptable-data-storage-interface</link>
            <pubDate>Wed, 16 Apr 2014 14:07:41 GMT</pubDate>
            <title>S3 Browser: Amazon's adaptable data storage interface</title>
        </item>
        <item>
            <body>&lt;p&gt;The future of the cloud is likely to be based on adding hosted services, accessible through RESTful, Web-friendly application programming interfaces, to provide special enhancements to solve enterprise and developer problems. Amazon's caching, Database Management &lt;a href="https://www.techtarget.com/searchcloudcomputing/definition/Software-as-a-Service"&gt;Software as a Service&lt;/a&gt; and virtual desktop services are all examples of this trend, which allows developers to deploy machine images that are more than simple &lt;a href="https://www.techtarget.com/searchcloudcomputing/definition/Infrastructure-as-a-Service-IaaS"&gt;Infrastructure as a Service&lt;/a&gt; (IaaS) but instead are integrated with special cloud-based features.&lt;/p&gt; 
&lt;p&gt;AppStream and Kinesis are two more such services, and these two are aimed at making the cloud into something totally different -- something that can support enormous data streams and challenging &lt;a href="https://www.techtarget.com/whatis/definition/GUI"&gt;graphical user interface&lt;/a&gt;&amp;nbsp; presentation applications. Separately, AppStream and Kinesis are significant, but together they could be compelling. Combined with the other &lt;a href="https://www.techtarget.com/searchaws/definition/Amazon-Web-Services"&gt;Amazon Web Services&lt;/a&gt; (AWS) evolutions, they could be game changing.&lt;/p&gt; 
&lt;p&gt;Data generated online isn't the only form of &lt;a href="https://www.techtarget.com/searchdatamanagement/definition/big-data"&gt;big data&lt;/a&gt;, but it's a form that has special significance because the sources are distributed and the volume is potentially enormous because of the sheer number of sources. In many applications, developers are forced to create massive aggregation networks to collect data and elastic processing frameworks to process it while adjusting to variations in the data volumes, and to make that whole structure low-delay and high-availability at the same time. That's a tall order, given that any given company may have only one data-flow-intensive application.&lt;/p&gt; 
&lt;p&gt;What Amazon is doing with Kinesis is creating a Web service that can marshal elastic resources to deal with distributed or single-stream high-volume data flows. The &lt;a href="https://twitter.com/" target="_blank" rel="noopener"&gt;Twitter&lt;/a&gt; example is often given, but it may diminish the utility of Kinesis in the eyes of the corporate user. Nearly any financial trading application; much large-scale transaction processing; and in particular, machine-to-machine and Internet of Things traffic fit this data flow model.&lt;/p&gt; 
&lt;blockquote class="main-article-pullquote"&gt;
 &lt;div class="main-article-pullquote-inner"&gt;
  &lt;figure&gt;
   What Amazon is doing with Kinesis is creating a Web service that can marshal elastic resources to deal with distributed or single-stream high-volume data flows.
  &lt;/figure&gt;
  &lt;i class="icon" data-icon="z"&gt;&lt;/i&gt;
 &lt;/div&gt;
&lt;/blockquote&gt; 
&lt;p&gt;Kinesis lets developers define any number of source points and then associate them with processes hosted in an elastic way in Amazon's cloud. The linkage between source points and host processes is a &lt;i&gt;stream&lt;/i&gt;, and a stream can be defined to include any number of source points and associate with any number of processes. Normally the streams would replicate across Amazon's availability zones for high reliability. The result is an architecture for developing data-flow-critical applications that would likely be totally impractical on anything but a public cloud platform. Kinesis thus takes buyers and Amazon out of the move-to-the-cloud model and into a model that builds for the cloud.&lt;/p&gt; 
&lt;p&gt;Obviously Kinesis isn't a light-hearted financial commitment for buyers, but is designed for applications that demand exceptional data handling performance and high elasticity. Compared with private dedicated infrastructure, Kinesis could be a bargain, especially when the data volumes are highly variable. There are even applications using Kinesis as the framework for delivering back-end transactions from a Web store or set of Web applications to transaction processing systems. As Kinesis evolves, it's likely to be available in simpler forms with lower cost and even wider applications. One of the powerful truths about the public cloud is that it can make very efficient use of resources even when individual application and user commitments are small. When Amazon is ready, Kinesis could be a mass market tool.&lt;/p&gt; 
&lt;p&gt;Amazon's second extension, AppStream, appears to be a productization of the content-rendering Amazon uses for its Kindle interfaces. One of the challenges of nearly all gaming applications and many video production and even graphic simulation and display applications is that they rely on a high-performance graphics-processing unit for execution. This kind of technology isn't found on most business laptops, much less on tablets or smartphones. AppStream creates a proxy in the cloud between the application and the device, and this proxy renders the graphics as a &lt;a href="https://www.techtarget.com/searchvirtualdesktop/definition/GPU-graphics-processing-unit"&gt;graphics processing unit&lt;/a&gt; (GPU) would, and translates the result into a simple display stream that can be handled by nearly any modern computer, tablet or smartphone.&lt;/p&gt; 
&lt;p&gt;The obvious virtue of AppStream is its ability to allow graphics-intensive applications to be run from devices without the special GPU tools. This can be critical to gaming, of course, but this example may again trivialize the concept in the minds of the enterprise, which may be in fact the biggest customer. In healthcare, the financial industry, industrial engineering and design, and other applications that involve graphic rendering of data or graphic depiction of circuits or structures, AppStream can open the world of tablets and smartphones to graphic applications.&lt;/p&gt; 
&lt;p&gt;A second benefit of AppStream is that it's possible to deliver the data to a client browser or app that runs on multiple platforms without changing the underlying application. While Amazon's material isn't making the connection obvious, it seems likely that AppStream could be combined with the Amazon WorkSpaces virtual desktop for corporate use, and even be used in conjunction with both Workspaces and Kinesis to visualize large and complex data flows. The value of this combination in industries like healthcare and financial trading should be obvious.&lt;/p&gt; 
&lt;p&gt;That, perhaps, is the real story with Kinesis and AppStream. Amazon is working hard to build a community of software services deployed in the cloud and available to users and developers to build their own applications. This is making Amazon into more than a cloud; it's creating a distributed software operating system that developers can write for. Over time, this will not only encourage more Amazon partners in their network, it will make Amazon a unique platform for cloud-based applications, not just another IaaS player. That certainly appears to be Amazon's long-term plan.&lt;/p&gt;</body>
            <description>Learn why AppStream and Kinesis are different kinds of data flow services.</description>
            <image>https://cdn.ttgtmedia.com/visuals/digdeeper/5.jpg</image>
            <link>https://www.techtarget.com/searchaws/tip/Amazons-data-flow-PaaS-AppStream-and-Kinesis</link>
            <pubDate>Mon, 27 Jan 2014 10:19:00 GMT</pubDate>
            <title>Amazon's data flow PaaS: AppStream and Kinesis</title>
        </item>
        <item>
            <body>&lt;p&gt;&lt;b&gt;Amazon recently launched &lt;/b&gt;&lt;b&gt;Amazon Kinesis&lt;/b&gt;&lt;b&gt;, a managed service for rapid processing of large amounts of data. Do you have any thoughts about the significance of this service and where it might be most useful?&lt;/b&gt;&lt;/p&gt; 
&lt;p&gt;Amazon Kinesis is a pipeline for processing data streams in near-real time. It's similar to &lt;a href="http://incubator.apache.org/projects/storm.html" target="_blank" rel="noopener"&gt;Apache Storm&lt;/a&gt;, but it's hosted and scaled entirely by &lt;a href="https://www.techtarget.com/searchaws/definition/Amazon-Web-Services"&gt;Amazon Web Services&lt;/a&gt;.&lt;/p&gt; 
&lt;p&gt;&lt;a href="https://www.techtarget.com/searchcloudcomputing/tip/Amazon-Kinesis-benefits-and-alternatives"&gt;Kinesis offers&lt;/a&gt; a complete solution for processing data in near real time (within 10 seconds). Kinesis doesn't really offer any new concepts, but the managed version can serve as a complete suite for specific use cases.&lt;/p&gt; 
&lt;p&gt;Some examples include:&lt;/p&gt; 
&lt;ul type="disc" class="default-list"&gt; 
 &lt;li class="indentfix"&gt;Processing log data in real time (to find possible errors and alert IT staff when problems occur)&lt;/li&gt; 
 &lt;li class="indentfix"&gt;Receiving real-time analysis of application usage&lt;/li&gt; 
 &lt;li class="indentfix"&gt;Setting up real-time alerts for notification when someone mentions a particular company on Twitter, Facebook or Google+&lt;/li&gt; 
 &lt;li class="indentfix"&gt;Monitoring real-time news sources for content using specific keywords, then delivering that content to a mobile device&lt;/li&gt; 
&lt;/ul&gt; 
&lt;blockquote class="main-article-pullquote"&gt;
 &lt;div class="main-article-pullquote-inner"&gt;
  &lt;figure&gt;
   The real advantage of Amazon Kinesis is that it makes it easier to build new services from scratch.
  &lt;/figure&gt;
  &lt;i class="icon" data-icon="z"&gt;&lt;/i&gt;
 &lt;/div&gt;
&lt;/blockquote&gt; 
&lt;p&gt;The type of processing that Kinesis does is identical to processing that can be done with other Amazon services. You can already use Amazon's &lt;a href="https://www.techtarget.com/searchaws/feature/Amazon-Web-Services-product-directory"&gt;Simple Queue Service&lt;/a&gt;, Simple Notification Service and &lt;a href="https://www.techtarget.com/searchcloudcomputing/definition/autoscaling"&gt;autoscaling&lt;/a&gt; capability to process real-time streams of data (in fact, at my company, Newstex, this is exactly what we do). The real advantage of Amazon Kinesis is that it makes it easier to build new services from scratch, providing a completely managed service for the entire process.&lt;/p&gt; 
&lt;p&gt;Ultimately, Amazon Kinesis will be most useful for addressing big-data problems, such as:&lt;/p&gt; 
&lt;ul type="disc" class="default-list"&gt; 
 &lt;li class="indentfix"&gt;Processing log data&lt;/li&gt; 
 &lt;li class="indentfix"&gt;Processing social media streams for specific terms or key phrases&lt;/li&gt; 
 &lt;li class="indentfix"&gt;Identifying trends in stock prices&lt;/li&gt; 
 &lt;li class="indentfix"&gt;Analyzing real-time sales statistics&lt;/li&gt; 
&lt;/ul&gt; 
&lt;p&gt;Even if you don't have a large amount of data to process, this type of architecture helps with fault tolerance, as well as scaling. So, there are many reasons to use Amazon Kinesis or something similar if you're worried about real-time processing of any stream of data.&lt;/p&gt;</body>
            <description>In this expert answer, Chris Moyer offers advice on using Amazon Kinesis for near-real-time processing of streaming big data.</description>
            <image>https://cdn.ttgtmedia.com/visuals/digdeeper/4.jpg</image>
            <link>https://www.techtarget.com/searchaws/answer/Amazon-Kinesis-When-to-use-Amazons-new-big-data-processing-service</link>
            <pubDate>Mon, 06 Jan 2014 13:59:00 GMT</pubDate>
            <title>Amazon Kinesis: When to use Amazon's new big-data processing service</title>
        </item>
        <item>
            <body>&lt;p&gt;One of the leading announcements at the 2013 Amazon Web Services (AWS) re:Invent conference was the launch of Amazon AppStream, a service that lets developers build sophisticated applications that users can stream from the cloud. Initially available for limited preview, this technology promises to override device limitations such as processing power and memory storage.&lt;/p&gt; 
&lt;p&gt;In announcing AppStream, Andy Jassy, Amazon senior vice president of AWS, said AppStream applications would seem to come directly from end-user devices. The quality of cloud streaming, he said, was that good.&lt;/p&gt; 
&lt;p&gt;Following are a few answers to frequently asked questions about &lt;a href="http://aws.amazon.com/appstream/" target="_blank" rel="noopener"&gt;Amazon AppStream&lt;/a&gt; to help IT teams decide whether the new service meets their needs.&lt;/p&gt; 
&lt;section class="section main-article-chapter" data-menu-title="How does Amazon AppStream work?"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;&lt;b&gt;How does Amazon AppStream work?&lt;/b&gt;&lt;/h2&gt;
 &lt;blockquote class="pullquote alignRight"&gt; 
  &lt;div&gt; 
   &lt;div&gt; 
    &lt;div&gt;
     &lt;span class="pullquoteContent"&gt;Amazon AppStream's primary benefit is its ability to stream resource-intensive apps to mass-market devices.&lt;/span&gt;
    &lt;/div&gt; 
   &lt;/div&gt; 
  &lt;/div&gt; 
 &lt;/blockquote&gt;
 &lt;p&gt;AppStream allows AWS developers to stream high-powered, resource-demanding applications from the cloud, giving end users access to complex apps such as three-dimensional games and high-definition content on a wide variety of devices.&lt;/p&gt;
 &lt;p&gt;Developers have the option to stream whole applications or just the fragments that demand more computing power. That capability makes it possible to write all or portions of the code, and to make in-the-moment changes to the software.&lt;/p&gt;
&lt;/section&gt;    
&lt;section class="section main-article-chapter" data-menu-title="What is the Amazon AppStream STX Protocol?"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;&lt;b&gt;What is the Amazon AppStream STX Protocol?&lt;/b&gt;&lt;/h2&gt;
 &lt;p&gt;It is a proprietary protocol used to stream application audio and video over a variety of network conditions. It also sends user input over &lt;a href="https://www.techtarget.com/searchnetworking/definition/TCP"&gt;TCP&lt;/a&gt; back to the app. Network conditions are measured throughout and the data is sent back to the server so the streaming video and audio can be altered accordingly.&lt;/p&gt;
&lt;/section&gt;  
&lt;section class="section main-article-chapter" data-menu-title="What applications are best suited to Amazon AppStream?"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;&lt;b&gt;What applications are best suited to Amazon AppStream?&lt;/b&gt;&lt;/h2&gt;
 &lt;p&gt;The service is designed for applications that demand a lot of computing power or storage space. For that reason, it's best suited for apps that are too heavy to run natively. That category includes games, interactive videos, photo-editing programs and 3D-rendering applications. It's also possible to host a portion of these apps natively and to stream the rest from the cloud. That said, applications that don't respond well to latency wouldn't be well-suited to streaming, which always involves wait time to load.&lt;/p&gt;
&lt;/section&gt;  
&lt;section class="section main-article-chapter" data-menu-title="What are the benefits of Amazon AppStream?"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;&lt;b&gt;What are the benefits of Amazon AppStream?&lt;/b&gt;&lt;/h2&gt;
 &lt;p&gt;The primary benefit is the service's ability to stream resource-intensive apps to mass-market devices. This capability resolves developers' ongoing struggle to build apps for a wide variety of hardware and all its inherent limitations. Ultimately, this saves the time and expense associated with coding for different devices.&lt;/p&gt;
 &lt;p&gt;AppStream also simplifies updates, which no longer require any user initiation. Developers have only to provide a new version of the app to AppStream and the software will automatically update on the device. Also, because the data streams directly from the cloud, users will be spared time-consuming downloads and installations. In terms of security, AppStream apps are stored in AWS data centers and, for that reason, aren't subject to the same vulnerabilities as native apps (for example, reverse engineering and theft).&lt;/p&gt;
&lt;/section&gt;   
&lt;section class="section main-article-chapter" data-menu-title="Are there any possible drawbacks to Amazon AppStream?"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;&lt;b&gt;Are there any possible drawbacks to Amazon AppStream?&lt;/b&gt;&lt;/h2&gt;
 &lt;p&gt;Latency is always a factor where streaming is concerned and it will take the AppStream application some time to react to user commands. Amazon claims to have optimized the capture and encoding process in order to minimize latency as much as possible, but variable network conditions will sometimes cause a lag in response time when apps run over the Internet.&amp;nbsp; That also means AppStream apps won't be able to run offline. &amp;nbsp;A workaround would be to run part of the application natively.&lt;/p&gt;
&lt;/section&gt;  
&lt;section class="section main-article-chapter" data-menu-title="How does Amazon AppStream pricing work?"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;&lt;b&gt;How does Amazon AppStream pricing work?&lt;/b&gt;&lt;/h2&gt;
 &lt;p&gt;During the limited preview, the service is free and you can run up to 10 simultaneous streams. When AppStream is commercially available, Amazon will collect a fee for every hour a customer streams content.&lt;/p&gt;
&lt;/section&gt;  
&lt;section class="section main-article-chapter" data-menu-title="How can companies get started with Amazon AppStream?"&gt;
 &lt;h2 class="section-title"&gt;&lt;i class="icon" data-icon="1"&gt;&lt;/i&gt;&lt;b&gt;How can companies get started with Amazon AppStream?&lt;/b&gt;&lt;/h2&gt;
 &lt;p&gt;At this writing, &lt;a href="http://aws.amazon.com/appstream/limited-preview/" target="_blank" rel="noopener"&gt;developers can request access&lt;/a&gt; for the limited preview of AppStream. Amazon said that, as space becomes available, it will fulfill requests with instructions on accessing the limited preview.&lt;/p&gt;
&lt;/section&gt;</body>
            <description>In this feature, contributor Caroline de Lacvivier answers frequently asked questions about Amazon Web Services' new developer tool, Amazon AppStream.</description>
            <image>https://cdn.ttgtmedia.com/visuals/digdeeper/4.jpg</image>
            <link>https://www.techtarget.com/searchaws/feature/Learn-about-using-Amazon-AppStream-to-stream-resource-gobbling-apps</link>
            <pubDate>Mon, 06 Jan 2014 10:44:00 GMT</pubDate>
            <title>Learn about using Amazon AppStream to stream resource-gobbling apps</title>
        </item>
        <item>
            <body>&lt;p&gt;At the 2013 Amazon Web Services re: Invent conference, Amazon announced the launch of Amazon Kinesis, its service for real-time big data processing. Just recently, the technology has become broadly available for use.&lt;/p&gt; 
&lt;p&gt;Terry Hanold, &lt;a href="https://www.techtarget.com/searchaws/definition/Amazon-Web-Services"&gt;AWS&lt;/a&gt; vice president of new business initiatives, called the product a response to a shortcoming in &lt;a href="https://www.techtarget.com/searchdatamanagement/definition/Hadoop"&gt;Hadoop&lt;/a&gt; and other technologies that process data in batches. While those technologies are capable of handling large quantities of data, Amazon says, they don't enable real-time, ongoing decision making on &lt;a href="https://www.techtarget.com/searchnetworking/definition/data-streaming"&gt;data that's constantly streaming&lt;/a&gt;. Amazon Kinesis will provide such service on AWS' standard pay-as-you-go basis.&lt;/p&gt; 
&lt;p&gt;Following are answers to frequently asked questions about &lt;a href="https://www.techtarget.com/searchcloudcomputing/tip/Amazon-Kinesis-benefits-and-alternatives"&gt;Amazon Kinesis&lt;/a&gt; to help you decide if it's a fit for your goals.&lt;/p&gt; 
&lt;p&gt;&lt;b&gt;What is Amazon Kinesis?&lt;/b&gt;&lt;/p&gt; 
&lt;p&gt;Amazon Kinesis is a managed service for real-time processing of streaming data on a large scale. It helps build applications that respond quickly to changes in a data stream.&lt;/p&gt; 
&lt;blockquote class="main-article-pullquote"&gt;
 &lt;div class="main-article-pullquote-inner"&gt;
  &lt;figure&gt;
   Kinesis applications allow users to make in-the-moment operational decisions.
  &lt;/figure&gt;
  &lt;i class="icon" data-icon="z"&gt;&lt;/i&gt;
 &lt;/div&gt;
&lt;/blockquote&gt; 
&lt;p&gt;&lt;b&gt;How can Amazon Kinesis be used?&lt;/b&gt;&lt;/p&gt; 
&lt;p&gt;Kinesis is ultimately meant to simplify the process of building apps that operate on real-time data. According to Amazon, it's capable of collecting and processing hundreds of &lt;a href="https://www.techtarget.com/searchstorage/definition/terabyte"&gt;terabytes&lt;/a&gt; per hour from hundreds of thousands of sources. In other words, it helps manage information that streams in constantly and at high volume. That category can include anything from operating logs to financial transactions, from social media feeds to clickstreams.&lt;/p&gt; 
&lt;p&gt;Kinesis applications allow users to make in-the-moment operational decisions, such as building real-time dashboards; generating alerts; and sending data to other big data services, such as Amazon Redshift or &lt;a href="https://www.techtarget.com/searchaws/definition/Amazon-Dynamo-Database-DDB"&gt;Amazon Dynamo Database&lt;/a&gt; (DynamoDB). Because the streamed data is stored in several AWS availability zones for 24 hours, users have a window of time in which to read and analyze the data, as well as move it into long-term storage.&lt;/p&gt; 
&lt;p&gt;&lt;b&gt;Who should be using Amazon Kinesis?&lt;/b&gt;&lt;/p&gt; 
&lt;p&gt;Generally speaking, the service is intended for developers building real-time applications, particularly those dealing with large volumes of data. James Staten, a Forrester Research analyst, has said that Kinesis would be particularly useful for companies such as Autodesk Inc., which is looking to bring computer-aided design (CAD) apps and three-dimensional rendering tools to the cloud. Amazon also specified the types of data that might be in an Amazon Kinesis use case: IT infrastructure log data, social media, game development, Web clickstream data, application logos and market data feeds.&lt;/p&gt; 
&lt;p&gt;&lt;b&gt;What benefits does Amazon Kinesis offer?&lt;/b&gt;&lt;/p&gt; 
&lt;p&gt;Amazon Kinesis integrates with Redshift, Dynamo DB and &lt;a href="https://www.techtarget.com/searchaws/definition/Amazon-Simple-Storage-Service-Amazon-S3"&gt;Amazon Simple Storage Service&lt;/a&gt;, or (S3, as well as third-party products, a perk for developers who don't want to abandon their personal data-processing methods. As to security, Kinesis authenticates users through cryptographic methods that prevent unauthorized parties from accessing data.&lt;/p&gt; 
&lt;p&gt;&lt;b&gt;What's the pricing model for Amazon Kinesis?&lt;/b&gt;&lt;/p&gt; 
&lt;p&gt;Like other AWS services, Kinesis is priced on a pay-as-you-go basis. Users are billed based on the amount of data processed and the way in which it's packaged. For further information, the &lt;a href="http://aws.amazon.com/kinesis/pricing/" target="_blank" rel="noopener"&gt;Amazon Kinesis webpage&lt;/a&gt; goes more in-depth.&lt;/p&gt; 
&lt;p&gt;&lt;b&gt;How do I get started?&lt;/b&gt;&lt;/p&gt; 
&lt;p&gt;You can generate an Amazon Kinesis stream in one of two ways: You can go through the AWS Management Console or you can make an API request. Unsure how? Amazon will &lt;a href="http://aws.amazon.com/kinesis" target="_blank" rel="noopener"&gt;walk you through it&lt;/a&gt;.&lt;/p&gt;</body>
            <description>Amazon Kinesis was launched at the 2013 AWS conference. Here are some answers to frequently asked questions to help you decide if it's right for you.</description>
            <image>https://cdn.ttgtmedia.com/visuals/digdeeper/4.jpg</image>
            <link>https://www.techtarget.com/searchaws/feature/FAQ-AWS-takes-on-real-time-processing-with-Amazon-Kinesis</link>
            <pubDate>Fri, 20 Dec 2013 10:27:00 GMT</pubDate>
            <title>FAQ: AWS takes on real-time processing with Amazon Kinesis</title>
        </item>
        <title>Search AWS Resources and Information from TechTarget</title>
        <ttl>60</ttl>
        <webMaster>webmaster@techtarget.com</webMaster>
    </channel>
</rss>
