<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: adi271001</title>
    <description>The latest articles on DEV Community by adi271001 (@adi271001).</description>
    <link>https://dev.to/adi271001</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F944880%2F6086de58-058e-4bf0-830d-128191dd3a95.png</url>
      <title>DEV Community: adi271001</title>
      <link>https://dev.to/adi271001</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/adi271001"/>
    <language>en</language>
    <item>
      <title>Your GuardDuty Alert Isn't The End, It's Where Investigation Begins.</title>
      <dc:creator>adi271001</dc:creator>
      <pubDate>Mon, 27 Jul 2026 00:18:24 +0000</pubDate>
      <link>https://dev.to/aws-builders/your-guardduty-alert-isnt-the-end-its-where-investigation-begins-2ggb</link>
      <guid>https://dev.to/aws-builders/your-guardduty-alert-isnt-the-end-its-where-investigation-begins-2ggb</guid>
      <description>&lt;p&gt;Using Amazon Detective to uncover the full story behind an AWS Security Event.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;br&gt;
The time is 2:13 AM.&lt;/p&gt;

&lt;p&gt;A high-severity alert from your Security Operations Center (SOC) causes your phone to vibrate. An UnauthorizedAccess:IAMUser/ConsoleLogin discovery has been found in your AWS environment by Amazon GuardDuty.&lt;/p&gt;

&lt;p&gt;You briefly question if it's just another false positive. After all, not every security discovery results in a breach, yet cloud environments produce thousands of events every minute.&lt;/p&gt;

&lt;p&gt;The GuardDuty console is opened.The discovery offers a detection, which is precisely what it is intended to offer. It informs you that an IAM user was able to successfully authenticate from a strange place that doesn't correspond with the account's past activity. The action is suspicious enough to be investigated right now.&lt;/p&gt;

&lt;p&gt;But almost instantly more questions arise than answers.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Was this login actually malicious?&lt;/li&gt;
&lt;li&gt;Has the IAM user been compromised?&lt;/li&gt;
&lt;li&gt;What happened immediately after the login?&lt;/li&gt;
&lt;li&gt;Did the attacker access sensitive resources?&lt;/li&gt;
&lt;li&gt;Were AWS Secrets Manager secrets retrieved?&lt;/li&gt;
&lt;li&gt;Was data exfiltrated?&lt;/li&gt;
&lt;li&gt;Has the attacker established persistence?&lt;/li&gt;
&lt;li&gt;Is the incident still active?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When a security engineer receives an alert, they always ask these questions.&lt;/p&gt;

&lt;p&gt;Sadly, the alert itself is unable to respond to them.&lt;br&gt;
One of the most common misconceptions about cloud security nowadays is this.&lt;/p&gt;

&lt;p&gt;Many teams think that the most challenging aspect of security is threat detection. In actuality, detection is just the first step. The true difficulty is figuring out an incident's entire extent fast enough to make wise decisions.&lt;/p&gt;

&lt;p&gt;An alert informs you of an event. A probe reveals the truth. As businesses continue to move workloads to AWS, this distinction becomes more crucial. Contemporary cloud infrastructures are extremely interconnected, distributed, and dynamic. Numerous AWS services can communicate with a single IAM role. Hundreds of API requests can be made in a few minutes using a hacked credential.&lt;/p&gt;

&lt;p&gt;In order to manually investigate these events, it is frequently necessary to switch between CloudTrail logs, GuardDuty findings, IAM policies, VPC Flow Logs, and several AWS terminals while attempting to put together a timeline from disparate bits of information.&lt;/p&gt;

&lt;p&gt;This not only takes a lot of time, but it also causes a major delay in incident response. Amazon Detective was created specifically to address this issue. After an alert has been raised, Amazon Detective assists security teams in answering the most important questions rather than creating new alerts.&lt;/p&gt;

&lt;p&gt;It automatically establishes connections between identities and resources, correlates data from AWS services, shows activity over time, and gives investigators the background information they need to comprehend what actually occurred.&lt;/p&gt;

&lt;p&gt;Rather than asking, "Where do I start?", "How far did this incident spread?" is a question that investigators can start asking right away.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F44tia7s8vctcgpjgspi2.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F44tia7s8vctcgpjgspi2.jpg" alt="SOC Dashboard" width="512" height="512"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Detection Is Only Half The Battle&lt;/strong&gt;&lt;br&gt;
For good reason, Amazon GuardDuty has grown to be one of the most popular AWS security services. To find suspect activity, it continuously examines AWS activity using machine learning, anomaly detection, and AWS threat intelligence.&lt;/p&gt;

&lt;p&gt;GuardDuty offers useful indications that assist enterprises in identifying threats early on, whether they are related to bitcoin mining, strange API activity, compromised credentials, or reconnaissance activities.&lt;/p&gt;

&lt;p&gt;GuardDuty, however, purposefully concentrates on detection. Think about a typical result.&lt;/p&gt;

&lt;p&gt;IAMUser/ConsoleLogin Unauthorized Access Severity: High&lt;/p&gt;

&lt;p&gt;This seems frightening at first. However, this discovery raises many more problems than it provides answers from the standpoint of incident response. Assume you are the analyst in charge of looking into this warning.&lt;/p&gt;

&lt;p&gt;Your investigation immediately begins with questions like these:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Has this IAM user ever logged in from this location before?&lt;/li&gt;
&lt;li&gt;Were MFA protections enabled?&lt;/li&gt;
&lt;li&gt;Which AWS Region was accessed?&lt;/li&gt;
&lt;li&gt;What API calls followed the login?&lt;/li&gt;
&lt;li&gt;Did the user enumerate S3 buckets?&lt;/li&gt;
&lt;li&gt;Were secrets retrieved?&lt;/li&gt;
&lt;li&gt;Were new IAM users or access keys created?&lt;/li&gt;
&lt;li&gt;Were EC2 instances launched?&lt;/li&gt;
&lt;li&gt;Was CloudTrail modified?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;GuardDuty cannot provide the answers to these queries on its own.&lt;/p&gt;

&lt;p&gt;Rather, analysts typically alternate between several services:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;AWS CloudTrail&lt;/li&gt;
&lt;li&gt;IAM&lt;/li&gt;
&lt;li&gt;Amazon S3&lt;/li&gt;
&lt;li&gt;VPC Flow Logs&lt;/li&gt;
&lt;li&gt;Route 53 Resolver logs&lt;/li&gt;
&lt;li&gt;Security Hub&lt;/li&gt;
&lt;li&gt;GuardDuty&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One element of the puzzle is provided by each service. The difficulty is putting those parts together before important research time is lost. This procedure is doable for seasoned analyzers. It can easily become too much for smaller security teams or companies with little experience with cloud security. An attacker may stay active for an additional minute for every minute spent manually searching logs.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0zpidu9cq9o0e6bqmxmb.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0zpidu9cq9o0e6bqmxmb.webp" alt="Amazon Detective" width="800" height="532"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Meet Amazon Detective&lt;/strong&gt;&lt;br&gt;
This is where the discussion gets altered by Amazon Detective. Considering the distinction between a security camera and a detective looking into a crime is one of the simplest methods to comprehend Detective.&lt;/p&gt;

&lt;p&gt;Events are captured via a security camera. The story is recreated by a detective. In a similar vein, GuardDuty alerts you to unusual conduct.&lt;/p&gt;

&lt;p&gt;Amazon Detective clarifies:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;who carried out the task.&lt;/li&gt;
&lt;li&gt;which AWS resources were used.&lt;/li&gt;
&lt;li&gt;what took place prior to the warning.&lt;/li&gt;
&lt;li&gt;What followed?&lt;/li&gt;
&lt;li&gt;The connections between resources.&lt;/li&gt;
&lt;li&gt;if the behavior is out of the ordinary.&lt;/li&gt;
&lt;li&gt;How the event changed over time.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Detective automatically arranges and correlates data into an investigation-friendly structure rather than manually gathering evidence from many AWS services.&lt;/p&gt;

&lt;p&gt;To create a thorough behavioral graph of your AWS environment, it continuously ingests telemetry from services like AWS CloudTrail, Amazon GuardDuty, VPC Flow Logs, and Route 53 Resolver DNS logs.&lt;/p&gt;

&lt;p&gt;This eliminates the need for investigators to manually piece together evidence by allowing them to switch between identities, IP addresses, AWS resources, API calls, and timings.&lt;/p&gt;

&lt;p&gt;Analysts can concentrate on comprehending the attack instead of wasting important time gathering data. It can seem like a small difference. In actuality, it can significantly shorten the duration of an investigation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Our Investigation Begins&lt;/strong&gt;&lt;br&gt;
Let's examine a simulated, yet realistic, AWS security event to gain a better understanding of how Amazon Detective fits into a contemporary incident response workflow.&lt;/p&gt;

&lt;p&gt;Consider yourself a member of a cloud security team that is in charge of safeguarding a production AWS account that houses many applications that interact with customers.&lt;/p&gt;

