<?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: Khalid ElGazzar</title>
    <description>The latest articles on DEV Community by Khalid ElGazzar (@khalidelgazzar).</description>
    <link>https://dev.to/khalidelgazzar</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%2F498709%2Fa418c60c-f7d0-40bb-8a25-baf3b8838930.jpg</url>
      <title>DEV Community: Khalid ElGazzar</title>
      <link>https://dev.to/khalidelgazzar</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/khalidelgazzar"/>
    <language>en</language>
    <item>
      <title>From Vibe Coding to Spec-Driven Development with Kiro IDE from AWS</title>
      <dc:creator>Khalid ElGazzar</dc:creator>
      <pubDate>Wed, 11 Nov 2026 12:09:00 +0000</pubDate>
      <link>https://dev.to/aws-builders/from-vibe-coding-to-spec-driven-development-with-kiro-ide-from-aws-jh3</link>
      <guid>https://dev.to/aws-builders/from-vibe-coding-to-spec-driven-development-with-kiro-ide-from-aws-jh3</guid>
      <description>&lt;p&gt;&lt;em&gt;A recap of the AWS Egypt Meetup held online on Tuesday, June 30, 2026 via Google Meet). The live session was delivered in Arabic for the AWS Egypt community; this write-up adapts it into English for swac.blog. The session recording can be viewed &lt;a href="https://youtu.be/bC12CpR-Hbk" rel="noopener noreferrer"&gt;from here&lt;/a&gt;, the &lt;a href="https://www.meetup.com/awsegyptmeetup/events/315455588/" rel="noopener noreferrer"&gt;Meetup event page is here&lt;/a&gt;, and the &lt;a href="https://onekc.pro/spec-driven-development-kiro-%d8%a7%d9%84%d8%aa%d8%b7%d9%88%d9%8a%d8%b1-%d8%a7%d9%84%d9%85%d9%88%d8%ac%d9%87-%d8%a8%d8%a7%d9%84%d9%85%d9%88%d8%a7%d8%b5%d9%81%d8%a7%d8%aa/" rel="noopener noreferrer"&gt;Arabic article can be read from here&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;I recently hosted an online AWS Egypt Meetup titled &lt;strong&gt;"From Vibe Coding to Agentic Engineering with Kiro | SDD"&lt;/strong&gt;. Like my &lt;a href="https://swac.blog/power-up-your-website-a-serverless-frontend-and-backend-using-8-aws-services/" rel="noopener noreferrer"&gt;earlier AWS meetup recap on building a serverless web app&lt;/a&gt;, this post turns the live session into something you can read at your own pace. In it, I explain what &lt;strong&gt;spec-driven development&lt;/strong&gt; actually is, how AWS's &lt;a href="https://kiro.dev/" rel="noopener noreferrer"&gt;Kiro IDE&lt;/a&gt; implements it, and walk through the customer-service MCP server we sketched live, compared against a fuller build of the same idea done outside Kiro.&lt;/p&gt;

&lt;h2&gt;
  
  
  I. Why vibe coding was the wrong tool for this session
&lt;/h2&gt;

&lt;p&gt;Most AI coding demos still follow the same loop: prompt, look at what came out, prompt again. That's fine for a throwaway script. It falls apart the moment you need the AI to hold a whole system in its head: a data model, five API resources, and the contract between them.&lt;/p&gt;

&lt;p&gt;The session's premise, for a free one-hour online meetup hosted over Google Meet, was to show the alternative: &lt;strong&gt;spec-driven development (SDD)&lt;/strong&gt;. You write down what you're building and how &lt;em&gt;before&lt;/em&gt; asking an agent to write code, using AWS's Kiro as the concrete example, and the open &lt;a href="https://modelcontextprotocol.io/" rel="noopener noreferrer"&gt;Model Context Protocol (MCP)&lt;/a&gt;, &lt;a href="https://www.anthropic.com/news/model-context-protocol" rel="noopener noreferrer"&gt;created by Anthropic&lt;/a&gt;, as something worth building with that spec.&lt;/p&gt;

&lt;h2&gt;
  
  
  II. What is spec-driven development, in plain terms?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.ibm.com/think/topics/spec-driven-development" rel="noopener noreferrer"&gt;IBM's definition of spec-driven development&lt;/a&gt; is a good anchor: it's a methodology where a detailed specification of what to build is authored and agreed upon &lt;em&gt;before&lt;/em&gt; development starts, so the spec becomes the single source of truth for both humans and AI agents working on the codebase.&lt;/p&gt;

&lt;p&gt;IBM's write-up frames it as a spectrum, not one fixed practice:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Spec-first&lt;/strong&gt;: write the spec once for initial clarity, then let it go stale as the code evolves. Good enough for small, short-lived features.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Spec-anchored&lt;/strong&gt;: the spec evolves &lt;em&gt;with&lt;/em&gt; the code, usually enforced by tests in CI/CD. This is the sweet spot for most teams.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Spec-as-source&lt;/strong&gt;: the spec &lt;em&gt;is&lt;/em&gt; the source of truth, and changes to it regenerate the code directly. High-trust, high-automation, not for the faint of heart.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There's also a trap worth naming: &lt;strong&gt;over-engineering the spec itself&lt;/strong&gt;. If you're still debating a JSON field name three weeks in, the spec has stopped saving you time and started costing it. The rule of thumb from the session: the cost of refining a spec should always stay lower than the cost of fixing a misunderstanding downstream. The moment that flips, stop polishing and start building.&lt;/p&gt;

&lt;p&gt;A tidy one-line summary that came up in the prep material: &lt;strong&gt;AI engineering ≈ spec coding + guardrails.&lt;/strong&gt; The spec gives the agent unambiguous intent; the guardrails (tests, review gates, linting) keep it honest.&lt;/p&gt;

&lt;h2&gt;
  
  
  III. Kiro: AWS's take on spec-driven development
&lt;/h2&gt;

&lt;p&gt;Kiro is AWS's agentic IDE, built on &lt;a href="https://github.com/microsoft/vscode" rel="noopener noreferrer"&gt;Code OSS&lt;/a&gt;, the same open-source base as VS Code, with the spec workflow baked into the product rather than bolted on as a prompting technique. When you start a feature, Kiro produces three documents in sequence, and (this is the structural part) it won't generate implementation code until you've reviewed the first two:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;requirements.md&lt;/code&gt;&lt;/strong&gt; (think of it as a PRD): functional and non-functional requirements, written in structured, testable language (Kiro uses the &lt;a href="https://alistairmavin.com/ears/" rel="noopener noreferrer"&gt;EARS notation&lt;/a&gt; for acceptance criteria).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;design.md&lt;/code&gt;&lt;/strong&gt; (a SPEC): the architecture, including layers, data model, API surface and error handling.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;tasks.md&lt;/code&gt;&lt;/strong&gt; (a PLAN): the sequenced, trackable implementation steps the agent will actually execute.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkvs8z1ljjmz3otigjxti.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%2Fkvs8z1ljjmz3otigjxti.png" alt="Spec-driven development workflow in Kiro: prompt, requirements.md, design.md, tasks.md, then code, with a human review gate" width="799" height="272"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 1: The spec-driven development workflow in Kiro. Every artifact is reviewed before the next phase starts.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Getting started: Kiro IDE and Kiro CLI
&lt;/h3&gt;

&lt;p&gt;Installation is straightforward: grab the installer for your OS from &lt;a href="https://kiro.dev/downloads/" rel="noopener noreferrer"&gt;kiro.dev/downloads&lt;/a&gt;, sign in (an &lt;a href="https://docs.aws.amazon.com/signin/latest/userguide/sign-in-aws_builder_id.html" rel="noopener noreferrer"&gt;AWS Builder ID&lt;/a&gt; works), and you can import your existing VS Code settings and extensions on first launch. A few things worth knowing if you're evaluating it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Inside the IDE you explicitly toggle between &lt;strong&gt;"Vibe" and "Spec"&lt;/strong&gt; modes. Kiro doesn't force spec-driven development on every keystroke; it's a mode you opt into for anything that deserves the structure.&lt;/li&gt;
&lt;/ul&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%2F55zb2cq31c2usp6x7heg.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%2F55zb2cq31c2usp6x7heg.png" alt="Kiro IDE start screen with Vibe and Spec modes, Spec mode selected" width="704" height="788"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 2: Kiro's start screen. Spec mode plans first, then builds.&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You can pick a specific model or leave it on &lt;strong&gt;Auto&lt;/strong&gt;. Each model has its own credit multiplier, and the open-weight models cost noticeably less per request.&lt;/li&gt;
&lt;/ul&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%2Flts1c40iqb8t1il4pbwh.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%2Flts1c40iqb8t1il4pbwh.png" alt="Kiro IDE model picker showing Auto and per-model credit multipliers" width="745" height="1012"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 3: The model picker and its credit multipliers (as of June 2026).&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Kiro CLI&lt;/strong&gt; exists alongside the IDE, with slash commands in the same spirit as Claude Code, Codex CLI or GitHub Copilot CLI, so the spec workflow isn't locked to one editor.&lt;/li&gt;
&lt;/ul&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%2Fel0dbmtgjoh1ro7w5t95.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%2Fel0dbmtgjoh1ro7w5t95.png" alt="Kiro CLI in the terminal showing slash commands such as /plan, /model and /mcp" width="800" height="575"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 4: Kiro CLI and its slash commands, including /plan, /model and /mcp.&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Pricing has moved fast.&lt;/strong&gt; At launch, Kiro shipped with 3 pricing tiers; as of June 2026, that had grown to 5. Check &lt;a href="https://kiro.dev/pricing/" rel="noopener noreferrer"&gt;kiro.dev/pricing&lt;/a&gt; directly, since this is exactly the kind of detail that goes stale quickly.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you want more background than fits here, IBM's article above and Birgitta Böckeler's &lt;a href="https://martinfowler.com/articles/exploring-gen-ai/sdd-3-tools.html" rel="noopener noreferrer"&gt;comparison of Kiro, spec-kit and Tessl on martinfowler.com&lt;/a&gt; were the two references the session leaned on most.&lt;/p&gt;

&lt;h2&gt;
  
  
  IV. The live build: a customer-service MCP server
&lt;/h2&gt;

