<?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: Ashwarya</title>
    <description>The latest articles on DEV Community by Ashwarya (@xcl1br).</description>
    <link>https://dev.to/xcl1br</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%2F457058%2F26ba00e1-b6ac-4852-b815-105c50cf9915.jpg</url>
      <title>DEV Community: Ashwarya</title>
      <link>https://dev.to/xcl1br</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/xcl1br"/>
    <language>en</language>
    <item>
      <title>Top AWS Services Every DevOps Engineer Should Know</title>
      <dc:creator>Ashwarya</dc:creator>
      <pubDate>Sun, 23 Aug 2026 10:30:04 +0000</pubDate>
      <link>https://dev.to/xcl1br/top-aws-services-every-devops-engineer-should-know-3hg9</link>
      <guid>https://dev.to/xcl1br/top-aws-services-every-devops-engineer-should-know-3hg9</guid>
      <description>&lt;p&gt;Today I learnt about the AWS services that come up again and again in DevOps work — and also in DevOps interviews.One thing the video I watched said, which I really liked: you don't need to know &lt;em&gt;every&lt;/em&gt; AWS service deeply. You need to know the ones your job actually uses, but you should at least understand what each major service does, because interviewers love asking "what is X and when would you use it."&lt;/p&gt;

&lt;p&gt;For each service below, I've covered: what it is in plain words, a real example, important commands, and how to think about it if it comes up in an interview.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. EC2 (Elastic Compute Cloud)
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What it is:&lt;/strong&gt; A virtual computer that you rent from AWS. This is the most basic and most used service — it's literally a server in the cloud that you can install anything on.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Real example:&lt;/strong&gt; You built a website on your laptop. To make it live for the world, you rent an EC2 "instance" (a virtual computer), put your code on it, and now anyone can visit it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use case:&lt;/strong&gt; Hosting websites, running backend applications, running any software that normally needs a physical server.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Important commands:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;aws ec2 run-instances &lt;span class="nt"&gt;--image-id&lt;/span&gt; ami-xxxx &lt;span class="nt"&gt;--instance-type&lt;/span&gt; t2.micro   &lt;span class="c"&gt;# launch a new server&lt;/span&gt;
aws ec2 describe-instances                                          &lt;span class="c"&gt;# list your servers&lt;/span&gt;
aws ec2 start-instances &lt;span class="nt"&gt;--instance-ids&lt;/span&gt; i-xxxx                       &lt;span class="c"&gt;# turn a server on&lt;/span&gt;
aws ec2 stop-instances &lt;span class="nt"&gt;--instance-ids&lt;/span&gt; i-xxxx                        &lt;span class="c"&gt;# turn a server off&lt;/span&gt;
aws ec2 terminate-instances &lt;span class="nt"&gt;--instance-ids&lt;/span&gt; i-xxxx                   &lt;span class="c"&gt;# delete a server permanently&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Interview point of view:&lt;/strong&gt; If asked "what is EC2," say it in one line: &lt;em&gt;"EC2 gives you a virtual server in the cloud that you fully control, like your own computer, but rented."&lt;/em&gt; Interviewers often follow up by asking about instance types (like t2.micro, t3.medium) — these just decide how powerful (CPU/RAM) your server is, and cost more as they get bigger.&lt;/p&gt;