&lt;p&gt;Before GuardDuty delivers a high-severity discovery concerning an IAM user named finance-automation, everything seems okay. Nothing about the account itself appears out of the ordinary at first glance. The IAM user has been in charge of automating financial reporting procedures for several months. Today's login, however, came from a nation in which the company has no workers, contractors, or commercial activities.&lt;/p&gt;

&lt;p&gt;That prompts suspicion right away. Several API calls start to show up throughout the environment a few seconds after the login. Some appear innocuous. Some people don't. Finding out if the login was suspicious is no longer your goal. Understanding the attacker's intent is your goal.&lt;br&gt;
Did they investigate the surroundings? Are you looking for secrets? Getting ready to persevere? Or was this just an automatic mechanism acting strangely? This is the real start of our inquiry.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fyej6309686l755pn6evt.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fyej6309686l755pn6evt.jpg" alt="Evidence" width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Following The Evidence With Amazon Detective&lt;/strong&gt;&lt;br&gt;
We don't know much at this time. We've been notified by GuardDuty that an IAM user logged in from an odd place, but we're still unsure if this is just an employee traveling abroad or if the account has been compromised.&lt;/p&gt;

&lt;p&gt;In cloud security, this uncertainty is typical. Each warning is a possibility rather than a conclusion. While waiting too long can enable an attacker to get farther into the environment, jumping to containment too soon can interfere with legitimate company operations.&lt;/p&gt;

&lt;p&gt;Our objective is straightforward: Prior to developing assumptions, gather evidence. We launch Amazon Detective rather than manually searching CloudTrail, IAM, VPC Flow Logs, and many AWS consoles.In contrast to conventional logging tools, Detective starts narrating a story right away.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Starting With Entity Profile&lt;/strong&gt;&lt;br&gt;
An entity profile for the IAM user that caused the GuardDuty discovery is among the first items Detective displays. An entity profile can be compared to a dossier. Detective compiles all of its knowledge about a specific identity into a single screen rather than displaying discrete log entries.&lt;/p&gt;

&lt;p&gt;The profile for our inquiry comprises:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Recent action involving sign-ins&lt;/li&gt;
&lt;li&gt;Findings related to GuardDuty&lt;/li&gt;
&lt;li&gt;Access to AWS Regions&lt;/li&gt;
&lt;li&gt;IP addresses of the source&lt;/li&gt;
&lt;li&gt;History of API calls&lt;/li&gt;
&lt;li&gt;Associated AWS resources&lt;/li&gt;
&lt;li&gt;Past patterns of behavior&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;An intriguing information emerges in a matter of seconds.Over the past six months, the finance-automation IAM user has regularly accessed AWS from Sydney, Australia. During regular business hours, all successful logins came from the same corporate IP range.&lt;/p&gt;

&lt;p&gt;The login for today reveals a different picture. The source IP comes from a different nation where the company doesn't have any offices, staff, or anticipated business activity. A breach might not be confirmed by a single odd login. However, it undoubtedly warrants further investigation.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fk85881zunoxyrhe9kidd.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fk85881zunoxyrhe9kidd.jpeg" alt="Logs" width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Looking Beyond Login&lt;/strong&gt;&lt;br&gt;
Rarely is authentication the attack. It's just the start. Credentials are rarely compromised by attackers merely to admire the AWS Management Console.&lt;/p&gt;

&lt;p&gt;They nearly always have one of the following goals in mind:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Find resources&lt;/li&gt;
&lt;li&gt;Access private information&lt;/li&gt;
&lt;li&gt;Increase privileges&lt;/li&gt;
&lt;li&gt;Develop perseverance&lt;/li&gt;
&lt;li&gt;Hide their tracks.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This implies that the most crucial query is now: What transpired right after logging in? Thankfully, Detective creates an API activity timeline automatically.&lt;/p&gt;

&lt;p&gt;We witness the following sequence in a matter of seconds.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;02:13:17  Successful Console Login
02:13:34  ListBuckets
02:13:51  GetCallerIdentity
02:14:09  ListSecrets
02:14:28  GetSecretValue
02:15:11  DescribeInstances
02:15:52  ListRoles
02:16:40  PassRole
02:17:03  RunInstances
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;None of these incidents seem very concerning when viewed separately. But taken as a whole, they show something far more alarming. This login is no longer questionable. It's starting to look like a planned attack sequence.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Recognizing The Attacker's Playbook&lt;/strong&gt;&lt;br&gt;
The ability for analysts to comprehend activity in context rather than in isolation is one of Amazon Detective's greatest benefits.&lt;/p&gt;

&lt;p&gt;Let's look at the chronology. The attacker lists each S3 bucket as soon as they log in. Why? because the location of valuable data is rarely known to attackers. The first step is generally always enumeration.&lt;/p&gt;

&lt;p&gt;They then make a call to GetCallerIdentity.This API verifies the rights linked to the hacked credentials and lets them know exactly who they are inside the AWS account. The attacker is now aware of their access. Even more fascinating is the next task. They make a query to AWS Secrets Manager.&lt;/p&gt;

&lt;p&gt;Because secret stores contain credentials, API keys, database passwords, certificates, and tokens that access extra resources, current attackers often target these instead of databases directly.&lt;/p&gt;

&lt;p&gt;When a GetSecretValue request is successful, the incident's severity is immediately increased. The assailant is no longer investigating. They have started gathering private data. Shortly after, they list all of the EC2 instances before looking at the IAM roles that are available.&lt;/p&gt;

&lt;p&gt;Lastly, they try to use an existing IAM role to start a new EC2 instance. Every security engineer should feel uneasy about that action right away. One popular method of establishing persistence or establishing a foothold for future action is to launch compute resources utilizing an existing privileged role.&lt;/p&gt;

&lt;p&gt;In less than four minutes, the entire sequence takes place. It would be necessary to manually scan hundreds or even thousands of CloudTrail records in order to reconstruct these occurrences without Detective's chronology.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fu44lamjkouts6v8xj7aw.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fu44lamjkouts6v8xj7aw.jpg" alt="Profiling" width="596" height="335"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Visualizing Relationships Instead Of Reading Logs&lt;/strong&gt;&lt;br&gt;
Logs are a great way to document happenings. Their comprehension of relationships is appalling. This is where Amazon Detective really stands out. Detective creates an entity graph that illustrates the connections between AWS identities, resources, and network activities rather than exhibiting discrete occurrences.&lt;/p&gt;

&lt;p&gt;Instead than inquiring, "What happened next?" "What else is connected?" is the first question we ask. Detective instantly provides more context by choosing the EC2 instance. The instance has never been started before.&lt;/p&gt;

&lt;p&gt;It is present in a subnet used for production. Multiple S3 buckets and Secrets Manager secrets can be accessed by its IAM role. Our perception of the incident is significantly altered by just one visualization. The assailant wasn't just playing around. They were trying to inherit a more affluent identity.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pivoting Into CloudTrail&lt;/strong&gt;&lt;br&gt;
Analysts want accurate evidence at some point in every investigation. Here's where CloudTrail comes in very handy. By enabling investigators to go straight into the underlying API activity, Detective greatly simplifies this process. We are directed straight to the pertinent CloudTrail records rather than having to manually sift through millions of events.&lt;/p&gt;

&lt;p&gt;We can now verify information like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Precise timestamps&lt;/li&gt;
&lt;li&gt;Request specifications&lt;/li&gt;
&lt;li&gt;IP addresses of the source&lt;/li&gt;
&lt;li&gt;Strings for user agents&lt;/li&gt;
&lt;li&gt;Regions of AWS&lt;/li&gt;
&lt;li&gt;Request IDs&lt;/li&gt;
&lt;li&gt;Error messages&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This degree of specificity aids in differentiating between successful and unsuccessful endeavors.For instance, Detective demonstrates that although the attacker was able to list IAM roles, an IAM policy constraint prevented them from passing a highly privileged role.&lt;/p&gt;

&lt;p&gt;We learn something crucial from that one unsuccessful API call. The attacker was making a concerted effort to get further rights. Thankfully, such escalation was avoided thanks to the organization's least-privilege IAM policy. Attacks are not always prevented by security measures. At times, they only compel attackers to disclose their motivations.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fq6lvm9u19wz39e4kr78d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fq6lvm9u19wz39e4kr78d.png" alt="Blast Radius" width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Identifying The Blast Radius&lt;/strong&gt;&lt;br&gt;
During any crisis, one of the most challenging questions is: What is the extent of the damage? Manually determining the solution frequently entails examining dozens of services one at a time. By displaying each AWS resource linked to the compromised identity throughout the investigation window, Detective expedites this procedure. &lt;/p&gt;