&lt;p&gt;Within that one-hour window, the demo picked a deliberately small, realistic target, split into two sprints:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Sprint 1&lt;/strong&gt;: a Node.js REST API over a SQLite customer-service database (~100 customers, their purchases, payments and support interaction history), fully documented with &lt;a href="https://swagger.io/specification/" rel="noopener noreferrer"&gt;Swagger/OpenAPI&lt;/a&gt; and testable from &lt;a href="https://www.postman.com/" rel="noopener noreferrer"&gt;Postman&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sprint 2&lt;/strong&gt;: wrap that same service layer as an &lt;strong&gt;MCP server&lt;/strong&gt;, so a client like &lt;a href="https://claude.ai/download" rel="noopener noreferrer"&gt;Claude Desktop&lt;/a&gt; can ask natural-language questions such as "who's the customer with the most support issues?" and get answers grounded in the real database instead of a guess.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;(If you're wondering why SQLite and not a managed database, it was purely to keep the demo self-contained. For production workloads on AWS, my post on &lt;a href="https://swac.blog/nosql-vs-sql-on-aws-choosing-between-dynamodb-and-rds-use-cases-pros-cons-2/" rel="noopener noreferrer"&gt;choosing between DynamoDB and RDS&lt;/a&gt; covers that decision.)&lt;/p&gt;

&lt;p&gt;The initial prompt handed to Kiro, almost verbatim from the prep notes, asked it to act as a senior software architect and follow a structured process: understand the PRD, produce an implementation plan, produce a technical spec, and &lt;strong&gt;stop before writing any code&lt;/strong&gt; until that spec was reviewed. That last constraint is the whole point of spec-driven development: it's a deliberate checkpoint, not an accident of how the tool happens to work.&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%2Fnq7ze69t4d26p0qms3f1.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%2Fnq7ze69t4d26p0qms3f1.png" alt="Kiro spec-driven development session asking whether to start with requirements or technical design" width="748" height="980"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 5: Kiro reads the PRD, then asks whether to start with requirements or technical design.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  V. The same idea, built two ways
&lt;/h2&gt;

&lt;p&gt;The live Kiro session sketched the plan; it didn't ship a finished server in the room. For comparison, here's the architecture of a &lt;strong&gt;fuller implementation of the identical idea&lt;/strong&gt;, built separately (with Cursor and a dual-LLM coder/reviewer workflow, not Kiro). It's a useful reference for what "done" looks like for this exact spec:&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%2F0kc8dhod5f4t4ue1sd1l.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%2F0kc8dhod5f4t4ue1sd1l.png" alt="MCP server architecture: REST API and MCP server sharing one service layer over SQLite" width="800" height="442"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 6: One service layer, two transports: a REST API for Postman/curl and an MCP server for Claude Desktop.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The two entry points, the REST API and the MCP server, sit on top of the &lt;em&gt;same&lt;/em&gt; service and repository layers, talking to one &lt;a href="https://github.com/WiseLibs/better-sqlite3" rel="noopener noreferrer"&gt;better-sqlite3&lt;/a&gt; database. That's the same principle Kiro's &lt;code&gt;design.md&lt;/code&gt; step is meant to force you to write down explicitly: one data/service layer, multiple thin transports on top. If layered design like this is new to you, my &lt;a href="https://swac.blog/10-essential-system-design-elements-you-need-to-know-part-2/" rel="noopener noreferrer"&gt;system design elements series&lt;/a&gt; is a good companion read.&lt;/p&gt;

&lt;p&gt;The MCP server exposes five tools, all backed by that shared service layer:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Tool&lt;/th&gt;
&lt;th&gt;What it answers&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;get_top_customers&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Highest spenders (or most active, or most support issues), ranked&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;get_customer_summary&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Full profile for one customer: orders, payments, interaction history&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;get_customer_issues&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Support tickets/issues tied to a customer&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;search_interactions&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Free-text search across support interaction logs&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;get_revenue_stats&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Aggregate revenue metrics across the dataset&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;In practice, that's enough for Claude Desktop to render a bar chart of top spenders or reason through "who had the highest number of orders and why" using the live SQLite data. It's the same kind of question a support lead would ask a BI dashboard, except it's a five-minute MCP server instead of a reporting project.&lt;/p&gt;

&lt;h2&gt;
  
  
  VI. Kiro vs. "assemble it yourself": the honest comparison
&lt;/h2&gt;

&lt;p&gt;Both approaches produce the same three-artifact shape (requirements → design → tasks), but where that shape lives differs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Kiro&lt;/strong&gt; enforces the sequence structurally, inside one IDE, gated so code can't get ahead of the spec.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The dual-LLM workflow&lt;/strong&gt; (Cursor as coder, a second model as reviewer) achieves a similar discipline through process and rules files, not IDE-level gating. It takes more setup, but it's tool-agnostic and easier to bend to a house style.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Neither is "the" right answer. Kiro is the faster on-ramp if you want the discipline enforced for you. The manual workflow is the better fit if you already have review standards you don't want to give up.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Note that&lt;/em&gt; All IP rights to this blog post are reserved. Since I have been facing several content piracy cases lately, this blog post has ONLY been published on &lt;a href="https://swac.blog" rel="noopener noreferrer"&gt;the Software, Architecture, and Cloud blog - SWAC.blog&lt;/a&gt; (&lt;a href="https://swac.blog/spec-driven-development-kiro-ide-from-aws-mcp-server/" rel="noopener noreferrer"&gt;original article&lt;/a&gt;) and canonically to &lt;a href="https://dev.to/khalidelgazzar"&gt;dev.to&lt;/a&gt; only. If you are reading it elsewhere, then &lt;a href="https://swac.blog/contact-us/" rel="noopener noreferrer"&gt;please let us know&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  VII. Key takeaways on spec-driven development
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Spec-driven development isn't a Kiro-specific idea. It's a philosophical cousin of &lt;a href="https://martinfowler.com/bliki/TestDrivenDevelopment.html" rel="noopener noreferrer"&gt;TDD&lt;/a&gt; and BDD, asking "have we defined what we're building?" before "does the code pass a test?"&lt;/li&gt;
&lt;li&gt;The over-engineering trap is real: match your spec's weight to the feature's actual risk, not to how thorough a spec &lt;em&gt;could&lt;/em&gt; theoretically be.&lt;/li&gt;
&lt;li&gt;MCP is a genuinely good fit for exactly this kind of internal-tool problem: wrap a service layer you already trust, expose a handful of well-named tools, and let a chat client do the querying. Pair it with a vector store (see my &lt;a href="https://swac.blog/opensearch-k-nn-vs-aurora-pgvector-choosing-your-vector-store-on-aws/" rel="noopener noreferrer"&gt;OpenSearch k-NN vs. Aurora pgvector comparison&lt;/a&gt;) when you need semantic search over unstructured data too.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Final thought:&lt;/strong&gt; vibe coding is still great for exploring. But once an AI agent is writing code you'll have to maintain, a short, reviewed spec is the cheapest insurance you can buy. Try Spec mode in &lt;a href="https://kiro.dev/" rel="noopener noreferrer"&gt;Kiro&lt;/a&gt; on your next small feature and see how much rework it saves you.&lt;/p&gt;

</description>
      <category>aws</category>
      <category>ai</category>
      <category>productivity</category>
      <category>programming</category>
    </item>
    <item>
      <title>خدمات AWS للمطورين: نافذة DVA-C02 الأخيرة قبل DVA-C03</title>
      <dc:creator>Khalid ElGazzar</dc:creator>
      <pubDate>Tue, 03 Nov 2026 12:07:00 +0000</pubDate>
      <link>https://dev.to/aws-builders/khdmt-aws-llmtwryn-nfdh-dva-c02-lkhyr-qbl-dva-c03-5hkd</link>
      <guid>https://dev.to/aws-builders/khdmt-aws-llmtwryn-nfdh-dva-c02-lkhyr-qbl-dva-c03-5hkd</guid>
      <description>&lt;p&gt;&lt;em&gt;ملخص&lt;a href="https://www.meetup.com/awsegyptmeetup/events/316687893" rel="noopener noreferrer"&gt; للقاء AWS Egypt User Group عبر الإنترنت، الذي عُقد يوم الاثنين 28 سبتمبر 2026 عبر Google Meet و يمكن الاطلاع على رابط اللقاء من هذا الرابط&lt;/a&gt;. قُدّمت الجلسة بالعربية مع استخدام المصطلحات التقنية الإنجليزية، وهذه المقالة تكيّف محتواها للنشر على OneKC.pro. يمكنك مشاهدة تسجيل لهذا الإجتماع على يوتيوب من&lt;a href="https://youtu.be/UufNrBb8mig" rel="noopener noreferrer"&gt; خلال هذا الرابط&lt;/a&gt;. نستعرض خريطة مصنّفة لخدمات AWS التي يستخدمها المطورون، وثماني معماريات تطبيقات تتدرج من البسيط إلى الأكثر تعقيدًا، وأهم ما ينبغي معرفته قبل تحديث امتحان AWS Certified Developer – Associate.&lt;/em&gt; مرحبا بكم فى كبسولات الحوسبة السحابية من ألف محترف حوسبي حيث نقدم مقدمة مبسطة للخدمات الرئيسية لأيه دبليو اس (AWS).&lt;/p&gt;

&lt;h2&gt;
  
  
  لماذا هذه الكبسولات؟
&lt;/h2&gt;

&lt;p&gt;سوف تساعدك هذه الكبسولات من "ألف محترف حوسبي" على التعرف على العديد من الخدمات و المكونات السحابية المقدمة من AWS.&lt;/p&gt;

&lt;h2&gt;
  
  
  أولًا: لماذا نحتاج إلى هذه الخريطة؟ ولماذا الآن؟
&lt;/h2&gt;

&lt;p&gt;تضم AWS عددًا كبيرًا من الخدمات، لكن المطور لا يحتاج إلى استخدام كل خدمة منها. وهذه خريطة عملية لـ خدمات AWS للمطورين تساعد على اختيار ما يلزم لكل تطبيق. وفي المقابل، تتناول بعض المواد التعليمية الخدمات واحدةً تلو الأخرى من دون أن توضّح الصورة الكبيرة، أو تنتقل سريعًا إلى خطوات العمل داخل AWS Console. اتخذت الجلسة نهجًا مختلفًا، وارتكزت على فكرة تكررت طوال العرض: &lt;strong&gt;هذه خريطة، وليست دليلًا تفصيليًا لكل خدمة.&lt;/strong&gt; وترتبط هذه الخريطة أيضًا بموعد مهم: يجري تحديث امتحان &lt;strong&gt;AWS Certified Developer – Associate&lt;/strong&gt;. ووفقًا لإعلان AWS لشهر سبتمبر 2026، فإن المواعيد المعلنة هي:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;التاريخ&lt;/th&gt;
&lt;th&gt;الحدث&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;27 أكتوبر 2026&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;بدء التسجيل للامتحان المحدّث &lt;strong&gt;DVA-C03&lt;/strong&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;30 نوفمبر 2026&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;آخر يوم لأداء الامتحان الحالي &lt;strong&gt;DVA-C02&lt;/strong&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;1 ديسمبر 2026&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;بدء إتاحة امتحان &lt;strong&gt;DVA-C03&lt;/strong&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;المصدر: &lt;a href="https://aws.amazon.com/blogs/training-and-certification/september-2026-new-offerings/" rel="noopener noreferrer"&gt;إعلان AWS للتدريب والشهادات – سبتمبر 2026&lt;/a&gt;. راجع أيضًا &lt;a href="https://aws.amazon.com/certification/certified-developer-associate/" rel="noopener noreferrer"&gt;صفحة شهادة AWS Certified Developer – Associate&lt;/a&gt; قبل الحجز. ننظر إلى الموضوع من زاويتين متكاملتين: &lt;strong&gt;الجانب العملي&lt;/strong&gt; - ماذا نبني، وما الخدمات التي نحتاجها؟ و&lt;strong&gt;جانب الامتحان&lt;/strong&gt; — ما الذي يتوقع من المرشح أن يتعرّف عليه؟ والتداخل بين الجانبين أكبر مما قد يبدو، وهذا ما يجعل خريطة خدمات AWS للمطورين مفيدة للتعلّم والاستعداد للشهادة معًا.&lt;/p&gt;

&lt;h2&gt;
  
  
  ثانيًا: الامتحان في قسم واحد
&lt;/h2&gt;

&lt;p&gt;قبل استعراض معماريات التطبيقات، إليك نظرة سريعة على الشهادة:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;موقع الشهادة ضمن مسار AWS:&lt;/strong&gt; تشمل الشهادات مستوى Foundational، مثل Cloud Practitioner وAI Practitioner، ومستوى Associate، مثل Solutions Architect وDeveloper وMachine Learning وData Engineer وCloudOps Engineer، ثم مستوى Professional، مثل Solutions Architect وDevOps Engineer، بالإضافة إلى شهادات Specialty مثل Security وAdvanced Networking. تركّز هذه المقالة على &lt;strong&gt;Developer Associate&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;صيغة DVA-C02:&lt;/strong&gt; مدة الامتحان 130 دقيقة، ويضم 65 سؤالًا من نوع الاختيار من متعدد أو اختيار أكثر من إجابة، وفق صفحة الشهادة الحالية الخاصة بـ DVA-C02.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;التداخل مع DevOps:&lt;/strong&gt; تقدير المتحدث أن هناك تداخلًا يقارب &lt;strong&gt;40%&lt;/strong&gt; بين موضوعات Developer Associate وDevOps Engineer. هذا تقدير شخصي تقريبي، وليس رقمًا رسميًا من AWS. لكنه يوضح أن الاستعداد لأحد المسارين قد يساعد في الآخر.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;مجالات DVA-C02 وأوزانها:&lt;/strong&gt; Development with AWS Services (32%)، وSecurity (26%)، وDeployment (24%)، وTroubleshooting and Optimization (18%).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ما الذي يتغير في DVA-C03؟&lt;/strong&gt; وفق إعلان AWS، يتضمن التحديث أدوات التطوير بمساعدة الذكاء الاصطناعي عبر المجالات الأربعة، ومهمة جديدة مرتبطة بأمن الذكاء الاصطناعي، وبناء صور الحاويات ونشرها باستخدام ECR وECS وEKS وFargate. كما يشير الإعلان إلى خدمات وأدوات جديدة ضمن النطاق، منها Amazon Bedrock وAmazon Bedrock AgentCore وAmazon Q وKiro وAmazon Data Firehose وAWS PrivateLink. تظل المجالات الأربعة موجودة، لكن أوزانها تتغير إلى: Development with AWS Services (30%)، وSecurity (26%)، وTesting and Deployment (22%)، وTroubleshooting and Optimization (22%). يُنصح بمراجعة دليل الامتحان الرسمي عند صدوره للتأكد من التفاصيل والنطاق الكامل.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;وقت إضافي للمتقدمين الذين يؤدون الامتحان باللغة الإنجليزية:&lt;/strong&gt; تتيح AWS تسهيلًا يُعرف باسم &lt;strong&gt;ESL +30 minutes&lt;/strong&gt;، أي 30 دقيقة إضافية للامتحانات المقدّمة باللغة الإنجليزية، وفق &lt;a href="https://aws.amazon.com/certification/policies/before-testing/" rel="noopener noreferrer"&gt;تعليمات تسهيلات الامتحانات من AWS&lt;/a&gt;. يجب طلب هذا التسهيل من حساب AWS Certification قبل التسجيل لأول امتحان.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  ثالثًا: خدمات AWS للمطورين، مصنّفة حسب الفئة
&lt;/h2&gt;

&lt;p&gt;صُنّفت خدمات AWS للمطورين التي تناولتها الجلسة ضمن ثماني فئات، مع الاهتمام بحالة دورة حياة كل خدمة؛ فالمادة التعليمية المسجّلة قبل عامين قد لا تعكس وضع AWS الحالي.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;الفئة&lt;/th&gt;
&lt;th&gt;الخدمات التي تناولتها الجلسة&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;الحوسبة (Compute)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;EC2، Lambda، Elastic Beanstalk، ECS، EKS، Lightsail، App Runner&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;الواجهة الأمامية والاستضافة&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Amplify Hosting، S3، CloudFront&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;البيانات والتخزين&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;DynamoDB، RDS وAurora، ElastiCache&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;الشبكات وواجهات API&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;API Gateway، Application Load Balancer، Route 53&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;الهوية والتحكم في الوصول&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;IAM، Cognito، Secrets Manager، STS&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;الرسائل والتكامل&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;SQS، SNS، EventBridge، Step Functions&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;CI/CD وأدوات المطورين&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;CodeCommit، CodeBuild، CodeDeploy، CodePipeline، AWS SAM، CDK&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;المراقبة والرصد&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;CloudWatch، X-Ray، CloudTrail&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  كيف نقرأ حالات دورة حياة الخدمة؟
&lt;/h3&gt;

&lt;p&gt;استخدمنا ثلاثة أوصاف، والتمييز بينها مهم عند اختيار خدمة لتطبيق جديد. راجع &lt;a href="https://docs.aws.amazon.com/general/latest/gr/service-lifecycle.html" rel="noopener noreferrer"&gt;تعريفات دورة حياة خدمات AWS&lt;/a&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Maintenance:&lt;/strong&gt; قد لا تتمكن من بدء استخدام جديد للخدمة، بينما يستطيع العملاء الحاليون الاستمرار في استخدامها. وتواصل AWS تشغيلها ودعمها من دون إضافة وظائف جديدة.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sunset:&lt;/strong&gt; ينبغي للعملاء الحاليين التخطيط للانتقال إلى البدائل الموصى بها. وغالبًا ما تكون هناك فترة انتقالية قبل أن تتوقف AWS عن تشغيل الخدمة ودعمها.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Full shutdown:&lt;/strong&gt; المرحلة النهائية التي تُزال فيها الخدمة بالكامل من محفظة AWS ولا تعود متاحة أو مدعومة.
وهذه أمثلة على حالة بعض أدوات المطورين كما هي منشورة في مراجع AWS حتى أكتوبر 2026. تبقى &lt;a href="https://docs.aws.amazon.com/general/latest/gr/maintenance_services.html" rel="noopener noreferrer"&gt;صفحة AWS للخدمات الموجودة في وضع الصيانة&lt;/a&gt; المرجع الذي ينبغي التحقق منه قبل اتخاذ قرار تقني:&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;الخدمة&lt;/th&gt;
&lt;th&gt;الحالة المذكورة&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Cloud9&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;في وضع الصيانة منذ إعلان 25 يوليو 2024؛ وتشير AWS إلى AWS IDE Toolkits أو AWS CloudShell كبدائل.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;CodeStar&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;a href="https://docs.aws.amazon.com/general/latest/gr/full_shutdown_services.html" rel="noopener noreferrer"&gt;إيقاف كامل (Full shutdown)&lt;/a&gt; منذ 25 يوليو 2024.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;CodeCatalyst&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;في وضع الصيانة منذ إعلان 7 نوفمبر 2025.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;CodeGuru Reviewer&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;في وضع الصيانة؛ أُعلن التغيير في 7 أكتوبر 2025، وتوقف إنشاء ارتباطات المستودعات الجديدة في 7 نوفمبر 2025. ومن البدائل Amazon Q Developer وAmazon Inspector بحسب الحاجة.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;App Runner&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;أُغلقت أمام العملاء الجدد في 31 مارس 2026، بينما يستطيع العملاء الحاليون الاستمرار في استخدامها؛ وتشير AWS إلى ECS Express Mode عند الانتقال.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;CodeCommit&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;a href="https://aws.amazon.com/blogs/devops/aws-codecommit-returns-to-general-availability/" rel="noopener noreferrer"&gt;عاد إلى التوافر العام&lt;/a&gt; في نوفمبر 2025 بعد تقييد سابق للعملاء الجدد.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;وهناك موعد آخر يستحق الانتباه عند بدء مشروع WordPress على Lightsail: اعتبارًا من &lt;strong&gt;19 نوفمبر 2026&lt;/strong&gt;، لن يعود بالإمكان اختيار &lt;a href="https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-faq-bitnami-blueprints.html" rel="noopener noreferrer"&gt;مخطط WordPress الأقدم المعبأ بواسطة &lt;strong&gt;Bitnami&lt;/strong&gt;&lt;/a&gt; لإنشاء مثيل جديد. تستمر المثيلات الحالية في العمل، ويمكن إنشاء مثيلات جديدة من snapshots موجودة؛ أما البناء الجديد فاستخدم له مخطط WordPress الذي توفره Lightsail مباشرةً.&lt;/p&gt;

&lt;h2&gt;
  
  
  رابعًا: سلّم المعماريات
&lt;/h2&gt;

&lt;p&gt;كان هذا هو الجزء المحوري في الجلسة: &lt;strong&gt;ثماني معماريات للتطبيقات، وفي كل مستوى نطرح السؤال نفسه: ما الذي يحتاجه هذا التطبيق فعلًا؟&lt;/strong&gt; تأتي الخدمات نتيجةً للإجابة، لا العكس. وإذا كنت تريد استكشاف جانب التطوير بمساعدة الذكاء الاصطناعي، فراجع أيضًا ملخص الجلسة السابقة عن &lt;a href="https://onekc.pro/spec-driven-development-kiro-%d8%a7%d9%84%d8%aa%d8%b7%d9%88%d9%8a%d8%b1-%d8%a7%d9%84%d9%85%d9%88%d8%ac%d9%87-%d8%a8%d8%a7%d9%84%d9%85%d9%88%d8%a7%d8%b5%d9%81%d8%a7%d8%aa/" rel="noopener noreferrer"&gt;التطوير القائم على المواصفات باستخدام Kiro&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  المستوى 1: WordPress ببساطة
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Lightsail.&lt;/strong&gt; يوفّر Lightsail طريقة مبسّطة للتعامل مع البنية الحاسوبية الأساسية. اختر مخطط WordPress أو LAMP، وستحصل على الخادم وPHP وMySQL ضمن إعداد واحد وتسعير واضح نسبيًا. أما تنفيذ الفكرة نفسها باستخدام &lt;strong&gt;EC2&lt;/strong&gt; مباشرةً فيعني إنشاء المثيل، وضبط الوصول عبر SSH، وتثبيت مكونات التطبيق، ثم إدارة هذه المكونات بنفسك. يمكن الوصول إلى النتيجة نفسها، لكن مستوى المسؤولية والجهد مختلف.&lt;/p&gt;

&lt;h3&gt;
  
  
  المستوى 2: WordPress على نطاق أكبر
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Route 53 وCloudFront وEC2 وRDS، مع S3 للوسائط عند الحاجة.&lt;/strong&gt; عندما تصبح الحاجة إلى تحكم أكبر وحركة مرور أعلى أهم من مجرد تشغيل الموقع، تبدأ المعمارية في الانقسام إلى مكونات: Route 53 لإدارة توجيه النطاق، وCloudFront للتخزين المؤقت عند الحافة، وEC2 لتشغيل WordPress، و&lt;strong&gt;RDS&lt;/strong&gt; لتوفير قاعدة بيانات مُدارة مثل MySQL أو PostgreSQL بصورة منفصلة عن خادم التطبيق. يساعد توزيع المكونات على منطقتين أو ثلاث من &lt;strong&gt;Availability Zones&lt;/strong&gt; في تحسين القدرة على تحمّل الأعطال، بشرط إعداد مكونات التطبيق وقاعدة البيانات فعلًا للتكرار والتحويل التلقائي عند الفشل. الفكرة ليست حفظ أسماء أربع خدمات، بل فهم كيف تقود المتطلبات إلى اختيارها.&lt;/p&gt;

&lt;h3&gt;
  
  
  المستوى 3: واجهة أمامية فقط
&lt;/h3&gt;

&lt;p&gt;هناك مساران يستحقان المعرفة:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;المسار المُدار - Amplify Hosting:&lt;/strong&gt; اربط مستودع Git لمشروع React أو Vue أو Next.js، وسيقوم Amplify بالبناء والنشر وإنشاء معاينات للفروع وتقديم الموقع عبر CDN. إذا كنت تستخدم Vercel أو Netlify، فقد يكون Amplify نقطة بداية مناسبة لتجربة استضافة الواجهة على AWS؛ لكن الخدمات ليست متطابقة في كل التفاصيل.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;المسار الذي تديره بنفسك - S3 وCloudFront:&lt;/strong&gt; يخزّن S3 ملفات الموقع الثابتة، ويقدمها CloudFront للمستخدمين، ويوفر &lt;strong&gt;AWS Certificate Manager (ACM)&lt;/strong&gt; الشهادة اللازمة لإنهاء اتصال TLS على CloudFront. ويمكن توجيه النطاق إلى التوزيعة باستخدام Route 53.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  المستوى 4: واجهة أمامية مع API وهوية للمستخدم
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;API Gateway وLambda وDynamoDB.&lt;/strong&gt; تستقبل API Gateway الطلبات، وتشغّل Lambda منطق المعالجة، وتخزّن DynamoDB البيانات. هذا نمط شائع لبناء تطبيقات Serverless، ويوضح كيف تعمل خدمات AWS للمطورين معًا بدلًا من دراستها منفصلة. تدعم Lambda عدة بيئات تشغيل، منها Node.js لتطبيقات JavaScript وTypeScript وPython وغيرها. ومن المهم فهم حدود الطلبات وسلوك throttling قبل مواجهة مشكلات الأداء في بيئة الإنتاج. ثم يظهر متطلب جديد: «نحتاج إلى حسابات للمستخدمين». يمكن إضافة &lt;strong&gt;Cognito&lt;/strong&gt; دون إعادة تصميم التطبيق بالكامل. يتولى Cognito تسجيل المستخدمين ودخولهم وإصدار الرموز، ويرسل الواجهة الأمامية الرمز مع الطلبات، وتتحقق API Gateway منه عبر Authorizer، بحيث لا تصل إلى Lambda إلا الطلبات التي اجتازت التحقق المطلوب. ويمكن لـ Cognito أيضًا التكامل مع مزودي هوية خارجيين مثل Google وFacebook. وبدلًا من كتابة نظام المصادقة من الصفر، يمكن الاستفادة من خدمة مُدارة ومكتبات SDK المناسبة لـ JavaScript وTypeScript.&lt;/p&gt;

&lt;h3&gt;
  
  
  المستوى 5: Monolith
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;ALB وEC2 مع Auto Scaling وRDS.&lt;/strong&gt; في هذه المعمارية، يوجد تطبيق واحد قابل للنشر، مع Load Balancer يوزّع حركة المرور على خوادم متشابهة وقاعدة بيانات مشتركة. وتظل هذه معمارية صالحة تمامًا؛ فلا يحتاج كل تطبيق إلى Serverless أو Microservices. تناولنا أيضًا الأنواع الثلاثة من Load Balancers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Application Load Balancer:&lt;/strong&gt; لتوجيه حركة HTTP/HTTPS وفق خصائص الطلب.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Network Load Balancer:&lt;/strong&gt; لحالات تتطلب أداءً عاليًا على مستوى TCP/UDP.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gateway Load Balancer:&lt;/strong&gt; لإدخال أجهزة أو خدمات الشبكة الافتراضية في مسار حركة المرور.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  المستوى 6: Microservices
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;ALB ثم ECS أو Fargate.&lt;/strong&gt; يمكن تقسيم تطبيق تجارة إلكترونية إلى خدمات مستقلة مثل الطلبات والمستخدمين والمدفوعات؛ وهنا تنتقل خدمات AWS للمطورين من وحدة نشر واحدة إلى مكونات قابلة للتوسع بصورة مستقلة، ثم المخزون والشحن. تعمل كل خدمة داخل حاوية، ويمكن نشرها وتوسيع نطاقها بصورة مستقلة، كما يمكن أن تستخدم تقنيات مختلفة عند الحاجة. يتولى &lt;strong&gt;ECS&lt;/strong&gt; تشغيل الحاويات، إما على مثيلات تديرها بنفسك أو باستخدام &lt;strong&gt;Fargate&lt;/strong&gt; لتقليل مسؤولية إدارة الخوادم. وإذا كانت Kubernetes جزءًا أساسيًا من بيئة المؤسسة، فإن &lt;strong&gt;EKS&lt;/strong&gt; خيار آخر. وتضيف خطة DVA-C03 المعلنة موضوع بناء صور الحاويات باستخدام ECR ونشرها باستخدام ECS وEKS وFargate إلى نطاق الامتحان.&lt;/p&gt;

&lt;h3&gt;
  
  
  المستوى 7: Event-driven architecture
&lt;/h3&gt;

&lt;p&gt;هنا يتغير نمط التواصل من الطلب والاستجابة المتزامنين (&lt;strong&gt;synchronous request/response&lt;/strong&gt;) إلى المعالجة غير المتزامنة والمكونات المنفصلة (&lt;strong&gt;asynchronous, decoupled processing&lt;/strong&gt;). ولكل من الخدمات الثلاث التالية دور مختلف:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;SQS:&lt;/strong&gt; طابور رسائل يخزّن العمل مؤقتًا حتى يتمكن المستهلك من معالجته بالسرعة المناسبة.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SNS:&lt;/strong&gt; نمط Pub/Sub يتيح توزيع رسالة واحدة على عدة مشتركين.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;EventBridge:&lt;/strong&gt; ناقل أحداث يوجّه الأحداث وفق قواعد، بما في ذلك عبر خدمات وحسابات مختلفة.
مثلًا، عندما تنشر خدمة الطلبات حدثًا، يمكن لخدمتي المخزون والشحن التعامل معه بصورة مستقلة، من دون أن تحتاج خدمة الطلبات إلى معرفة تفاصيلهما. ويساعد هذا الفصل على بناء أنظمة أكثر مرونة، مع ضرورة التفكير في أنماط مثل إعادة المحاولة (&lt;strong&gt;retries&lt;/strong&gt;) وقواطع الدائرة (&lt;strong&gt;circuit breakers&lt;/strong&gt;).&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  المستوى 8: من Commit إلى Production
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;CodeBuild وCodePipeline وCodeDeploy.&lt;/strong&gt; قد يكون مصدر الشيفرة CodeCommit أو GitHub، ويتولى CodeBuild البناء والاختبارات، ويربط CodePipeline المراحل المختلفة، بينما ينفذ CodeDeploy عملية النشر إلى EC2 أو Lambda أو ECS. ويمكن أن تجمع خطوط CI/CD الواقعية بين أدوات AWS وأدوات أخرى مثل &lt;strong&gt;GitHub Actions&lt;/strong&gt; و&lt;strong&gt;Jenkins&lt;/strong&gt;؛ فلا يلزم أن تعتمد كل مراحل خط النشر على منتج واحد. تناولنا أيضًا إضافتين تشغيليتين:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Feature flags:&lt;/strong&gt; تتيح AWS AppConfig — أو أداة مفتوحة المصدر مثل Flagsmith، وهي ليست خدمة من AWS — تفعيل ميزات أو تعطيلها دون الحاجة إلى نشر إصدار جديد في كل مرة. ومن الأمثلة تعطيل ميزة محادثة تسبب مشكلة أو طرح الوضع الداكن تدريجيًا.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;المراقبة:&lt;/strong&gt; يوفر CloudWatch السجلات والمقاييس والتنبيهات، ويساعد X-Ray على تتبع الطلب عبر الخدمات، بينما يمكن استخدام أدوات خارجية أو مفتوحة المصدر مثل GlitchTip لتتبّع الأخطاء. GlitchTip ليست خدمة AWS.
انتقلنا بذلك من كتابة الشيفرة إلى تشغيل البرمجيات ومراقبتها، وهو ما يمهّد للحلقات المتخصصة التالية.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  موضوع إضافي يستحق المراجعة: سياسات التوجيه في Route 53
&lt;/h3&gt;

&lt;p&gt;ظهرت Route 53 في أكثر من موضع في الجلسة، وتستحق سياسات التوجيه الخاصة بها أن تُعرف بالاسم. تناول العرض خمس سياسات، بينما يشرح المقال السابق عن &lt;a href="https://swac.blog/aws-route-53-routing-policies-a-cornerstone-component-in-improving-performance-availability/" rel="noopener noreferrer"&gt;سياسات التوجيه في Route 53&lt;/a&gt; السياسات السبع بمزيد من التفصيل، بما فيها Failover وGeoproximity.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Simple:&lt;/strong&gt; سجل واحد وإجابة واحدة.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Weighted:&lt;/strong&gt; توزيع الحركة بين نقاط النهاية باستخدام أوزان نسبية؛ مثل تحويل جزء صغير من الحركة تدريجيًا إلى إصدار جديد. الأوزان قيم نسبية، ولا يلزم أن يكون مجموعها 100.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Latency-based:&lt;/strong&gt; توجيه المستخدم إلى المنطقة (Region) التي يُتوقع أن تقدم أقل زمن استجابة له.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Geolocation:&lt;/strong&gt; التوجيه استنادًا إلى الموقع الجغرافي للمستخدم.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Multivalue answer:&lt;/strong&gt; إرجاع عدة سجلات سليمة في استعلام DNS واحد.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  خامسًا: نصائح للاستعداد للامتحان
&lt;/h2&gt;

&lt;p&gt;هذه خلاصة النصائح العملية التي طُرحت خلال الجلسة:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;فكّر في السيناريو، لا في أسماء الخدمات فقط.&lt;/strong&gt; ابدأ بسؤال: ما الذي يحتاجه التطبيق؟ وعندها تصبح خريطة خدمات AWS للمطورين مجموعة إجابات عملية لا قائمة أسماء للحفظ. فاختيار الخدمة يأتي استجابةً لمتطلب محدد، وحفظ الأسماء دون فهم أسباب استخدامها لا يكفي.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;افهم مفردات الاعتمادية.&lt;/strong&gt; راجع تصميم الأنظمة القادرة على تحمّل الأعطال، ومعالجة الأخطاء في Lambda، وإعادة المحاولة، وCircuit Breakers، والفرق بين التواصل المتزامن والأنماط المعتمدة على الأحداث.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;راجع سياسات Route 53 وأنواع Load Balancers.&lt;/strong&gt; فهي موضوعات صغيرة نسبيًا لكنها تظهر في سيناريوهات تصميم المعمارية.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ابدأ بالمصادر الرسمية.&lt;/strong&gt; يوضح دليل الامتحان والأسئلة النموذجية المرتبطة بصفحة &lt;a href="https://aws.amazon.com/certification/certified-developer-associate/" rel="noopener noreferrer"&gt;AWS Certified Developer – Associate&lt;/a&gt; نطاق الموضوعات. بعد ذلك، تدرب على الامتحانات التجريبية.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;أنشئ الحسابات مبكرًا.&lt;/strong&gt; أنشئ حسابًا مجانيًا على &lt;a href="https://skillbuilder.aws/" rel="noopener noreferrer"&gt;AWS Skill Builder&lt;/a&gt; وحسابًا على منصة التدريب والشهادات من AWS؛ فستحتاج إلى حساب الشهادات لحجز الامتحان وطلب تسهيل ESL.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;حدّد خطتك الزمنية.&lt;/strong&gt; إذا كنت مستعدًا، فتحقق من موعد انتهاء DVA-C02 قبل الحجز. أما إذا كنت في بداية الاستعداد، فأنشئ خطة مركزة وفق دليل الامتحان الرسمي بدل محاولة دراسة كل خدمة في AWS.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;إذا لم تكن الإنجليزية لغتك الأولى، فتحقق من تسهيل ESL +30 minutes.&lt;/strong&gt; اطلبه قبل التسجيل للامتحان، وفق تعليمات AWS الحالية.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  سادسًا: ما التالي؟
&lt;/h2&gt;

&lt;p&gt;هذه الجلسة لم تحاول شرح كل خدمة بالتفصيل؛ بل رسمت الخريطة أولًا. ويمكن أن تتناول الحلقات التالية موضوعًا واحدًا في كل مرة:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Serverless&lt;/li&gt;
&lt;li&gt;أدوات المطورين وCI/CD&lt;/li&gt;
&lt;li&gt;قواعد البيانات&lt;/li&gt;
&lt;li&gt;الحاويات وMicroservices&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;يرجى ملاحظة أن جميع حقوق الملكية الفكرية لهذا المقال محفوظة. نظرًا لأنني واجهت العديد من حالات القرصنة مؤخراً، فقد نُشر هذا المقال فقط على &lt;a href="https://OneKC.Pro/" rel="noopener noreferrer"&gt;منصة ألف محترف حوسبي&lt;/a&gt; (&lt;a href="https://onekc.pro/aws-services-for-developers-%d8%ae%d8%af%d9%85%d8%a7%d8%aa-aws-%d9%84%d9%84%d9%85%d8%b7%d9%88%d8%b1%d9%8a%d9%86/" rel="noopener noreferrer"&gt;المقال الأصلي&lt;/a&gt;)&lt;br&gt;
وبشكل موازى على موقع dev.to&lt;br&gt;
اما اذا كنت تقرأه في مكان آخر، فيرجى &lt;a href="https://onekc.pro/contact/" rel="noopener noreferrer"&gt;إبلاغنا عبر هذا الرابط&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  سابعًا: الخلاصة
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;تمنحك الخريطة المصنّفة لـ خدمات AWS للمطورين صورة أوضح من استعراض الخدمات واحدةً تلو الأخرى، خصوصًا أن حالة دورة حياة الخدمة مهمة بقدر أهمية وظيفتها.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;الخدمات نتيجة للمتطلبات.&lt;/strong&gt; ابدأ بسؤال «ما الذي يحتاجه التطبيق؟»، ثم اختر الخدمات التي تحقق تلك المتطلبات.&lt;/li&gt;
&lt;li&gt;الانتقال من Monolith إلى Microservices ثم Event-driven architecture ليس مجرد تغيير في عدد الخدمات؛ بل هو أيضًا انتقال في طريقة التفكير من التواصل المتزامن إلى المعالجة غير المتزامنة.&lt;/li&gt;
&lt;li&gt;يتغير امتحان Developer Associate، لذا راجع أحدث المعلومات الرسمية بشأن DVA-C02 وDVA-C03 قبل وضع خطة الدراسة أو حجز الامتحان.
للمزيد من الأمثلة العملية، راجع &lt;a href="https://onekc.pro/%d8%aa%d8%b9%d8%b2%d9%8a%d8%b2-%d9%85%d9%88%d9%82%d8%b9-%d8%a7%d9%84%d9%88%d9%8a%d8%a8-%d8%a7%d9%84%d8%ae%d8%a7%d8%b5-%d8%a8%d9%83-%d9%88%d8%a7%d8%ac%d9%87%d8%a9-%d8%a3%d9%85%d8%a7%d9%85%d9%8a%d8%a9/" rel="noopener noreferrer"&gt;مقال الواجهة الأمامية والخلفية بدون خادم باستخدام 8 خدمات من AWS&lt;/a&gt; على OneKC.pro. يمكنك أيضًا قراءة &lt;a href="https://swac.blog/aws-services-for-developers-dva-c02-dva-c03/" rel="noopener noreferrer"&gt;النسخة الإنجليزية الأصلية&lt;/a&gt; على swac.blog.&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;إذا اعجبتكم هذه الكبسولة، اشتركوا في القائمة البريدية لتصلكم المقالات الجديدة.تابعونا على وسائل التواصل الاجتماعي لمزيد من المحتوى التقني.&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>cloud</category>
      <category>devops</category>
      <category>beginners</category>
    </item>
    <item>
      <title>AWS Services for Developers: The Last DVA-C02 Window Before DVA-C03</title>
      <dc:creator>Khalid ElGazzar</dc:creator>
      <pubDate>Thu, 29 Oct 2026 12:58:00 +0000</pubDate>
      <link>https://dev.to/aws-builders/aws-services-for-developers-the-last-dva-c02-window-before-dva-c03-2f20</link>
      <guid>https://dev.to/aws-builders/aws-services-for-developers-the-last-dva-c02-window-before-dva-c03-2f20</guid>
      <description>&lt;p&gt;&lt;em&gt;A recap of the AWS Egypt online meetup held on Monday, September 28, 2026 (10:00 PM Cairo time, GMT+3, via Google Meet). The live session was delivered in Arabic with English support for guests; this write-up adapts it for swac.blog. It covers a categorized map of the AWS services developers actually use, eight application architectures from simple to complex, and what to know before the AWS Certified Developer - Associate exam changes. The session recording can be viewed &lt;a href="https://youtu.be/UufNrBb8mig" rel="noopener noreferrer"&gt;from here&lt;/a&gt;, the &lt;a href="https://www.meetup.com/awsegyptmeetup/events/316687893/" rel="noopener noreferrer"&gt;Meetup event page is here&lt;/a&gt;, and the &lt;a href="https://onekc.pro/aws-services-for-developers-%d8%ae%d8%af%d9%85%d8%a7%d8%aa-aws-%d9%84%d9%84%d9%85%d8%b7%d9%88%d8%b1%d9%8a%d9%86/" rel="noopener noreferrer"&gt;Arabic article can be read from here&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Why this map, and why now
&lt;/h2&gt;

&lt;p&gt;AWS has far more services than any developer will ever touch, and most learning material either skips the map entirely or buries it under hours of console clicks. This is a practical map of AWS services for developers, built to make the next architecture decision clearer. This session took the opposite approach, built around one sentence that kept coming back: &lt;strong&gt;this is the map, not the manual.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;It also had a deadline attached. The AWS Certified Developer - Associate exam is being updated, and AWS's &lt;a href="https://aws.amazon.com/blogs/training-and-certification/september-2026-new-offerings/" rel="noopener noreferrer"&gt;September 2026 Training and Certification announcement&lt;/a&gt; sets the clock:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Date&lt;/th&gt;
&lt;th&gt;What happens&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;October 27, 2026&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Registration for the updated exam (&lt;strong&gt;DVA-C03&lt;/strong&gt;) opens&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;November 30, 2026&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Last day to take the current exam (&lt;strong&gt;DVA-C02&lt;/strong&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;December 1, 2026&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;DVA-C03 becomes available&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;em&gt;(Sources: AWS's &lt;a href="https://aws.amazon.com/blogs/training-and-certification/september-2026-new-offerings/" rel="noopener noreferrer"&gt;September 2026 Training and Certification announcement&lt;/a&gt; and the &lt;a href="https://aws.amazon.com/certification/certified-developer-associate/" rel="noopener noreferrer"&gt;current certification page&lt;/a&gt;, checked October 24, 2026. Both list October 27 for DVA-C03 registration and November 30 as the final DVA-C02 testing date. Always confirm the current certification page before booking.)&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The session looked at the same material through two lenses: the &lt;strong&gt;practical&lt;/strong&gt; one (what do you build, and with what?) and the &lt;strong&gt;exam&lt;/strong&gt; one (what does the Developer Associate expect you to recognize?). The two overlap far more than people expect, which is why this map of AWS services for developers works for both.&lt;/p&gt;

&lt;h2&gt;
  
  
  The exam in one section
&lt;/h2&gt;

&lt;p&gt;Before the architectures, a quick orientation on the certification itself.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Where it sits.&lt;/strong&gt; AWS certifications run from foundational (Cloud Practitioner, AI Practitioner) through associate (Solutions Architect, Developer, Machine Learning, Data Engineer, CloudOps Engineer) and professional (Solutions Architect, DevOps Engineer) to specialty exams such as Security and Advanced Networking. The session focused on the &lt;strong&gt;Developer Associate&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Format.&lt;/strong&gt; 130 minutes, 65 questions, multiple choice or multiple response (per AWS's certification page for DVA-C02).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Overlap with DevOps.&lt;/strong&gt; The session's estimate is that the Developer Associate and the DevOps Engineer exam share roughly &lt;strong&gt;40%&lt;/strong&gt; of their ground. This is a rule of thumb from the speaker, not an official AWS figure - but it is good news for developers and DevOps engineers alike, because preparing for one pays off for the other.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DVA-C02 domains.&lt;/strong&gt; Development with AWS Services (32%), Security (26%), Deployment (24%), and Troubleshooting and Optimization (18%).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What DVA-C03 changes.&lt;/strong&gt; According to AWS's announcement: AI-assisted development tools across all four domains, a new AI security task (access management for AI services, prompt injection protection, AI agent security), building and deploying containers with ECR, ECS, EKS and Fargate, and new in-scope services: Amazon Bedrock, Amazon Bedrock AgentCore, Amazon Q, Kiro, Amazon Data Firehose and AWS PrivateLink. The four domains remain, but the weights shift: Development with AWS Services (30%), Security (26%), Testing and Deployment (22%), and Troubleshooting and Optimization (22%). AWS directs candidates to check back on October 27 for more information, so treat finer details as provisional until the full exam guide is published.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Extra time for non-native English speakers.&lt;/strong&gt; AWS offers a 30-minute extension ("ESL +30 minutes") for exams taken in English, as described in &lt;a href="https://aws.amazon.com/certification/policies/before-testing/" rel="noopener noreferrer"&gt;AWS's exam accommodations instructions&lt;/a&gt;. It is requested once, from your AWS certification account, &lt;strong&gt;before&lt;/strong&gt; you register for your first exam.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Part 1: AWS services for developers, grouped by category
&lt;/h2&gt;

&lt;p&gt;The first part of the session laid out AWS services for developers in eight categories, each with its &lt;strong&gt;current lifecycle status&lt;/strong&gt; - because a course recorded two years ago teaches you what AWS looked like two years ago.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Category&lt;/th&gt;
&lt;th&gt;Services covered&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Compute&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;EC2, Lambda, Elastic Beanstalk, ECS, EKS, Lightsail, App Runner&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Frontend and hosting&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Amplify Hosting, S3, CloudFront&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Data and storage&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;DynamoDB, RDS and Aurora, ElastiCache&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Networking and APIs&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;API Gateway, Application Load Balancer, Route 53&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Identity and access&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;IAM, Cognito, Secrets Manager, STS&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Messaging and integration&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;SQS, SNS, EventBridge, Step Functions&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;CI/CD and developer tools&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;CodeCommit, CodeBuild, CodeDeploy, CodePipeline, AWS SAM, CDK&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Observability&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;CloudWatch, X-Ray, CloudTrail&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Reading the status column
&lt;/h3&gt;

&lt;p&gt;Three labels were used throughout, and the difference matters when you are choosing what to build on. They follow AWS's own &lt;a href="https://docs.aws.amazon.com/general/latest/gr/service-lifecycle.html" rel="noopener noreferrer"&gt;service lifecycle definitions&lt;/a&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Maintenance&lt;/strong&gt; - you can no longer onboard new usage, but existing customers can keep using the service. AWS continues to operate and support it without adding functionality.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sunset&lt;/strong&gt; - existing customers should plan to migrate to the recommended alternatives. A sunset timeline is typically 12 months, ending with the date AWS stops operating and supporting the service.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Full shutdown&lt;/strong&gt; - the final stage. The service is completely removed from the AWS portfolio and is no longer available or supported.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And here is what that looked like in the developer tools category, as of October 2026. The authoritative, always-current list is AWS's page on &lt;a href="https://docs.aws.amazon.com/general/latest/gr/maintenance_services.html" rel="noopener noreferrer"&gt;services in maintenance&lt;/a&gt; - check it before you commit to anything on this list:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Service&lt;/th&gt;
&lt;th&gt;Status&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Cloud9&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;In maintenance since the July 25, 2024 announcement - AWS points to the AWS IDE Toolkits or AWS CloudShell as alternatives&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;CodeStar&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;a href="https://docs.aws.amazon.com/general/latest/gr/full_shutdown_services.html" rel="noopener noreferrer"&gt;Full shutdown&lt;/a&gt; (July 25, 2024)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;CodeCatalyst&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;In maintenance since the November 7, 2025 announcement&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;CodeGuru Reviewer&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;In maintenance - AWS announced the change October 7, 2025; new repository associations stopped November 7, 2025. Amazon Q Developer and Amazon Inspector are alternatives depending on the need.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;App Runner&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Closed to new customers as of March 31, 2026; existing customers can continue to use it. AWS recommends exploring ECS Express Mode when migrating.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;CodeCommit&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;a href="https://aws.amazon.com/blogs/devops/aws-codecommit-returns-to-general-availability/" rel="noopener noreferrer"&gt;Returned to general availability&lt;/a&gt; in November 2025 after an earlier new-customer restriction&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;One more date worth writing down if you start with WordPress on Lightsail: from &lt;strong&gt;November 19, 2026&lt;/strong&gt;, you can no longer select the older &lt;a href="https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-faq-bitnami-blueprints.html" rel="noopener noreferrer"&gt;&lt;strong&gt;Bitnami-packaged&lt;/strong&gt; WordPress blueprint&lt;/a&gt; for a new instance. Existing instances continue to run, and you can still create instances from existing snapshots; for a new build, use the Lightsail-packaged WordPress blueprint instead.&lt;/p&gt;

&lt;h2&gt;
  
  
  Part 2: The architecture ladder
&lt;/h2&gt;

&lt;p&gt;The heart of the session: eight application architectures, one question each time - &lt;strong&gt;what does this application actually need?&lt;/strong&gt; The services follow from the answer, not the other way around. (If you want the same lens on the AI-assisted side of development, the previous AWS Egypt session on &lt;a href="https://swac.blog/spec-driven-development-kiro-ide-from-aws-mcp-server/" rel="noopener noreferrer"&gt;spec-driven development with Kiro&lt;/a&gt; is the natural companion.)&lt;/p&gt;

&lt;h3&gt;
  
  
  Level 1 - Just WordPress
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Lightsail.&lt;/strong&gt; A Lightsail instance is a simplified facade over the same compute underneath: pick the WordPress (or LAMP) blueprint and you get the server, PHP and MySQL bundled together, one service, one price, one place to click. The contrast that was drawn live: building the same thing on raw &lt;strong&gt;EC2&lt;/strong&gt; means creating the instance, opening SSH access, installing the stack, and managing all of it yourself. Same destination, very different amount of ownership.&lt;/p&gt;

&lt;h3&gt;
  
  
  Level 2 - WordPress at scale
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Route 53, CloudFront, EC2, RDS&lt;/strong&gt; (with S3 for media). When "I need more control and more traffic" replaces "I just want a site", the architecture splits into parts: Route 53 for the domain, CloudFront for caching at the edge, EC2 running WordPress, and &lt;strong&gt;RDS&lt;/strong&gt; (MySQL or PostgreSQL) as a managed database kept separate from the server. Running across two or three &lt;strong&gt;Availability Zones&lt;/strong&gt; is what moves this from "works" toward "survives a failure" - provided the components (the EC2 fleet, the RDS database) are actually configured for redundancy and failover. The point of the level was not to memorize four services - it was to notice that the services appeared as consequences of requirements.&lt;/p&gt;

&lt;h3&gt;
  
  
  Level 3 - A frontend, nothing else
&lt;/h3&gt;

&lt;p&gt;Two paths, and both are worth knowing:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The managed path - Amplify Hosting.&lt;/strong&gt; Connect a Git repository (React, Vue, Next.js) and it builds, deploys, previews branches and serves over a CDN. If you are coming from Vercel or Netlify, this is the AWS service to try first - though that is a starting point, not a claim that the two are identical.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The build-it-yourself path - S3 + CloudFront.&lt;/strong&gt; S3 holds the static files, CloudFront serves them worldwide, and &lt;strong&gt;AWS Certificate Manager&lt;/strong&gt; provides the certificate so CloudFront handles TLS termination for HTTPS, with Route 53 pointing the domain at the distribution.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Level 4 - Frontend plus an API (and identity)
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;API Gateway, Lambda, DynamoDB.&lt;/strong&gt; API Gateway receives the request, Lambda runs the handler, DynamoDB stores the data. It is one of the most common serverless patterns on AWS, and a useful way to see how AWS services for developers work together. Lambda supports multiple runtimes (Node.js for JavaScript and TypeScript, Python, and others), and throttling behavior came up here as something to understand early rather than discover in production.&lt;/p&gt;

&lt;p&gt;Then one new requirement - "users need accounts" - slots into the same architecture without a redesign. &lt;strong&gt;Cognito&lt;/strong&gt; signs users up and in and issues a token; the frontend sends the token with each request; API Gateway validates it through an authorizer; Lambda only ever receives already-authorized requests. Cognito can also federate with external identity providers such as Google and Facebook, and the SDKs for JavaScript and TypeScript make the integration straightforward - authentication and authorization as an off-the-shelf service instead of something you write.&lt;/p&gt;

&lt;h3&gt;
  
  
  Level 5 - The monolith
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;ALB, EC2 with Auto Scaling, RDS.&lt;/strong&gt; One codebase, one deployable unit, a load balancer spreading traffic across identical servers and one shared database. It remains a completely valid architecture; not everything needs to be serverless. This is also where the three current load balancer types were compared: &lt;strong&gt;Application&lt;/strong&gt; (HTTP/HTTPS routing), &lt;strong&gt;Network&lt;/strong&gt; (high-performance TCP/UDP), and &lt;strong&gt;Gateway&lt;/strong&gt; (for inserting network appliances into the traffic path).&lt;/p&gt;

&lt;h3&gt;
  
  
  Level 6 - Microservices
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;ALB, then ECS (or Fargate).&lt;/strong&gt; Take an e-commerce application and split it into independent services; this is where AWS services for developers move from one deployable unit to independently scalable components - orders, users, payments, later inventory and shipping - each in its own container, each deployable and scalable on its own, and free to use different technologies. &lt;strong&gt;ECS&lt;/strong&gt; runs them either on instances you manage or fully managed through &lt;strong&gt;Fargate&lt;/strong&gt;. If Kubernetes is already central to how your organization works, &lt;strong&gt;EKS&lt;/strong&gt; is the other path; that comparison deserves its own session. Worth noting for exam planning: AWS's DVA-C03 announcement adds building images with ECR and deploying with ECS, EKS and Fargate to the exam scope.&lt;/p&gt;

&lt;h3&gt;
  
  
  Level 7 - Event-driven
&lt;/h3&gt;

&lt;p&gt;Here the shift underneath everything becomes explicit: &lt;strong&gt;synchronous request/response gives way to asynchronous, decoupled processing.&lt;/strong&gt; Three tools, three patterns:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;SQS&lt;/strong&gt; - a queue. It buffers work so the consumer catches up at its own pace.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SNS&lt;/strong&gt; - pub/sub. One message, fanned out to every subscriber.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;EventBridge&lt;/strong&gt; - an event bus. Events routed by rule, across services and even accounts.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The running example: when the orders service publishes an event, inventory and shipping each react independently - and orders never needs to know they exist. That decoupling is also where resilience patterns such as &lt;strong&gt;retries and circuit breakers&lt;/strong&gt; earn their place.&lt;/p&gt;

&lt;h3&gt;
  
  
  Level 8 - From commit to production
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;CodeBuild, CodePipeline, CodeDeploy.&lt;/strong&gt; Source lives in CodeCommit or GitHub, CodeBuild compiles and tests, CodePipeline chains the stages, CodeDeploy ships to EC2, Lambda or ECS. The session also made the practical point that real pipelines mix tools: &lt;strong&gt;GitHub Actions&lt;/strong&gt; and &lt;strong&gt;Jenkins&lt;/strong&gt; appear next to the AWS services all the time, and that is fine.&lt;/p&gt;

&lt;p&gt;Two operational add-ons were covered at this level:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Feature flags.&lt;/strong&gt; AWS AppConfig (or Flagsmith, an open-source option that is not an AWS service) lets you switch features on and off without redeploying - disabling a misbehaving chat feature, or rolling out dark mode gradually.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Watching it all.&lt;/strong&gt; CloudWatch for logs, metrics and alarms, X-Ray for tracing a request across services, plus third-party or open-source options such as GlitchTip (not an AWS service) for error tracking.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We have gone from writing code to operating software - which is exactly the bridge into the next episode of this series.&lt;/p&gt;

&lt;h3&gt;
  
  
  One more thing to know cold: Route 53 routing policies
&lt;/h3&gt;

&lt;p&gt;Route 53 came up repeatedly, and its routing policies are worth knowing by name. The session covered five of them; my earlier post on &lt;a href="https://swac.blog/aws-route-53-routing-policies-a-cornerstone-component-in-improving-performance-availability/" rel="noopener noreferrer"&gt;Route 53 routing policies&lt;/a&gt; goes through all seven, including failover and geoproximity, in more depth.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Simple&lt;/strong&gt; - one record, one answer.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Weighted&lt;/strong&gt; - split traffic between endpoints by relative weights (for example, gradually shifting a small share of traffic to a new version).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Latency-based&lt;/strong&gt; - send users to the Region that responds fastest for them (say, Frankfurt versus US East).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Geolocation&lt;/strong&gt; - route by where the user is.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Multivalue answer&lt;/strong&gt; - return several healthy records for one DNS query.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Exam tips and tricks
&lt;/h2&gt;

&lt;p&gt;The practical advice shared during the session, in one place:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Think in scenarios, not services.&lt;/strong&gt; Ask "what does this application need?" first. The map of AWS services for developers then becomes a set of answers rather than a list to memorize. The services are the answer to a requirement - memorizing a long list of service names without the requirement behind each one will not hold up.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Know the resilience vocabulary.&lt;/strong&gt; Fault-tolerant and resilient application design, error handling in Lambda, retry logic, circuit breakers, and the difference between synchronous microservices and event-driven patterns are recurring themes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Know your &lt;a href="https://swac.blog/aws-route-53-routing-policies-a-cornerstone-component-in-improving-performance-availability/" rel="noopener noreferrer"&gt;Route 53 policies&lt;/a&gt; and load balancer types&lt;/strong&gt; - they are small topics that show up in architecture scenarios.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use the official material first.&lt;/strong&gt; The exam guide and sample questions linked from &lt;a href="https://aws.amazon.com/certification/certified-developer-associate/" rel="noopener noreferrer"&gt;AWS's certification page&lt;/a&gt; tell you what is in scope. Then practice with mock exams.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Create the accounts today.&lt;/strong&gt; Set up a free account on &lt;a href="https://skillbuilder.aws/" rel="noopener noreferrer"&gt;&lt;strong&gt;AWS Skill Builder&lt;/strong&gt;&lt;/a&gt; and an account on the AWS training and certification platform - you need the latter to book the exam and to request the ESL extension.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Decide your timeline.&lt;/strong&gt; If you have already prepared, book before November 30. If you have not, build a compressed study plan around the official exam guide rather than trying to learn everything.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;If English is not your first language, request the 30 extra minutes&lt;/strong&gt; before you register.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What's next
&lt;/h2&gt;

&lt;p&gt;This session only scratched the surface, by design. The series continues with deep dives into one part of the map at a time:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Serverless&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Developer tools and CI/CD&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Databases&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Containers and microservices&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;Note that&lt;/em&gt; All IP rights to this blog post are reserved. Since I have been facing several content piracy cases lately, this blog post has ONLY been published on &lt;a href="https://swac.blog" rel="noopener noreferrer"&gt;the Software, Architecture, and Cloud blog - SWAC.blog&lt;/a&gt; (&lt;a href="https://swac.blog/aws-services-for-developers-dva-c02-dva-c03/" rel="noopener noreferrer"&gt;original article&lt;/a&gt;) and canonically to &lt;a href="https://dev.to/khalidelgazzar"&gt;dev.to&lt;/a&gt; only. If you are reading it elsewhere, then &lt;a href="https://swac.blog/contact-us/" rel="noopener noreferrer"&gt;please let us know&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Takeaways
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;A categorized map of AWS services for developers beats a service-by-service tour - especially now that the lifecycle status of a service matters as much as what it does.&lt;/li&gt;
&lt;li&gt;Services are consequences of requirements. Start from "what does this application need?" and the right AWS services tend to show themselves.&lt;/li&gt;
&lt;li&gt;The jump from monolith to microservices to event-driven is really a jump from synchronous to asynchronous thinking - and that is the theme the session kept returning to.&lt;/li&gt;
&lt;li&gt;The DVA-C02 window is short: registration for DVA-C03 opens October 27, and the last day for DVA-C02 is November 30.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>aws</category>
      <category>cloud</category>
      <category>devops</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Power Up Your Website: A Serverless Frontend and Backend using 8 AWS services</title>
      <dc:creator>Khalid ElGazzar</dc:creator>
      <pubDate>Mon, 08 Jul 2024 13:03:00 +0000</pubDate>
      <link>https://dev.to/aws-builders/power-up-your-website-a-serverless-frontend-and-backend-using-8-aws-services-1ho</link>
      <guid>https://dev.to/aws-builders/power-up-your-website-a-serverless-frontend-and-backend-using-8-aws-services-1ho</guid>
      <description>&lt;p&gt;I recently made a &lt;a href="https://www.meetup.com/awsegyptmeetup/events/300522210/" rel="noopener noreferrer"&gt;presentation and demo for AWS meetup titled “Building Frontend and Backend using AWS S3 &amp;amp; Serveless, A Practical Project”&lt;/a&gt;. In this project, I created a serverless application that hosted a static website frontend on an S3 bucket and allowed communication from web forms on this static website to a serverless backend to provide a fully-fledged functionality (i.e. both frontend and backend). In this blog post, I will provide an overview of the 8 AWS services that were used in the demo to come up with the Web app up and running.&lt;/p&gt;

&lt;p&gt;Furthermore, a brief description of the 8 AWS services and the steps used will be provided. This blog post (and demo) can be particularly useful to developers new to serverless architecture and to AWS users looking to explore serverless options. It can be beneficial in certain use cases such as: building a simple portfolio/company website or developing a landing page for a marketing campaign.&lt;/p&gt;

&lt;p&gt;You can check &lt;a href="https://swac.blog/AWS-egypt-meetup2-ppt-public.html" rel="noopener noreferrer"&gt;the event presentation from this link&lt;/a&gt;. You can also &lt;a href="https://github.com/KhalidElGazzar/aws-egypt-fe-and-be-may2024" rel="noopener noreferrer"&gt;fork my GitHub Repo containing the code and simple instructions from this link&lt;/a&gt;. Also, make sure to check this post shortly as I will be providing a video recording of the session to show the detailed steps. Furthermore,  &lt;em&gt;Note that&lt;/em&gt; All IP rights to this blog post are reserved. Since I have been facing several content piracy cases lately, this blog post has ONLY been published on &lt;a href="https://swac.blog" rel="noopener noreferrer"&gt;the Software, Architecture, and Cloud blog - SWAC.blog&lt;/a&gt; and canonically to &lt;a href="https://dev.to/khalidelgazzar"&gt;dev.to&lt;/a&gt; only. If you are reading it elsewhere, then &lt;a href="https://swac.blog/contact-us/" rel="noopener noreferrer"&gt;please let us know&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  I. &lt;strong&gt;Introduction&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Serverless architecture offers numerous benefits for modern web applications. It removes the need to manage servers, allowing developers to focus mainly on the application logic. This mini-project demonstrates how to leverage AWS services to create a cost-effective and scalable serverless application containing both a frontend and a backend.&lt;/p&gt;

&lt;p&gt;I will be hosting a static website consisting of 5 HTML pages (index, services, about, contact, &amp;amp; an error page) on an S3 bucket. These static files have a webform that can post data to the backend. In order to add backend functionality, I will be using an AWS python lambda function to receive a post request from the front end, store it in a DynamoDB, and then return a response.&lt;/p&gt;

&lt;p&gt;The static assets also include a css file (for simple styling) and a JavaScript file (to implement fetchAPI call the backend). This call is received by the API gateway) and then passed over to the Lambda function for further processing.&lt;/p&gt;

&lt;p&gt;The contact form contains a simple email registration form (name, email&amp;nbsp;&amp;amp; submit button) that posts this data to the serverless backend upon click the submit button. I used Postman to simulate the post request during implementation. Note that the static files (HTML, CSS, JavaScript, and images) were stored on a GitHub repo and then were uploaded to an S3 bucket that was configured to be a static website hosting.&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%2Ffiwq728q1uwv0h8kdi41.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%2Ffiwq728q1uwv0h8kdi41.png" alt="Overview of the serverless web application on AWS showing the frontend and backends." width="800" height="492"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;II. Frontend Services Overview&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;As explained earlier, the frontend of this application is a static website composed of HTML, CSS, and JavaScript files. Here’s a breakdown of the AWS services used for the frontend:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;Amazon S3:&lt;/strong&gt; S3 is a scalable object storage service that acts as the foundation for our static website. I uploaded the website’s HTML, CSS, and JavaScript files to an S3 bucket configured for static website hosting. This also mandated using ACLs or bucket policies to ensure granting proper public access. S3 provides ease of use, scalability, and cost-effectiveness for our use case.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Amazon Route 53:&lt;/strong&gt; Route 53 is a highly available and scalable Domain Name System (DNS) web service. We used Route 53 to manage the domain name for our website. For more information about Route 53, you may check &lt;a href="https://swac.blog/aws-route-53-routing-policies-a-cornerstone-component-in-improving-performance-availability/" rel="noopener noreferrer"&gt;my earlier blog post covering in-depth details about Route 53&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Amazon Certificate Manager (ACM):&lt;/strong&gt; ACM is a service that allows us to easily provision, manage, and deploy public and private SSL/TLS certificates for our websites. I used ACM to obtain an SSL certificate for our domain name.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Amazon CloudFront:&lt;/strong&gt; CloudFront is a content delivery network (CDN) service that improves website performance by caching content at geographically distributed edge locations. In this project, I created a CloudFront distribution using AWS POPs that allows delivering content from caching locations near to the geographic location of the user and also allows converting the HTTP traffic into HTTPS.&lt;/li&gt;
&lt;/ol&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%2Fl63q2iu9dj8gbhhivwku.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%2Fl63q2iu9dj8gbhhivwku.png" alt="Four AWS services were used to implement the serverless frontend." width="670" height="759"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  III. &lt;strong&gt;Backend Services Overview&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;The backend for this application is serverless, meaning I will utilize services that allow automatic provisioning and scalability based on incoming requests. This is a huge advantage for developers eliminating the headache of managing and maintaining infrastructure. Here’s a look at the serverless backend services:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;Amazon API Gateway:&lt;/strong&gt; API Gateway is a fully managed service that allows developers to create, publish, and maintain APIs for various backends. It acts as the single entry point for frontend requests to our serverless backend. In this demo, I used REST APIs and configured the API GW to use REST.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;AWS Lambda:&lt;/strong&gt; Lambda is a serverless compute service that lets us run code without provisioning or managing servers. I created a Python Lambda function that handled the incoming API Gateway requests, inserted the received record into a DynamoDB table, and then responded to the frontend with a response.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Amazon DynamoDB:&lt;/strong&gt; DynamoDB is a NoSQL database service that provides fast and scalable storage for applications. I used DynamoDB to store form data submitted from the website’s contact form in a simple JSON format.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;AWS Identity and Access Management (IAM):&lt;/strong&gt; IAM is a service that helps control access to AWS resources. I created the needed IAM roles to grant the Lambda function permission to interact with DynamoDB. Further roles were also created in order to grant the API GW access on the lambda function.&lt;/li&gt;
&lt;/ol&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%2F9wn1idlsal4s2uy5j74t.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%2F9wn1idlsal4s2uy5j74t.png" alt="Another four AWS services were used to implement the serverless backend." width="800" height="521"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  IV. &lt;strong&gt;High-Level steps to build the serverless web app in AWS&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Here is a simplified overview of the steps involved in building this serverless application. You can refer to the video recording for the detailed steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;Create an S3 bucket and configure website hosting.&lt;/strong&gt; Upload the static website files (HTML, CSS, JavaScript) to the S3 bucket.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Purchase a domain name&lt;/strong&gt; and configure Route 53 to manage the DNS records for your domain.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Obtain an SSL certificate from ACM&lt;/strong&gt; for your domain name.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Create a CloudFront distribution&lt;/strong&gt; and configure it to serve content from the S3 bucket with website hosting enabled.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Create an API Gateway&lt;/strong&gt; and define an API resource.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Create a Lambda function&lt;/strong&gt; to handle API Gateway requests. The Lambda function should process the request data and interact with DynamoDB.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Create a DynamoDB table&lt;/strong&gt; to store the data submitted from the website’s contact form.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Configure IAM roles&lt;/strong&gt; to grant the Lambda function permission to interact with DynamoDB.&lt;/li&gt;
&lt;/ol&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%2F99fofqizmzh3bcx43elp.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%2F99fofqizmzh3bcx43elp.png" alt="Using a REST client to test the serverless backend" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  IV. &lt;strong&gt;Conclusion&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;This blog post has provided a high-level overview on how to build a serverless application with a static website as the frontend and then connect it to a serverless backend. The overall steps take around 2 hours which clearly demonstrates that we can leverage AWS services to create a cost-effective and scalable application while focusing on development logic rather than server management. Note that this is not a production-level application and further optimizations and security hardnening can be implemented to reach this level.&lt;/p&gt;

&lt;p&gt;You can check &lt;a href="https://swac.blog/AWS-egypt-meetup2-ppt-public.html" rel="noopener noreferrer"&gt;the event presentation from this link&lt;/a&gt;. You can also &lt;a href="https://github.com/KhalidElGazzar/aws-egypt-fe-and-be-may2024" rel="noopener noreferrer"&gt;fork my GitHub Repo containing the code and simple instructions from this link&lt;/a&gt;. Also, make sure to check this post shortly as I will be providing a video recording of the session to show the detailed steps.  &lt;em&gt;Note that&lt;/em&gt; All IP rights to this blog post are reserved. Since I have been facing several content piracy cases lately, this blog post has ONLY been published on &lt;a href="https://swac.blog" rel="noopener noreferrer"&gt;the Software, Architecture, and Cloud blog - SWAC.blog&lt;/a&gt; and canonically to &lt;a href="https://dev.to/khalidelgazzar"&gt;dev.to&lt;/a&gt; only. If you are reading it elsewhere, then &lt;a href="https://swac.blog/contact-us/" rel="noopener noreferrer"&gt;please let us know&lt;/a&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>serverless</category>
      <category>cloudcomputing</category>
      <category>beginners</category>
    </item>
    <item>
      <title>تعزيز موقع الويب الخاص بك: واجهة أمامية و خلفية بدون خادم باستخدام 8 خدمات من أيه دبليو إس</title>
      <dc:creator>Khalid ElGazzar</dc:creator>
      <pubDate>Thu, 04 Jul 2024 12:55:00 +0000</pubDate>
      <link>https://dev.to/aws-builders/wjh-mmy-w-khlfy-bdwn-khdm-bstkhdm-8-khdmt-mn-yh-dblyw-s-2i9n</link>
      <guid>https://dev.to/aws-builders/wjh-mmy-w-khlfy-bdwn-khdm-bstkhdm-8-khdmt-mn-yh-dblyw-s-2i9n</guid>
      <description>&lt;p&gt;Building AWS Serverless front &amp;amp; back ends | OneKC.pro&lt;/p&gt;

&lt;p&gt;مرحبا بكم فى كبسولات الحوسبة السحابية من &lt;a href="https://onekc.pro" rel="noopener noreferrer"&gt;ألف محترف حوسبي&lt;/a&gt; حيث نقدم مقدمة مبسطة للخدمات الرئيسية لأيه دبليو اس.&lt;/p&gt;

&lt;h2&gt;
  
  
  مقدمة
&lt;/h2&gt;

&lt;p&gt;في الآونة الأخيرة، قدمت &lt;a href="https://www.meetup.com/awsegyptmeetup/events/300522210/" rel="noopener noreferrer"&gt;عرضًا توضيحيًا و مشروعا عمليا لعرض AWS Meetup بعنوان “بناء الواجهة الأمامية والخلفية باستخدام AWS S3 و منهجية Serverless و مشروع عملي”&lt;/a&gt;. في هذا المشروع، قمت بإنشاء تطبيق بدون خادم (serverless) يستضيف واجهة أمامية لموقع ويب على S3 Bucket ويسمح بالاتصال بالواجهة الخلفية منweb form لتوفير وظائف متكاملة ما بين الواجهة الأمامية والخلفية. في هذا المقال التقنى، سوف أقدم نظرة عامة على خدمات AWS الثمانية التي تم استخدامها في هذا المشروع المصغر. علاوة على ذلك، سيتم تقديم وصف موجز لخدمات AWS الثمانية والخطوات المستخدمة.&lt;/p&gt;

&lt;p&gt;يمكن أن تكون هذا المقال التقني (و العرض التوضيحي و الفيديو المسجل للاجتماع) مفيدا بشكل خاص للمطورين الجدد على البنية بدون خادم (Serverless Architecture) وابضا ستكون مفيدة لمستخدمي AWS الذين يتطلعون إلى استكشاف خيارات البناء على AWS بدون خادم (Serverless). كذلك سيكون المشروع المصغر مفيدًا في حالات استخدام معينة مثل: بناء موقع ويب بسيط للشركة / موقع شخصى لعرض سابقة الأعمال أو تطوير صفحة landing page لصالح حملة تسويقية.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://onekc.pro/AWS-egypt-meetup2-ppt-public.html#1" rel="noopener noreferrer"&gt;يمكنكم الاطلاع على العرض التقديمى التفصيلي من خلال هذا الرابط.&lt;/a&gt; كما يمكنكم أيضًا &lt;a href="https://github.com/KhalidElGazzar/aws-egypt-fe-and-be-may2024" rel="noopener noreferrer"&gt;نسخ مستودع GitHub الخاص بي الذي يحتوي على الكود والتعليمات البسيطة من هذا الرابط&lt;/a&gt;. أيضًا تأكد من مراجعة هذا المنشور قريبًا حيث سأقوم بتوفير تسجيل فيديو للجلسة لعرض الخطوات التفصيلية.&lt;/p&gt;

&lt;p&gt;يرجى ملاحظة أن جميع حقوق الملكية الفكرية لهذا المقال محفوظة. نظرًا لأنني واجهت العديد من حالات القرصنة مؤخراً، فقد نُشر هذا المقال فقط على &lt;a href="https://OneKC.Pro/" rel="noopener noreferrer"&gt;منصة ألف محترف حوسبي&lt;/a&gt;&lt;br&gt;
وبشكل موازى على موقع dev.to&lt;br&gt;
اما اذا كنت تقرأه في مكان آخر، فيرجى &lt;a href="https://onekc.pro/contact/" rel="noopener noreferrer"&gt;إبلاغنا.عبر هذا الرابط&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  ما الذى سنقوم بعمله فى هذا المشروع المصغر؟
&lt;/h2&gt;

&lt;p&gt;تقدم بنية بدون خادم (Serverless Architecture) العديد من الفوائد لتطبيقات الويب الحديثة حيث تزيل الحاجة إلى إدارة الخوادم، مما يسمح للمطورين بالتركيز بشكل أساسي على منطق التطبيق. يوضح هذا المشروع المصغر كيفية الاستفادة من خدمات AWS لإنشاء تطبيق ويب بدون خادم (ٍٍServerless) يحتوي على كل من الواجهة الأمامية والخلفية.&lt;/p&gt;

&lt;p&gt;سأستضيف موقعًا ويب ثابتً يتكون من 5 صفحات (index, services, about, contact, &amp;amp; an error page) علىِ AWS S3 bucket تحتوي هذه الملفات الثابتة على Web form يمكنه ارسال البيانات إلى واجهة التطبيق الخلفية.&lt;/p&gt;

&lt;p&gt;من أجل إضافة وظائف خلفية، سأستخدم AWS Lambda Python لاستقبال POST Request من الواجهة الأمامية، وتخزينه في قاعدة بيانات DynamoDB، ثم بعد ذلك يتم ارسال الرد على الواجهة الأمامية (Send a JSON response).&lt;/p&gt;

&lt;p&gt;تتضمن ملفات المشروع أيضًا ملف CSS وملف JavaScript (لتنفيذ استدعاء واجهة تطبيقات الخلفية عبر FetchAPI). يتم تلقي الRequest بواسطة بAWS API Gateway ثم يتم تمريرها إلى Lambda للمعالجة الإضافية.&lt;/p&gt;

&lt;p&gt;تحتوي ال Web form على نموذج تسجيل بريد إلكتروني بسيط (الاسم و البريد الإلكتروني و زر الإرسال) يقوم بارسال هذه البيانات إلى الواجهة الخلفية عند النقر فوق زر الإرسال. قمت أيضا باستخدام Postman لمحاكاة طلب POST أثناء التنفيذ. علما بأنه قد قمنا بتحميل الملفات الثابتة (HTML و CSS و JavaScript والصور) من GitHub إلى S3 bucket لاستضافة موقع ويب ثابت.&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%2Fi0kfx7apm47gd1szc282.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.amazonaws.com%2Fuploads%2Farticles%2Fi0kfx7apm47gd1szc282.png" alt="شكل رقم 1: المعمارية الكلية للتطبيق توضح واجهتى التطبيق الأمامية و الخلفية بدون خادم" width="800" height="492"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;شكل رقم 1: المعمارية الكلية للتطبيق توضح واجهتى التطبيق الأمامية و الخلفية باستخدام Serverless AWS Services&lt;/p&gt;

&lt;h2&gt;
  
  
  نظرة عامة على خدمات الواجهة الأمامية 
&lt;/h2&gt;

&lt;p&gt;كما أوضحنا سابقًا، فإن الواجهة الأمامية لهذا التطبيق عبارة عن موقع ويب ثابت يتكون من ملفات HTML و CSS و JavaScript. فيما يلي تفصيل لخدمات AWS المستخدمة للواجهة الأمامية:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Amazon S3&lt;/strong&gt; هي خدمة تخزين (Object Storage Service) تعمل كأساس لموقع الويب الثابت. لقد قمت بتحميل ملفات HTML و CSS و JavaScript للموقع الإلكتروني إلى S3 bucket الذي تم تكوينه مع ضبط الاعدادات الخاصة به لاستضافة موقع ويب ثابت. يتطلب هذا أيضًا استخدام ACLs أو Bucket Policies لضمان منح وصول عام مناسب (granting public access to bucket objects). يوفر S3 سهولة فى الاستخدام و سعة لامحدودة و توفر عالي (High Availability) و تكلفة فعالة لحالة الاستخدام الخاصة بنا.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Amazon Route 53&lt;/strong&gt; هي خدمة ويب لنظام أسماء النطاقات (DNS) عالية التوفر. لقد استخدمت Route 53 لإدارة اسم المجال لموقعنا الإلكتروني. لمزيد من المعلومات حول Route 53، يمكنك &lt;a href="https://swac.blog/aws-route-53-routing-policies-a-cornerstone-component-in-improving-performance-availability/" rel="noopener noreferrer"&gt;مراجعة هذا المقال التقني باللغة الإنجليزية الذي يغطي تفاصيل أكثر حول Route 53&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Amazon Certificate Manager (ACM)&lt;/strong&gt; هي خدمة تسمح لنا بتوفير وإدارة ونشر شهادات SSL/TLS العامة والخاصة لمواقعنا الإلكترونية بسهولة. لقد استخدمت ACM للحصول على شهادة SSL لاسم المجال الخاص بى فى هذا المشروع.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Amazon CloudFront&lt;/strong&gt; هي خدمة شبكة توصيل المحتوى (Content Delivery Network – CDN) تتيح بالاساس تحسين أداء مواقع الويب عن طريق تخزين المحتوى مؤقتًا في مواقع متفرقة جغرافيًا. في هذا المشروع، قمت بإنشاء توزيع CloudFront باستخدام نقاط وجود (AWS POPs) والتي تسمح بتقديم المحتوى مواقع تخزين مؤقتة قريبة من الموقع الجغرافي للمستخدم بالاضافة إلى التحويل من HTTP إلى HTTPS.&lt;/li&gt;
&lt;/ul&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%2Fjnp8i9ai9e72njp7wtji.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.amazonaws.com%2Fuploads%2Farticles%2Fjnp8i9ai9e72njp7wtji.png" alt="شكل رقم 2: تم استخدام 4 خدمات مختلفة بدون خادم لواجهة التطبيق الأمامية &lt;br&gt;
" width="670" height="759"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  نظرة عامة على خدمات الواجهة الخلفية 
&lt;/h2&gt;

&lt;p&gt;نظام التشغيل الخلفي لهذا التطبيق بدون خادم (Serverless Backend)، مما يعني أنني سأستفيد من الخدمات التي تسمح بال provisioning التلقائي وقابلية التوسع بناءً على الطلبات الواردة. هذه ميزة كبيرة للمطورين حيث توفر الجهد و الوقت اللازمين لإدارة وصيانة البنية التحتية. لنأخذ الان نظرة عامة على خدمات الواجهة الخلفية:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Amazon API Gateway&lt;/strong&gt; هي خدمة مُدارة بالكامل تسمح للمطورين بإنشاء واجهات برمجة تطبيقات (APIs) ونشرها وصيانتها لواجهات خلفية مختلفة. تعمل كنقطة دخول واحدة لطلبات الواجهة الأمامية إلى نظامنا الأساسي بدون خادم. في هذا العرض التوضيحي، استخدمت واجهات برمجة تطبيقات من نوعية REST API وقمت بتكوين API Gateway لاستخدام REST.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;AWS Lambda&lt;/strong&gt; هي خدمة حوسبة بدون خادم تتيح لنا تشغيل التعليمات البرمجية (Code) دون الحاجة إلى provisioning أو إدارة الخوادم. لقد قمت بإنشاء دالة Lambda Python لمعالجة طلبات API Gateway الواردة، وإدراج البيانات المستلمة (على شكل JSON) في جدول DynamoDB، ثم ارسال الرد البرمجي (Response) على الواجهة الأمامية.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Amazon DynamoDB&lt;/strong&gt; هي خدمة قاعدة بيانات NoSQL توفر تخزينًا سريعًا وقابلًا للتطوير للتطبيقات. لقد استخدمت DynamoDB لتخزين بيانات النماذج التي تم إرسالها من نموذج اتصال موقع الويب بتنسيق JSON بسيط.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;AWS Identity and Access Management (IAM)&lt;/strong&gt; هي خدمة تساعد في التحكم بالوصول إلى موارد AWS. لقد قمت بإنشاء أدوار IAM الضرورية لمنح دالة Lambda الإذن للتفاعل مع DynamoDB. كما تم إنشاء أدوار أخرى لمنح API Gateway حق الوصول إلى دالة Lambda.&lt;/li&gt;
&lt;/ul&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%2Fsn4netd4qwhqtq5qc6dp.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.amazonaws.com%2Fuploads%2Farticles%2Fsn4netd4qwhqtq5qc6dp.png" alt="شكل رقم 3: تم استخدام 4 خدمات أخرى لAWS لبناء واجهة التطبيق الخلفية بمعمارية Serverless" width="800" height="522"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;شكل رقم 3: تم استخدام 4 خدمات أخرى لAWS لبناء واجهة التطبيق الخلفية بمعمارية Serverless&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%2Fia8akk63qejvtn7y66k9.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.amazonaws.com%2Fuploads%2Farticles%2Fia8akk63qejvtn7y66k9.png" alt="شكل رقم 4: اختبار واجهة التطبيق البرمجية" width="800" height="501"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  الخطوات المختصرة لبناء التطبيق
&lt;/h2&gt;

&lt;p&gt;فيما يلي نظرة عامة مبسطة على الخطوات المتضمنة في بناء هذا التطبيق. يمكنك الرجوع إلى تسجيل الفيديو للخطوات التفصيلة:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  إنشاء S3 Bucket و تجهيزه لاستضافة موقع ويب. قم بتحميل ملفات موقع الويب الثابتة (HTML و CSS و JavaScript) إلى S3 Bucket .&lt;/li&gt;
&lt;li&gt;  شراء اسم مجال (Domain Name) وتكوين Route 53 records لإدارة سجلات DNS لمجالك.&lt;/li&gt;
&lt;li&gt;  الحصول على شهادة SSL من ACM لاسم المجال الخاص بك.&lt;/li&gt;
&lt;li&gt;  إنشاء توزيع CloudFront ضبطه لتقديم المحتوى من S3 Bucket.&lt;/li&gt;
&lt;li&gt;  إنشاء API Gateway وتحديد مورد واجهة برمجة تطبيقات (API).&lt;/li&gt;
&lt;li&gt;  إنشاء دالة Lambda لمعالجة طلبات API Gateway. حيث يجب أن تعالج دالة Lambda بيانات الطلب (request) ثم تتفاعل مع DynamoDB لتخزين البنات التى تم استلامها من واجهة التطبيق الأمام.&lt;/li&gt;
&lt;li&gt;  إنشاء جدول DynamoDB لتخزين البيانات المقدمة من نموذج اتصال موقع الويب.&lt;/li&gt;
&lt;li&gt;  تكوين أدوار IAM لمنح دالة Lambda الإذن للتفاعل مع DynamoDB.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  خاتمة
&lt;/h2&gt;

&lt;p&gt;لقد قدم هذا المقال التقني نظرة عامة حول كيفية بناء تطبيق بدون خادم (Serverless) ذو واجهة أمامية بدون خادم ثم توصيله بواجهة خلفية بدون خادم أيضاً. تستغرق الخطوات الإجمالية للمرحلتين حوالي ساعتين مما يوضح بشكل جلي أنه يمكننا الاستفادة من خدمات AWS لإنشاء تطبيق سريع و عملى و قابل للتطوير و ذو تكلفة قليلة مع التركيز على منطق التطوير بدلاً من إدارة الخوادم. لاحظ أن هذا ليس تطبيقًا على مستوى الإنتاج (Not Production Ready) ويمكن تنفيذ المزيد من التحسينات وتعزيز الأمان (Security Best practices) للوصول إلى هذا المستوى.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://onekc.pro/AWS-egypt-meetup2-ppt-public.html#1" rel="noopener noreferrer"&gt;يمكنكم الاطلاع على العرض التقديمى التفصيلي من خلال هذا الرابط.&lt;/a&gt; كما يمكنكم أيضًا &lt;a href="https://github.com/KhalidElGazzar/aws-egypt-fe-and-be-may2024" rel="noopener noreferrer"&gt;نسخ مستودع GitHub الخاص بي الذي يحتوي على الكود والتعليمات البسيطة من هذا الرابط&lt;/a&gt;. أيضًا تأكد من مراجعة هذا المنشور قريبًا حيث سأقوم بتوفير تسجيل فيديو للجلسة لعرض الخطوات التفصيلية.&lt;/p&gt;

&lt;p&gt;يرجى ملاحظة أن جميع حقوق الملكية الفكرية لهذا المقال محفوظة. نظرًا لأنني واجهت العديد من حالات القرصنة مؤخراً، فقد نُشر هذا المقال فقط على &lt;a href="https://OneKC.Pro/" rel="noopener noreferrer"&gt;منصة ألف محترف حوسبي&lt;/a&gt;&lt;br&gt;
وبشكل موازى على موقع dev.to&lt;br&gt;
اما اذا كنت تقرأه في مكان آخر، فيرجى &lt;a href="https://onekc.pro/contact/" rel="noopener noreferrer"&gt;إبلاغنا.عبر هذا الرابط&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;اذا اعجبكتم هذه الكبسولة السحابية فسارعوا بالاشتراك فى قائمة ألف محترف حوسبي البريدية ليصلكم كل جديد – نقوم بنشر كبسولة جديدة كل فترة قصيرة على أمل أن نساعدكم فى تطوير مهاراتكم التقنية.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;كذلك تابعونا على منصات التواصل الاجتماعى لتصلكم عروضنا الجديدة و كوبونات توفير ألف محترف حوسبي.&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>beginners</category>
      <category>serverless</category>
    </item>
    <item>
      <title>Demystifying AWS: An Introductory Guide to 4 Key AWS Services</title>
      <dc:creator>Khalid ElGazzar</dc:creator>
      <pubDate>Mon, 24 Jun 2024 11:02:00 +0000</pubDate>
      <link>https://dev.to/aws-builders/demystifying-aws-an-introductory-guide-to-4-key-aws-services-5cbb</link>
      <guid>https://dev.to/aws-builders/demystifying-aws-an-introductory-guide-to-4-key-aws-services-5cbb</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;If you are thinking about creating a new system or moving your existing systems to the cloud, it is important that you have a good knowledge of the cloud services provided by AWS, as AWS cloud services provide reliable, secure, efficient, and cost-effective systems effectively in the cloud.&lt;/p&gt;

&lt;p&gt;This blog post unravels the core concepts of cloud computing, explores the advantages of using AWS, and delves into four of AWS fundamental services. Whether you’re a tech enthusiast or a developer venturing into the cloud realm, this blog post equips you with the knowledge to navigate the exciting world of AWS.&lt;/p&gt;

&lt;p&gt;I recently made a &lt;a href="https://www.meetup.com/awsegyptmeetup/events/299997389/"&gt;presentation for AWS meetup titled “Introduction to AWS ey Services”&lt;/a&gt;. You can check &lt;a href="https://onekc.pro/AWS-ppt-public.html#1"&gt;the event presentation from this link&lt;/a&gt;. Also, make sure to check this post shortly as I will be providing a video recording of the session to show the detailed steps.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Note that&lt;/em&gt; All IP rights to this blog post are reserved. Since I have been facing several content piracy cases lately, this blog post has ONLY been published on &lt;a href="https://swac.blog"&gt;the Software, Architecture, and Cloud blog - SWAC.blog&lt;/a&gt; and canonically to &lt;a href="https://dev.to/khalidelgazzar"&gt;dev.to&lt;/a&gt; only. If you are reading it elsewhere, then &lt;a href="https://swac.blog/contact-us/"&gt;please let us know&lt;/a&gt;&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%2F8s4yxs1grj687z2vicd2.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%2F8s4yxs1grj687z2vicd2.png" alt="Old (left) and new (right) AWS logos&lt;br&gt;
" width="800" height="194"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Cloud Computing 101&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Cloud computing refers to the on-demand delivery of IT resources—servers, storage, databases, networking, software, analytics, intelligence, and more—over the internet. Unlike traditional on-premises infrastructure, where you manage physical hardware and software, cloud computing offers a scalable, pay-as-you-go model. This eliminates the upfront costs of hardware and simplifies maintenance, allowing you to focus on your core business activities.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Why Choose AWS?&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;AWS stands out as the frontrunner in the cloud computing landscape, boasting a vast array of services, global reach, and unparalleled security. With a multitude of regions and availability zones strategically located worldwide, AWS ensures exceptional service uptime and low latency. Additionally, AWS consistently ranks at the forefront of Gartner reports, solidifying its position as a trusted and reliable cloud platform.&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%2F2pd4w06sl03schfhcwz1.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%2F2pd4w06sl03schfhcwz1.png" alt="AWS offers a plethora of services (200+ services)" width="800" height="395"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Understanding Virtualization and Containerization&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Virtualization, a foundational concept in cloud computing, enables the creation of multiple virtual machines (VMs) on a single physical server. This allows efficient utilization of hardware resources and facilitates running various operating systems and applications simultaneously. Containerization leverages a more lightweight approach, packaging an application and its dependencies into a container that can be seamlessly deployed across different environments. Containers offer faster startup times and better resource utilization compared to VMs.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Evolution of Cloud and Hosting&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Cloud computing has undergone a remarkable transformation, evolving from dedicated servers to the serverless architecture we witness today. Dedicated servers provide complete control but require extensive hardware management. Virtual Private Servers (VPS) emerged as a more cost-effective solution, offering dedicated resources within a shared physical server. Shared hosting further reduces costs but comes with limitations on resource allocation. Cloud hosting and the subsequent rise of cloud computing models like IaaS (Infrastructure as a Service), PaaS (Platform as a Service), SaaS (Software as a Service), and FaaS (Function as a Service) signify a significant shift towards on-demand, scalable, and flexible IT solutions.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Demystifying Cloud Computing Models&lt;/strong&gt;
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;IaaS (Infrastructure as a Service):&lt;/strong&gt; Provides the building blocks – servers, storage, networking – for you to deploy and manage your own applications.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;PaaS (Platform as a Service):&lt;/strong&gt; Offers a complete development and deployment platform, eliminating the need to manage underlying infrastructure.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;SaaS (Software as a Service):&lt;/strong&gt; Delivers ready-to-use applications accessible over the internet, such as Salesforce or Gmail.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;FaaS (Function as a Service):&lt;/strong&gt; Executes code snippets without the need to provision or manage servers, ideal for microservices and event-driven architectures.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Deployment Models: Public, Private, Hybrid, and Community Cloud&lt;/strong&gt;
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Public Cloud:&lt;/strong&gt; Offers shared resources over the internet, ideal for cost-effective solutions.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Private Cloud:&lt;/strong&gt; Provides dedicated infrastructure for a single organization, ensuring greater security and control.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Hybrid Cloud:&lt;/strong&gt; Combines aspects of both public and private cloud, offering a flexible and scalable environment.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Community Cloud:&lt;/strong&gt; Shared infrastructure among multiple organizations with a common interest, often used for specific research or education projects.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Navigating the AWS Infrastructure&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;AWS boasts a robust global infrastructure that spans Regions, Availability Zones (AZs), Local Zones, Wavelength Zones, and Points of Presence (PoPs). Regions are geographically distinct locations with multiple AZs for redundancy. Local Zones offer ultra-low latency connections for latency-sensitive applications. Wavelength Zones place AWS compute and storage services at the edge of the mobile network, enabling seamless mobile application experiences. PoPs provide internet connectivity for efficient data transfer.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;AWS Services: A Glimpse into the Key AWS Services&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;While AWS offers a vast array of services, this post highlights a few fundamental ones:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Identity and Access Management (IAM):&lt;/strong&gt; Controls access to AWS resources, ensuring security and compliance.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Virtual Private Cloud (VPC):&lt;/strong&gt; Creates a logically isolated network within the AWS cloud for your resources.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Amazon Elastic Compute Cloud (EC2):&lt;/strong&gt; Provides scalable virtual servers for running a wide range of applications.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Amazon Simple Storage Service (S3):&lt;/strong&gt; Offers secure, highly available object storage for various data needs.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Kickstart your AWS Cloud Journey&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;AWS offers a Free Tier that allows you to experiment and explore its services without any upfront costs. To embark on your AWS journey, you’ll need to create an account and set up an IAM user, and a credit card. Your credit card will not billed for &lt;a href="https://aws.amazon.com/free/?all-free-tier.sort-by=item.additionalFields.SortRank&amp;amp;all-free-tier.sort-order=asc&amp;amp;awsf.Free%20Tier%20Types=tier%2312monthsfree&amp;amp;awsf.Free%20Tier%20Categories=*all#Free_Tier_details"&gt;the first 12 months if you only used the AWS free tier services.&lt;/a&gt;.  &lt;em&gt;Note that&lt;/em&gt; All IP rights to this blog post are reserved. Since I have been facing several content piracy cases lately, this blog post has ONLY been published on &lt;a href="https://swac.blog"&gt;the Software, Architecture, and Cloud blog - SWAC.blog&lt;/a&gt; and canonically to &lt;a href="https://dev.to/khalidelgazzar"&gt;dev.to&lt;/a&gt; only. If you are reading it elsewhere, then &lt;a href="https://swac.blog/contact-us/"&gt;please let us know&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can check &lt;a href="https://onekc.pro/AWS-ppt-public.html#1"&gt;the event presentation from this link&lt;/a&gt;. Also, make sure to check this post shortly as I will be providing a video recording of the session to show the detailed steps.&lt;/p&gt;

</description>
      <category>aws</category>
      <category>beginners</category>
      <category>cloud</category>
    </item>
    <item>
      <title>مقدمة إلى خدمات أيه دبليو إس</title>
      <dc:creator>Khalid ElGazzar</dc:creator>
      <pubDate>Thu, 20 Jun 2024 12:02:00 +0000</pubDate>
      <link>https://dev.to/aws-builders/mqdm-l-khdmt-yh-dblyw-s-3i6g</link>
      <guid>https://dev.to/aws-builders/mqdm-l-khdmt-yh-dblyw-s-3i6g</guid>
      <description>&lt;p&gt;مقدمة إلى خدمات AWS الجزء الأول | كبسولات حوسبية احترافية | &lt;br&gt;
Intro to AWS – part 1&lt;/p&gt;

&lt;p&gt;مرحبا بكم فى كبسولات الحوسبة السحابية من ألف محترف حوسبي حيث نقدم مقدمة مبسطة للخدمات الرئيسية لأيه دبليو اس (AWS).&lt;/p&gt;

&lt;h2&gt;
  
  
  مقدمة إلى خدمات (أيه دبليو أس) 
&lt;/h2&gt;

&lt;p&gt;إذا كنت تفكر في إنشاء نظام جديد أو نقل أنظمتك الحالية إلى السحابة الإلكترونية، فمن المهم أن تكون لديك معرفة جيدة بالخدمات السحابية التى تقدمها AWS، حيث توفر خدمات السحابة من أيه دبليو أس أنظمة موثوقة وآمنة وفعالة و اقتصادية التكلفة بشكل فعال في السحابة.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://onekc.pro/AWS-ppt-public.html#1" rel="noopener noreferrer"&gt;يمكنكم الاطلاع على العرض التقديمى التفصيلي من خلال هذا الرابط.&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  دليل الشخص المبتدئ للتعامل مع الحوسبة السحابية من  أيه دبليو إس
&lt;/h2&gt;

&lt;p&gt;تعتبر هذه المقالة مقدمة شاملة لخدمات أمازون للويب (AWS)، وهي أبرز منصة للحوسبة السحابية. حيث نعرض المفاهيم الأساسية للحوسبة السحابية، و نوضح مزايا استخدام AWS، و الخدماتها الأساسية التى تقدمها.&lt;/p&gt;

&lt;p&gt;سواء كنت مهتمًا بالتكنولوجيا أو مطورًا أو ترغب فى بد رحتلك فى عالم التكنولوجيا، فإن هذا الدليل يزودك بالمعرفة للتنقل في خدمات AWS المختلفة.&lt;/p&gt;

&lt;p&gt;يرجى ملاحظة أن جميع حقوق الملكية الفكرية لهذا المقال محفوظة. نظرًا لأنني واجهت العديد من حالات القرصنة مؤخراً، فقد نُشر هذا المقال فقط على &lt;a href="https://OneKC.Pro/" rel="noopener noreferrer"&gt;منصة ألف محترف حوسبي&lt;/a&gt;&lt;br&gt;
وبشكل موازى على موقع dev.to&lt;br&gt;
اما اذا كنت تقرأه في مكان آخر، فيرجى &lt;a href="https://onekc.pro/contact/" rel="noopener noreferrer"&gt;إبلاغنا.عبر هذا الرابط&lt;/a&gt;&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%2F4zo1oi1270g99nf8wi2l.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.amazonaws.com%2Fuploads%2Farticles%2F4zo1oi1270g99nf8wi2l.png" alt="AWS Old and new logos | OneKC.pro" width="800" height="195"&gt;&lt;/a&gt;&lt;br&gt;
الشعار الجديد (يمين) و القديم (بسار) لخدمات أمازون السحابية &lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;أساسيات الحوسبة السحابية&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;تشير الحوسبة السحابية إلى تقديم الموارد التقنية – مثل الخوادم والتخزين وقواعد البيانات والشبكات والبرمجيات والتحليلات والذكاء وغيرها – عند الطلب عبر الإنترنت. على عكس البنية التحتية التقليدية في المواقع، حيث تدير الأجهزة والبرمجيات المادية، تقدم الحوسبة السحابية نموذجًا يتيح الدفع حسب الاستخدام والتوسع بسهولة. وهذا يقضي على التكاليف الأولية للأجهزة ويبسط الصيانة، مما يسمح لك بالتركيز على الأنشطة الأساسية لعملك.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;لماذا تختار  أيه دبليو إس؟&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;تبرز AWS كمقدم خدمة سحابية رائد في مجال الحوسبة السحابية، بفضل مجموعة واسعة من الخدمات، والتواجد العالمي، والأمان غير المسبوق. بفضل العديد من المناطق ومناطق التوفر المتاحة استراتيجيًا في جميع أنحاء العالم، تضمن AWS فترات تشغيل متواصلة وانخفاض في التأخير. بالإضافة إلى ذلك، تحتل AWS دائمًا مكانة رائدة في تقارير Gartner، مما يؤكد مكانتها كمنصة سحابية موثوقة وموثوق بها.&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%2F8d9q65ji0ntpxuttd83w.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.amazonaws.com%2Fuploads%2Farticles%2F8d9q65ji0ntpxuttd83w.png" alt="لمحة من خدمات امازون السحابية المختلفة" width="799" height="395"&gt;&lt;/a&gt;&lt;br&gt;
لمحة من خدمات امازون السحابية المختلفة&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;فهم المحاكاة الافتراضية و الحاويات&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;مبدأ ال Hardware Virtualization هو أحد المفاهيم الأساسية في الحوسبة السحابية، حيث يتمكن المستخدم من إنشاء العديد من الآلات الافتراضية (VMs) على خادم مادي واحد. يتيح هذا استخدامًا فعالًا للموارد الأجهزة ويسهل تشغيل أنظمة التشغيل والتطبيقات المختلفة بشكل متزامن.&lt;/p&gt;

&lt;p&gt;أما الContainers (و ما يعرف بالحاويات) فهي تتيح نهج أخف وزنًا أكثر من الVMs، حيث يتم تغليف تطبيق و مشتملاته في حاوية يمكن نشرها بسهولة عبر بيئات مختلفة. توفر الحاويات أوقات بدء أسرع واستخدامًا أفضل للموارد مقارنة بـ VMs.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;تطور الحوسبة السحابية والاستضافة&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;شهدت الحوسبة السحابية تحولًا ملحوظًا، و تطورًا كبيرا فى الخدمات التى تقدمها مما اتاح للعديد من الشركات الناشئة سرعة تنفيذ منتاجاتها البرمجية و سرعة و سهولة الوصول إلى المستخدم المستهدف.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;نماذج الحوسبة السحابية&lt;/strong&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;IaaS (البنية التحتية كخدمة):&lt;/strong&gt; توفر القواعد الأساسية – الخوادم والتخزين والشبكات – لنشر وإدارة تطبيقاتك الخاصة.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;PaaS (منصة كخدمة):&lt;/strong&gt; تقدم منصة تطوير ونشر كاملة، مما يلغي الحاجة إلى إدارة البنية التحتية الأساسية.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;SaaS (برنامج كخدمة):&lt;/strong&gt; توفر تطبيقات جاهزة للاستخدام عبر الإنترنت، مثل Salesforce أو Gmail.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;FaaS (وظيفة كخدمة):&lt;/strong&gt; تنفذ مقاطع الشفرة (source code) دون الحاجة إلى توفير أو إدارة الخوادم، مثالية للخدمات المعمارية الصغيرة والمحركة بالأحداث.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;نماذج النشر (Deployment Models) : سحابة عامة، وخاصة، وهجينة، ومجتمعية&lt;/strong&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;السحابة العامة (Public Cloud) :&lt;/strong&gt; توفر موارد مشتركة عبر الإنترنت، مثالية لحلول فعالة من حيث التكلفة.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;السحابة الخاصة (Private Cloud) :&lt;/strong&gt; توفر بنية تحتية مخصصة لمؤسسة واحدة، مما يضمن مزيدًا من الأمان والتحكم.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;السحابة الهجينة **(Hybrid Cloud)&lt;/strong&gt;** &lt;strong&gt;:&lt;/strong&gt; تجمع بين جوانب السحابة العامة والخاصة، مما يوفر بيئة مرنة وقابلة للتوسيع.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;السحابة المجتمعية **(Community Cloud)&lt;/strong&gt; :** بنية تحتية مشتركة بين عدة مؤسسات ذات مصلحة مشتركة، وغالبًا ما تستخدم لمشاريع بحثية أو تعليمية محددة.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;التنقل في بنية البنية التحتية لـ أيه دبليو إس&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;لدى AWS ببنية تحتية قوية تمتد عبر المناطق (Regions) ومناطق التوفر (Availability Zones) والمناطق المحلية (Local zones) ومناطق الطول الموجي (Wavelength zones) ونقاط الوجود (Points of Presence). تعتبر المناطق مواقع جغرافية كبيرة تحتوي على عدة مناطق توفر. توفر المناطق المحلية اتصالات بالنسبة إلى التأخير المنخفض لتطبيقات التأخير الحساسة. تضع مناطق الطول الموجي خدمات AWS للحوسبة والتخزين عند حافة الشبكة المحمولة، مما يتيح تجارب تطبيق متماسكة للتطبيقات المحمولة. توفر نقاط الوجود توصيل الإنترنت لنقل البيانات بكفاءة.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;خدمات أيه دبليو إس: لمحة عن الخدمات الرئيسية&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;بينما تقدم AWS مجموعة واسعة من الخدمات تزيد عن 200 خدمة، يسلط هذا الجزء الضوء على بعض الخدمات الأساسية و التى سنراها سويا فى الجزء العملى:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;إدارة الهوية والوصول (IAM):&lt;/strong&gt; تتحكم في الوصول إلى موارد AWS، مما يضمن الأمان والامتثال.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;شبكة خاصة افتراضية (VPC):&lt;/strong&gt; تنشئ شبكة منعزلة لوجيكيًا داخل سحابة AWS لمواردك.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;خدمة الحوسبة المرنة لأمازون (EC2):&lt;/strong&gt; توفر خوادم افتراضية قابلة للتوسع لتشغيل مجموعة واسعة من التطبيقات.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;خدمة تخزين الكائنات البسيطة لأمازون (S3):&lt;/strong&gt; توفر تخزينًا آمنًا ومتاحًا بشكل عالي لاحتياجات البيانات المختلفة.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;كيف يمكنك البدء مع AWS؟&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;تقدم AWS خدمات مجانية لمدة سنة بحيث يمكنك تجربة واستكشاف خدماتها دون أي تكاليف مقدمة. للانطلاق في رحلتك مع AWS، ستحتاج إلى إنشاء حساب وإعداد مستخدم IAM بالاضافة إلى كارت ائتمانى.&lt;/p&gt;

&lt;h2&gt;
  
  
  الخلاصة:
&lt;/h2&gt;

&lt;p&gt;فى هذا العرض التقديمى تحدثنا عن الخدمات السحابية الأساسية التى تقدمها AWS. &lt;a href="https://onekc.pro/AWS-ppt-public.html#57" rel="noopener noreferrer"&gt;يمكنكم&lt;/a&gt; &lt;a href="https://onekc.pro/AWS-ppt-public.html#1" rel="noopener noreferrer"&gt;الاطلاع&lt;/a&gt; &lt;a href="https://onekc.pro/AWS-ppt-public.html#1" rel="noopener noreferrer"&gt;على العرض التقديمى التفصيلى من خلال هذا الرابط.&lt;/a&gt; و سوف يتم تخصيص عروض تقديمة أخري لتوضيح التفاصيل المختلفة لكل خدمة من هذه الخدمات.&lt;/p&gt;

&lt;p&gt;يرجى ملاحظة أن جميع حقوق الملكية الفكرية لهذا المقال محفوظة. نظرًا لأنني واجهت العديد من حالات القرصنة مؤخراً، فقد نُشر هذا المقال فقط على &lt;a href="https://OneKC.Pro/" rel="noopener noreferrer"&gt;منصة ألف محترف حوسبي&lt;/a&gt;&lt;br&gt;
وبشكل موازى على موقع dev.to&lt;br&gt;
اما اذا كنت تقرأه في مكان آخر، فيرجى &lt;a href="https://onekc.pro/contact/" rel="noopener noreferrer"&gt;إبلاغنا.عبر هذا الرابط&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;اذا اعجبكتم هذه الكبسولة السحابية فسارعوا بالاشتراك فى قائمة ألف محترف حوسبي البريدية ليصلكم كل جديد – نقوم بنشر كبسولة جديدة كل فترة قصيرة على أمل أن نساعدكم فى تطوير مهاراتكم التقنية.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;كذلك تابعونا على منصات التواصل الاجتماعى لتصلكم عروضنا الجديدة و كوبونات توفير ألف محترف حوسبي.&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>intro</category>
    </item>
    <item>
      <title>10 Essential System Design Elements You Need to Know (Part 2)</title>
      <dc:creator>Khalid ElGazzar</dc:creator>
      <pubDate>Tue, 26 Dec 2023 15:17:00 +0000</pubDate>
      <link>https://dev.to/khalidelgazzar/10-essential-system-design-elements-you-need-to-know-part-2-255c</link>
      <guid>https://dev.to/khalidelgazzar/10-essential-system-design-elements-you-need-to-know-part-2-255c</guid>
      <description>&lt;h2&gt;
  
  
  &lt;strong&gt;Introduction&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;In the first part of this series, I covered 5 essential system design elements, such as load balancers, proxy servers, database sharding, caching, and indexing. These elements are critical for building scalable, efficient, and reliable systems. In this second part, we’ll cover 5 more essential system design elements, such as message queues, microservices, containerization, event-driven architecture, and monitoring. These elements are also critical for building modern systems, and understanding them is essential for any developer.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. &lt;strong&gt;Database Sharding&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;In the &lt;a href="https://swac.blog/ten-essential-system-design-elements-you-need-to-know-part-1/"&gt;first part of this blog post&lt;/a&gt;, I provided an overview of databases and how they are a prominent component in any system design problem. Now, it is time to take a closer look at some of the techniques used mostly with NoSql databases in order to allow distributing the data across multiple servers and improve performance and scalability. Database sharding is a technique for splitting a large database into smaller, more manageable pieces. It can be done in various ways, such as range-based sharding or hash-based sharding. In range-based sharding, the data is partitioned based on a range of values, such as date or ID. In hash-based sharding, the data is partitioned based on a hash value of a column. Sharding has its challenges, such as data consistency and distribution, but it’s an essential technique for building large-scale, high-performance systems. Since I have been facing several content piracy cases lately, this blog post has ONLY been published on &lt;a href="https://swac.blog"&gt;the Software, Architecture, and Cloud blog - SWAC.blog&lt;/a&gt; and canonically to &lt;a href="https://dev.to/khalidelgazzar"&gt;dev.to&lt;/a&gt; only. If you are reading it elsewhere, then &lt;a href="https://swac.blog/contact-us/"&gt;please let us know&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. &lt;strong&gt;Microservices&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;The second essential system design element I will be covering is microservices. Microservices are a modern approach to building large, complex systems. Microservices architectures break down a system into smaller, independent services that can be developed, deployed, and scaled independently. Each microservice has its own business logic and data storage, and communicates with other microservices through APIs or message queues. This enables greater flexibility, scalability, and fault tolerance, as well as easier maintenance and development. Microservices architectures are commonly used in large-scale web applications, such as e-commerce sites and social media platforms. Popular tools for building microservices include Spring Boot, Docker, and Kubernetes.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. &lt;strong&gt;Containerization&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;The third essential system design element we’ll cover is containerization. Containerization is the process of packaging an application and its dependencies into a single container, which can then be deployed and run on any system that supports the containerization platform. Containerization enables greater portability, scalability, and flexibility, as well as easier maintenance and deployment. Containerization platforms, such as Docker and Kubernetes, have become popular in recent years due to their ease of use and scalability.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. &lt;strong&gt;Event-Driven Architecture&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;The fourth essential system design element I will cover is event-driven architecture. Event-driven architecture (EDA) is an architectural pattern that emphasizes the use of events to trigger and communicate between different components of a system. In EDA, components can publish events when certain actions or changes occur, and other components can subscribe to these events to react accordingly. EDA enables greater flexibility, scalability, and fault tolerance, as well as easier maintenance and development. EDA is commonly used in modern web applications, such as social media platforms and online marketplaces, to enable real-time updates and notifications. Popular tools for implementing EDA include Apache Kafka, AWS Lambda, and Azure Event Grid.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. &lt;strong&gt;Monitoring and Observability&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;The fifth and final essential system design element I will cover is Observability. Observability is all about ensuring that our system emits useful data about all of its internal systems in order to have a bird’s eye view of the system’s health and performance. Monitoring is about tracking a single metric or a single system. Monitoring can help detect and prevent system failures, identify bottlenecks and performance issues, and provide insights for system optimization and improvement. Monitoring can be done at various levels, such as the application, infrastructure, or network level. Popular monitoring and observability tools include &lt;a href="https://prometheus.io/"&gt;Prometheus&lt;/a&gt; and &lt;a href="https://grafana.com/"&gt;Grafana&lt;/a&gt;. From a cloud perspective, &lt;a href="https://aws.amazon.com/cloudwatch/"&gt;Amazon CloudWatch&lt;/a&gt; is a well-known AWS tool for monitoring. Since I have been facing several content piracy cases lately, this blog post has ONLY been published on &lt;a href="https://swac.blog"&gt;the Software, Architecture, and Cloud blog - SWAC.blog&lt;/a&gt; and canonically to &lt;a href="https://dev.to/khalidelgazzar"&gt;dev.to&lt;/a&gt; only. If you are reading it elsewhere, then &lt;a href="https://swac.blog/contact-us/"&gt;please let us know&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;In this second part of my series on essential system design elements, I’ve covered 5 more critical components of modern systems, such as message queues, microservices, containerization, event-driven architecture, and monitoring. These elements are essential for building scalable, efficient, and reliable systems. Understanding these elements is critical for any developer who wants to build modern, high-performance systems. I hope you found the series useful!&lt;/p&gt;

</description>
      <category>systemdesign</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>architecture</category>
    </item>
    <item>
      <title>10 Essential System Design Elements You Need to Know (Part 1)</title>
      <dc:creator>Khalid ElGazzar</dc:creator>
      <pubDate>Sat, 23 Dec 2023 02:02:20 +0000</pubDate>
      <link>https://dev.to/khalidelgazzar/10-essential-system-design-elements-you-need-to-know-part-1-la3</link>
      <guid>https://dev.to/khalidelgazzar/10-essential-system-design-elements-you-need-to-know-part-1-la3</guid>
      <description>&lt;h2&gt;
  
  
  &lt;strong&gt;Introduction&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Building a scalable, efficient, and reliable system is a challenging task. You need to consider various factors such as performance, availability, security, and maintainability. One critical aspect of building a successful system is system design. Good system design is the foundation for building high-performance, robust systems. It involves making the right tradeoffs among various factors, such as performance, scalability, and maintainability. In this blog post, we’ll cover 10 essential system design elements that every developer should know. These elements are critical for building efficient, scalable, and reliable systems. Since I have been facing several content piracy cases lately, this blog post has ONLY been published on &lt;a href="https://swac.blog"&gt;the Software, Architecture, and Cloud blog - SWAC.blog&lt;/a&gt; and canonically to &lt;a href="https://dev.to/khalidelgazzar"&gt;dev.to&lt;/a&gt; only. If you are reading it elsewhere, then &lt;a href="https://swac.blog/contact-us/"&gt;please let us know&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. &lt;strong&gt;Load Balancers and Proxy Servers&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;The first essential system design element I’m going to cover in this blog post is load balancers and proxy servers. Load balancers are critical components of modern web applications. They distribute incoming traffic across multiple servers to improve performance and availability. Load balancers can be either hardware or software-based. They monitor the health of the servers and route traffic to the healthy servers. Load balancing ensures that no single server is overloaded, which can lead to slow response times or even system failure.&lt;/p&gt;

&lt;p&gt;Proxy servers are another essential component of modern web applications. They act as intermediaries between the clients and the servers. Proxy servers can be used for various purposes, such as caching, load balancing, and security. There are 2 main types of proxy servers: Forward proxy and Reverse proxy. A forward proxy acts as a delegate in expecting web requests, while a reverse proxy usually hides complex network schema behind. Caching proxies are an example of Forward Proxies. They store a copy of the response from the server and serve it to subsequent requests, reducing the number of requests to the server. On the other hand, Security proxies are an example of reverse proxies that protect your servers and applications from security threats, such as DDoS attacks or SQL injection attacks. A very prominent example of a reverse proxy that I have used in many projects is &lt;a href="https://www.nginx.com/"&gt;Nginx&lt;/a&gt;, which is a web server that can also be used in many other uses including reverse proxy, load balancer, mail proxy, and HTTP cache. For more information about &lt;a href="https://en.wikipedia.org/wiki/Proxy_server#Open_proxies"&gt;Forward&lt;/a&gt; and &lt;a href="https://en.wikipedia.org/wiki/Reverse_proxy"&gt;Reverse&lt;/a&gt; proxies, click the corresponding link.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. &lt;strong&gt;Databases&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Databases are an essential system design component in any system design problem. Databases are critical components of modern systems. They store and manage data and provide efficient access to it. There are various types of databases, such as relational databases, NoSQL databases, and graph databases, etc. Relational databases are the most commonly used type of database. They store data in tables with a defined schema and support SQL for querying the data. NoSQL databases, on the other hand, store data in a schemaless way, allowing for more flexible data models. Graph databases store data as nodes and edges, making them ideal for working with complex data structures. Choosing the right type of database depends on various factors, such as data complexity, scalability, and performance requirements. &lt;a href="https://swac.blog/10-essential-system-design-elements-you-need-to-know-part-2/"&gt;In the second part of this blog post, I will provide more details about techniques used with NoSql Databases&lt;/a&gt; to achieve scalability and higher performance.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. &lt;strong&gt;Caching and Indexing&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;The third essential system design element is caching and indexing. Caching is the process of storing frequently accessed data in memory or on disk to reduce the number of requests to the server. Caching can be done at various levels, such as application-level caching or database-level caching. Application-level caching involves storing data in memory or on disk within the application. Database-level caching involves caching query results or table data. Caching can significantly improve system performance, but it requires careful management to ensure data consistency and expiration.&lt;/p&gt;

&lt;p&gt;Indexing is another essential technique for improving system performance. Indexing involves creating indexes on columns in a database table to improve the speed and accuracy of searches. Indexes allow the database to quickly locate the data based on the search criteria, reducing the number of rows that need to be scanned. However, indexing has its challenges, such as storage overhead and maintenance.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. &lt;strong&gt;Throttlers&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;The fourth essential system design element I’m going to cover in this blog post are throttlers. Throttling is the process of limiting the number of requests a client can make to a server. Throttling can prevent server overload and ensure fair usage of resources. Throttling can be implemented at various levels, such as the network, application, or API level. Network throttling limits the bandwidth or connection speed of the client. Application throttling limits the number of requests a client can make to the application. API throttling limits the number of requests a client can make to the API. Throttling can be configured based on various factors, such as the client’s IP address, user agent, or session ID.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. &lt;strong&gt;Message Queues&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;An essential system design element I will cover is message queues. Message queues are used to decouple different components of a system, enabling asynchronous communication. A message queue allows one component to send a message to another component, without the sender having to wait for the receiver to process the message. This enables greater scalability, fault tolerance, and flexibility. Message queues are commonly used in distributed systems, such as microservices architectures, to enable reliable communication between components. Popular message queue systems include Apache Kafka, RabbitMQ, and Amazon Simple Queue Service (SQS).&lt;/p&gt;

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

&lt;p&gt;In this blog post, I covered 5 of the 10 essential system design elements that every developer should know. Load balancers and proxy servers are critical components of modern web applications. Database sharding, caching, and indexing are essential techniques for improving system performance. Databases are the backbone of modern systems, and choosing the right type of database is critical for success. Throttlers are essential for preventing server overload and ensuring fair usage of resources. In the next blog post, I’ll cover the remaining 5 essential system design elements, so stay tuned! Since I have been facing several content piracy cases lately, this blog post has ONLY been published on &lt;a href="https://swac.blog"&gt;the Software, Architecture, and Cloud blog - SWAC.blog&lt;/a&gt; and canonically to &lt;a href="https://dev.to/khalidelgazzar"&gt;dev.to&lt;/a&gt; only. If you are reading it elsewhere, then &lt;a href="https://swac.blog/contact-us/"&gt;please let us know&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the second part of this series, I will cover 10 more essential system design elements, such as message queues, microservices, containerization, event-driven architecture, and monitoring. These elements are critical for building scalable, efficient, and reliable systems. I will also provide practical tips and best practices for implementing these elements in your systems. Don’t miss it!&lt;/p&gt;

&lt;p&gt;For more articles about System Design, please visit &lt;a href="https://swac.blog/tag/system-design/"&gt;the System Design subsection at the Software, Architecture and Cloud blog - SWAC.blog&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>systemdesign</category>
      <category>beginners</category>
      <category>webdev</category>
      <category>programming</category>
    </item>
    <item>
      <title>Driving Business Growth through Digital Transformation: Key Factors to Consider</title>
      <dc:creator>Khalid ElGazzar</dc:creator>
      <pubDate>Fri, 15 Dec 2023 12:47:26 +0000</pubDate>
      <link>https://dev.to/khalidelgazzar/driving-business-growth-through-digital-transformation-key-factors-to-consider-1on3</link>
      <guid>https://dev.to/khalidelgazzar/driving-business-growth-through-digital-transformation-key-factors-to-consider-1on3</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;As technology continues to evolve at a breakneck pace, businesses that fail to adapt risk being left behind. Digital transformation is no longer an option but a strategic imperative for businesses of all sizes and industries. In this article, we’ll explore the key drivers of digital transformation, the types of digital transformation, the steps to implementing a digital transformation strategy, the benefits of digital transformation, the challenges and risks of digital transformation, and successful case studies of digital transformation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Key Drivers of Digital Transformation
&lt;/h2&gt;

&lt;p&gt;Digital transformation is driven by several key factors, including increasing customer expectations, competition and market pressures, and technological advancements. Customers today expect personalized and seamless experiences across multiple channels, and businesses that fail to deliver risk losing customers to competitors. Competition is fiercer than ever, with startups and disruptors entering the market and disrupting traditional business models. Technological advancements such as cloud computing, artificial intelligence, and the Internet of Things (IoT) are enabling businesses to operate more efficiently and create new revenue streams. Since I have been facing several content piracy cases lately, this blog post has ONLY been published on &lt;a href="https://swac.blog"&gt;the Software, Architecture, and Cloud blog - SWAC.blog&lt;/a&gt; and canonically to &lt;a href="https://dev.to/khalidelgazzar"&gt;dev.to&lt;/a&gt; only. If you are reading it elsewhere, then &lt;a href="https://swac.blog/contact-us/"&gt;please let us know&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Types of Digital Transformation
&lt;/h2&gt;

&lt;p&gt;Digital transformation can take several forms, including business process transformation, customer experience transformation, product/service innovation transformation, and cultural/organizational transformation. Business process transformation involves reengineering existing processes to make them more efficient and effective using technology. Customer experience transformation involves improving the way customers interact with a business across multiple touchpoints. Product/service innovation transformation involves using technology to create new products or services or improve existing ones. Cultural/organizational transformation involves changing the way people work, think, and collaborate to drive digital innovation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Steps to Implementing a Digital Transformation Strategy
&lt;/h2&gt;

&lt;p&gt;Implementing a digital transformation strategy requires careful planning and execution. The following are the key steps to implementing a successful digital transformation strategy:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Identify business goals and priorities: Define the business objectives that the digital transformation strategy should address, such as increasing revenue, reducing costs, improving customer experience, or enhancing operational efficiency.&lt;/li&gt;
&lt;li&gt; Assess current technology infrastructure and capabilities: Conduct a thorough assessment of the current technology landscape to identify gaps and opportunities for improvement.&lt;/li&gt;
&lt;li&gt; Create a roadmap for digital transformation: Develop a comprehensive plan for the digital transformation journey, including timelines, budgets, and resources required.&lt;/li&gt;
&lt;li&gt; Develop a plan for change management and employee training: Create a plan to manage the change associated with digital transformation, including employee training and communication.&lt;/li&gt;
&lt;li&gt; Monitor and measure progress: Track the progress of the digital transformation strategy using key performance indicators (KPIs) and adjust the strategy as necessary based on the results. Since I have been facing several content piracy cases lately, this blog post has ONLY been published on &lt;a href="https://swac.blog"&gt;the Software, Architecture, and Cloud blog - SWAC.blog&lt;/a&gt; and canonically to &lt;a href="https://dev.to/khalidelgazzar"&gt;dev.to&lt;/a&gt; only. If you are reading it elsewhere, then &lt;a href="https://swac.blog/contact-us/"&gt;please let us know&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Benefits of Digital Transformation
&lt;/h2&gt;

&lt;p&gt;Digital transformation can deliver a wide range of benefits to businesses, including:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Improved customer experience and engagement: By leveraging technology to deliver personalized and seamless experiences across multiple channels, businesses can increase customer loyalty and satisfaction.&lt;/li&gt;
&lt;li&gt; Increased operational efficiency and productivity: Digital transformation can help automate and streamline business processes, reducing manual effort and errors, and enabling employees to focus on higher-value activities.&lt;/li&gt;
&lt;li&gt; Enhanced decision-making and data-driven insights: Digital transformation can provide businesses with real-time data and insights, enabling better decision-making and more informed strategic planning.&lt;/li&gt;
&lt;li&gt; Creation of new revenue streams and business models: By leveraging technology, businesses can create new products, services, and revenue streams that were previously impossible.&lt;/li&gt;
&lt;li&gt; Increased competitiveness and market share: Digital transformation can help businesses stay ahead of the competition by enabling them to operate more efficiently, deliver superior customer experiences, and create innovative products and services.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Challenges and Risks of Digital Transformation
&lt;/h2&gt;

&lt;p&gt;While digital transformation offers many benefits, it also poses some challenges. Here are some of the key challenges businesses may face when implementing digital transformation:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Resistance to Change
&lt;/h3&gt;

&lt;p&gt;One of the biggest challenges businesses face when implementing digital transformation is resistance to change from employees. Employees may be resistant to change due to fear of job loss, lack of digital skills, or a preference for traditional ways of working.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Security Risks
&lt;/h3&gt;

&lt;p&gt;Digital transformation exposes businesses to new security risks, such as cyber attacks and data breaches. This requires businesses to invest in robust cybersecurity measures and ensure that all employees are trained in best practices for data security.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Cost and Resource Requirements
&lt;/h3&gt;

&lt;p&gt;Implementing digital transformation requires significant investments in technology, training, and infrastructure. This can be a significant cost for businesses, particularly small and medium-sized enterprises (SMEs) with limited resources.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Integration Challenges
&lt;/h3&gt;

&lt;p&gt;Digital transformation involves integrating new technologies with existing systems and processes, which can be a complex and time-consuming process. This requires businesses to carefully plan and execute their digital transformation strategy to ensure seamless integration.&lt;/p&gt;

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

&lt;p&gt;Digital transformation is no longer a buzzword; it is a necessity for businesses that want to remain competitive in today’s fast-paced and constantly evolving business environment. By embracing digital technologies, businesses can improve efficiency, enhance customer experience, and gain valuable insights into their operations. However, implementing digital transformation also poses challenges, such as resistance to change, security risks, and cost requirements. To overcome these challenges, businesses must carefully plan and execute their digital transformation strategy and ensure that all employees are trained in digital skills and best practices for data security. &lt;/p&gt;

&lt;p&gt;I hope this blog post has provided you with a comprehensive overview of digital transformation and its benefits and challenges. If you have any questions or comments, please feel free to leave them in the comments section below. For more articles about Digital Transformation, please visit &lt;a href="https://swac.blog/category/digital-transformation/"&gt;the Digital transformation subsection at the Software, Architecture and Cloud blog - SWAC.blog&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>digital</category>
      <category>transformation</category>
    </item>
    <item>
      <title>The Essential Guide to Linux System Monitoring with Top, Htop, and Vmstat</title>
      <dc:creator>Khalid ElGazzar</dc:creator>
      <pubDate>Tue, 05 Dec 2023 13:11:00 +0000</pubDate>
      <link>https://dev.to/khalidelgazzar/the-essential-guide-to-linux-system-monitoring-with-top-htop-and-vmstat-1dbl</link>
      <guid>https://dev.to/khalidelgazzar/the-essential-guide-to-linux-system-monitoring-with-top-htop-and-vmstat-1dbl</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;When it comes to running Linux servers and applications, monitoring system performance is crucial to ensuring everything is running smoothly. In this guide, we will provide an overview of three powerful command-line utilities that can help you monitor system performance: top, htop, and vmstat.&lt;/p&gt;

&lt;h2&gt;
  
  
  1- Getting Started with top
&lt;/h2&gt;

&lt;p&gt;top is a simple and powerful tool that provides a real-time, dynamic view of the processes running on your Linux system. Here’s how you can get started with top:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  Install top: Top is usually included with most Linux distributions. If it’s not installed on your system, you can install it using the package manager of your distribution. For example, on Ubuntu and Debian, you can install top with the command &lt;code&gt;sudo apt-get install procps&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;  Launch top: To launch top, simply open a terminal window and type &lt;code&gt;top&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;  Understanding the output: Top provides a lot of information, including CPU usage, memory usage, and process information. The default output shows the processes with the highest CPU usage at the top of the list. You can use the arrow keys to move up and down the list, and the &lt;code&gt;q&lt;/code&gt; key to quit top. Since I have been facing several content piracy cases lately, this blog post has ONLY been published on &lt;a href="https://swac.blog"&gt;the Software, Architecture, and Cloud blog - SWAC.blog&lt;/a&gt; and canonically to &lt;a href="https://dev.to/khalidelgazzar"&gt;dev.to&lt;/a&gt; only. If you are reading it elsewhere, then &lt;a href="https://swac.blog/contact-us/"&gt;please let us know&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  2- Getting Started with htop
&lt;/h2&gt;

&lt;p&gt;htop is an improved version of top that provides a more user-friendly interface and additional features. Here’s how you can get started with htop:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  Install htop: Htop is not usually installed by default on most Linux distributions. You can install it using the package manager of your distribution. For example, on Ubuntu and Debian, you can install htop with the command &lt;code&gt;sudo apt-get install htop&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;  Launch htop: To launch htop, simply open a terminal window and type &lt;code&gt;htop&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;  Understanding the output: Htop provides a similar set of information as top, but with a more user-friendly interface. You can use the arrow keys to move up and down the list, and the &lt;code&gt;q&lt;/code&gt; key to quit htop.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  3- Getting Started with vmstat
&lt;/h2&gt;

&lt;p&gt;vmstat is a tool that provides information on the usage of system resources, including CPU, memory, and I/O. Here’s how you can get started with vmstat:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  Install vmstat: Vmstat is usually included with most Linux distributions. If it’s not installed on your system, you can install it using the package manager of your distribution. For example, on Ubuntu and Debian, you can install vmstat with the command &lt;code&gt;sudo apt-get install procps&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;  Launch vmstat: To launch vmstat, simply open a terminal window and type &lt;code&gt;vmstat&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;  Understanding the output: Vmstat provides a lot of information, including CPU usage, memory usage, and I/O usage. The default output shows a summary of system activity since boot, as well as a real-time view of system activity. You can use the &lt;code&gt;q&lt;/code&gt; key to quit vmstat.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  4- Advanced Usage of top, htop, and vmstat
&lt;/h2&gt;

&lt;p&gt;While top, htop, and vmstat provide a wealth of information on system performance out of the box, they also offer advanced options for more detailed analysis. Here are some examples of advanced usage:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Filtering: You can filter top and htop to show specific processes or system resources. For example, to show only the processes owned by a specific user, you can use the following command:&lt;/p&gt;

&lt;p&gt;top -U username&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Similarly, to show only the processes using a certain amount of CPU, you can use the following command:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;top -o %CPU
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;ol&gt;
&lt;li&gt; Sorting: You can sort the output of top and htop based on various criteria such as CPU usage, memory usage, and process ID. To sort top by CPU usage, you can press the “P” key. To sort htop by memory usage, you can press the “F6” key and select the “MEM%” option.&lt;/li&gt;
&lt;li&gt; Color-coded output: htop provides color-coded output to help you identify the processes that are consuming the most system resources. By default, processes using more than 75% of CPU or memory are displayed in red. You can adjust these values by pressing the “F2” key and selecting the “Display options” menu.&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Continuous monitoring: vmstat can be used for continuous monitoring of system performance. You can use the “-n” option to set the interval between updates. For example, to monitor system performance every 5 seconds, you can use the following command:&lt;/p&gt;

&lt;p&gt;vmstat -n 5&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Redirecting output: You can redirect the output of top, htop, and vmstat to a file or another command for further analysis. For example, to save the output of top to a file, you can use the following command:&lt;/p&gt;

&lt;p&gt;top -n 1 &amp;gt; top_output.txt&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This command saves the output of top to a file called “top_output.txt”. Similarly, to pipe the output of vmstat to another command, you can use the following command:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;vmstat 1 | awk '{print $1}'
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;This command pipes the output of vmstat to the awk command, which prints the first column of data (the timestamp) on each line.&lt;/p&gt;

&lt;p&gt;With these advanced options, you can gain deeper insights into system performance and troubleshoot issues more effectively.&lt;/p&gt;

&lt;h2&gt;
  
  
  5- Conclusion
&lt;/h2&gt;

&lt;p&gt;In conclusion, top, htop, and vmstat are powerful command-line utilities for monitoring system performance in Linux. With these tools, you can gain valuable insights into CPU, memory, and I/O usage on your system, and troubleshoot issues more effectively.&lt;/p&gt;

&lt;p&gt;While top and htop provide real-time information on system performance, vmstat offers a more detailed view of system resource usage over time. By combining these tools and their advanced options, you can get a comprehensive view of your system’s performance.&lt;/p&gt;

&lt;p&gt;In addition, the ability to filter, sort, and color-code output allows you to quickly identify processes that are consuming the most resources and take action accordingly. And with the ability to redirect output to a file or another command, you can perform further analysis on system performance data.&lt;/p&gt;

&lt;p&gt;By mastering these tools and incorporating them into your Linux administration toolkit, you can optimize system performance and ensure that your applications are running smoothly. Whether you’re a system administrator or a developer, knowledge of these tools is essential for maintaining the health and performance of your Linux systems.&lt;/p&gt;

&lt;p&gt;We hope this guide has provided you with a useful overview of top, htop, and vmstat, and their advanced usage. If you have any questions or comments, please feel free to leave them in the comments section below. Thank you for reading! Since I have been facing several content piracy cases lately, this blog post has ONLY been published on &lt;a href="https://swac.blog"&gt;the Software, Architecture, and Cloud blog - SWAC.blog&lt;/a&gt; and canonically to &lt;a href="https://dev.to/khalidelgazzar"&gt;dev.to&lt;/a&gt; only. If you are reading it elsewhere, then &lt;a href="https://swac.blog/contact-us/"&gt;please let us know&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;For more articles about AWS &amp;amp; how to begin your AWS journey,&lt;/em&gt;&lt;/strong&gt; visit AWS section on the &lt;a href="https://swac.blog/"&gt;Software, Architecture &amp;amp; Cloud blog - SWAC.blog&lt;/a&gt;&lt;/p&gt;

</description>
      <category>linux</category>
      <category>monitoring</category>
      <category>guide</category>
      <category>beginners</category>
    </item>
    <item>
      <title>GNU Linux File Permissions: Introductory Guide and Best Practices</title>
      <dc:creator>Khalid ElGazzar</dc:creator>
      <pubDate>Wed, 29 Nov 2023 12:10:00 +0000</pubDate>
      <link>https://dev.to/khalidelgazzar/gnu-linux-file-permissions-introductory-guide-and-best-practices-3684</link>
      <guid>https://dev.to/khalidelgazzar/gnu-linux-file-permissions-introductory-guide-and-best-practices-3684</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;Linux is a powerful operating system used by millions of people around the world. It is known for its stability, security, and flexibility, and is used in a wide range of applications, from servers and desktops to embedded devices and supercomputers.&lt;/p&gt;

&lt;p&gt;One of the key features of Linux is its file system, which is based on a hierarchical tree-like structure. Each file and directory in the file system has a set of permissions that control who can access it and what actions they can perform on it. Understanding file permissions is essential for any Linux user, whether you’re a system administrator managing a large network of servers or a casual user working on a personal computer.&lt;/p&gt;

&lt;p&gt;In this post, we’ll provide a comprehensive guide to Linux file permissions, starting with the basics of file permissions and ownership and moving on to more advanced topics like modifying permissions and best practices for setting file permissions. By the end of this post, you should have a solid understanding of how file permissions work in Linux and how to work with them effectively. Since I have been facing several content piracy cases lately, this blog post has ONLY been published on &lt;a href="https://swac.blog"&gt;the Software, Architecture, and Cloud blog - SWAC.blog&lt;/a&gt; and canonically to &lt;a href="https://dev.to/khalidelgazzar"&gt;dev.to&lt;/a&gt; only. If you are reading it elsewhere, then &lt;a href="https://swac.blog/contact-us/"&gt;please let us know&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Basic Concepts
&lt;/h2&gt;

&lt;p&gt;Before we dive into the chmod command, let’s first cover some basic concepts related to file permissions in Linux.&lt;/p&gt;

&lt;p&gt;In Linux, every file and directory has three sets of permission bits that determine who can read, write, and execute the file. The permission bits are represented by the letters r (read), w (write), and x (execute). Each set of permission bits represents a different class of users: the owner of the file, the group that the file belongs to, and everyone else.&lt;/p&gt;

&lt;p&gt;For example, consider the following output from the ls command:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ ls -l test.txt
-rw-r--r-- 1 john users 0 Apr 18 2023 test.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;In this case, the file test.txt has the following permissions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  The owner of the file (john) has read and write permissions.&lt;/li&gt;
&lt;li&gt;  The group that the file belongs to (users) has read permissions.&lt;/li&gt;
&lt;li&gt;  Everyone else has read permissions.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The first character in the output (a hyphen in this case) indicates that this is a regular file. If the file were a directory, this character would be replaced by a d.&lt;/p&gt;

&lt;p&gt;Ownership also plays a role in file permissions. In Linux, every file and directory has an owner and a group. The owner is usually the user who created the file, while the group is a collection of users who have certain permissions on the file.&lt;/p&gt;

&lt;p&gt;For example, consider the following output from the ls command:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ ls -l test.txt
-rw-r--r-- 1 john users 0 Apr 18 2023 test.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;In this case, the file test.txt is owned by the user john and belongs to the group users.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Different Types of Users
&lt;/h2&gt;

&lt;p&gt;As we mentioned earlier, there are three types of users that can have permissions on a file in Linux: the owner, the group, and everyone else.&lt;/p&gt;

&lt;p&gt;The owner is the user who created the file. The owner has the most control over the file and can read, write, and execute it (if the appropriate permission bits are set).&lt;/p&gt;

&lt;p&gt;The group is a collection of users who have certain permissions on the file. By default, when a file is created, it belongs to the primary group of the user who created it. However, the group can be changed using the chgrp command.&lt;/p&gt;

&lt;p&gt;Everyone else refers to all other users who are not the owner or a member of the group that the file belongs to. Everyone else has the least amount of control over the file and can only read it (if the appropriate permission bits are set).&lt;/p&gt;

&lt;h2&gt;
  
  
  The chmod Command
&lt;/h2&gt;

&lt;p&gt;Now that we understand the basic concepts of file permissions in Linux, let’s move on to the chmod command.&lt;/p&gt;

&lt;p&gt;The chmod command is used to modify the permissions of a file or directory. The syntax of the chmod command is as follows:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;chmod [options] mode file/directory
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;The options for the chmod command can be used to modify the behavior of the command. Here are some of the most common options:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  -R: Recursively apply the permissions to all files and directories under the specified directory.&lt;/li&gt;
&lt;li&gt;  -v: Verbose output. Show each file that is modified by the command.&lt;/li&gt;
&lt;li&gt;  -c: Verbose output. Show each file that is modified by the command, but only display if the permissions are actually changed.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The mode argument is used to specify the new permissions for the file or directory. There are two ways to specify the mode: numeric mode and symbolic mode.&lt;/p&gt;

&lt;h2&gt;
  
  
  Numeric Mode
&lt;/h2&gt;

&lt;p&gt;In numeric mode, the permissions are represented by a three-digit number. Each digit represents a different set of permission bits: the first digit represents the permissions for the owner, the second digit represents the permissions for the group, and the third digit represents the permissions for everyone else.&lt;/p&gt;

&lt;p&gt;Each digit is calculated by adding up the following values:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  4: Read permission&lt;/li&gt;
&lt;li&gt;  2: Write permission&lt;/li&gt;
&lt;li&gt;  1: Execute permission&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For example, to set read and write permissions for the owner, read permissions for the group, and no permissions for everyone else, you would use the following command:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ chmod 640 test.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;In this case, the first digit (6) represents the permissions for the owner (4 + 2 = 6), the second digit (4) represents the permissions for the group (4 = 4), and the third digit (0) represents the permissions for everyone else (no permissions).&lt;/p&gt;

&lt;h2&gt;
  
  
  Symbolic Mode
&lt;/h2&gt;

&lt;p&gt;In symbolic mode, the permissions are represented by a combination of letters and symbols. Here are the different letters and symbols that can be used:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  r: Read permission&lt;/li&gt;
&lt;li&gt;  w: Write permission&lt;/li&gt;
&lt;li&gt;  x: Execute permission&lt;/li&gt;
&lt;li&gt;  u: User (owner)&lt;/li&gt;
&lt;li&gt;  g: Group&lt;/li&gt;
&lt;li&gt;  o: Other (everyone else)&lt;/li&gt;
&lt;li&gt;  +: Add permissions&lt;/li&gt;
&lt;li&gt;  -: Remove permissions&lt;/li&gt;
&lt;li&gt;  =: Set permissions to exactly what is specified&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For example, to set read and write permissions for the owner, read permissions for the group, and no permissions for everyone else, you would use the following command:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ chmod u+rw,g+r,o-rwx test.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;In this case, we’re using the u+rw option to add read and write permissions for the owner, the g+r option to add read permissions for the group, and the o-rwx option to remove all permissions for everyone else.&lt;/p&gt;

&lt;h2&gt;
  
  
  Best Practices
&lt;/h2&gt;

&lt;p&gt;Now that we know how to use the chmod command to modify file permissions, let’s talk about some best practices for setting file permissions in Linux.&lt;/p&gt;

&lt;p&gt;The principle of least privilege is a key concept in Linux security. It states that users and processes should be given only the minimum amount of access necessary to perform their tasks. In other words, don’t give users or processes more permissions than they need.&lt;/p&gt;

&lt;p&gt;Here are some specific recommendations for setting file permissions in Linux:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  Set the permissions to the minimum required for the user or process to perform their task.&lt;/li&gt;
&lt;li&gt;  Use groups to manage permissions instead of giving individual users permissions.&lt;/li&gt;
&lt;li&gt;  Use the umask command to set default permissions for newly created files and directories.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The umask command is used to set the default permissions for new files and directories. The umask value is subtracted from the maximum permissions to determine the default permissions. For example, if the umask value is 022, the default permissions for a new file would be 644 (666 – 022 = 644), and the default permissions for a new directory would be 755 (777 – 022 = 755).&lt;/p&gt;

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

&lt;p&gt;In conclusion, understanding Linux file permissions is an essential skill for anyone working with Linux systems. The file system is the backbone of the operating system, and the ability to manage permissions is crucial for ensuring the security and stability of the system.&lt;/p&gt;

&lt;p&gt;In this post, we’ve covered the basics of file permissions in Linux, including the meaning of the different permission bits, how ownership affects permissions, and how to use the chmod command to modify permissions. We’ve also discussed best practices for setting file permissions, including the principle of least privilege and the use of groups and the umask command.&lt;/p&gt;

&lt;p&gt;By following these best practices and using the tools provided by Linux, you can ensure that your system is secure and that your files and directories are accessible only to those who need them. If you have any questions or feedback, please let us know. We hope this post has been helpful, and we wish you the best of luck in your Linux endeavors! Since I have been facing several content piracy cases lately, this blog post has ONLY been published on &lt;a href="https://swac.blog"&gt;the Software, Architecture, and Cloud blog - SWAC.blog&lt;/a&gt; and canonically to &lt;a href="https://dev.to/khalidelgazzar"&gt;dev.to&lt;/a&gt; only. If you are reading it elsewhere, then &lt;a href="https://swac.blog/contact-us/"&gt;please let us know&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;For more articles about AWS &amp;amp; how to begin your AWS journey,&lt;/em&gt;&lt;/strong&gt; visit AWS section on the &lt;a href="https://swac.blog/"&gt;Software, Architecture &amp;amp; Cloud blog - SWAC.blog&lt;/a&gt;&lt;/p&gt;

</description>
      <category>linux</category>
      <category>beginners</category>
      <category>guide</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