&lt;h2&gt;
  
  
  2. VPC (Virtual Private Cloud)
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What it is:&lt;/strong&gt; Your own private, isolated network inside AWS. Think of it as a fenced-off area where only your resources live, and you decide what can enter or leave.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Real example:&lt;/strong&gt; Two companies can both have servers in AWS, but their VPCs keep them completely separate — like two different buildings, even though both are on the same street (AWS's data center).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use case:&lt;/strong&gt; Controlling which parts of your app can talk to the internet, and which parts should stay hidden (like a database that should never be public).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Important commands:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;aws ec2 create-vpc &lt;span class="nt"&gt;--cidr-block&lt;/span&gt; 10.0.0.0/16              &lt;span class="c"&gt;# create a private network&lt;/span&gt;
aws ec2 create-subnet &lt;span class="nt"&gt;--vpc-id&lt;/span&gt; vpc-xxxx &lt;span class="nt"&gt;--cidr-block&lt;/span&gt; 10.0.1.0/24   &lt;span class="c"&gt;# divide it into smaller sections&lt;/span&gt;
aws ec2 describe-security-groups                          &lt;span class="c"&gt;# see the "firewall" rules&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Interview point of view:&lt;/strong&gt; A common question is "what is a CIDR block?" — simple answer: it's just a range of IP addresses (like 10.0.0.0/16), a way of saying "these many addresses belong to my network." Also expect: "difference between security group and NACL" — a security group is like a guard checking each visitor at your door (per server), while a NACL checks everyone entering the whole building (per subnet).&lt;/p&gt;




&lt;h2&gt;
  
  
  3. EBS (Elastic Block Store)
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What it is:&lt;/strong&gt; A hard disk (storage) that you attach to your EC2 server. Just like you can plug in a pen drive to your laptop, you can attach an EBS "volume" to your virtual server.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Real example:&lt;/strong&gt; Your EC2 server crashed, but your EBS volume (where all the data was saved) is untouched — you can detach it and attach it to a brand-new server, and all your files are still there.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use case:&lt;/strong&gt; Storing data that needs to stay even if the server restarts, taking backups (called "snapshots"), and moving data between servers.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Important commands:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;aws ec2 create-volume &lt;span class="nt"&gt;--availability-zone&lt;/span&gt; us-east-1a &lt;span class="nt"&gt;--size&lt;/span&gt; 20    &lt;span class="c"&gt;# create a new disk&lt;/span&gt;
aws ec2 attach-volume &lt;span class="nt"&gt;--volume-id&lt;/span&gt; vol-xxxx &lt;span class="nt"&gt;--instance-id&lt;/span&gt; i-xxxx &lt;span class="nt"&gt;--device&lt;/span&gt; /dev/sdf   &lt;span class="c"&gt;# attach it to a server&lt;/span&gt;
aws ec2 create-snapshot &lt;span class="nt"&gt;--volume-id&lt;/span&gt; vol-xxxx                      &lt;span class="c"&gt;# take a backup&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Interview point of view:&lt;/strong&gt; Be ready for "EBS vs S3" — EBS is like a disk attached to one server (block storage), while S3 is more like a big shared online locker for files (object storage), accessible from anywhere without attaching to a specific server.&lt;/p&gt;




&lt;h2&gt;
  
  
  4. S3 (Simple Storage Service)
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What it is:&lt;/strong&gt; Cloud storage for files — images, videos, backups, logs, anything. It's cheap, and it doesn't need to be "attached" to any server.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Real example:&lt;/strong&gt; Instead of saving user-uploaded profile photos on your server's disk (which is risky, since a server could go down), you save them in an S3 "bucket," and your app just fetches them from there whenever needed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use case:&lt;/strong&gt; Storing backups, hosting static websites, storing logs, storing any file your app needs to keep long-term. AWS also pushes everyone to keep S3 encrypted for security.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Important commands:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;aws s3 mb s3://my-bucket-name         &lt;span class="c"&gt;# create a new storage bucket&lt;/span&gt;
aws s3 &lt;span class="nb"&gt;cp &lt;/span&gt;myfile.txt s3://my-bucket-name/     &lt;span class="c"&gt;# upload a file&lt;/span&gt;
aws s3 &lt;span class="nb"&gt;ls &lt;/span&gt;s3://my-bucket-name/        &lt;span class="c"&gt;# list files in the bucket&lt;/span&gt;
aws s3 &lt;span class="nb"&gt;sync&lt;/span&gt; ./localfolder s3://my-bucket-name/   &lt;span class="c"&gt;# upload/sync an entire folder&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Interview point of view:&lt;/strong&gt; A favorite interview question: "Is S3 storage or a database?" Answer clearly: it's storage for files (called "objects"), not a database — you can't run SQL-style queries on it directly.&lt;/p&gt;




&lt;h2&gt;
  
  
  5. EFS (Elastic File System)
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What it is:&lt;/strong&gt; A shared file storage system that many EC2 servers can use &lt;em&gt;at the same time&lt;/em&gt;. Unlike EBS (which connects to just one server), EFS can be shared across many.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Real example:&lt;/strong&gt; You have 5 EC2 servers all running the same application, and all 5 need access to the same set of uploaded files at once. EBS can't do that (one disk, one server), but EFS can.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use case:&lt;/strong&gt; Applications that generate or need a lot of shared data across multiple servers — like content management systems, shared logs, or big data processing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Important commands:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;aws efs create-file-system                          &lt;span class="c"&gt;# create shared storage&lt;/span&gt;
aws efs create-mount-target &lt;span class="nt"&gt;--file-system-id&lt;/span&gt; fs-xxxx &lt;span class="nt"&gt;--subnet-id&lt;/span&gt; subnet-xxxx   &lt;span class="c"&gt;# connect it to your network&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Interview point of view:&lt;/strong&gt; Remember the one-line difference: &lt;em&gt;EBS = one server, one disk. EFS = many servers, one shared disk.&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  6. IAM (Identity and Access Management)
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What it is:&lt;/strong&gt; AWS's system for controlling who is allowed to do what. You create "users" or "roles" and give them specific permissions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Real example:&lt;/strong&gt; In a company, a developer might get permission to only view and edit code deployment, while the QA (testing) team only gets "read-only" access — they can look but not change anything.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use case:&lt;/strong&gt; Keeping your AWS account safe by giving each person or each application only the access they truly need — never giving everyone full control.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Important commands:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;aws iam create-user &lt;span class="nt"&gt;--user-name&lt;/span&gt; john             &lt;span class="c"&gt;# create a new user&lt;/span&gt;
aws iam attach-user-policy &lt;span class="nt"&gt;--user-name&lt;/span&gt; john &lt;span class="nt"&gt;--policy-arn&lt;/span&gt; arn:aws:iam::aws:policy/ReadOnlyAccess   &lt;span class="c"&gt;# give permission&lt;/span&gt;
aws iam list-users                                &lt;span class="c"&gt;# see all users&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Interview point of view:&lt;/strong&gt; This is one of the most-asked topics. Learn the term &lt;strong&gt;"principle of least privilege"&lt;/strong&gt; — meaning give the smallest amount of access needed to do the job, nothing extra. Interviewers love hearing this exact phrase.&lt;/p&gt;




&lt;h2&gt;
  
  
  7. CloudWatch
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What it is:&lt;/strong&gt; AWS's monitoring and alerting tool. It watches your servers and services, and tells you if something looks wrong.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Real example:&lt;/strong&gt; If someone accidentally creates an EBS volume without encryption, CloudWatch can be set up to instantly send you a notification about it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use case:&lt;/strong&gt; Tracking server health (CPU usage, memory), setting up alarms (e.g., "alert me if CPU usage goes above 90%"), and collecting logs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Important commands:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;aws cloudwatch put-metric-alarm &lt;span class="nt"&gt;--alarm-name&lt;/span&gt; high-cpu &lt;span class="nt"&gt;--metric-name&lt;/span&gt; CPUUtilization &lt;span class="nt"&gt;--threshold&lt;/span&gt; 90 ...
aws logs describe-log-groups        &lt;span class="c"&gt;# see what logs are being collected&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Interview point of view:&lt;/strong&gt; Be ready to explain "alarms" simply: &lt;em&gt;"An alarm is a rule — if a value crosses a limit I set, CloudWatch notifies me automatically, instead of me having to check manually all the time."&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  8. Lambda
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What it is:&lt;/strong&gt; A way to run small pieces of code without managing any server at all. You just upload your code, and AWS runs it only when needed — this is called "serverless."&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Real example:&lt;/strong&gt; Every time a new file is uploaded to S3, you want to automatically resize the image. Instead of running a server 24/7 just waiting for uploads, you use Lambda — it wakes up only when a file is uploaded, does the job, and then shuts down.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use case:&lt;/strong&gt; Small, event-driven tasks — like processing an uploaded file, sending a notification, or running a scheduled job — without paying for a server that's idle most of the time.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Important commands:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;aws lambda create-function &lt;span class="nt"&gt;--function-name&lt;/span&gt; myFunction &lt;span class="nt"&gt;--runtime&lt;/span&gt; python3.9 &lt;span class="nt"&gt;--handler&lt;/span&gt; index.handler ...
aws lambda invoke &lt;span class="nt"&gt;--function-name&lt;/span&gt; myFunction output.json    &lt;span class="c"&gt;# manually run/test the function&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Interview point of view:&lt;/strong&gt; The key phrase interviewers want to hear is &lt;strong&gt;"serverless"&lt;/strong&gt; — meaning you don't manage or pay for a server sitting idle; you only pay for the exact time your code actually runs.&lt;/p&gt;




&lt;h2&gt;
  
  
  9. AWS CodePipeline
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What it is:&lt;/strong&gt; A tool that automates your entire release process — from code being pushed, to being tested, to being deployed — step by step, automatically. It's AWS's version of a CI/CD pipeline (similar to Jenkins pipelines).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Real example:&lt;/strong&gt; A developer pushes code to GitHub. CodePipeline automatically detects this, runs the tests, and if everything passes, deploys the new version — no manual steps needed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use case:&lt;/strong&gt; Automating the full journey of code from "written" to "live," reducing human error and saving time.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Important commands:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;aws codepipeline create-pipeline &lt;span class="nt"&gt;--cli-input-json&lt;/span&gt; file://pipeline.json
aws codepipeline get-pipeline-state &lt;span class="nt"&gt;--name&lt;/span&gt; my-pipeline    &lt;span class="c"&gt;# check pipeline status&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Interview point of view:&lt;/strong&gt; Know the difference between CodePipeline (the overall automation flow / orchestrator) versus CodeBuild and CodeDeploy (specific jobs within that flow) — interviewers often check if you understand how these three connect.&lt;/p&gt;




&lt;h2&gt;
  
  
  10. AWS CodeBuild
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What it is:&lt;/strong&gt; A managed service that takes your code, compiles/builds it, runs your tests, and packages it — ready to be deployed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Real example:&lt;/strong&gt; Your code needs to be converted from source files into a runnable package (like a &lt;code&gt;.jar&lt;/code&gt; or a Docker image) — CodeBuild does this step automatically every time new code comes in.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use case:&lt;/strong&gt; Automatically building and testing code as part of your CI/CD pipeline, instead of doing it manually on your own laptop.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Important commands:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;aws codebuild create-project &lt;span class="nt"&gt;--name&lt;/span&gt; my-build-project &lt;span class="nt"&gt;--source&lt;/span&gt; ... &lt;span class="nt"&gt;--artifacts&lt;/span&gt; ...
aws codebuild start-build &lt;span class="nt"&gt;--project-name&lt;/span&gt; my-build-project
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Interview point of view:&lt;/strong&gt; Simple one-liner to remember: &lt;em&gt;"CodeBuild = compiles code and runs tests. CodeDeploy = takes that finished package and installs it on servers."&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  11. AWS CodeDeploy
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What it is:&lt;/strong&gt; A service that automatically installs (deploys) your finished application onto EC2 servers or your own on-site servers, after CodeBuild has prepared it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Real example:&lt;/strong&gt; Once your app is built and tested, CodeDeploy pushes the new version onto all your live servers, ideally without any downtime for users.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use case:&lt;/strong&gt; Rolling out new versions of your app safely and consistently across many servers at once.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Important commands:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;aws deploy create-deployment &lt;span class="nt"&gt;--application-name&lt;/span&gt; myApp &lt;span class="nt"&gt;--deployment-group-name&lt;/span&gt; myGroup &lt;span class="nt"&gt;--s3-location&lt;/span&gt; &lt;span class="nv"&gt;bucket&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;my-bucket,key&lt;span class="o"&gt;=&lt;/span&gt;app.zip,bundleType&lt;span class="o"&gt;=&lt;/span&gt;zip
aws deploy get-deployment &lt;span class="nt"&gt;--deployment-id&lt;/span&gt; d-xxxx    &lt;span class="c"&gt;# check deployment status&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Interview point of view:&lt;/strong&gt; Interviewers may ask about deployment strategies here — like "rolling deployment" (update servers a few at a time) vs "blue-green deployment" (run the new version alongside the old one, then switch traffic over). Knowing these terms shows real understanding, not just memorized definitions.&lt;/p&gt;




&lt;h2&gt;
  
  
  12. AWS Config
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What it is:&lt;/strong&gt; A service that keeps a constant eye on how your AWS resources are configured, and flags anything that doesn't follow the rules you set — like a safety guardrail.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Real example:&lt;/strong&gt; If someone creates an S3 bucket without encryption, or leaves it publicly open by mistake, AWS Config can detect this and flag it as a violation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use case:&lt;/strong&gt; Making sure your whole AWS setup stays compliant with your company's security rules, even as many people make changes over time.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Important commands:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;aws configservice describe-config-rules            &lt;span class="c"&gt;# see the rules currently being checked&lt;/span&gt;
aws configservice get-compliance-details-by-config-rule &lt;span class="nt"&gt;--config-rule-name&lt;/span&gt; my-rule
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Interview point of view:&lt;/strong&gt; Simple way to explain it: &lt;em&gt;"AWS Config doesn't stop bad configurations from happening — it detects and reports them, so you know something needs fixing."&lt;/em&gt; This is different from IAM, which actually prevents access in the first place.&lt;/p&gt;




&lt;h2&gt;
  
  
  13. AWS KMS (Key Management Service)
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What it is:&lt;/strong&gt; A service for creating and managing encryption keys — the "locks and keys" used to protect your sensitive data.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Real example:&lt;/strong&gt; Your database stores customer information. KMS provides the encryption key that scrambles this data, so even if someone gets access to the raw files, they can't read anything without the key.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use case:&lt;/strong&gt; Encrypting sensitive data (like S3 files, EBS volumes, or database fields) and controlling exactly who has permission to use the key to unlock that data.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Important commands:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;aws kms create-key &lt;span class="nt"&gt;--description&lt;/span&gt; &lt;span class="s2"&gt;"My encryption key"&lt;/span&gt;       &lt;span class="c"&gt;# create a new key&lt;/span&gt;
aws kms list-keys                                           &lt;span class="c"&gt;# see all your keys&lt;/span&gt;
aws kms encrypt &lt;span class="nt"&gt;--key-id&lt;/span&gt; xxxx &lt;span class="nt"&gt;--plaintext&lt;/span&gt; &lt;span class="s2"&gt;"secret data"&lt;/span&gt;     &lt;span class="c"&gt;# encrypt something&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Interview point of view:&lt;/strong&gt; A common question: "Why not just encrypt data yourself?" Good answer: &lt;em&gt;"KMS securely manages and rotates the keys for you, and tightly controls who can use them — doing this yourself is much riskier and harder to audit."&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  14. CloudTrail
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What it is:&lt;/strong&gt; A service that records every single action taken in your AWS account — who did what, and when. Think of it as a security camera for your whole AWS account.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Real example:&lt;/strong&gt; Someone deleted an important S3 bucket. CloudTrail lets you look back and see exactly which user (or automated process) did it, and at what time — useful for investigating what went wrong.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use case:&lt;/strong&gt; Auditing, compliance checks, and investigating security incidents by reviewing a full history of account activity.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Important commands:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;aws cloudtrail describe-trails               &lt;span class="c"&gt;# see trails currently recording activity&lt;/span&gt;
aws cloudtrail lookup-events &lt;span class="nt"&gt;--max-results&lt;/span&gt; 10   &lt;span class="c"&gt;# view recent account activity&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Interview point of view:&lt;/strong&gt; Know the difference clearly: &lt;em&gt;"CloudWatch monitors performance and can alert on it. CloudTrail records who did what — it's about accountability and audit history, not performance."&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  15. EKS (Elastic Kubernetes Service)
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What it is:&lt;/strong&gt; AWS's managed version of Kubernetes — a system for running and managing many containers (small, packaged pieces of an application) automatically.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Real example:&lt;/strong&gt; Your app is broken into 10 small services (microservices), each running in its own container. Managing all of them manually is a nightmare, so EKS handles starting, stopping, scaling, and healing them automatically.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use case:&lt;/strong&gt; Running large, container-based applications that need to scale up and down automatically, and recover on their own if something crashes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Important commands:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;aws eks create-cluster &lt;span class="nt"&gt;--name&lt;/span&gt; my-cluster &lt;span class="nt"&gt;--role-arn&lt;/span&gt; arn:xxxx &lt;span class="nt"&gt;--resources-vpc-config&lt;/span&gt; &lt;span class="nv"&gt;subnetIds&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;...
aws eks update-kubeconfig &lt;span class="nt"&gt;--name&lt;/span&gt; my-cluster        &lt;span class="c"&gt;# connect your local kubectl tool to this cluster&lt;/span&gt;
kubectl get pods                                   &lt;span class="c"&gt;# see running containers (once connected)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Interview point of view:&lt;/strong&gt; Interviewers often ask "why use EKS instead of running Kubernetes yourself?" Answer: &lt;em&gt;"EKS manages the hard, ongoing operational work of running Kubernetes (like patching and scaling the control plane) for you, so you just focus on your applications."&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Bonus: Containers &amp;amp; Logging (also mentioned in the video)
&lt;/h2&gt;

&lt;h3&gt;
  
  
  ECS (Elastic Container Service)
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;What it is:&lt;/strong&gt; AWS's own, simpler alternative to Kubernetes for running containers — built and managed entirely by AWS.&lt;br&gt;
&lt;strong&gt;Interview tip:&lt;/strong&gt; If asked "ECS vs EKS," say: &lt;em&gt;"ECS is AWS's own simpler container system. EKS is AWS's managed version of Kubernetes, the industry-standard tool — EKS is heavier but more portable across cloud providers."&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Fargate
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;What it is:&lt;/strong&gt; A way to run containers (through ECS or EKS) without managing any servers at all — fully serverless containers.&lt;br&gt;
&lt;strong&gt;Interview tip:&lt;/strong&gt; One-liner: &lt;em&gt;"Fargate removes the need to manage the underlying EC2 servers for your containers — AWS handles that completely."&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  ELK Stack (Elasticsearch, Logstash, Kibana)
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;What it is:&lt;/strong&gt; A popular open-source combo for collecting, storing, and visualizing logs from many services at once.&lt;br&gt;
&lt;strong&gt;Real example:&lt;/strong&gt; With 50 microservices all producing logs, ELK lets you search "show me all errors from the last hour across every service" in one place, instead of checking each server one by one.&lt;br&gt;
&lt;strong&gt;Interview tip:&lt;/strong&gt; Mention that ELK isn't AWS-only — it's an industry-standard logging setup, and many companies use it alongside AWS services like CloudWatch.&lt;/p&gt;




&lt;h2&gt;
  
  
  My takeaway from today
&lt;/h2&gt;

&lt;p&gt;The biggest lesson wasn't the list of services itself — it was realizing that most of these services solve one of just a few basic problems: where do I run my code (EC2, Lambda, EKS, ECS), where do I store my data (S3, EBS, EFS), who's allowed to do what (IAM, KMS), and how do I know what's happening (CloudWatch, CloudTrail, Config). Once you group them like that, they're much easier to remember — and much easier to explain in an interview.&lt;/p&gt;

&lt;p&gt;Source:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://youtu.be/leWJypzVyQ4" rel="noopener noreferrer"&gt;Original video&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>cloud</category>
      <category>aws</category>
      <category>devops</category>
    </item>
    <item>
      <title>My First Time Putting an App on AWS (A Beginner's Story)</title>
      <dc:creator>Ashwarya</dc:creator>
      <pubDate>Sun, 16 Aug 2026 12:29:39 +0000</pubDate>
      <link>https://dev.to/xcl1br/my-first-time-putting-an-app-on-aws-a-beginners-story-41d3</link>
      <guid>https://dev.to/xcl1br/my-first-time-putting-an-app-on-aws-a-beginners-story-41d3</guid>
      <description>&lt;p&gt;Today I did something I've wanted to do for a while — I took an app running on my own laptop and put it "live" on the internet using AWS. It sounds scary when you read about it online, but once I actually did it, it was just a bunch of small, simple steps, one after another.&lt;/p&gt;

&lt;p&gt;This post is me writing down everything I did, in plain, easy words, so that if you're a beginner like me, you can follow along without getting confused by fancy tech terms.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is AWS, in simple words?&lt;/strong&gt;&lt;br&gt;
AWS (Amazon Web Services) is basically Amazon renting out computers over the internet. Instead of buying your own physical server and keeping it running 24/7 at home, you "rent" a computer from Amazon. That computer runs your app, and anyone with the internet can visit it.&lt;br&gt;
The specific service I used is called &lt;strong&gt;EC2&lt;/strong&gt;. Think of EC2 as one virtual computer that lives in Amazon's data center, and you get to control it like it's your own.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Step 1: Set up IAM first&lt;br&gt;
&lt;/u&gt;&lt;/strong&gt;&lt;br&gt;
Before touching any servers, I went to IAM (Identity and Access Management). This is AWS's way of managing "who is allowed to do what" in your account.&lt;/p&gt;

&lt;p&gt;In simple words: instead of using your main AWS login for everything (which is risky), IAM lets you create a separate user with its own permissions. It's like giving someone a spare key instead of your master key. I set this up first so my account stays safer.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Step 2: Launch an EC2 instance&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Next, I went to the EC2 section and launched a new instance (a fancy word for "a virtual computer"). During this step, AWS also lets you create a .pem file — this is basically a secret key file. It's like a digital key to a lock. Only someone with this file can get into the server. I downloaded it and kept it safe, because if you lose it, you can't easily get back in.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Step 3: Login to the server using SSH&lt;br&gt;
&lt;/u&gt;&lt;/strong&gt;&lt;br&gt;
Once the server (EC2 instance) was ready, I needed a way to "log in" to it from my own laptop. For that, I used something called SSH, along with the .pem key file I downloaded earlier.&lt;/p&gt;

&lt;p&gt;In simple words: SSH is like a secure phone call between your laptop and the AWS server, and the .pem file is the password that proves it's really you calling.&lt;/p&gt;

&lt;p&gt;Once connected, my laptop's terminal was now basically "inside" the AWS computer. Anything I typed from here on ran on the AWS server, not my own laptop.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Step 4: Update the server&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The very first thing to do on a fresh server is:&lt;/p&gt;

&lt;p&gt;sudo apt update&lt;/p&gt;

&lt;p&gt;In simple words: this just checks for the latest versions of software so everything installed after this is up to date. Think of it like checking for updates before installing new apps on your phone.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Step 5: Install the dependencies&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Next, I installed the "dependencies" — these are just the extra tools and programs my app needs to actually run (things like Node.js, npm, git, etc., depending on the app). Without these, the app's code would have nowhere to run, kind of like trying to play a video game without installing the game console first.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Step 6: Bring the code onto the server&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To get my actual project code onto this AWS server, I used:&lt;/p&gt;

&lt;p&gt;git clone &lt;/p&gt;

&lt;p&gt;This downloads a copy of my project (that was sitting on GitHub) directly onto the AWS server. Now the server has all my app's files.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Step 7: Set up the .env file (the secret settings file)&lt;br&gt;
&lt;/u&gt;&lt;/strong&gt;&lt;br&gt;
Most apps need some private settings — like passwords, API keys, or database links — that should never be shared publicly on GitHub. These usually go in a file called .env.&lt;/p&gt;

&lt;p&gt;Here's exactly what I did:&lt;/p&gt;

&lt;p&gt;touch .env&lt;/p&gt;

&lt;p&gt;This creates a new, empty file named .env.&lt;/p&gt;

&lt;p&gt;ls -a&lt;/p&gt;

&lt;p&gt;This lists all files, including hidden ones (files starting with a dot are hidden by default), just to confirm .env was really created.&lt;/p&gt;

&lt;p&gt;vim .env&lt;/p&gt;

&lt;p&gt;This opens the file in a text editor called Vim, right inside the terminal.&lt;/p&gt;

&lt;p&gt;Inside Vim, I pressed i to switch into "insert mode" (this lets you actually type text — Vim doesn't let you type by default, which confused me at first). Then I typed in my credentials (my secret settings, like API keys).&lt;/p&gt;

&lt;p&gt;After typing everything, I pressed Esc to leave insert mode, then typed :x and hit Enter. This saves the file and closes Vim.&lt;/p&gt;

&lt;p&gt;In simple words: Vim feels strange the first time because you can't just start typing like Notepad — you have to "unlock" typing mode with i, and then "save and exit" with a special command. It trips up almost every beginner once.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Step 8: Open the door — editing the Security Group&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Even after all this, my app still wasn't visible on the internet. That's because AWS blocks all traffic by default, for safety. You have to manually tell AWS which "doors" (ports) are allowed to be opened.&lt;/p&gt;

&lt;p&gt;Here's what I did:&lt;/p&gt;

&lt;p&gt;Went to my EC2 instance page.&lt;br&gt;
Clicked on the Security tab.&lt;br&gt;
Clicked Edit inbound rules.&lt;br&gt;
Added a new rule and set the port to 3000 (since that's the port my app runs on).&lt;br&gt;
Saved the rule.&lt;/p&gt;

&lt;p&gt;In simple words: a "port" is like a specific door number on the server. My app was listening on door number 3000, but AWS had that door locked. This step unlocked it so people from outside could knock and get in.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Step 9: The moment it goes live&lt;br&gt;
&lt;/u&gt;&lt;/strong&gt;&lt;br&gt;
After all that, I just opened a browser and typed:&lt;/p&gt;

&lt;p&gt;:3000&lt;/p&gt;

&lt;p&gt;And there it was — my app, running live on the internet, for anyone in the world to open.&lt;/p&gt;

&lt;p&gt;What I learned&lt;/p&gt;

&lt;p&gt;Honestly, none of these steps were individually hard. What made it feel scary before doing it was not knowing the order things happen in, and not knowing what each command actually does. Once I understood that:&lt;/p&gt;

&lt;p&gt;IAM is about who can access what&lt;br&gt;
EC2 is just a rented computer&lt;br&gt;
SSH + .pem is how you securely log into that computer&lt;br&gt;
The .env file holds your app's secrets&lt;br&gt;
The Security Group is basically a locked door that you have to manually open&lt;/p&gt;

&lt;p&gt;...it all made a lot more sense. If you're trying this for the first time, don't worry about memorizing every command. Just understand what each step is trying to do, and the commands will make sense on their own.&lt;/p&gt;

</description>
      <category>devops</category>
      <category>aws</category>
      <category>ec2</category>
      <category>iam</category>
    </item>
    <item>
      <title>Security Principles:</title>
      <dc:creator>Ashwarya</dc:creator>
      <pubDate>Thu, 17 Oct 2024 07:27:27 +0000</pubDate>
      <link>https://dev.to/xcl1br/security-principles-33ho</link>
      <guid>https://dev.to/xcl1br/security-principles-33ho</guid>
      <description>&lt;p&gt;When evaluating the security of a system, we use the CIA triad: confidentiality, integrity, and availability.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Confidentiality: Only authorized people can access the data.&lt;/li&gt;
&lt;li&gt;Integrity: Data cannot be changed without detection.&lt;/li&gt;
&lt;li&gt;Availability: The system is accessible when needed.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Examples:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Online Shopping:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Confidentiality: Credit card info is kept secret.&lt;/li&gt;
&lt;li&gt;Integrity: Shipping address cannot be altered.&lt;/li&gt;
&lt;li&gt;Availability: The website/app is up and running.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Patient Records:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Confidentiality: Medical records are kept private by law.&lt;/li&gt;
&lt;li&gt;Integrity: Records are accurate to ensure correct treatment.&lt;/li&gt;
&lt;li&gt;Availability: Records are accessible during medical visits.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Sometimes, one aspect is more important than the others, like the integrity of a university announcement being critical.&lt;br&gt;
Beyond CIA, &lt;em&gt;two additional aspects&lt;/em&gt; are:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Authenticity: Data is genuine and from the claimed source.&lt;/li&gt;
&lt;li&gt;Non repudiation: The source cannot deny their actions.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Examples:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Online Shopping: Confirm the order is real and the customer cannot deny placing it.&lt;/li&gt;
&lt;li&gt;Large Orders: Ensure the order is authentic and the sender cannot deny it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Parkerian Hexad&lt;/strong&gt; adds two more elements to CIA:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Utility: Data must be useful (e.g., encrypted data is useless without the key).&lt;/li&gt;
&lt;li&gt;Possession: Prevent unauthorized control of data (e.g., backups or ransomware).&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;In simple terms, security is about keeping data private, accurate, accessible, genuine, and ensuring it cannot be denied or taken without permission.&lt;br&gt;
System security can be attacked by revealing, changing, or destroying data. These are the opposites of the CIA triad: confidentiality, integrity, and availability.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Disclosure (opposite of confidentiality): Revealing secret data.&lt;/li&gt;
&lt;li&gt;Alteration (opposite of integrity): Changing data.&lt;/li&gt;
&lt;li&gt;Destruction/Denial (opposite of availability): Making data or systems unavailable.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Examples with patient records:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Disclosure: If medical records are stolen and made public, it’s a confidentiality attack.&lt;/li&gt;
&lt;li&gt;Alteration: If medical records are changed, wrong treatments might be given.&lt;/li&gt;
&lt;li&gt;Destruction/Denial: If systems are made unavailable, a medical facility can’t access patient records, stalling operations.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Balancing protection against disclosure, alteration, and destruction is crucial. Focusing too much on one can harm the others. Good security practices require a balance between confidentiality, integrity, and availability. To ensure the security of a system, we can use different security models that focus on confidentiality, integrity, or both.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Bell-LaPadula&lt;/strong&gt; Model (Confidentiality):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Simple Security Property: "No read up" – can't read data at a higher security level.&lt;/li&gt;
&lt;li&gt;Star Security Property: "No write down" – can't write data to a lower security level.&lt;/li&gt;
&lt;li&gt;Discretionary-Security Property: Uses an access matrix to control read/write operations.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Biba Model&lt;/strong&gt; (Integrity):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Simple Integrity Property: "No read down" – can't read data from a lower integrity level.&lt;/li&gt;
&lt;li&gt;Star Integrity Property: "No write up" – can't write data to a higher integrity level.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Clark-Wilson Model (Integrity):&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Constrained Data Item (CDI): Important data whose integrity must be protected.&lt;/li&gt;
&lt;li&gt;Unconstrained Data Item (UDI): All other data.&lt;/li&gt;
&lt;li&gt;Transformation Procedures (TPs): Operations to maintain CDI integrity.&lt;/li&gt;
&lt;li&gt;Integrity Verification Procedures (IVPs): Checks to ensure CDI integrity.
These models help protect data through rules about reading and writing based on security and integrity levels&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Extras&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;The &lt;strong&gt;ISO/IEC 19249:2017&lt;/strong&gt; standard by the International Organization for Standardization (ISO) and the International Electrotechnical Commission (IEC) outlines architectural and design principles for secure products, systems, and applications. The five architectural principles are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Domain Separation: Grouping related components as single entities with common security attributes.&lt;/li&gt;
&lt;li&gt;Layering: Structuring systems into layers to impose and validate security policies at different levels.&lt;/li&gt;
&lt;li&gt;Encapsulation: Hiding low-level implementations and preventing direct data manipulation, using methods or APIs.&lt;/li&gt;
&lt;li&gt;Redundancy: Ensuring availability and integrity through backup systems, like dual power supplies or RAID configurations.&lt;/li&gt;
&lt;li&gt;Virtualization: Sharing hardware among multiple OSes, providing sandboxing for security.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The five design principles are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Least Privilege: Granting the minimal necessary permissions for tasks.&lt;/li&gt;
&lt;li&gt;Attack Surface Minimization: Reducing vulnerabilities by disabling unnecessary services.&lt;/li&gt;
&lt;li&gt;Centralized Parameter Validation: Ensuring input validation is centralized to prevent exploitation.&lt;/li&gt;
&lt;li&gt;Centralized General Security Services: Centralizing security services, like authentication, to enhance security.&lt;/li&gt;
&lt;li&gt;Error and Exception Handling: Designing systems to handle errors safely, preventing information leakage and ensuring secure failure states.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These principles guide the development of secure systems by emphasizing structured, validated, and minimalistic approaches to security.&lt;/p&gt;

&lt;p&gt;To avoid confusion, note these three terms:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Vulnerability: A weakness susceptible to attack or damage.&lt;/li&gt;
&lt;li&gt;Threat: A potential danger associated with a vulnerability.&lt;/li&gt;
&lt;li&gt;Risk: The likelihood of a threat exploiting a vulnerability and the resulting impact on the business.&lt;/li&gt;
&lt;/ul&gt;

</description>
    </item>
  </channel>
</rss>