&lt;p&gt;We find that the attacker engaged with the following in our simulation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Three buckets on Amazon S3&lt;/li&gt;
&lt;li&gt;There are two manager secrets.&lt;/li&gt;
&lt;li&gt;One instance of EC2&lt;/li&gt;
&lt;li&gt;Seven CloudTrail API types and four IAM roles&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It's interesting to note that there is no proof that DynamoDB tables, Lambda functions, or Amazon RDS databases were accessed. The possible blast radius is immediately decreased as a result. Detective verifies that no new IAM users or access keys were generated, which is equally crucial. It seems that persistence is ineffective. Responders can prioritize containment based on facts rather than conjecture thanks to these insights.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Turning Evidence Into Action&lt;/strong&gt;&lt;br&gt;
Compared to the initial GuardDuty alert, our study has now provided a far clearer picture. A confirmed credential compromise, reconnaissance, secret discovery, and an attempt at privilege escalation have all followed what at first seemed to be a strange login.&lt;/p&gt;

&lt;p&gt;We arrived to this conclusion in minutes rather than hours since Detective correlated metrics across several AWS services.Asking what happened is no longer the next step.&lt;/p&gt;

&lt;p&gt;It's choosing how to react. Should the IAM credentials be cancelled right away? Which secrets should be rotated? Was any private information compromised? Are other accounts impacted as well? The change from investigation to incident response is signaled by these questions.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3fb5wies5bi0a4wop17i.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3fb5wies5bi0a4wop17i.jpg" alt="Incident Response" width="547" height="365"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;From Investigation To Response&lt;/strong&gt;&lt;br&gt;
The GuardDuty discovery is now more than just a dashboard alert. We have recreated the events, determined the compromised identity, seen reconnaissance activities, verified access to sensitive resources, and discovered an attempted privilege escalation using Amazon Detective.&lt;/p&gt;

&lt;p&gt;More significantly, all of this has been done with evidence rather than conjecture. This distinction is crucial.&lt;/p&gt;

&lt;p&gt;Acting too soon without fully comprehending the scope of an assault is one of the major mistakes businesses make when responding to incidents. Disabling an IAM user right away might halt the current activity, but the attacker might still have access if temporary credentials have already been issued or if there are other persistence measures in place.&lt;/p&gt;

&lt;p&gt;Making wise decisions is more important for effective incident response than merely responding to alarms. Now that we know what went wrong, we can concentrate on stopping the attack, recovering safely, and making sure it doesn't happen again.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Containing The Incident&lt;/strong&gt;&lt;br&gt;
In our simulated research, the attacker was able to launch compute resources using an existing IAM role, enumerate cloud resources, access secrets, and successfully authenticate using compromised IAM credentials.&lt;/p&gt;

&lt;p&gt;IAM controls prevented privilege escalation, but the inquiry found sufficient evidence to support rapid containment.Revoking the compromised credentials is the first step. Passwords should be changed, any temporary AWS STS sessions should be canceled, and any current access keys connected to the IAM user should be disabled. Credential hygiene comes next.&lt;/p&gt;

&lt;p&gt;Every secret observed during the investigation should be regarded as potentially compromised since the attacker was able to get access to AWS Secrets Manager. The organization's incident response protocols should be followed when rotating database passwords, API tokens, third-party credentials, and application secrets.&lt;/p&gt;

&lt;p&gt;Many teams fail to learn this crucial lesson. You should presume that an attacker copied a secret if they saw it. Rotation is frequently far faster than attempting to ascertain whether exfiltration took place.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Validating The Blast Radius&lt;/strong&gt;&lt;br&gt;
One aspect of the response is containment. Determining whether the compromise extended beyond the initial identity is the next goal. Investigators should use Amazon Detective in conjunction with AWS &lt;/p&gt;

&lt;p&gt;CloudTrail and AWS Security Hub to confirm whether the attacker:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;added more IAM roles or users&lt;/li&gt;
&lt;li&gt;created fresh access keys&lt;/li&gt;
&lt;li&gt;IAM trust relationships that have been modified&lt;/li&gt;
&lt;li&gt;created EventBridge rules or scheduled tasks&lt;/li&gt;
&lt;li&gt;New Lambda functions were deployed.&lt;/li&gt;
&lt;li&gt;Unexpected EC2 instances were launched&lt;/li&gt;
&lt;li&gt;S3 bucket policies that have been modified&lt;/li&gt;
&lt;li&gt;Disabled security or logging features&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Thankfully, no indication of successful persistence was discovered during our study. Every encounter, though, should end with confirmation rather than hope. The lack of further activity is only significant when it is backed up by data.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F69aanbdvo5q2w1x1hmng.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F69aanbdvo5q2w1x1hmng.png" alt="CloudTrail" width="400" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Lessons From The Investigation&lt;/strong&gt;&lt;br&gt;
The chance to get better is one of the most beneficial results of any security incident. Our research reveals a number of lessons that go beyond Amazon Detective. First, visibility is more important than volume.&lt;/p&gt;

&lt;p&gt;Every day, massive volumes of telemetry are produced by cloud systems. Every API request is recorded by CloudTrail, network traffic is captured by VPC Flow Logs, GuardDuty reports discoveries, and Security Hub compiles warnings from several services.&lt;/p&gt;

&lt;p&gt;If this information cannot be integrated into a cohesive narrative, it is all useless. Because it turns discrete incidents into significant connections, Amazon Detective succeeds.&lt;/p&gt;

&lt;p&gt;It offers context, which significantly reduces the amount of time needed for investigations, rather than requiring analysts to manually correlate thousands of log entries.&lt;/p&gt;

&lt;p&gt;The second lesson is that the cloud's major attack surface is still identity. Cloud assaults often start with compromised credentials, in contrast to traditional on-premises setups where attackers frequently target network perimeters.&lt;/p&gt;

&lt;p&gt;Unless businesses monitor behavior instead of just authentication, once an attacker establishes a trusted identity, all subsequent actions appear legal. This supports the continued use of IAM, multi-factor authentication, short-lived credentials, and least privilege as fundamental security measures.&lt;/p&gt;

&lt;p&gt;Lastly, the probe serves as a reminder that speed is important. An attacker can continue to operate for an additional minute for each minute spent manually searching logs. The results of incident response are immediately improved by cutting down on investigative time.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Building A Stronger Investigation Workflow&lt;/strong&gt;&lt;br&gt;
When Amazon Detective is integrated into a larger AWS security plan as opposed to functioning independently, it yields the best results. Every service has a certain function.&lt;/p&gt;

&lt;p&gt;Suspicious activity is identified by GuardDuty. Findings from all AWS services are centralized via Security Hub. Investigative context is provided by the detective. CloudTrail provides thorough evidence for forensic examination.&lt;/p&gt;

&lt;p&gt;Then, when necessary, automation technologies like Amazon EventBridge, AWS Lambda, or AWS Systems Manager can carry out specified containment actions. Cloud security cannot be resolved by a single service. Their cooperation is what gives them strength.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Best Practices For Using Amazon Detective&lt;/strong&gt;&lt;br&gt;
Businesses thinking in using Amazon Detective should consider more than just enabling the service.&lt;/p&gt;

&lt;p&gt;To increase its efficacy:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Enable thorough event logging for AWS CloudTrail in all regions.&lt;/li&gt;
&lt;li&gt;Activate Amazon GuardDuty across the entire enterprise to guarantee reliable threat identification.&lt;/li&gt;
&lt;li&gt;Utilize AWS Security Hub to compile results for a cohesive security perspective.&lt;/li&gt;
&lt;li&gt;Review unneeded permissions on a regular basis and implement least-privilege IAM policies.&lt;/li&gt;
&lt;li&gt;Use multi-factor authentication (MFA) to safeguard privileged identities.&lt;/li&gt;
&lt;li&gt;Rotate secrets kept in AWS Secrets Manager on a regular basis.&lt;/li&gt;
&lt;li&gt;Create and test incident response playbooks so that responders are prepared to take appropriate action when a detective finds suspicious activity.&lt;/li&gt;
&lt;li&gt;To verify investigation procedures and team preparedness, conduct simulated security drills.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Effective crisis response involves more than just technology. Equally crucial is preparation.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7sijryj11ntz5uqd6ahr.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7sijryj11ntz5uqd6ahr.jpeg" alt="Looking Ahead And Conclusion" width="800" height="534"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Looking Ahead&lt;/strong&gt;&lt;br&gt;
Cloud environments are still developing at a remarkable rate. Infrastructure is becoming more and more transient. In a matter of seconds, serverless workloads appear and vanish. Applications driven by AI use AWS services on their own. Organizations frequently support thousands of identities and millions of API calls daily while operating across various accounts and regions.&lt;/p&gt;

&lt;p&gt;Scaling traditional research approaches becomes more challenging as situations become more dynamic. Gathering more logs is not the way of the future for cloud security. It involves deriving significant context from the existing telemetry.&lt;/p&gt;

&lt;p&gt;A significant move toward context-driven investigations is represented by services like Amazon Detective, which enable security teams to spend more time comprehending attacker behavior and less time looking for evidence.&lt;/p&gt;

