<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Vijayalakshmi Bakthavachalam on Medium]]></title>
        <description><![CDATA[Stories by Vijayalakshmi Bakthavachalam on Medium]]></description>
        <link>https://medium.com/@vijieng12?source=rss-4c789d7b11b1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*gBCrSr4bbC57A1u1zMFq7g.jpeg</url>
            <title>Stories by Vijayalakshmi Bakthavachalam on Medium</title>
            <link>https://medium.com/@vijieng12?source=rss-4c789d7b11b1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 19:46:37 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vijieng12/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Terraform Unleashed: A Month-Long Adventure into IaC]]></title>
            <link>https://medium.com/@vijieng12/terraform-unleashed-a-month-long-adventure-into-iac-83aa85a6fd01?source=rss-4c789d7b11b1------2</link>
            <guid isPermaLink="false">https://medium.com/p/83aa85a6fd01</guid>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Vijayalakshmi Bakthavachalam]]></dc:creator>
            <pubDate>Thu, 05 Dec 2024 08:58:25 GMT</pubDate>
            <atom:updated>2024-12-05T08:58:25.494Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mdtJXNYhZdtotChx_riYRA.jpeg" /></figure><p>Infrastructure as Code is revolutionizing the infrastructure set up and playing a pivotal role in the software development lifecycle. Keeping it simple, Infrastructure as Code tools help in provisioning servers, loadbalancers, firewalls and almost all services using code/programmatically.</p><h4>Benefits of Infrastructure as Code</h4><p><em>Self — Service :</em> It provides the flexibility of the infrastructure as the deployment is maintained programmatically and helps prevent single point of failures</p><p><em>Speed and Safety: </em>Consistency of the deployments can be assured and helps speed the process</p><p><em>Version Control: </em>The IaC configuration files could be version controlled and maintained.</p><p><em>Validation: </em>As the code could be version controlled , a provision for peer review is in place and the changes could be validated by another pair of eyes.</p><p><em>Reusability: </em>The code for provisioning could be reused minimizing effort duplication.</p><p>This series of articles will focus on <strong>Terraform.</strong></p><p><strong>Terraform </strong>is a open source tool from HashiCorp developed in Go language. It is a single binary file. Under the hood , Terraform Binary makes API calls to the cloud providers to provision resources based on the Terraform Configuration files. Terraform uses HashiCorp Configuration Language(HCL) Domain Specific Language to get the configurations.</p><p>Stay tuned and join the journey of terraforming :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=83aa85a6fd01" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AIOPs in the Cloud: Navigating AWS with CloudWatch Anomaly Detection and DevOps Guru]]></title>
            <link>https://medium.com/@vijieng12/aiops-in-the-cloud-navigating-aws-with-cloudwatch-anomaly-detection-and-devops-guru-a856284f4b46?source=rss-4c789d7b11b1------2</link>
            <guid isPermaLink="false">https://medium.com/p/a856284f4b46</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Vijayalakshmi Bakthavachalam]]></dc:creator>
            <pubDate>Tue, 31 Oct 2023 10:46:41 GMT</pubDate>
            <atom:updated>2023-10-31T10:46:41.796Z</atom:updated>
            <content:encoded><![CDATA[<p>Artificial intelligence for IT operations (AIOps) is a process where artificial intelligence (AI) techniques are being used to maintain IT infrastructure.</p><p>Critical operational tasks like performance monitoring, workload scheduling, and data backups are being automated in AIOps. It utilizes modern ML Technologies, NLP to improve operational efficiency by aggregating data from multiple sources.</p><p>AIOps involves harnessing AI in our operations to take action before issues arise and optimizing monitoring based on patterns, eliminating the need for manual interventions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6Ew4lr4Yt0uVACe-rxoCWg.png" /><figcaption>Traditional Architecture of Observability</figcaption></figure><p><strong>Challenges with Traditional Architecture Observability:</strong></p><ol><li>The need for periodic review and potential modification of monitor baselines based on application consumption.</li><li>Lack of proactive notifications when issues are suspected.</li><li>Absence of automatic recommendations for issue resolution.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ft7EXhL00BlFJQXPEZW2GQ.png" /><figcaption>AIOPS enabled Observability Architecture (Source: Google)</figcaption></figure><p><strong>Pros of AIOPS Enabled Observability Architecture:</strong></p><ol><li>Helps identify Anomalous behavior in application and cloud resources.</li><li>Dynamically generated dashboards to troubleshoot and remediate incidents.</li><li>Proactively detect anomalies before they start affecting application to prevent outages.</li></ol><p><strong>AIOPS on AWS</strong></p><p>The concept of applying machine learning to IT Operations can be referred as AIOPS.</p><p>In Alignment with the AWS Well-Architected Framework, machine learning can be applied to workload telemetry to identify anomalous behavior through event correlation and log analysis.</p><p>With AI, thresholds are implicitly set, so that when metrics like CPU utilization or latency deviate from their normal patterns or trends, operators can get notified. Not only does this reduce false positives, but it also helps reduce the time spent on resolving incidents.</p><p>In addition, AI provides the benefit of predictive anomaly detection to forecast issues before they happen.</p><p><strong>AIOPS Services on AWS:</strong></p><p>(i) AWS CloudWatch Anamoly Detection</p><p>(ii) AWS DevOps Guru</p><p>(iii) AWS X-Ray Insights</p><p><strong>AWS CloudWatch Anamoly Detection:</strong></p><p>If you are someone working with AWS, you would undoubtedly agree that CloudWatch logs are a great source to look for while analyzing issues.</p><p>Amazon CloudWatch is a</p><p>(i)Monitoring and management service that provides data and actionable insights for AWS, on-premises, hybrid, and other cloud applications and infrastructure resources.</p><p>(ii) Collect and access all the performance and operational data in the form of logs and metrics from a single platform rather than monitoring them in silos (server, network, or database).</p><p>CloudWatch enables to monitor complete stack (applications, infrastructure, network, and services) and use alarms, logs, and events data to take automated actions and reduce mean time to resolution (MTTR).</p><p>So, what is it that AWS Cloud watch Anamoly detection do and how it works?</p><p>AWS Cloud watch Anamoly detection applies the ML/statistical models to cloud watch metrics, calculates normal baselines and minimizes user intervention.</p><p>It can be enabled with a single click of the pulse button against the cloud watch metric.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/883/1*n0Yjmd9Qv3V1iPo3y1k53w.png" /><figcaption>Cloud Watch Anamoly Detection (Source: Google)</figcaption></figure><p><strong>Amazon DevOps Guru:</strong></p><p>Amazon DevOps Guru is a Machine learning Service that helps in identifying operational issues by detecting abnormal operating patterns.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FUxZjSi_oC0zVMH7vypRig.png" /><figcaption>Amazon DevOps Guru(Source:Google)</figcaption></figure><p>Some use case examples:</p><p>(i) Improve availability and performance of serverless applications</p><p>(ii) Reduce recovery time for Amazon RDS databases</p><p>(iii) Scale and maintain availability</p><p>(iv) Proactively identify resource limits</p><p><strong>AWS X-Ray Insights:</strong></p><p>X-Ray Insights empowers engineers to identify anomalies in an application’s fault rate and subsequently alert relevant teams about the issues and their underlying causes.</p><p>With X-Ray Insights, you can pinpoint the root cause of an issue, ascertain which other services may be impacted, and gain a comprehensive understanding of how the issue affects your end users.</p><p>The incident timeline within Insights provides valuable insights into when the issue first arose and how it evolved over time. Additionally, any updates made to an existing Insight, such as alterations in client request fault rates or impacted services, are documented as events and can be utilized for team notifications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xbPmred46Y6HVio1cCoHdw.png" /><figcaption>AWS X-ray Insights (Source: Google)</figcaption></figure><p>Embrace AIOPs to unlock the full potential of your cloud infrastructure and stay ahead of the curve. Enjoy learning about these transformative technologies and how they can empower your organization to thrive in the cloud era.</p><p>Happy learning!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a856284f4b46" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering AI Conversations: The Road to GenAI Excellence]]></title>
            <link>https://medium.com/@vijieng12/mastering-ai-conversations-the-road-to-genai-excellence-85365f32ab08?source=rss-4c789d7b11b1------2</link>
            <guid isPermaLink="false">https://medium.com/p/85365f32ab08</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[learning-and-development]]></category>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[learning]]></category>
            <dc:creator><![CDATA[Vijayalakshmi Bakthavachalam]]></dc:creator>
            <pubDate>Sun, 29 Oct 2023 17:33:44 GMT</pubDate>
            <atom:updated>2023-10-29T17:33:44.432Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/754/1*7C26fArcwV4S4BVpB4gY_A.png" /></figure><p>Have you ever had a conversation with Chat-GPT? It’s truly fascinating to witness how it carefully chooses its words and interprets our inputs to provide us with meaningful responses.</p><p>Before OpenAI introduced ChatGPT, the world of conversational AI, particularly chatbots on websites, and AI’s ability to understand and respond to human queries in Natural Language Processing wasn’t as advanced.</p><p>When we engage with ChatGPT, we pose questions, which are often referred to as “Prompts,” and in return, we receive its responses, known as “Completions.” But have you ever wondered about the magical intermediary that enables this seamless interaction? It’s the “model” that works its AI magic to bridge the gap between our questions and the insightful answers we receive.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DJbXVTVEIbB4lqT5NZQNMA.gif" /><figcaption>Concepts of Generative AI</figcaption></figure><p>Tweaking the prompts can significantly enhance the quality of AI-generated responses, and this is precisely what Prompt Engineering is all about. In straightforward terms, it means tailoring the question or prompt to obtain better outcomes.</p><p>Here are some effective prompt strategies that can be utilized based on your specific needs to ensure the model generates more accurate and insightful results:</p><p><strong>Zero-Shot Prompting</strong>: Let’s imagine a scenario where a group of young students, Viji, Swetha, and Lily, are gearing up for a science fair project.</p><p>Viji: “I’d like to conduct a plant experiment, but I’m uncertain about where to begin. Can you lend me some guidance, Swetha?”</p><p>With zero-shot prompting, Viji relies on Swetha’s existing knowledge to provide direction.</p><p>Swetha: “Certainly, we can explore how varying levels of sunlight impact plant growth. Your bedroom windows can be an excellent testing ground for this.”</p><p><strong>The outcome</strong>: Zero-shot prompting leverages Swetha’s prior knowledge to steer Viji in launching her project. In essence, it involves feeding our queries to the model with no additional information. This type of prompting works well for general queries and information retrieval.</p><p><strong>One-Shot Prompting</strong>: Consider Lily, who is contemplating experimenting with magnets but needs a hint on which materials are attracted to them.</p><p>Lily: “I’m considering working with magnets, but I’m not sure which materials they attract. Can you offer a single hint, Viji?”</p><p>With one-shot prompting, Lily can request a single hint to guide her experiment.</p><p>Viji: “Of course, Lily. Here’s one hint: metal objects often exhibit attraction to magnets.”</p><p>Lily decides to apply this hint by testing different metal objects with magnets, ultimately discovering which ones exhibit magnetic attraction.</p><p><strong>The result:</strong> One-shot prompting allows for a single hint to steer the experiment. In short, One-Shot Prompting entails providing a sample output format or additional context regarding the expected output, which helps the model maximize its output efficiency.</p><p><strong>Few-Shot Prompting:</strong> Suppose Swetha is planning a chemistry project and seeks suggestions from both Viji and Lily.</p><p>Swetha: “I’m gearing up for a chemistry project. Do you guys have any cool reaction ideas?”</p><p>With few-shot prompting, Swetha can obtain suggestions from both Viji and Lily.</p><p>Viji: “You might want to consider the classic baking soda and vinegar volcano.”</p><p>Lily: “Or how about trying the color-changing milk experiment?”</p><p>Swetha ends up combining both suggestions, creating a vibrant erupting volcano with a unique twist.</p><p><strong>The outcome:</strong> Few-shot prompting empowers Swetha with multiple creative ideas from her friends to craft an exciting project. In summary, few-shot prompting involves providing a bit more context to the model, typically ranging from 2 to 5 pieces of information, to enhance response quality.</p><p>In a nutshell, prompt engineering is all about tailoring your inputs to the AI model to get the best possible results, and these strategies can be your guide to achieving that goal.</p><p>Enjoy learning!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=85365f32ab08" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Package Management In Ubuntu]]></title>
            <link>https://medium.com/@vijieng12/package-management-in-ubuntu-5f547f35e5b0?source=rss-4c789d7b11b1------2</link>
            <guid isPermaLink="false">https://medium.com/p/5f547f35e5b0</guid>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[training]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[jobs]]></category>
            <category><![CDATA[learning]]></category>
            <dc:creator><![CDATA[Vijayalakshmi Bakthavachalam]]></dc:creator>
            <pubDate>Fri, 07 Apr 2023 10:59:12 GMT</pubDate>
            <atom:updated>2023-04-07T11:30:19.578Z</atom:updated>
            <content:encoded><![CDATA[<p>In this article, let us see the use of APT — Advanced Packaging Tool in Ubuntu for installing, removing, and upgrading packages.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JlAZsHnx009IpHbB1KLCAg.jpeg" /></figure><p>Ubuntu provides a package management system that helps in installing, upgrading and removing software. It provides access to around organized base of 60,000 software packages along with feature dependency resolution capabilities and software update checking.</p><p>Ubuntu’s package management system is derived from the same system used by the Debian GNU/Linux distribution. A package file contains all necessary files, metadata, and instructions to implement a particular functionality or software application on your Ubuntu computer.</p><p><strong>Advanced Packaging Tool — APT</strong></p><p>apt commands provide the means for installing new software packages, upgrading existing software packages, updating the package list index, and even upgrading the entire Ubuntu system.</p><p>Some common utilities using apt</p><p><strong>Install a Package:</strong></p><p>Installing a package using apt is quiet simple and easy. Below is an example of the same</p><pre>sudo apt install apache2</pre><p>The same command can be used to install multiple packages by specifying the package names with space</p><pre>sudo apt install apache2 nmap</pre><p><strong>Remove a Package:</strong></p><p>Removing a package is straight forward like installing as well. Here is an example</p><pre>sudo apt remove apache2</pre><p><strong>Update Package Index:</strong></p><p>Package Index is the list of available packages from repositories defined in /etc/apt/sources.list and /etc/apt/sources.list.d directory. To update the local package index with changes from repositories, we do</p><pre>sudo apt update</pre><p><strong>Upgrade Packages:</strong></p><p>Packages Installed on our computer may periodically have security updates available from the package repositories (e.g., security updates). To update packages that are installed, upgrade is helpful. First, do a</p><pre>sudo apt update</pre><p>To see a list of packages that can be upgraded</p><pre>sudo apt list --upgradable</pre><p>To upgrade packages</p><pre>sudo apt upgrade</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/722/1*nsub90qrzs90a6VeRfZK6w.png" /></figure><p>Installation and removal of packages usingapt command are logged in the /var/log/dpkg.log log file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/725/1*9XyMbC3wSVkvAs6VFtDk1g.png" /></figure><p>Happy Learning !!!</p><p><strong>👉Connect with me on </strong><a href="https://www.linkedin.com/in/vijayatech/"><strong>LinkedIn</strong></a><strong>👈</strong></p><p>Thank you!🤗</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5f547f35e5b0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Do you face error While Installation of Ubuntu using Vagrant?]]></title>
            <link>https://medium.com/cloudnloud/do-you-face-error-while-installation-of-ubuntu-using-vagrant-2b542db400c2?source=rss-4c789d7b11b1------2</link>
            <guid isPermaLink="false">https://medium.com/p/2b542db400c2</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[training]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[careers]]></category>
            <dc:creator><![CDATA[Vijayalakshmi Bakthavachalam]]></dc:creator>
            <pubDate>Wed, 29 Mar 2023 12:36:12 GMT</pubDate>
            <atom:updated>2023-03-29T12:36:12.684Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eRgtHVR2dRl50Mf_1DVulA.png" /></figure><p>I prefer setting up virtual machines on Oracle Virtual Box for learning purpose.</p><p>To have an ubuntu machine spin up in few minutes on a Oracle Virtual Box can be done quick using Vagrant. Here is a reference to a blog by cloud/devops enthusiast <a href="https://medium.com/u/61e423c11915">Fawaz C P</a> where he has outlined the steps in a simple/understandable manner.</p><p><a href="https://medium.com/cloudnloud/install-ubuntu-machine-using-vagrant-automation-tool-df77de2249ee">Install Ubuntu machine using Vagrant Automation Tool</a></p><p>While I tried to bring Ubuntu up on vagrant , received an error, so thought sharing it might help someone benefit.</p><p>𝐄𝐫𝐫𝐨𝐫 𝐌𝐞𝐬𝐬𝐚𝐠𝐞 : “𝐮𝐛𝐮𝐧𝐭𝐮/𝐛𝐢𝐨𝐧𝐢𝐜𝟔𝟒 𝐜𝐨𝐮𝐥𝐝 𝐧𝐨𝐭 𝐛𝐞 𝐟𝐨𝐮𝐧𝐝. 𝐀𝐭𝐭𝐞𝐦𝐩𝐭𝐢𝐧𝐠 𝐭𝐨 𝐟𝐢𝐧𝐝 𝐚𝐧𝐝 𝐢𝐧𝐬𝐭𝐚𝐥𝐥”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p2cD10lGG6O2caa2wK5ALw.png" /></figure><p>We can get it resolved by adding this to the vagrant file</p><blockquote>config.vm.box_download_insecure = true</blockquote><p>and then retrying the vagrant up should work.</p><p>Happy learning!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b542db400c2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/cloudnloud/do-you-face-error-while-installation-of-ubuntu-using-vagrant-2b542db400c2">Do you face error While Installation of Ubuntu using Vagrant?</a> was originally published in <a href="https://medium.com/cloudnloud">Cloudnloud Tech Community</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ELASTICSEARCH ON AWS EC2]]></title>
            <link>https://medium.com/@vijieng12/elasticsearch-on-aws-ec2-f3abb1150f9f?source=rss-4c789d7b11b1------2</link>
            <guid isPermaLink="false">https://medium.com/p/f3abb1150f9f</guid>
            <category><![CDATA[elastic-stack]]></category>
            <category><![CDATA[observability]]></category>
            <category><![CDATA[elasticsearch]]></category>
            <category><![CDATA[careers]]></category>
            <category><![CDATA[elastic]]></category>
            <dc:creator><![CDATA[Vijayalakshmi Bakthavachalam]]></dc:creator>
            <pubDate>Sat, 11 Feb 2023 19:25:45 GMT</pubDate>
            <atom:updated>2023-02-11T19:25:45.770Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oseU9kliQej0cCurUsvveQ.png" /></figure><p>In this article, we will be discussing on how to spin up a simple one node Elastic Cluster on an AWS EC2 machine.</p><p><strong><em>Prerequisites</em></strong><em>:</em> Before start this exercise, you must have running AmazonEC2 Windows(minimum 2vcpus and 4GB Memory) machine.</p><p><strong><em>Settings on AWS EC2:</em></strong></p><ul><li>Create an AmazonEC2 Windows machine in the AWS Cloud Portal.</li><li>Note that this will work only in ‘Pay-As-You-Go’ Subscription and not on Free Tier.</li><li>Turn off Windows Defender/firewall on the EC2 machine.</li><li>Make sure you open RDP,http,https and 9200,9300 ports for this new VM or you can also open any port by using port * any.</li></ul><p><strong><em>Quick Steps:</em></strong></p><p>Step 1: Connect to the AWS EC2 Windows Machine by downloading the RDP Client and generating password using the keyfile.</p><p>Step 2: Install Google Chrome on AWS EC2 Windows Machine</p><p>Step 3: Download ElasticSearch for windows</p><p>Step 4: Running Elasticsearch From the CommandLine</p><p>Step 5: Testing ElasticSearch Installation Using a Curl Command</p><p>Step 6: Installation Successful</p><h3>STEP 1: Connect to the AWS EC2 Machine</h3><p>Connect to the AWS EC2 Windows Machine by downloading the RDP Client and generating password using the keyfile.</p><h3>STEP 2: Install Google Chrome</h3><ul><li>Open the Edge Browser which is readily available on the instance and download Google Chrome</li></ul><h3>STEP 3: Download ElasticSearch for Windows</h3><ul><li>Download ElasticSearch for installation on windows — <a href="https://www.elastic.co/downloads/elasticsearch">https://www.elastic.co/downloads/elasticsearch</a></li><li>Unzip the folder elasticsearch-8.6.1-windows-x86_64.zip.This will create a folder called elasticsearch-8.6.1.</li><li>Open a command Prompt, Navigate to the elasticsearch-8.6.1 folder to which the files of Elastic Search has been extracted.</li></ul><h3>STEP 4 — Running Elasticsearch From the CommandLine</h3><ul><li>From cmd, run the script below</li></ul><pre> .\bin\elasticsearch.bat</pre><h3>STEP 4.1 — Execution Details of ElasticSearch from Console</h3><ul><li>When the script is being executed, logs will be printed to the console(STDOUT) which will have details of password printed.</li><li>Copy and save the credentials of the installation on to a notepad as it is required for future reference.</li><li>On the logs being printed during the installation, the details of password for the user elastic will be shown, which can be copied on to a notepad</li></ul><pre>Γ£à Elasticsearch security features have been automatically configured!<br>Γ£à Authentication is enabled and cluster connections are encrypted.<br><br>Γä╣∩╕Å  Password for the elastic user (reset with `bin/elasticsearch-reset-password -u elastic`):<br>  k3XHvWTpMrRFtZ0bAzIb<br><br>Γä╣∩╕Å  HTTP CA certificate SHA-256 fingerprint:<br>  f126cdfbe59d6efc25e3ead5f07ae7e5221abfa75dd35d2aeeb9436716483147<br><br>Γä╣∩╕Å  Configure Kibana to use this cluster:<br>ΓÇó Run Kibana and click the configuration link in the terminal when Kibana starts.<br>ΓÇó Copy the following enrollment token and paste it into Kibana in your browser (valid for the next 30 minutes):<br>  eyJ2ZXIiOiI4LjYuMSIsImFkciI6WyIxNzIuMzEuMzEuMTQ1OjkyMDAiXSwiZmdyIjoiZjEyNmNkZmJlNTlkNmVmYzI1ZTNlYWQ1ZjA3YWU3ZTUyMjFhYmZhNzVkZDM1ZDJhZWViOTQzNjcxNjQ4MzE0NyIsImtleSI6IkdBYkZfSVVCaXdGeC1CaWhSWE1XOkFiUmlrZnp2U3ZLUGFEQ29WZWl2LWcifQ==<br><br>Γä╣∩╕Å  Configure other nodes to join this cluster:<br>ΓÇó On this node:<br>  Γüâ Create an enrollment token with `bin/elasticsearch-create-enrollment-token -s node`.<br>  Γüâ Uncomment the transport.host setting at the end of config/elasticsearch.yml.<br>  Γüâ Restart Elasticsearch.<br>ΓÇó On other nodes:<br>  Γüâ Start Elasticsearch with `bin/elasticsearch --enrollment-token &lt;token&gt;`, using the enrollment token that you generated.</pre><ul><li>When starting Elasticsearch for the first time, security features are enabled and configured by default. The following security configuration occurs automatically:</li></ul><p>(i) Authentication and authorization are enabled, and a password is generated for the elastic built-in superuser.</p><p>(ii) Certificates and keys for TLS are generated for the transport and HTTP layer, and TLS is enabled and configured with these keys and certificates.</p><p>(iii) An enrollment token is generated for Kibana, which is valid for 30 minutes.</p><h3>STEP 4.2 — Console Logs</h3><ul><li>By default Elasticsearch prints its logs to the console (STDOUT) and to the .log file within the logs directory.</li><li>Elasticsearch logs some information while it is starting, but after it has finished initializing it will continue to run in the foreground and won’t log anything further until something happens that is worth recording.</li><li>While Elasticsearch is running you can interact with it through its HTTP interface which is on port 9200 by default.</li><li>Open another instance of cmd, where we can check the functionality of ElasticSearch that has been installed.</li><li>We can test that our Elasticsearch node is running by sending an HTTPS request to port 9200 on localhost.</li></ul><h3>STEP 5 — Testing ElasticSearch Installation Using a Curl Command</h3><p>Open another instance of cmd, where we can check the functionality of ElasticSearch that has been installed using the curl command below.</p><pre>curl --cacert %ES_HOME%\config\certs\http_ca.crt -u elastic https://localhost:9200 --insecure</pre><ul><li>Here is the response of the curl command which gives a lot of details about the version of elasticsearch, clustername and a lot more details.</li></ul><pre>C:\Users\Administrator\Downloads\elasticsearch-8.6.1-windows-x86_64\elasticsearch-8.6.1&gt;curl --cacert %ES_HOME%\config\certs\http_ca.crt -u elastic https://localhost:9200 --insecure<br>Enter host password for user &#39;elastic&#39;:<br>{<br>  &quot;name&quot; : &quot;EC2AMAZ-6ACTCAV&quot;,<br>  &quot;cluster_name&quot; : &quot;elasticsearch&quot;,<br>  &quot;cluster_uuid&quot; : &quot;BCOAmYZAS36vgypuOnsYpQ&quot;,<br>  &quot;version&quot; : {<br>    &quot;number&quot; : &quot;8.6.1&quot;,<br>    &quot;build_flavor&quot; : &quot;default&quot;,<br>    &quot;build_type&quot; : &quot;zip&quot;,<br>    &quot;build_hash&quot; : &quot;180c9830da956993e59e2cd70eb32b5e383ea42c&quot;,<br>    &quot;build_date&quot; : &quot;2023-01-24T21:35:11.506992272Z&quot;,<br>    &quot;build_snapshot&quot; : false,<br>    &quot;lucene_version&quot; : &quot;9.4.2&quot;,<br>    &quot;minimum_wire_compatibility_version&quot; : &quot;7.17.0&quot;,<br>    &quot;minimum_index_compatibility_version&quot; : &quot;7.0.0&quot;<br>  },<br>  &quot;tagline&quot; : &quot;You Know, for Search&quot;<br>}</pre><h3>STEP 5.1 — Similar to the curl command, we can as well use the browser to check on <a href="https://localhost:9200/">https://localhost:9200</a> to check if we get the same JSON response</h3><pre><a href="https://localhost:9200/">https://localhost:9200</a></pre><ul><li>Type in username — elastic and password- from the output of elasticsearch installation. Here is the response from the browser</li></ul><pre>{<br>  &quot;name&quot; : &quot;EC2AMAZ-6ACTCAV&quot;,<br>  &quot;cluster_name&quot; : &quot;elasticsearch&quot;,<br>  &quot;cluster_uuid&quot; : &quot;BCOAmYZAS36vgypuOnsYpQ&quot;,<br>  &quot;version&quot; : {<br>    &quot;number&quot; : &quot;8.6.1&quot;,<br>    &quot;build_flavor&quot; : &quot;default&quot;,<br>    &quot;build_type&quot; : &quot;zip&quot;,<br>    &quot;build_hash&quot; : &quot;180c9830da956993e59e2cd70eb32b5e383ea42c&quot;,<br>    &quot;build_date&quot; : &quot;2023-01-24T21:35:11.506992272Z&quot;,<br>    &quot;build_snapshot&quot; : false,<br>    &quot;lucene_version&quot; : &quot;9.4.2&quot;,<br>    &quot;minimum_wire_compatibility_version&quot; : &quot;7.17.0&quot;,<br>    &quot;minimum_index_compatibility_version&quot; : &quot;7.0.0&quot;<br>  },<br>  &quot;tagline&quot; : &quot;You Know, for Search&quot;<br>}</pre><h3>Step 6: Installation Successful</h3><p>We now have a Single node Elastic Cluster setup on a AWS EC2 windows machine with the default configurations.</p><p>👉 Follow me <a href="https://www.linkedin.com/in/vijayatech/">Vijayalakshmi Bakthavachalam </a>on LinkedIn, and check my GitHub profile</p><p>👉 Follow <a href="https://www.linkedin.com/company/cloudnloud/">Cloudnloud Tech Community</a> for more information on cloud training and career guidance &amp; <a href="https://www.youtube.com/c/CloudnLoud/playlists">CloudnLoud@youtube</a> YouTube channel</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f3abb1150f9f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>