&lt;p&gt;The adoption of autonomous systems, AI agents, and increasingly sophisticated cloud infrastructures by enterprises will only make this trend more significant.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
This investigation's most significant lesson is shockingly straightforward. An incident is not the same as an alert. A GuardDuty finding indicates that anything out of the ordinary happened.&lt;/p&gt;

&lt;p&gt;It doesn't explain why it occurred, how far it spread, or what the attacker was attempting to achieve. That void is filled by Amazon Detective. Detective helps security teams go beyond detection and into understanding by establishing entity links, correlating telemetry from AWS services, and presenting investigations through timelines and behavioral analysis.&lt;/p&gt;

&lt;p&gt;That distinction is crucial for cloud defenders. The quantity of notifications generated is not a measure of security. It is determined by how fast teams can look into, comprehend, and react when those signals are most important.&lt;/p&gt;

&lt;p&gt;Don't consider that the end of the tale the next time GuardDuty alerts you to questionable activities. Consider it the opening page. Because each alert informs you about an event. You can learn the remainder of the tale using Amazon Detective.&lt;/p&gt;

</description>
      <category>security</category>
      <category>cybersecurity</category>
      <category>aws</category>
      <category>iam</category>
    </item>
    <item>
      <title>Shadow AI in AWS: Detecting and Governing Unauthorized AI usage in 2026</title>
      <dc:creator>adi271001</dc:creator>
      <pubDate>Sun, 28 Jun 2026 10:45:22 +0000</pubDate>
      <link>https://dev.to/aws-builders/shadow-ai-in-aws-detecting-and-governing-unauthorized-ai-usage-in-2026-2gpa</link>
      <guid>https://dev.to/aws-builders/shadow-ai-in-aws-detecting-and-governing-unauthorized-ai-usage-in-2026-2gpa</guid>
      <description>&lt;p&gt;AI adoption is accelerating across enterprises, but not always under the watchful eye of security teams. As organizations embrace generative AI, a new challenge has emerged which is the Shadow AI. Much like shadow IT from before it, Shadow AI introduces visibility, governance, and data protection concerns that traditional security programs were never designed to address.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;br&gt;
Generative AI has transformed the way organizations build software, analyze data and automate workflows. Developers rely on coding assistants to accelerate delivery, analysts use Large Language Models (LLMs) to summarize reports and, business teams increasingly integrate AI into daily operations.&lt;/p&gt;

&lt;p&gt;This rapid adoption has undoubtedly improved productivity but it has also created a new category of risk. Across many organizations, employees are introducing AI tools without the knowledge or approval of security teams. Public chatbots, browser extensions, autonomous agents, and third party AI APIs are becoming a part of everyday workflows, often outside established governance processes.This phenomenon is commonly referred to as Shadow AI, is quickly emerging as one of the most important cybersecurity challenges of 2026.  &lt;/p&gt;

&lt;p&gt;Unlike traditional software, AI systems thrive on information. Their value comes from consuming context, learning patterns and generating responses based on data. Unfortunately the same characteristic that makes AI useful also makes it dangerous!!. Sensitive information can be exposed unintentionally, proprietary knowledge may leave organizational boundaries, and AI generated outputs can introduce entirely new attack surfaces.&lt;/p&gt;

&lt;p&gt;The challenge facing security teams is no longer simply protecting infrastructure. It is understanding and governing the AI systems that employees are already using.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmv4fhvfdjfokqg638ui6.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmv4fhvfdjfokqg638ui6.jpg" alt="Understanding Shadow AI" width="500" height="278"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Understanding Shadow AI&lt;/strong&gt;&lt;br&gt;
Shadow AI refers to the use of artificial intelligence tools and services that operate outside approved organizational policies and governance frameworks. Similar to the rise of Shadow IT more than a decade ago, Shadow AI emerges when employees seek productivity gains faster than security processes can adapt.&lt;/p&gt;

&lt;p&gt;A developer troubleshooting an issue might paste application logs into a public chatbot. A data analyst could upload spreadsheets containing customer information to an external AI service. A project team may experiment with autonomous agents that interact with cloud environments, git repositories, or collaboration platforms without undergoing any security review.&lt;/p&gt;

&lt;p&gt;Most of these actions are not malicious. They are driven by the convinience and the desire to work more efficiently. However good intentions do not eliminate risk. What makes Shadow AI particularly challenging is that it often remains invisible. Security teams cannot protect assets they do not know exist, and organizations cannot govern technologies they cannot see.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Faso9jnqkzb7kgg0s4xz4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Faso9jnqkzb7kgg0s4xz4.png" alt="Why Shadow AI Is A Security Concern" width="799" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why Shadow AI Has Become A Security Concern&lt;/strong&gt;&lt;br&gt;
The concern surrounding the Shadow AI is not the existence of AI itself. It is the uncontrolled movement of information. Unlike traditional applications, AI systems actively consume and process large volumes of contextual data. This can include source code, credentials, internal documentation, customer records, architectural diagrams or confidential business information.&lt;/p&gt;

&lt;p&gt;A seemingly harmless interaction with an AI assistant can unintentionally expose secrets that were never meant to leave an organization. Furthermore, compliance requirements such as ISO27001, PCI-DSS, HIPAA and SOC2 place strict obligations on how sensitive information is handled. Employees using unauthorized AI services may unknowingly violate these requirements, creating both security and regulatory challenges.&lt;/p&gt;

&lt;p&gt;Another growing concern is equality of AI generated outputs. Developers increasingly rely on AI generated code, yet these outputs can contain insecure configurations, vulnerabale dependencies, hardocded credentials, or poor security practices. The result is an expanding attack surface that  traditional vulnerability management approaches struggle to address.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Rise of Shadow AI in AWS Environments&lt;/strong&gt;&lt;br&gt;
AWS customers are embracing artificial intelligence at an unprecedent pace. Services such as Amazon Bedrock, Amazon Q Developer, Amazon Sagemaker, and bedrock knowledge bases are enabling organizations to build  sophisticated AI powered applications while maintaining control over data and governance.&lt;/p&gt;

&lt;p&gt;At the same time, employees are experimenting with public AI platforms and third party services that exist outside approved environments. This creates a hybrid landscape where trusted AI capabilities, coexist with unmanaged tools.&lt;/p&gt;

&lt;p&gt;Consider a developer using Amazon Q Developer for code generation while simultaneously consulting a public chatbot to debug an issue. During the troubleshooting process, snippets of infrastructure as a code templates containing IAM policies or API keys maybe shared externally. What begins as an attempt to increase productivity can quickly become a data exposure incident.&lt;/p&gt;

&lt;p&gt;The challenge for security teams is not preventing AI adoption. Innovation cannot and should not be stopped. The real objective is enabling AI adoption securely.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fuxireh09td0x1fyx6436.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fuxireh09td0x1fyx6436.jpg" alt="Common Risks Associated With Shadow AI" width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Common Risks Associated With Shadow AI&lt;/strong&gt;&lt;br&gt;
One of the most significant risks associated with Shadow AI is data leakage. Employees frequently interact with AI systems using real world information. credentials, customer records, infrastructure details and proprietary algorithms may all be shared inadvertently.&lt;/p&gt;

&lt;p&gt;Source code exposure represents another growing concer, infrastructure templates, kubernetes manifests and application code often contain valuable information for attackers. Even without exploiting a vulnerability, exposed architectural knowledge can provide a roadmap for future attacks.&lt;/p&gt;

&lt;p&gt;The emergence of autonomous AI agents introduces an additional layer of complexity. Modern agents can interact with Github repositories, Jira tickets, Slack channels and AWS resources. If these agents are granted excessive permissions, they may retrieve secrets, modify infrastructure or perform actions that exceed their intended purpose.&lt;/p&gt;

&lt;p&gt;Prompt injection attacks further complicate the picture. Researchers have demonstrated how malicious instructions embedded within documents or external content can influence AI systems and manipulate their behavior. As AI agents become increasingly autonomous, these attacks may evolve into a significant threat vector. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Improving Visibility With AWS Services&lt;/strong&gt;&lt;br&gt;
Visibility remains one of the most effective defenses against Shadow AI. Fortunately, AWS provides several services that can help organizations improve awareness and strengthen governance.&lt;/p&gt;

&lt;p&gt;Amazon Macie enables organizations to discover and classify sensitive data stored within Amazon S3. By automatically identifying personally identifiable information, financial records and credentials Macie provides valuable insight into where sensitive information resides.&lt;/p&gt;

&lt;p&gt;AWS CloudTrail plays a central role in understanding activity across AWS environments. By recording API calls and user actions, CloudTrail enables security teams to investigate unusual behavior and understand who performed the specific operation and where they occured. &lt;/p&gt;

&lt;p&gt;Amazon GuardDuty compliments this visibility by continuously monitoring for suspicious activity. Through machine learning and threat intelligence, GuardDuty can detect compromised credentials, anomalous API calls and unusual access patterns that may indicate misuse.&lt;/p&gt;

&lt;p&gt;AWS Security Hub provides a centralized view of findings generated by GuardDuty, Macie, Inspector and other services. Rather than navigating multiple consoles, security teams can correlate findings and gain a more comprehensive understanding of their security posture. Together these services create a foundation for detecting risks associated with Shadow AI and strengthing organizational awareness.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqxoxbwelxllcrpk7gid5.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqxoxbwelxllcrpk7gid5.jpg" alt="Securing Gen AI with Macie and Bedrock" width="576" height="303"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Securing Generative AI With AWS Bedrock Guardrails&lt;/strong&gt;&lt;br&gt;
As organizations increasingly adopt generative AI, governance mechanisms become essential. Amazon Bedrock Guardrails provide a powerful capability for implementing responsible AI controls. Organizations can define policies that filter harmful content, restrict sensitive information and enforce acceptable responses.&lt;/p&gt;

&lt;p&gt;Guardrails introduce an additional layer of protection between users and foundation models, helping organizations maintain consistency and reduce the likelihood of inappropriate outputs. While guardrails cannot eliminate every risk associated with generative AI, they represent an important step towards secure and responsible AI adoption.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Building An Effective Shadow AI Governance Strategy&lt;/strong&gt;&lt;br&gt;
Technology alone cannot solve the Shadow AI problem. Organizations must establish governance frameworks that balance innovation with security.&lt;/p&gt;

&lt;p&gt;Providing employees with approved AI platforms is more effective than attempting to prohibit AI usage entirely. Services such as Amazon Bedrock and Amazon Q Developer allow organizations to offer secure alternatives while maintaining visibility and control.&lt;/p&gt;

&lt;p&gt;Identity and access management also play a critical role. AI systems should follow the principle of least privilege, receiving only permissions required to perform their intended tasks. Temporary credentials and IAM roles should be preferred over long term access keys.&lt;/p&gt;

&lt;p&gt;Employee awareness is equally important. Many Shadow AI incidents results from curiosity rather than malicious intent. Security training should emphasize responsible AI usage, prompt hygiene, and data classification practices.&lt;/p&gt;

&lt;p&gt;Continuous monitoring remains essential. CloudTrail, GuardDuty, Security Hub, and Macie should work together to provide visibility and early detection capabilities. Ultimately successful governance depends on people, processes, and technology working together.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Looking Ahead&lt;/strong&gt;&lt;br&gt;
The rise of Shadow AI strongly resembles the emergence of Shadow IT years ago. Initially organizations attempted to eliminate unsanctioned technologies through restrictive policies. Over the time, however it became clear that innovation moves faster than prohibition.&lt;/p&gt;

&lt;p&gt;The same lesson applies today. Employees will continue to adopt AI technologies because the productivity benefits are undeniable. Developers will use coding assistants, analysts will leverage generative AI, and organizations will increasingly rely on intelligent automations. The question is no longer whether AI will become part of enterprise operations. It already has. The more important question is whether organizations can govern this transformation before visibility is lost.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Flyqsw4kmp3mdvltvvbar.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Flyqsw4kmp3mdvltvvbar.jpg" alt="Conclusion" width="576" height="384"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
Shadow AI is not merely an AI problem. It is a visibility problem. It is a data protection problem. It is a governance problem. And increasingly, it is an identity problem.&lt;/p&gt;

&lt;p&gt;AWS provides powerful capabilities including Amazon Macie, AWS CloudTrail, Amazon GuardDuty, AWS Security Hub, AWS Security Config and Amazon Bedrock Guardrails that can help organization establish visibility and strengthen governance.&lt;/p&gt;

&lt;p&gt;However technology alone is not enough. Organizations that succeed in the age of AI will be those that combine security controls with clear policies , continuous monitoring, and employee awareness. Because in 2026, the greatest risks may not come from AI systems you intentionally deploy but from the ones operating quietly in the shadows.        &lt;/p&gt;

</description>
      <category>ai</category>
      <category>cybersecurity</category>
      <category>aws</category>
      <category>community</category>
    </item>
    <item>
      <title>Exploring the Ethereum Blockchain: A Deep Dive into Decentralized Innovation</title>
      <dc:creator>adi271001</dc:creator>
      <pubDate>Sat, 01 Mar 2025 16:53:23 +0000</pubDate>
      <link>https://dev.to/adi271001/exploring-the-ethereum-blockchain-a-deep-dive-into-decentralized-innovation-4g4h</link>
      <guid>https://dev.to/adi271001/exploring-the-ethereum-blockchain-a-deep-dive-into-decentralized-innovation-4g4h</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffe0o6bt21usvtis9puzc.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffe0o6bt21usvtis9puzc.jpg" alt="I1" width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;Ethereum, the pioneer of smart contract-enabled blockchain technology, has revolutionized the digital landscape. In this blog, we explore the Ethereum ecosystem, its functionalities, and its impact. This deep dive will provide insights into its architecture, transaction mechanisms, security considerations, and dApp development.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiitoqo80wg4u3xg9igy0.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiitoqo80wg4u3xg9igy0.jpg" alt="I2" width="800" height="457"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What is HackQuest?
&lt;/h2&gt;

&lt;p&gt;@HackQuest_ is a leading platform that empowers blockchain enthusiasts through interactive learning tracks and co-learning camps. It provides hands-on experience with Ethereum and other blockchain technologies, making it an excellent resource for anyone looking to dive deep into Web3 development.&lt;/p&gt;

&lt;h2&gt;
  
  
  Understanding Ethereum: The Backbone of Web3
&lt;/h2&gt;

&lt;p&gt;Ethereum extends beyond cryptocurrency; it enables decentralized applications (dApps) using smart contracts, eliminating intermediaries and ensuring transparency.&lt;/p&gt;

&lt;h3&gt;
  
  
  Key Features of Ethereum
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Feature&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Smart Contracts&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Self-executing contracts written in Solidity that automate transactions.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Ethereum Virtual Machine (EVM)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;A computational layer enabling smart contract execution across Ethereum nodes.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Decentralized Applications (dApps)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Applications powered by Ethereum's decentralized infrastructure.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Ethereum Gas Fees&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;A small computational fee required for transactions and contract execution.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Ethereum 2.0 Upgrade&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Transition to Proof of Stake (PoS) for improved efficiency.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to%2520uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6desqetj0dvgl7vj52u5.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to%2520uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6desqetj0dvgl7vj52u5.jpg" alt="I3" width="" height=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How Ethereum Transactions Work
&lt;/h2&gt;

&lt;p&gt;Ethereum transactions follow a structured process, from initiation to confirmation on the blockchain.&lt;/p&gt;

&lt;h3&gt;
  
  
  Ethereum Transaction Lifecycle:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Transaction Initiation:&lt;/strong&gt; The user submits a transaction, such as sending ETH or interacting with a smart contract.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Validation:&lt;/strong&gt; The transaction is verified and checked for sufficient gas fees.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mining/Proof of Stake:&lt;/strong&gt; The transaction is added to a block.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Smart Contract Execution:&lt;/strong&gt; If applicable, the smart contract logic executes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Final Confirmation:&lt;/strong&gt; The transaction is permanently recorded on the Ethereum blockchain.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo32bsem6c3wjflqtjqci.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo32bsem6c3wjflqtjqci.jpg" alt="I4" width="800" height="457"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Ethereum Security: Protecting the Blockchain
&lt;/h2&gt;

&lt;p&gt;Security is paramount in Ethereum, ensuring that smart contracts and user assets remain protected from vulnerabilities and attacks.&lt;/p&gt;

&lt;h3&gt;
  
  
  Common Ethereum Security Threats
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Security Risk&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Reentrancy Attacks&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;An attacker repeatedly calls a contract before previous executions complete, draining funds.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Front-Running&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Malicious actors exploit transaction ordering to gain unfair advantages.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Phishing Scams&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Fake websites trick users into revealing private keys or mnemonic phrases.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;51% Attacks&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;If a single entity controls over 50% of Ethereum’s network, they could manipulate transactions.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Ethereum Smart Contracts: The Heart of Decentralization
&lt;/h2&gt;

&lt;p&gt;Smart contracts automate transactions by executing predefined conditions, ensuring security and trustless execution.&lt;/p&gt;

&lt;h3&gt;
  
  
  Example Solidity Smart Contract:
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;pragma solidity ^0.8.0;
contract SimpleContract {
    string public message;
    constructor(string memory _message) {
        message = _message;
    }
    function updateMessage(string memory _newMessage) public {
        message = _newMessage;
    }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6uwcq9nakiwgbf6akvlp.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6uwcq9nakiwgbf6akvlp.jpg" alt="I5" width="800" height="457"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Developing dApps on Ethereum
&lt;/h2&gt;

&lt;p&gt;Ethereum allows developers to create dApps that leverage blockchain transparency and security.&lt;/p&gt;

&lt;h3&gt;
  
  
  Steps to Develop an Ethereum dApp:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Set Up Development Environment&lt;/strong&gt;: Install Node.js, Truffle, and Ganache.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Write Smart Contracts&lt;/strong&gt;: Use Solidity to define contract logic.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deploy on a Testnet&lt;/strong&gt;: Deploy contracts to Ropsten, Rinkeby, or Goerli.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Integrate Frontend&lt;/strong&gt;: Use Web3.js or Ethers.js to interact with the blockchain.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Launch on Mainnet&lt;/strong&gt;: Deploy to Ethereum Mainnet after testing.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Ethereum’s Role in Web3
&lt;/h2&gt;

&lt;p&gt;Ethereum powers Web3 applications by providing a decentralized framework for data and transactions, moving away from traditional web models reliant on central entities.&lt;/p&gt;

&lt;h3&gt;
  
  
  Web3 vs. Web2 Comparison Table:
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Feature&lt;/th&gt;
&lt;th&gt;Web2&lt;/th&gt;
&lt;th&gt;Web3&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Control&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Centralized&lt;/td&gt;
&lt;td&gt;Decentralized&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Data Ownership&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Companies&lt;/td&gt;
&lt;td&gt;Users&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Security&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Prone to Breaches&lt;/td&gt;
&lt;td&gt;Blockchain-Backed&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Transparency&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Limited&lt;/td&gt;
&lt;td&gt;Complete&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Intermediaries&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Required&lt;/td&gt;
&lt;td&gt;Eliminated&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Monetization&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Ad-Based&lt;/td&gt;
&lt;td&gt;Tokenized&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftxb5v3edfjps1fsla7pt.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftxb5v3edfjps1fsla7pt.jpg" alt="I6" width="800" height="457"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Layer 2 Solutions: Linea and Polygon
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Linea: Scaling Ethereum with zkEVM
&lt;/h3&gt;

&lt;p&gt;Linea is a Layer 2 scaling solution that enhances Ethereum’s performance using zkEVM technology. It allows developers to deploy smart contracts seamlessly while benefiting from Ethereum’s security.&lt;/p&gt;

&lt;h3&gt;
  
  
  Polygon: A Multi-Chain Ethereum Scaling Framework
&lt;/h3&gt;

&lt;p&gt;Polygon provides a suite of scaling solutions, including sidechains, Plasma, and zk-rollups, to reduce transaction fees and enhance Ethereum’s usability.&lt;/p&gt;

&lt;h2&gt;
  
  
  Solana vs. Ethereum: A Comparison
&lt;/h2&gt;

&lt;p&gt;Solana and Ethereum are two leading blockchain platforms, each with unique strengths.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Feature&lt;/th&gt;
&lt;th&gt;Ethereum&lt;/th&gt;
&lt;th&gt;Solana&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Consensus&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Proof of Stake (PoS)&lt;/td&gt;
&lt;td&gt;Proof of History (PoH)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Transaction Speed&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;15-30 TPS&lt;/td&gt;
&lt;td&gt;65,000+ TPS&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Scalability&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Layer 2 Solutions&lt;/td&gt;
&lt;td&gt;High Scalability&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Smart Contracts&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Solidity-based&lt;/td&gt;
&lt;td&gt;Rust-based&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Decentralization&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;High&lt;/td&gt;
&lt;td&gt;Moderate&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fko2cajk2rwk3x1fecq37.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fko2cajk2rwk3x1fecq37.jpg" alt="I7" width="800" height="457"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Learning Ethereum on HackQuest
&lt;/h2&gt;

&lt;p&gt;HackQuest provides structured learning paths to help users understand Ethereum and Web3 technologies. Some of the key modules include:&lt;/p&gt;

&lt;h3&gt;
  
  
  Phase 1: Web3 Basics
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Web3 Overview&lt;/li&gt;
&lt;li&gt;Introduction to Blockchain Technology&lt;/li&gt;
&lt;li&gt;Wallet Principles and Security&lt;/li&gt;
&lt;li&gt;Blockchain Application Scenarios&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Phase 2: Web3 Security
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Common Wallet Risks&lt;/li&gt;
&lt;li&gt;Security of Private Keys and Mnemonic Phrases&lt;/li&gt;
&lt;li&gt;Digital Signature Risks&lt;/li&gt;
&lt;li&gt;Fraud Tactics &amp;amp; Prevention Measures&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How to Get Started with HackQuest
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Step-by-Step Guide:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Sign Up&lt;/strong&gt;: Create an account on &lt;a href="https://hackquest.io" rel="noopener noreferrer"&gt;HackQuest&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Choose a Learning Track&lt;/strong&gt;: Pick the Ethereum track to start learning.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Complete Tasks&lt;/strong&gt;: Follow interactive lessons and quizzes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Earn Rewards&lt;/strong&gt;: Gain XP points and blockchain certifications.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Contribute &amp;amp; Network&lt;/strong&gt;: Engage in discussions and co-learning camps.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Ethereum is shaping the decentralized future, from finance to gaming, by empowering users with control and transparency. Understanding its fundamentals opens doors to building and participating in the blockchain revolution. Platforms like HackQuest make this learning journey seamless, providing real-world blockchain experience and community support.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Author:&lt;/strong&gt; Aditya D\&lt;br&gt;
&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://www.github.com/adi271001" rel="noopener noreferrer"&gt;https://www.github.com/adi271001&lt;/a&gt;\&lt;br&gt;
&lt;strong&gt;LinkedIn:&lt;/strong&gt; &lt;a href="https://www.linkedin.com/in/aditya-d-23453a179/" rel="noopener noreferrer"&gt;https://www.linkedin.com/in/aditya-d-23453a179/&lt;/a&gt;\&lt;br&gt;
&lt;strong&gt;Topmate:&lt;/strong&gt; &lt;a href="https://topmate.io/aditya_d/" rel="noopener noreferrer"&gt;https://topmate.io/aditya_d/&lt;/a&gt;\&lt;br&gt;
&lt;strong&gt;Twitter:&lt;/strong&gt; &lt;a href="https://x.com/ADITYAD29257528" rel="noopener noreferrer"&gt;https://x.com/ADITYAD29257528&lt;/a&gt;&lt;/p&gt;

</description>
      <category>web3</category>
      <category>blockchain</category>
      <category>ethereum</category>
      <category>metamask</category>
    </item>
    <item>
      <title>Developing An Internal Developer Platform</title>
      <dc:creator>adi271001</dc:creator>
      <pubDate>Thu, 25 Jul 2024 11:48:56 +0000</pubDate>
      <link>https://dev.to/adi271001/developing-an-internal-developer-platform-3dn8</link>
      <guid>https://dev.to/adi271001/developing-an-internal-developer-platform-3dn8</guid>
      <description>&lt;p&gt;In this blog we will be discussing about Internal Developer Platform (IDP), what it is , how to set one up as a lead DevOps Engineer.Present tech landscape implementing an IDP helps to streamline workflows and boost productivity.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is an Internal Developer Platforming
&lt;/h2&gt;

&lt;p&gt;It is a platform or an application which is built by platform engineecloring team for building golden paths and to facilitate developer self service. It consists of various tools and technologies integrated together so that it lowers cognitive load on developers without abstraction of context and underlying technologies. &lt;/p&gt;

&lt;h2&gt;
  
  
  Why is there a need to build IDP
&lt;/h2&gt;

&lt;p&gt;It Centralizes and simplifies application deployment and management.&lt;/p&gt;

&lt;h3&gt;
  
  
  Simplify Deployment:
&lt;/h3&gt;

&lt;p&gt;Helps engineers to deploy applications with minimal manual intervention.&lt;/p&gt;

&lt;h3&gt;
  
  
  Increase Reliability:
&lt;/h3&gt;

&lt;p&gt;This ensures that deployments are consistent and error free.&lt;/p&gt;

&lt;h3&gt;
  
  
  Enhance Productivity:'
&lt;/h3&gt;

&lt;p&gt;Reduces time and efforts invested for managing infrastructure&lt;/p&gt;

&lt;h2&gt;
  
  
  Tools and Technologies Used
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Kubernetes
&lt;/h3&gt;

&lt;p&gt;This is a container orchestration tool which is used for automating deployments , scaling and management of applications which are containerized.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Documentation:&lt;/strong&gt; &lt;a href="https://kubernetes.io/docs/home/" rel="noopener noreferrer"&gt;https://kubernetes.io/docs/home/&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Youtube:&lt;/strong&gt; &lt;a href="https://youtu.be/X48VuDVv0do?si=9aPNky0DDPyATiFM" rel="noopener noreferrer"&gt;https://youtu.be/X48VuDVv0do?si=9aPNky0DDPyATiFM&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Interview Questions:&lt;/strong&gt; &lt;a href="https://kuberty.io/blog/top-kubernetes-interview-questions/" rel="noopener noreferrer"&gt;https://kuberty.io/blog/top-kubernetes-interview-questions/&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Cyclops
&lt;/h3&gt;

&lt;p&gt;It is a user friendly UI and streaming tool for managing kuberenetes clusters. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Documentation:&lt;/strong&gt; &lt;a href="https://cyclops-ui.com/docs/about/" rel="noopener noreferrer"&gt;https://cyclops-ui.com/docs/about/&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Youtube:&lt;/strong&gt; &lt;a href="https://www.youtube.com/live/QQAqHGEYVRM?si=GEgZ3bDyhsCh_cHV" rel="noopener noreferrer"&gt;https://www.youtube.com/live/QQAqHGEYVRM?si=GEgZ3bDyhsCh_cHV&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Github Repository:&lt;/strong&gt; &lt;a href="https://github.com/cyclops-ui/cyclops" rel="noopener noreferrer"&gt;https://github.com/cyclops-ui/cyclops&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Docker
&lt;/h3&gt;

&lt;p&gt;It is a tool which is used for easy developing , shipping and running applications inside a container&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Documentation:&lt;/strong&gt; &lt;a href="https://docs.docker.com/" rel="noopener noreferrer"&gt;https://docs.docker.com/&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Youtube:&lt;/strong&gt; &lt;a href="https://youtu.be/3c-iBn73dDE?si=FI7ZKDi3Kij1MYMo" rel="noopener noreferrer"&gt;https://youtu.be/3c-iBn73dDE?si=FI7ZKDi3Kij1MYMo&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Interview Questions:&lt;/strong&gt; &lt;a href="https://hackr.io/blog/docker-interview-questions" rel="noopener noreferrer"&gt;https://hackr.io/blog/docker-interview-questions&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Helm
&lt;/h3&gt;

&lt;p&gt;It is a package manager for kubernetes which helps in simplification of deployments and services&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Documentation:&lt;/strong&gt; &lt;a href="https://helm.sh/docs/" rel="noopener noreferrer"&gt;https://helm.sh/docs/&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Youtube:&lt;/strong&gt; &lt;a href="https://youtu.be/5_J7RWLLVeQ?si=8DPo9rD5cYf-moJd" rel="noopener noreferrer"&gt;https://youtu.be/5_J7RWLLVeQ?si=8DPo9rD5cYf-moJd&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Interview Questions:&lt;/strong&gt; &lt;a href="https://www.devopsschool.com/blog/top-50-helm-interview-questions-and-answers/" rel="noopener noreferrer"&gt;https://www.devopsschool.com/blog/top-50-helm-interview-questions-and-answers/&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Prometheus
&lt;/h3&gt;

&lt;p&gt;It is used for monitoring and alert management&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Documentation:&lt;/strong&gt; &lt;a href="https://prometheus.io/docs/introduction/overview/" rel="noopener noreferrer"&gt;https://prometheus.io/docs/introduction/overview/&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Youtube:&lt;/strong&gt; &lt;a href="https://youtu.be/h4Sl21AKiDg?si=2Heu9OAkG_FkZSNJ" rel="noopener noreferrer"&gt;https://youtu.be/h4Sl21AKiDg?si=2Heu9OAkG_FkZSNJ&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Interview Questions:&lt;/strong&gt; &lt;a href="https://www.devopsschool.com/blog/top-50-prometheus-interview-questions-and-answers/" rel="noopener noreferrer"&gt;https://www.devopsschool.com/blog/top-50-prometheus-interview-questions-and-answers/&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Graphana
&lt;/h3&gt;

&lt;p&gt;It is a visualization tools for visualizing data&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Documentation:&lt;/strong&gt; &lt;a href="https://grafana.com/docs/" rel="noopener noreferrer"&gt;https://grafana.com/docs/&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Youtube:&lt;/strong&gt; &lt;a href="https://youtu.be/CjABEnRg9NI?si=QrZ3aBVUy_B9LOKH" rel="noopener noreferrer"&gt;https://youtu.be/CjABEnRg9NI?si=QrZ3aBVUy_B9LOKH&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Interview Questions:&lt;/strong&gt; &lt;a href="https://www.devopsschool.com/blog/top-50-grafana-interview-questions-and-answers/" rel="noopener noreferrer"&gt;https://www.devopsschool.com/blog/top-50-grafana-interview-questions-and-answers/&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  PostgreSQL and MongoDB
&lt;/h3&gt;

&lt;p&gt;These are popular relative and NoSQL databases respectively and is used for storing application data.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Documentation-PostgreSQL:&lt;/strong&gt; &lt;a href="https://www.postgresql.org/docs/" rel="noopener noreferrer"&gt;https://www.postgresql.org/docs/&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Youtube-PostgreSQL:&lt;/strong&gt; &lt;a href="https://youtu.be/qw--VYLpxG4?si=rory5ndP3nqGzKjZ" rel="noopener noreferrer"&gt;https://youtu.be/qw--VYLpxG4?si=rory5ndP3nqGzKjZ&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Interview Questions-PostgreSQL:&lt;/strong&gt; &lt;a href="https://www.datacamp.com/blog/top-postgresql-interview-questions-for-all-levels" rel="noopener noreferrer"&gt;https://www.datacamp.com/blog/top-postgresql-interview-questions-for-all-levels&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Documentation-MongoDB:&lt;/strong&gt; &lt;a href="https://www.mongodb.com/docs/" rel="noopener noreferrer"&gt;https://www.mongodb.com/docs/&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Youtube-MongoDB:&lt;/strong&gt; &lt;a href="https://youtube.com/playlist?list=PL4cUxeGkcC9h77dJ-QJlwGlZlTd4ecZOA&amp;amp;si=N49ED6H2sztBQrFu" rel="noopener noreferrer"&gt;https://youtube.com/playlist?list=PL4cUxeGkcC9h77dJ-QJlwGlZlTd4ecZOA&amp;amp;si=N49ED6H2sztBQrFu&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Interview Questions:&lt;/strong&gt; &lt;a href="https://hackr.io/blog/mongodb-interview-questions" rel="noopener noreferrer"&gt;https://hackr.io/blog/mongodb-interview-questions&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Istio
&lt;/h3&gt;

&lt;p&gt;It is a service mesh for advanced traffic management , security , observability for microservice applications&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Documentation:&lt;/strong&gt; &lt;a href="https://istio.io/latest/docs/" rel="noopener noreferrer"&gt;https://istio.io/latest/docs/&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Youtube:&lt;/strong&gt; &lt;a href="https://youtube.com/playlist?list=PLI4xy7phW54nbfjf7ZMnlEx1O5cHneigh&amp;amp;si=bs3RdBT6Tm6SF9Fc" rel="noopener noreferrer"&gt;https://youtube.com/playlist?list=PLI4xy7phW54nbfjf7ZMnlEx1O5cHneigh&amp;amp;si=bs3RdBT6Tm6SF9Fc&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Interview Questions:&lt;/strong&gt; &lt;a href="https://www.devopsschool.com/blog/top-50-istio-interview-questions-and-answers/" rel="noopener noreferrer"&gt;https://www.devopsschool.com/blog/top-50-istio-interview-questions-and-answers/&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Jenkins
&lt;/h3&gt;

&lt;p&gt;It is an open source automation server tool which is used for Continuous Integration (CI) and Continuous Delivery (CD), which automates building, testing and deploying applications via pipelines.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Documentation:&lt;/strong&gt; &lt;a href="https://www.jenkins.io/doc/" rel="noopener noreferrer"&gt;https://www.jenkins.io/doc/&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Youtube:&lt;/strong&gt; &lt;a href="https://youtube.com/playlist?list=PLy7NrYWoggjw_LIiDK1LXdNN82uYuuuiC&amp;amp;si=yjaMJdICFYJlCFZY" rel="noopener noreferrer"&gt;https://youtube.com/playlist?list=PLy7NrYWoggjw_LIiDK1LXdNN82uYuuuiC&amp;amp;si=yjaMJdICFYJlCFZY&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Interview Questions:&lt;/strong&gt; &lt;a href="https://hackr.io/blog/jenkins-interview-questions" rel="noopener noreferrer"&gt;https://hackr.io/blog/jenkins-interview-questions&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Argo CD
&lt;/h3&gt;

&lt;p&gt;it is a gitops CD tool for kubernetes , it is declarative and ensures the desires state of deployed application is matched as defined in git repository&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Documentation:&lt;/strong&gt; &lt;a href="https://argo-cd.readthedocs.io/en/stable/" rel="noopener noreferrer"&gt;https://argo-cd.readthedocs.io/en/stable/&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Youtube:&lt;/strong&gt; &lt;a href="https://youtu.be/MeU5_k9ssrs?si=PUzJxpQobUiVcqvm" rel="noopener noreferrer"&gt;https://youtu.be/MeU5_k9ssrs?si=PUzJxpQobUiVcqvm&lt;/a&gt; &lt;br&gt;
&lt;strong&gt;Interview Questions:&lt;/strong&gt; &lt;a href="https://www.lwplab.com/forum/questions-answers/interview-questions-answers-on-argo-cd" rel="noopener noreferrer"&gt;https://www.lwplab.com/forum/questions-answers/interview-questions-answers-on-argo-cd&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Implementation
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Step 1: Setup Docker
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install docker-ce
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Step 2: Start Docker
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo systemctl start docker
sudo systemctl enable docker
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Step 3: Set up kubernetes
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee /etc/apt/sources.list.d/kubernetes.list
sudo apt-get update
sudo apt-get install -y kubectl
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Step 4: Set Up Minikube
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
chmod +x minikube-linux-amd64
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Step 5: Start Minikube
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;minikube start&lt;/code&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 6: Install Helm
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Step 7: Install Cyclops-UI
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;kubectl apply -f https://raw.githubusercontent.com/cyclops-ui/cyclops/v0.8.2/install/cyclops-install.yaml &amp;amp;&amp;amp; kubectl apply -f https://raw.githubusercontent.com/cyclops-ui/cyclops/v0.8.2/install/demo-templates.yaml
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Step 8: Expose cyclops and access it
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;kubectl port forward svc/cyclops-ui 3000:3000 -n cyclops
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;cyclops is now accesssible in browser by using this url: &lt;a href="http://localhost:300" rel="noopener noreferrer"&gt;http://localhost:300&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 9: Install and Configure Databases
&lt;/h3&gt;

&lt;h4&gt;
  
  
  PostgreSQL
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;helm repo add bitnami https://charts.bitnami.com/bitnami
helm install postgresql bitnami/postgresql
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  MongoDB
&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;helm install mongodb bitnami/mongodb&lt;/code&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 10: Install Monitoring and Logging Tools
&lt;/h3&gt;

&lt;h4&gt;
  
  
  Prometheus
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;helm install prometheus bitnami/prometheus
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Grafana
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;helm install grafana bitnami/graphana
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;configure grafana to add prometheus as data source, below is example yaml file named as grafana-datasource.yaml&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvfne07mzw8wl8fn5rcef.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvfne07mzw8wl8fn5rcef.png" alt="grafana-datasource.yaml" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 11: Install and implement Service Mesh with Istio
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;curl -L https://istio.io/downloadIstio | sh -
cd istio-*
export PATH=$PWD/bin:$PATH
istioctl install --set-profile=demo -y
kubectl label namespace default istio-injection=enabled
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;deploy a sample app using istio , below is example yaml file named as sample-app.yaml used for deployment&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm0ee6mw5a5s3h7ukmht2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm0ee6mw5a5s3h7ukmht2.png" alt="sample-app.yaml" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;deploy using &lt;code&gt;kubectl apply -f sample-app.yaml&lt;/code&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 12: Install ArgoCD
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;kubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argocd/stable/manifests/install.yaml
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Expose the argocd to get access
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;kubectl port-forward svc/argocd-server -n argocd 8080:443
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Log in to argocd
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Step 13: Install Jenkins
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;kubectl create namespace jenkins
helm repo add jenkins https://charts.jenkins.io
helm repo update
helm install jenkins jenkins/jenkins --namespace jenkins
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Expose jenkins to get access
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;kubectl port-forward svc/jenkins -n jenkins 8080:8080
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Login to jenkins
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;kubectl exec --namespace jenkins -it svc/jenkins -c jenkins -- /bin/cat /run/secrets/additional/chart-admin-password &amp;amp;&amp;amp; echo
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Step 14: Set up Jenkins Pipeline;
&lt;/h3&gt;

&lt;p&gt;Access jenkins using the url &lt;a href="http://localhost:8080" rel="noopener noreferrer"&gt;http://localhost:8080&lt;/a&gt;, login using the admin password and username as admin, below is the sample image of jenkins console&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4n542nlr39b7gdpgksvu.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4n542nlr39b7gdpgksvu.jpeg" alt="Jenkins Console" width="367" height="220"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;now create a sample app in your local directory, it can be in any programming language , below is the sample app structure in node js format&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyef92qc8xe5tkq4o9spg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyef92qc8xe5tkq4o9spg.png" alt="App.js" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;next create a Dockerfile to run docker container , sample Dockerfile is shown below&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fswznm1pwwbhuoafus99l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fswznm1pwwbhuoafus99l.png" alt="Dockerfile" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;now create a Jenkinsfile which contains the steps for jenkins pipeline , a sample pipeline is shown below&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F28htmt31qiwhrhy030db.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F28htmt31qiwhrhy030db.png" alt="Jenkinsfile" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;at last create a deployment.yaml file for kubernetes and other services to run , below is sample file for deployment.yaml&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv74xjyl1kc5pcffntklp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv74xjyl1kc5pcffntklp.png" alt="deployment.yaml" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Usecase
&lt;/h2&gt;

&lt;p&gt;Let's consider an E-commerce company which requires frequent updates and deployments and engineers are struggling with their deployments which is manual , inconsistent , lack of visibility. The answer to tackle these issues is building and IDP. Lets see how each tool helps in solving these problems.&lt;/p&gt;

&lt;h3&gt;
  
  
  Cyclops-Ui
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Pre Deployment:&lt;/strong&gt; Cyclops Ui can be accessed to set parameters &lt;br&gt;
like environment settings and resource allocation.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Deployment:&lt;/strong&gt; the pipeline will be triggered by Cyclops-UI &lt;br&gt;
which leverages tools like kubernetes , docker and helm and &lt;br&gt;
ensures consistent and reliable manner of deployment.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Jenkins
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Automated Builds:&lt;/strong&gt; The source code repository in github is &lt;br&gt;
monitored by jenkins and an immediate trigger for new build &lt;br&gt;
happens when any change is detected in the repository.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Automated Tests:&lt;/strong&gt; Once the changes are applied jenkins also &lt;br&gt;
tests the changes to ensure no bugs or regressions.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Deployment:&lt;/strong&gt; After tests are successful the application is &lt;br&gt;
deployed on staging environment by jenkins and after validations &lt;br&gt;
are done it is deployed to production environment.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Argocd
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Continuous Delivery:&lt;/strong&gt; Detects changes in repository and 
synchronizes the kubernetes cluster to the desires state 
mentioned in manifest file.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Prometheus
&lt;/h3&gt;

&lt;p&gt;This can be used to collect metrics from application and kubernetes cluster which provides insights into performance and cluster health.&lt;/p&gt;

&lt;h3&gt;
  
  
  Graphana
&lt;/h3&gt;

&lt;p&gt;This is used for visualizng the metric data taken from prometheus &lt;br&gt;
and create dashboards and monitor the application in real time&lt;/p&gt;

&lt;h3&gt;
  
  
  PostgreSQL and MongoDB
&lt;/h3&gt;

&lt;p&gt;These are the primary databases of the application which uses transactional and non relational data respectively, it is managed by helm charts for consistency and scalability.&lt;/p&gt;

&lt;h3&gt;
  
  
  Istio
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Traffic Management:&lt;/strong&gt; Istio provides features for managing &lt;br&gt;
traffic between microservices , for loadbalancing and for &lt;br&gt;
routing as well.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Security:&lt;/strong&gt; Security policies are enforced by istio to ensure &lt;br&gt;
secure communication between services.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Benefits
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Efficient Deployment:&lt;/strong&gt; Since deployment process is automated &lt;br&gt;
 manual errors are reduced and consistency is ensured.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Enhanced Monitoring:&lt;/strong&gt; With realtime dashboards ,visualization &lt;br&gt;
performance and issues are being monitored effortlessly.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Scalable Infrastructure:&lt;/strong&gt; With tools like kubernetes , docker &lt;br&gt;
, helm applications can be scaled and managed easily also &lt;br&gt;
effective resource allocation is done without any difficulty.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Streamlined CI/CD:&lt;/strong&gt; With jenkins building , testing and &lt;br&gt;
deployment is automated and consistent as and when changes in &lt;br&gt;
source repository are detected.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;GitOps Workflow:&lt;/strong&gt; With tool like ArgoCD deployed applications &lt;br&gt;
will always seam lessly match desired states mentioned in &lt;br&gt;
manifest file in git repository.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Final Thoughts
&lt;/h2&gt;

&lt;p&gt;Building an IDP using cyclops and kubernetes includes setting up a variety of tools whcih ensures smooth and efficient deployment and management process. By using tools like Docker , Helm , ArgoCD, prometheus , graphana, PostgreSQL, MongoDB, Istio , Jenkins we have built a comprehensible and reliable platform which makes deployments and management of projects very easy.&lt;/p&gt;

&lt;p&gt;By using a range of DevOps and CI/CD tools we have built a powerful environment which accelerates development and deployments. We have also seen an example usecase of E-Commerce website which shows how efficiently deployments can be managed and how it enhances both productivity and reliability&lt;/p&gt;

</description>
      <category>devops</category>
      <category>kubernetes</category>
      <category>jenkins</category>
      <category>istio</category>
    </item>
  </channel>
</rss>
