<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ichraf on Medium]]></title>
        <description><![CDATA[Stories by Ichraf on Medium]]></description>
        <link>https://medium.com/@ichraf.sassi.456?source=rss-a38ff94e19a1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*bt7Zn7KvgK57UdUwHsq0yQ.jpeg</url>
            <title>Stories by Ichraf on Medium</title>
            <link>https://medium.com/@ichraf.sassi.456?source=rss-a38ff94e19a1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 00:04:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ichraf.sassi.456/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[AWS Cloud Security Roadmap: The Full Learning Path from Networking to Security Engineering]]></title>
            <link>https://medium.com/@ichraf.sassi.456/aws-cloud-security-roadmap-the-full-learning-path-from-networking-to-security-engineering-1053df863c1e?source=rss-a38ff94e19a1------2</link>
            <guid isPermaLink="false">https://medium.com/p/1053df863c1e</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[roadmaps]]></category>
            <dc:creator><![CDATA[Ichraf]]></dc:creator>
            <pubDate>Thu, 05 Nov 2026 22:14:21 GMT</pubDate>
            <atom:updated>2026-11-05T22:14:21.284Z</atom:updated>
            <content:encoded><![CDATA[<p>Cloud security sits on top of networking, Linux, identity, infrastructure and delivery pipelines. This is the exact order to learn them in, what to build at each step, the jobs you can apply for along the way, the certifications worth taking, and the official AWS documentation for every topic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZrQnClPQhnCt_oBu35QpuA.png" /></figure><h3>The learning path</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A4KcruBnabtskdEjm_Fg6w.png" /></figure><p>The order is deliberate: cloud engineering and operations come before DevOps tooling, because automation only makes sense once you can build and troubleshoot a workload by hand. DevSecOps needs real DevOps skills, but not a DevOps job title. Cloud Security Engineer does not require you to have held the DevOps or DevSecOps jobs first. Each phase ends with a checkpoint of what you should be able to demonstrate. Entry-level hiring shifts quickly, so check current listings in your market and treat the role names in this guide as search targets, not guarantees.</p><h3>Phase 0: IT foundations</h3><p><strong>Checkpoint. You are ready for entry-level IT support, technical support or NOC work when you can:</strong> troubleshoot IP, DNS, ports, HTTP and TLS problems, work in the Linux shell, read logs, use Git, write simple scripts and write a clear incident summary.</p><h3>Chapter 1: How a web request travels</h3><p><strong>Learn:</strong></p><ul><li>DNS: stub resolver, recursive resolver, authoritative servers, A, AAAA, CNAME, TXT, MX records, TTL and caching.</li><li>TCP: three-way handshake, ports, connection states, why TCP differs from UDP.</li><li>TLS: handshake, certificate chain, SNI, what a certificate does and doesn’t prove.</li><li>HTTP: methods, status codes, headers, cookies, redirects.</li><li>IPv4 and CIDR: 10.0.0.0/16 is 65,536 addresses, /24 is 256. Learn to calculate network, broadcast and host range by hand. Private ranges: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16.</li><li>Routing, default gateway, NAT, stateful versus stateless filtering.</li></ul><p><strong>Build:</strong> trace one request from browser to server and draw it with each layer labeled.</p><pre>dig +trace example.com<br>curl -v https://example.com<br>openssl s_client -connect example.com:443 -servername example.com<br>ss -tulpn<br>traceroute example.com</pre><p><strong>Break it:</strong> point a hostname at the wrong IP, block port 443 with a local firewall rule, let a certificate expire in a lab, and diagnose each from the command line.</p><p><strong>Docs:</strong> <a href="https://aws.amazon.com/route53/what-is-dns/">What is DNS (Route 53)</a> · <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP">MDN HTTP</a> · <a href="https://developer.mozilla.org/en-US/docs/Web/Security/Transport_Layer_Security">MDN TLS</a></p><h3>Chapter 2: Linux for cloud engineers</h3><p><strong>Learn:</strong></p><ul><li>Filesystem hierarchy, users, groups, permission bits, ownership, sudo, SUID.</li><li>Processes, signals, systemd units, package managers, cron and timers. - SSH key authentication, ~/.ssh/authorized_keys, sshd_config hardening.</li><li>Diagnostics: journalctl -u, /var/log, ps, top, df -h, du, free -m, lsof, ss.</li></ul><p><strong>Build:</strong> a Linux VM running a small service under its own unprivileged user with a systemd unit and log output.</p><p><strong>Break it:</strong> fill the disk, kill the service, break a permission, remove its user, then recover using only logs and shell tools. Write each fix as a short runbook.</p><p><strong>Docs:</strong> <a href="https://man7.org/linux/man-pages/">Linux man pages</a> · <a href="https://systemd.io/">systemd</a></p><h3>Chapter 3: Shell, Git and Python for automation</h3><p><strong>Learn:</strong></p><ul><li>Bash: exit codes, set -euo pipefail, pipes, redirection, functions, quoting, argument handling.</li><li>Git: branches, merges, rebases, pull requests, .gitignore, history rewriting, why a committed secret must be treated as leaked even after deletion.</li><li>Python: functions, exceptions, JSON, HTTP APIs, virtual environments, packaging basics.</li></ul><p><strong>Build:</strong> a repository with Linux health-check scripts and a Python tool that parses a log file and reports error counts per hour.</p><p><strong>Docs:</strong> <a href="https://git-scm.com/book">Pro Git</a> · <a href="https://docs.python.org/3/">Python docs</a> · <a href="https://docs.github.com/">GitHub Docs</a></p><h3>Phase 1: Cloud and AWS foundations</h3><h3>Chapter 4: AWS account security</h3><p><strong>Learn:</strong></p><ul><li>Root user: MFA, no access keys, a monitored mailbox, no daily use.</li><li>Human access through IAM Identity Center with MFA. No long-lived IAM user keys for people.</li><li>Budgets, billing alerts and Cost Anomaly Detection set up before anything is deployed. A budget alert notifies you. It does not cap spend or stop resources.</li><li>Free Tier terms depend on when the account was created. Read the current terms before every lab.</li></ul><p><strong>Build:</strong> a baseline account: root MFA, Identity Center user, admin permission set, budget, CloudTrail trail, default EBS encryption on, S3 account-level Block Public Access on.</p><pre>aws sts get-caller-identity<br>aws configure sso<br>aws s3control put-public-access-block --account-id &lt;ACCOUNT_ID&gt; \<br>  --public-access-block-configuration \<br>  BlockPublicAcls=true,IgnorePublicAcls=true,BlockPublicPolicy=true,RestrictPublicBuckets=true</pre><p><strong>Docs:</strong> <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html">IAM best practices</a> · <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html">IAM Identity Center</a> · <a href="https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-managing-costs.html">AWS Budgets</a> · <a href="https://aws.amazon.com/free/">Free Tier</a> · <a href="https://calculator.aws/">Pricing Calculator</a></p><h3>Chapter 5: Cloud concepts and the shared responsibility model</h3><p><strong>Learn:</strong></p><ul><li>IaaS, PaaS, SaaS, serverless. Regions, Availability Zones, edge locations, why some services are global and others regional.</li><li>Shared responsibility changes with the service. On EC2 you patch the OS. On RDS AWS patches the engine, but you still own network access, parameters and data. On Lambda you own code and permissions.</li><li>Durability versus availability, fault tolerance, RPO and RTO.</li><li>The account as the strongest isolation boundary for blast radius, billing and permissions.</li></ul><p><strong>Docs:</strong> <a href="https://aws.amazon.com/compliance/shared-responsibility-model/">Shared Responsibility Model</a> · <a href="https://aws.amazon.com/about-aws/global-infrastructure/">AWS Global Infrastructure</a> · <a href="https://docs.aws.amazon.com/cli/latest/userguide/">AWS CLI User Guide</a></p><h3>Chapter 6: IAM from first principles</h3><p><strong>Learn:</strong></p><ul><li>Policy types: identity-based, resource-based, permissions boundaries, session policies, SCPs, RCPs, VPC endpoint policies.</li><li>Everything is denied by default. An explicit Deny always wins. An Allow is effective only if no other layer blocks it.</li><li>Roles: the trust policy says who can assume the role, the permission policy says what it can do. Temporary credentials come from STS.</li><li>Conditions: aws:SourceIp, aws:PrincipalOrgID, aws:RequestedRegion, aws:MultiFactorAuthPresent, aws:SourceArn.</li><li>Classic mistakes: &quot;Resource&quot;: &quot;*&quot; combined with iam:PassRole, a trust policy with &quot;Principal&quot;: {&quot;AWS&quot;: &quot;*&quot;}, and missing aws:SourceArn or external ID conditions on cross-account roles (the confused deputy problem).</li></ul><p><strong>Build:</strong> an application role, a read-only auditor role and an admin role, each with a scoped trust policy.</p><p><strong>Break it:</strong> trigger an AccessDenied, then use CloudTrail and the policy simulator to identify which layer denied it.</p><p><strong>Docs:</strong> <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html">Policy evaluation logic</a> · <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html">IAM roles</a> · <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/what-is-access-analyzer.html">Access Analyzer</a> · <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/confused-deputy.html">Confused deputy</a></p><h3>Phase 2: Cloud engineering and CloudOps</h3><p><strong>Checkpoint. You are ready for entry-level Cloud Support, Junior CloudOps or Junior Cloud Engineer work when you can:</strong> explain Regions, AZs, VPCs, subnets, security groups, IAM, EC2 and S3; deploy a workload, monitor it, troubleshoot it, back it up, restore it and clean it up; use the console and CLI safely; and show one coherent project with a diagram and a runbook.</p><h3>Chapter 7: VPC and network design</h3><p><strong>Learn:</strong></p><ul><li>A subnet is public only because its route table sends 0.0.0.0/0 to an Internet Gateway. Private subnets reach the internet through a NAT Gateway, which bills per hour plus per GB processed.</li><li>AWS reserves 5 addresses per subnet, so a /24 gives 251 usable IPs. Plan CIDR ranges so VPCs can be peered or connected later without overlap.</li><li>Security groups are stateful, attach to network interfaces and only allow. Network ACLs are stateless, attach to subnets, have ordered allow and deny rules, and need ephemeral ports (1024 to 65535) opened for return traffic.</li><li>VPC endpoints: gateway endpoints for S3 and DynamoDB are free, interface endpoints (PrivateLink) cost per hour and per GB.</li><li>Hybrid connectivity at awareness level: Site-to-Site VPN, Direct Connect, Transit Gateway, VPC peering and why peering is not transitive.</li><li>VPC Flow Logs to answer “who talked to what, and was it accepted”.</li></ul><p><strong>Build:</strong> a VPC with two public and two private subnets across two AZs, an Internet Gateway, one NAT Gateway, route tables, an S3 gateway endpoint and Flow Logs.</p><p><strong>Break it:</strong> remove a route, edit a security group, add a NACL deny, and find each cause with Flow Logs and Reachability Analyzer.</p><p><strong>Docs:</strong> <a href="https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html">What is Amazon VPC</a> · <a href="https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html">Flow Logs</a> · <a href="https://docs.aws.amazon.com/vpc/latest/privatelink/vpc-endpoints.html">VPC endpoints</a> · <a href="https://docs.aws.amazon.com/vpc/latest/tgw/what-is-transit-gateway.html">Transit Gateway</a> · <a href="https://docs.aws.amazon.com/vpc/latest/reachability/what-is-reachability-analyzer.html">Reachability Analyzer</a></p><h3>Chapter 8: EC2 and server operations</h3><p><strong>Learn:</strong></p><ul><li>Instance types and families, AMIs, EBS volume types, snapshots, user data, key pairs, launch templates.</li><li>Instance profiles give an instance a role. Never put access keys on an instance.</li><li>Enforce IMDSv2 (session-token based metadata access) to blunt SSRF-based credential theft.</li><li>Manage servers through Systems Manager Session Manager and Run Command. No inbound port 22 is needed. The SSM Agent needs outbound HTTPS or the ssm, ssmmessages and ec2messages interface endpoints.</li><li>Patch Manager, State Manager, golden AMIs.</li></ul><p><strong>Build:</strong> a Linux app server in a private subnet reachable only through Session Manager, with an instance profile and encrypted EBS.</p><p><strong>Break it:</strong> stop the app, fill the disk, remove the SSM role, and recover each time.</p><p><strong>Docs:</strong> <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts.html">EC2 User Guide</a> · <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager.html">Session Manager</a> · <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html">IMDSv2</a> · <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager.html">Patch Manager</a></p><h3>Chapter 9: S3, EBS and backups</h3><p><strong>Learn:</strong></p><ul><li>Block Public Access at account and bucket level, Object Ownership set to bucket owner enforced (ACLs disabled), bucket policies, presigned URLs.</li><li>Useful policy conditions: aws:SecureTransport to force TLS, aws:PrincipalOrgID to limit to your organization.</li><li>Versioning, lifecycle rules, Object Lock for tamper-resistant retention, replication, access points.</li><li>Encryption: SSE-S3 versus SSE-KMS, bucket keys to cut KMS request costs.</li><li>Logging: server access logs versus CloudTrail data events (billed per event).</li><li>AWS Backup plans, vaults, retention. The only backup that counts is one you have restored.</li></ul><pre>aws s3api put-public-access-block --bucket &lt;BUCKET&gt; \<br>  --public-access-block-configuration \<br>  BlockPublicAcls=true,IgnorePublicAcls=true,BlockPublicPolicy=true,RestrictPublicBuckets=true<br>aws s3api put-bucket-versioning --bucket &lt;BUCKET&gt; --versioning-configuration Status=Enabled</pre><p><strong>Build:</strong> an asset bucket that is private, versioned, encrypted, TLS-only, with lifecycle rules, plus an AWS Backup plan for the EBS volume and a documented restore.</p><p><strong>Docs:</strong> <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/Welcome.html">S3 User Guide</a> · <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html">Block Public Access</a> · <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html">Object Lock</a> · <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html">AWS Backup</a></p><h3>Chapter 10: RDS and DynamoDB</h3><p><strong>Learn:</strong></p><ul><li>RDS in private subnets through a DB subnet group, not publicly accessible, reached only through a security group that references the app’s security group.</li><li>Multi-AZ is for availability and automatic failover. Read replicas are for read scaling and are asynchronous.</li><li>Encryption at rest must be enabled at creation. An unencrypted snapshot is encrypted by copying it. Enforce TLS in transit, consider IAM database authentication, store credentials in Secrets Manager.</li><li>Automated backups and point-in-time recovery versus manual snapshots. Parameter groups, maintenance windows.</li><li>DynamoDB: partition key design, on-demand versus provisioned capacity, point-in-time recovery, IAM conditions for item-level access.</li></ul><p><strong>Build:</strong> a Multi-AZ PostgreSQL or MySQL instance reachable only from the app tier, then perform a point-in-time restore into a new instance.</p><p><strong>Docs:</strong> <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Welcome.html">RDS User Guide</a> · <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Introduction.html">DynamoDB Developer Guide</a></p><h3>Chapter 11: DNS, load balancing and scaling</h3><p><strong>Learn:</strong></p><ul><li>Route 53: hosted zones, record types, alias records, routing policies (simple, weighted, latency, failover), health checks.</li><li>ALB works at layer 7 with listener rules and path or host routing. NLB works at layer 4 with static IPs and very high throughput.</li><li>Target groups, health check path and thresholds, deregistration delay, access logs to S3.</li><li>Auto Scaling groups with launch templates, target tracking policies, instance refresh.</li><li>ACM public certificates with DNS validation renew automatically. CloudFront with Origin Access Control keeps the origin private.</li></ul><p><strong>Build:</strong> the app behind an ALB with HTTPS, health checks and an Auto Scaling group across two AZs.</p><p><strong>Break it:</strong> terminate an instance, fail a health check and watch recovery. Document how long failover takes.</p><p><strong>Docs:</strong> <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/Welcome.html">Route 53</a> · <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/what-is-load-balancing.html">Elastic Load Balancing</a> · <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/what-is-amazon-ec2-auto-scaling.html">EC2 Auto Scaling</a> · <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Introduction.html">CloudFront</a> · <a href="https://docs.aws.amazon.com/acm/latest/userguide/acm-overview.html">ACM</a></p><h3>Chapter 12: Monitoring, logging and runbooks</h3><p><strong>Learn:</strong></p><ul><li>CloudWatch is metrics, logs and alarms. EC2 does not publish memory or disk usage by default, so install the CloudWatch agent. Log groups never expire unless you set retention, which becomes a cost problem.</li><li>CloudTrail is the record of API calls. Event history shows 90 days of management events. Create a trail for long-term storage, log file validation and data events.</li><li>AWS Config is the history and compliance state of resource configuration.</li><li>Use the right tool for the question: “what did this role do?” is CloudTrail, “is this resource compliant?” is Config, “is the service healthy?” is CloudWatch.</li><li>Alarms, composite alarms, dashboards, metric filters, EventBridge rules for notifications.</li><li>Runbooks and blameless post-incident reviews.</li></ul><p><strong>Build:</strong> a dashboard, alarms for CPU, 5xx rate and unhealthy hosts, a multi-Region trail to S3, a Config recorder with a handful of managed rules, and a runbook for one outage.</p><p><strong>Docs:</strong> <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/WhatIsCloudWatch.html">CloudWatch</a> · <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-user-guide.html">CloudTrail</a> · <a href="https://docs.aws.amazon.com/config/latest/developerguide/WhatIsConfig.html">AWS Config</a> · <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Install-CloudWatch-Agent.html">CloudWatch agent</a></p><h3>Chapter 13: Serverless fundamentals</h3><p><strong>Learn:</strong></p><ul><li>Lambda: execution role, resource policy, environment variables, timeouts, concurrency, dead-letter queues, VPC attachment and its trade-offs.</li><li>API Gateway: REST versus HTTP APIs, authorizers (IAM, Cognito, Lambda), throttling, WAF integration.</li><li>EventBridge rules and schedules, SQS and SNS for decoupling, Step Functions for orchestration at awareness level.</li><li>Security model: the permissions are the perimeter, so least privilege per function matters more than network rules.</li></ul><p><strong>Build:</strong> an API Gateway endpoint backed by a Lambda function that writes to DynamoDB, with a per-function least-privilege role and structured logs.</p><p><strong>Docs:</strong> <a href="https://docs.aws.amazon.com/lambda/latest/dg/welcome.html">Lambda</a> · <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/welcome.html">API Gateway</a> · <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-what-is.html">EventBridge</a> · <a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/welcome.html">SQS</a></p><h3>Chapter 14: Cost, reliability and the Well-Architected Framework</h3><p><strong>Learn:</strong></p><ul><li>Where the money goes: NAT Gateway hours and data, idle load balancers, unattached EBS volumes and Elastic IPs, RDS running around the clock, CloudWatch log ingestion, cross-AZ and internet data transfer.</li><li>Cost allocation tags, Cost Explorer, Budgets, Savings Plans and Reserved Instances at awareness level.</li><li>Disaster recovery strategies by cost and RTO: backup and restore, pilot light, warm standby, active-active.</li><li>The six Well-Architected pillars and how to run a review.</li></ul><p><strong>Build:</strong> a Well-Architected review of your own project with a prioritized improvement list and a monthly cost estimate.</p><p><strong>Docs:</strong> <a href="https://docs.aws.amazon.com/wellarchitected/latest/framework/welcome.html">Well-Architected Framework</a> · <a href="https://wellarchitectedlabs.com/">Well-Architected Labs</a> · <a href="https://docs.aws.amazon.com/cost-management/latest/userguide/ce-what-is.html">Cost Explorer</a> · <a href="https://docs.aws.amazon.com/whitepapers/latest/disaster-recovery-workloads-on-aws/disaster-recovery-workloads-on-aws.html">DR whitepaper</a></p><h3>Phase 3: Automation and DevOps practices</h3><p><strong>Checkpoint. You are ready for entry-level Junior DevOps or build-and-release work when you can:</strong> build a pipeline from repository to AWS, handle Terraform state properly, deploy a container to ECS, observe the release and roll back a bad one. Many DevOps vacancies expect prior experience, so treat this as a parallel target, not a guaranteed first job.</p><h3>Chapter 15: Infrastructure as Code with Terraform</h3><p><strong>Learn: </strong>Providers, resources, data sources, variables, outputs, locals, modules, for_each and count.</p><ul><li>State contains sensitive values. Store it in an S3 backend with encryption, versioning and locking, and restrict access to it. Recent Terraform versions support native S3 lockfile locking, older setups used DynamoDB.</li><li>plan in pull requests, apply on merge after approval. Pin provider versions and commit .terraform.lock.hcl.</li><li>Drift, import, moved blocks, lifecycle rules, separating environments by directory and state rather than by hope.</li><li>Awareness: CloudFormation (stacks, change sets, drift detection, StackSets) because many AWS employers use it, and OpenTofu as the open-source Terraform fork.</li></ul><p><strong>Build:</strong> the Phase 2 environment as modules, with dev and prod state separated and a documented plan, review, apply workflow.</p><p><strong>Break it:</strong> change a resource in the console, detect the drift, and decide whether to revert it or codify it.</p><p><strong>Docs:</strong> <a href="https://developer.hashicorp.com/terraform/tutorials/aws-get-started">Terraform AWS tutorials</a> · <a href="https://registry.terraform.io/providers/hashicorp/aws/latest/docs">AWS provider</a> · <a href="https://developer.hashicorp.com/terraform/language/backend/s3">S3 backend</a> · <a href="https://docs.aws.amazon.com/cloudformation/">CloudFormation</a></p><h3>Chapter 16: CI/CD with GitHub Actions and OIDC</h3><p><strong>Learn:</strong></p><ul><li>Stages: lint, test, build, package, deploy, smoke test, rollback.</li></ul><blockquote>Do not store AWS access keys in repository secrets. Use OIDC so the workflow assumes an IAM role with short-lived credentials, and scope the trust policy to one repository and branch:</blockquote><pre>{<br>  &quot;Effect&quot;: &quot;Allow&quot;,<br>  &quot;Principal&quot;: { &quot;Federated&quot;: &quot;arn:aws:iam::&lt;ACCOUNT_ID&gt;:oidc-provider/token.actions.githubusercontent.com&quot; },<br>  &quot;Action&quot;: &quot;sts:AssumeRoleWithWebIdentity&quot;,<br>  &quot;Condition&quot;: {<br>    &quot;StringEquals&quot;: { &quot;token.actions.githubusercontent.com:aud&quot;: &quot;sts.amazonaws.com&quot; },<br>    &quot;StringLike&quot;:   { &quot;token.actions.githubusercontent.com:sub&quot;: &quot;repo:&lt;OWNER&gt;/&lt;REPO&gt;:ref:refs/heads/main&quot; }<br>  }<br>}</pre><ul><li>Set a minimal permissions: block on every workflow and job, pin third-party actions to a commit SHA, use environments with required reviewers for production, and understand why self-hosted runners and pull_request_target need extra care.</li></ul><p><strong>Build:</strong> a workflow that tests, builds and deploys the app to AWS with OIDC, using separate roles for plan and apply.</p><p><strong>Docs:</strong> <a href="https://docs.github.com/en/actions">GitHub Actions</a> · <a href="https://docs.github.com/en/actions/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services">OIDC in AWS</a> · <a href="https://docs.github.com/en/actions/security-for-github-actions/security-guides/security-hardening-for-github-actions">Security hardening for Actions</a> · <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp.html">AWS STS</a></p><h3>Chapter 17: Docker, ECR and ECS on Fargate</h3><p><strong>Learn:</strong></p><ul><li>Images and layers, multi-stage builds, minimal base images, running as non-root, no secrets in layers, immutable tags.</li><li>ECR: private repositories, scan on push, lifecycle policies.</li><li>ECS: task definitions, services, awsvpc networking with a security group per task, awslogs logging, secrets injected from Secrets Manager.</li><li>Two roles people confuse: the task execution role lets ECS pull the image and write logs, the task role is what your application code uses to call AWS.</li><li>Read-only root filesystem, dropping capabilities, ECS Exec for debugging.</li><li>Start with ECS and add EKS only when job descriptions require Kubernetes.</li></ul><p><strong>Build:</strong> containerize the app, push it to ECR, run it on Fargate behind the ALB and document a rollback.</p><p><strong>Docs:</strong> <a href="https://docs.docker.com/">Docker docs</a> · <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/Welcome.html">Amazon ECS</a> · <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/what-is-ecr.html">Amazon ECR</a> · <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/security-ecs-iam-role-overview.html">ECS IAM roles</a></p><h3>Chapter 18: Release strategies and observability</h3><p><strong>Learn:</strong></p><ul><li>Rolling updates with minimum healthy percent, blue/green through CodeDeploy, canary and linear shifts, ECS deployment circuit breaker with automatic rollback, alarm-based rollback.</li><li>The three signals: logs, metrics, traces. Correlation IDs, structured JSON logs, alert quality (alert on symptoms, not every cause).</li><li>Feature flags at concept level.</li></ul><p><strong>Build:</strong> ship a deliberately broken release, detect it through an alarm, roll back automatically and write the post-incident report.</p><p><strong>Docs:</strong> <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">ECS deployment types</a> · <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/welcome.html">CodeDeploy</a> · <a href="https://docs.aws.amazon.com/xray/latest/devguide/aws-xray.html">AWS X-Ray</a></p><h3>Chapter 19: Automation with the AWS CLI and Boto3</h3><p><strong>Learn:</strong></p><ul><li>Sessions and profiles, paginators, waiters, retry configuration, idempotent scripts, read-only first, a dedicated least-privilege role for each script.</li><li>Event-driven automation: EventBridge triggers a Lambda that calls AWS APIs.</li></ul><p><strong>Build:</strong> a read-only auditor that lists S3 buckets without a full Public Access Block:</p><pre>import boto3<br>from botocore.exceptions import ClientError<br>s3 = boto3.client(&quot;s3&quot;)<br>for bucket in s3.list_buckets()[&quot;Buckets&quot;]:<br>    name = bucket[&quot;Name&quot;]<br>    try:<br>        cfg = s3.get_public_access_block(Bucket=name)[&quot;PublicAccessBlockConfiguration&quot;]<br>        protected = all(cfg.values())<br>    except ClientError as e:<br>        if e.response[&quot;Error&quot;][&quot;Code&quot;] == &quot;NoSuchPublicAccessBlockConfiguration&quot;:<br>            protected = False<br>        else:<br>            raise<br>    print(f&quot;{&#39;OK  &#39; if protected else &#39;RISK&#39;} {name}&quot;)</pre><p>Account-level Block Public Access also applies, so extend the script to check it with s3control.</p><p><strong>Docs:</strong> <a href="https://docs.aws.amazon.com/boto3/latest/guide/quickstart.html">Boto3 Quickstart</a> · <a href="https://docs.aws.amazon.com/cli/latest/reference/">AWS CLI reference</a></p><h3>Phase 4: Security foundations</h3><h3>Chapter 20: Threat modeling</h3><p><strong>Learn</strong> :Assets, actors, entry points, trust boundaries, threats, mitigations, residual risk.</p><ul><li>STRIDE as a checklist: spoofing, tampering, repudiation, information disclosure, denial of service, elevation of privilege.</li><li>Control types: preventive, detective, responsive, recovery.</li></ul><p><strong>Build:</strong> a data-flow diagram of the project app with trust boundaries (internet, VPC tiers, AWS control plane, CI/CD) and a mitigation mapped to each realistic threat.</p><p><strong>Docs:</strong> <a href="https://aws.amazon.com/blogs/security/how-to-approach-threat-modeling/">How to approach threat modeling</a> · <a href="https://docs.aws.amazon.com/wellarchitected/latest/security-pillar/welcome.html">Security Pillar</a></p><h3>Chapter 21: Identity governance at scale</h3><p><strong>Learn:</strong></p><ul><li>AWS Organizations, organizational units, member accounts. Service Control Policies set the maximum permissions for member accounts. They never grant access and they don’t restrict the management account.</li><li>Typical guardrails: deny leaving the organization, deny disabling CloudTrail, GuardDuty or Config, deny root user actions, restrict Regions.</li><li>Permission sets in IAM Identity Center, ABAC with tags, permissions boundaries, Access Analyzer external and unused access findings, break-glass access with alerting.</li><li>Control Tower landing zones and what they automate.</li></ul><pre>{<br>  &quot;Version&quot;: &quot;2012-10-17&quot;,<br>  &quot;Statement&quot;: [{<br>    &quot;Sid&quot;: &quot;DenyOutsideApprovedRegions&quot;,<br>    &quot;Effect&quot;: &quot;Deny&quot;,<br>    &quot;NotAction&quot;: [&quot;iam:*&quot;, &quot;organizations:*&quot;, &quot;route53:*&quot;, &quot;cloudfront:*&quot;, &quot;support:*&quot;, &quot;sts:*&quot;],<br>    &quot;Resource&quot;: &quot;*&quot;,<br>    &quot;Condition&quot;: { &quot;StringNotEquals&quot;: { &quot;aws:RequestedRegion&quot;: [&quot;eu-west-1&quot;, &quot;eu-central-1&quot;] } }<br>  }]<br>}</pre><p>Test every SCP on a sandbox OU first. A wrong SCP can lock you out of an account.</p><p><strong>Docs:</strong> <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_introduction.html">Organizations</a> · <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps.html">SCPs</a> · <a href="https://docs.aws.amazon.com/controltower/latest/userguide/what-is-control-tower.html">Control Tower</a> · <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html">Permissions boundaries</a></p><h3>Chapter 22: Network and edge protection</h3><p><strong>Learn:</strong></p><ul><li>Segmentation by tier, security group references instead of CIDRs, egress control, endpoint policies, PrivateLink.</li><li>AWS WAF: managed rule groups, rate-based rules, bot control, logging. Shield Standard is automatic, Shield Advanced is a paid service.</li><li>Network Firewall for stateful inspection and domain allow lists, Route 53 Resolver DNS Firewall, Firewall Manager for organization-wide policy.</li></ul><p><strong>Build:</strong> put WAF with managed rules and a rate limit in front of the ALB or CloudFront, then test it against your own app.</p><p><strong>Break it:</strong> in a sandbox, open a security group to 0.0.0.0/0 on a sensitive port, find it with Config and Security Hub, fix it, and record before and after evidence.</p><p><strong>Docs:</strong> <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF</a> · <a href="https://docs.aws.amazon.com/network-firewall/latest/developerguide/what-is-aws-network-firewall.html">Network Firewall</a> · <a href="https://docs.aws.amazon.com/vpc/latest/privatelink/what-is-privatelink.html">PrivateLink</a> · <a href="https://docs.aws.amazon.com/waf/latest/developerguide/fms-chapter.html">Firewall Manager</a></p><h3>Chapter 23: Data protection: KMS, secrets and TLS</h3><p><strong>Learn:</strong></p><ul><li>KMS: the key policy is the primary access control, IAM policies only work if the key policy allows them.</li><li>AWS managed keys versus customer managed keys, grants, encryption context, envelope encryption, automatic rotation, key deletion waiting period, multi-Region keys.</li><li>Secrets Manager (rotation, cross-account sharing) versus Parameter Store SecureString (simpler, no built-in rotation).</li><li>Enforce encryption: EBS default encryption, S3 default encryption, RDS storage encryption, TLS-only bucket policies. Data classification and what Macie can and cannot tell you.</li></ul><p><strong>Build:</strong> encrypt S3 and RDS with a customer managed key, restrict key use to the app role, move a database password into Secrets Manager with rotation, and show the key usage in CloudTrail.</p><p><strong>Docs:</strong> <a href="https://docs.aws.amazon.com/kms/latest/developerguide/overview.html">KMS</a> · <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html">Secrets Manager</a> · <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-parameter-store.html">Parameter Store</a> · <a href="https://docs.aws.amazon.com/macie/latest/user/what-is-macie.html">Macie</a></p><h3>Chapter 24: Detection and security posture</h3><p><strong>Learn:</strong></p><ul><li>GuardDuty analyzes CloudTrail, VPC Flow Logs and DNS logs on its own, so you don’t enable those first. Optional protection plans cover S3, EKS, malware and more.</li><li>Security Hub aggregates and normalizes findings and runs standards such as AWS Foundational Security Best Practices and the CIS AWS Foundations Benchmark.</li><li>Config rules and conformance packs, Inspector for EC2, ECR and Lambda vulnerabilities, Detective for investigation, Access Analyzer for unintended access.</li><li>Finding lifecycle: triage by severity and exposure, suppress with documented reasons, route through EventBridge, track to closure.</li></ul><p><strong>Build:</strong> enable GuardDuty and Security Hub in a sandbox, generate GuardDuty sample findings (a safe, built-in feature), route a high-severity finding to a notification and write the triage steps.</p><p><strong>Docs:</strong> <a href="https://docs.aws.amazon.com/guardduty/latest/ug/what-is-guardduty.html">GuardDuty</a> · <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/what-is-securityhub.html">Security Hub</a> · <a href="https://docs.aws.amazon.com/inspector/latest/user/what-is-inspector.html">Inspector</a> · <a href="https://docs.aws.amazon.com/detective/latest/userguide/what-is-detective.html">Detective</a></p><h3>Chapter 25: Incident response</h3><p><strong>Learn: </strong>Preparation, detection, analysis, containment, eradication, recovery, lessons learned.</p><ul><li>Playbooks for exposed access keys, public storage, unauthorized IAM changes, compromised EC2 and suspicious network activity.</li><li>Exposed key: deactivate it, attach an explicit deny, revoke active sessions, query CloudTrail (Athena or CloudTrail Lake) for everything it did, rotate anything it could read, document the timeline.</li><li>Compromised instance: isolate with a security group that has no rules, snapshot volumes for evidence, don’t terminate before preserving evidence, rebuild from a known-good image.</li><li>Forensic readiness: log integrity validation, centralized log storage, accurate time, identity attribution.</li></ul><p><strong>Build:</strong> a tabletop exercise on synthetic events with a timeline, evidence list, containment plan, recovery plan and lessons-learned report.</p><p><strong>Docs:</strong> <a href="https://docs.aws.amazon.com/whitepapers/latest/aws-security-incident-response-guide/welcome.html">AWS Security Incident Response Guide</a> · <a href="https://docs.aws.amazon.com/wellarchitected/latest/security-pillar/aspects-of-aws-incident-response.html">Security Pillar: incident response</a> · <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake.html">CloudTrail Lake</a></p><h3>Phase 5A: Cloud Security Engineering</h3><h3>Chapter 26: Multi-account security architecture</h3><p><strong>Learn</strong> :</p><ul><li>Typical structure: management account (billing and organization only), security tooling account (delegated administrator for GuardDuty, Security Hub, Config aggregation), log archive account, workload accounts split by environment, a sandbox OU with relaxed rules and a budget.<br>-&gt; Why accounts are the strongest blast-radius boundary, and how SCPs, IAM Identity Center and Control Tower fit together.</li></ul><p><strong>Build:</strong> a design diagram and a small implementation of this structure with an organization trail writing to the log archive account.</p><p><strong>Docs:</strong> <a href="https://docs.aws.amazon.com/prescriptive-guidance/latest/security-reference-architecture/introduction.html">AWS Security Reference Architecture</a> · <a href="https://docs.aws.amazon.com/whitepapers/latest/organizing-your-aws-environment/organizing-your-aws-environment.html">Organizing your environment</a></p><h3>Chapter 27: Centralized logging and investigation</h3><p><strong>Learn</strong> :</p><ul><li>Organization-wide CloudTrail, VPC Flow Logs, DNS query logs, ALB and WAF logs, log integrity validation, S3 Object Lock on the log archive.</li><li>Querying: Athena over CloudTrail, CloudTrail Lake, Security Lake with the OCSF schema, OpenSearch for SIEM-style search.</li><li>Retention versus cost, and who is allowed to delete logs (nobody in the workload account).</li></ul><p><strong>Build:</strong> a query pack that answers “who changed this security group”, “which role accessed this bucket” and “which keys were used from a new country”.</p><p><strong>Docs:</strong> <a href="https://docs.aws.amazon.com/security-lake/latest/userguide/what-is-security-lake.html">Security Lake</a> · <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-trail-organization.html">Organization trails</a> · <a href="https://docs.aws.amazon.com/athena/latest/ug/cloudtrail-logs.html">Athena for CloudTrail</a></p><h3>Chapter 28: Response automation</h3><p><strong>Learn</strong> :</p><ul><li>EventBridge rule on a finding, then a Lambda or Systems Manager Automation runbook that contains it.</li></ul><p>Examples: quarantine an instance with an isolation security group, re-enable Block Public Access, deactivate a leaked key.</p><ul><li>Safe automation: approvals for destructive actions, idempotence, dry-run mode, audit trail, no automation that can lock out responders.</li></ul><p><strong>Build:</strong> an automation that isolates an instance after a specific GuardDuty finding type in a sandbox.</p><p><strong>Docs:</strong> <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-what-is.html">EventBridge</a> · <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-automation.html">Systems Manager Automation</a></p><h3>Chapter 29: Audit, benchmarks and compliance evidence</h3><p><strong>Learn</strong> :</p><ul><li>The CIS AWS Foundations Benchmark as a concrete control baseline, NIST CSF and ISO 27001 as frameworks, and why passing a checklist is not the same as being compliant.</li><li>Open-source assessment with Prowler, AWS Audit Manager for evidence collection, Config conformance packs.</li><li>Findings that stand up: evidence, severity, remediation, owner, risk acceptance and exceptions.</li></ul><p><strong>Build:</strong> run an assessment against your sandbox account, triage the findings and write a short report with remediation priorities.</p><p><strong>Docs:</strong> <a href="https://www.cisecurity.org/benchmark/amazon_web_services">CIS AWS Foundations Benchmark</a> · <a href="https://github.com/prowler-cloud/prowler">Prowler</a> · <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/what-is.html">Audit Manager</a> · <a href="https://www.nist.gov/cyberframework">NIST CSF</a></p><h3>Phase 5B: DevSecOps</h3><h3>Chapter 30: Secure SDLC and repository security</h3><p><strong>Learn:</strong></p><ul><li>Branch protection, required reviews, CODEOWNERS, signed commits where useful.</li><li>Secret scanning with push protection, Gitleaks in CI, dependency updates with Dependabot or Renovate.</li><li>Threat modeling in the development lifecycle and security requirements in tickets.</li></ul><p><strong>Docs:</strong> <a href="https://owasp.org/www-project-devsecops-guideline/">OWASP DevSecOps Guideline</a> · <a href="https://csrc.nist.gov/pubs/sp/800/218/final">NIST SSDF (SP 800–218)</a> · <a href="https://github.com/gitleaks/gitleaks">Gitleaks</a></p><h3>Chapter 31: SAST, DAST and software composition analysis</h3><p><strong>Learn:</strong></p><ul><li>SAST reads source code (Semgrep, CodeQL). DAST attacks a running app (OWASP ZAP baseline scan against staging, only against systems you own). SCA checks dependencies for known vulnerabilities (Dependabot, OSV-Scanner, Trivy).</li><li>What each finds and misses, severity thresholds, baselining existing findings, failing the build only on actionable issues so teams don’t learn to ignore the scanner.</li></ul><p><strong>Docs:</strong> <a href="https://semgrep.dev/docs/">Semgrep</a> · <a href="https://www.zaproxy.org/docs/">OWASP ZAP</a> · <a href="https://google.github.io/osv-scanner/">OSV-Scanner</a> · <a href="https://owasp.org/www-project-top-ten/">OWASP Top 10</a></p><h3>Chapter 32: IaC and container scanning, policy as code</h3><p><strong>Learn:</strong></p><ul><li>Scan Terraform before apply with Checkov or Trivy, lint with tflint, and enforce organization rules with OPA and Conftest in pull requests.</li><li>Scan images with Trivy or ECR enhanced scanning, fix by rebuilding on updated base images, track exceptions with an expiry date.</li><li>Fail on high and critical issues that have a fix available. Report the rest.</li></ul><p><strong>Build:</strong> a pull-request pipeline that runs Terraform validation, Checkov, an OPA policy (for example “no public S3 buckets”) and a Trivy image scan, with a documented exception process.</p><p><strong>Docs:</strong> <a href="https://www.checkov.io/1.Welcome/What%20is%20Checkov.html">Checkov</a> · <a href="https://trivy.dev/">Trivy</a> · <a href="https://www.openpolicyagent.org/docs/latest/">Open Policy Agent</a> · <a href="https://www.conftest.dev/">Conftest</a> · <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html">ECR image scanning</a></p><h3>Chapter 33: Software supply chain security</h3><p><strong>Learn:</strong></p><ul><li>SBOMs with Syft in CycloneDX or SPDX format, artifact signing with Sigstore Cosign using keyless OIDC identities, provenance attestations, the SLSA framework levels.</li><li>Protected environments, ephemeral runners, least-privilege deploy roles, verified images only in production.</li></ul><p><strong>Build:</strong> generate an SBOM and sign the image in the pipeline, then verify the signature before deployment.</p><p><strong>Docs:</strong> <a href="https://slsa.dev/">SLSA</a> · <a href="https://docs.sigstore.dev/cosign/overview/">Sigstore Cosign</a> · <a href="https://github.com/anchore/syft">Syft</a> · <a href="https://docs.github.com/en/actions/security-for-github-actions/using-artifact-attestations">GitHub artifact attestations</a></p><h3>Phase 6: Security architecture</h3><p>Architecture is a level of responsibility that grows from designing, operating and securing real systems. A certification or a single capstone does not establish it. What to practice:</p><ul><li>Multi-account and multi-Region design, backup and disaster recovery, and the cost of each recovery objective.</li><li>Control mapping and audit evidence for the compliance framework a real employer needs.</li><li>Architecture Decision Records: context, options, decision, consequences. Design reviews, exception handling and risk acceptance.</li><li>Guardrails versus gates: preventive controls that make the secure path the default, and the few approvals that justify slowing a team down.</li><li>Communicating: the same design explained to an engineer, a manager and an auditor.</li></ul><p><strong>Deliverable:</strong> an architecture pack with requirements, context and data-flow diagrams, threat model, decisions, security controls, availability and recovery design, cost assumptions, operating model, residual risks and a prioritized roadmap.</p><p><strong>Docs:</strong> <a href="https://docs.aws.amazon.com/prescriptive-guidance/latest/security-reference-architecture/introduction.html">AWS Security Reference Architecture</a> · <a href="https://aws.amazon.com/cloud-adoption-framework/">AWS Cloud Adoption Framework</a> · <a href="https://aws.amazon.com/architecture/">AWS Architecture Center</a></p><h3>The projects that tie it together</h3><p>One small web application (frontend, API, database) is upgraded step by step, so each chapter changes something real.</p><ul><li><strong>V0:</strong> local app and a traced request.</li><li><strong>V1:</strong> basic AWS deployment with IAM, VPC, compute, storage and database.</li><li><strong>V2:</strong> load balancer, health checks, alarms, backups and a tested restore.</li><li><strong>V3:</strong> everything in Terraform, dev and prod separated.</li><li><strong>V4:</strong> CI/CD with OIDC, no stored keys.</li><li><strong>V5:</strong> containers on ECR and ECS Fargate.</li><li><strong>V6:</strong> least privilege, KMS encryption, Secrets Manager, CloudTrail, Config, GuardDuty and Security Hub.</li><li><strong>V7:</strong> a controlled detection and incident-response exercise with a written review.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qH5hx4iPsNpYMSXNVfNz7A.png" /></figure><p>Two capstones on top: a <strong>multi-account security reference architecture</strong> based on the AWS SRA (security tooling and log archive accounts, SCP guardrails, central logging), and an <strong>incident-response lab</strong> with a safe misconfiguration that is detected, contained, remediated, verified and written up.</p><p>Every repository needs a README with architecture, prerequisites, deploy and teardown steps and limitations; diagrams; no secrets; cost notes; runbooks; and a “what to improve next” section. Call it a production inspired lab unless it has run under production requirements.</p><h3>Certifications</h3><p>Certifications validate knowledge. They don’t replace hands-on work. Check the current exam guide before paying for an exam, because codes and content change.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9jYFR9-ky47DgH0PmVp7TQ.png" /></figure><ul><li><strong>Cloud Practitioner (CLF-C02):</strong> optional. Useful only if cloud fundamentals are weak.</li><li><strong>Solutions Architect Associate (SAA-C03):</strong> the first major credential. Broad architecture across compute, storage, networking, security, resilience and cost. AWS recommends about a year of hands-on experience. Book it when you pass realistic practice exams consistently.</li></ul><blockquote>The project path above is not the full exam syllabus, so study the exam domains separately.</blockquote><ul><li><strong>CloudOps Engineer Associate (SOA-C03, formerly SysOps Administrator):</strong> the best fit for cloud support and operations jobs.</li><li><strong>DevOps Engineer Professional (DOP-C02):</strong> AWS describes the target candidate as having two or more years of experience provisioning, operating and managing AWS environments.</li><li><strong>Security Specialty (SCS-C03):</strong> the credential closest to the destination: detection, incident response, infrastructure security, IAM, data protection, governance. Take it after substantial security labs, not first.</li><li><strong>Solutions Architect Professional (SAP-C03):</strong> optional, for an architecture direction. Registration opened 27 October 2026 and delivery starts 17 November 2026. The last day to take SAP-C02 is 16 November 2026.</li></ul><blockquote>Skip exam dumps, badge collecting, and starting with Professional or Specialty exams because the title sounds closer to the goal. and the dates above can be different depends on the year you are reading this article</blockquote><p>Official pages: <a href="https://aws.amazon.com/certification/">AWS Certification</a> · <a href="https://docs.aws.amazon.com/aws-certification/latest/examguides/">Exam guides</a> · <a href="https://skillbuilder.aws/">AWS Skill Builder</a> · <a href="https://aws.amazon.com/blogs/training-and-certification/september-2026-new-offerings/">Training and Certification blog</a></p><h3>Which role each skill set leads to</h3><p>Titles change between companies, so read the responsibilities in a job description, not the title. This matrix shows typical emphasis. It varies by employer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I7sQ4tQTpKdo2ZsdLyKkdw.png" /></figure><p><strong>Cloud Support / CloudOps Engineer:</strong> Keeps workloads running: monitoring, patching, backups, restores, troubleshooting, access requests, cost control.</p><blockquote>Tools: CloudWatch, CloudTrail, Systems Manager, EC2, VPC, IAM, Linux, ticketing.</blockquote><blockquote>Evidence: a deployed AWS project with a runbook and a restore test.</blockquote><p>Expect questions like: “An instance is unreachable, how do you debug it?” and “Why is this S3 request returning AccessDenied?”</p><p><strong>Cloud Engineer:</strong> Designs, builds and maintains cloud infrastructure and services. Tools: VPC, EC2, ECS or Lambda, RDS, ELB, Route 53, Terraform, Git.</p><blockquote>Evidence: the same project rebuilt from code with separated environments.</blockquote><p><strong>DevOps Engineer:</strong> Automates and improves how software and infrastructure are delivered and operated.</p><blockquote>Tools: Git, GitHub Actions or GitLab CI, Terraform, Docker, ECS or Kubernetes, observability stacks, scripting. Evidence: a pipeline from commit to production with tests, rollback and monitoring.</blockquote><p><strong>DevSecOps Engineer:</strong> Makes secure delivery repeatable: pipeline hardening, secrets handling, dependency, container and IaC scanning, policy checks, artifact integrity.</p><blockquote>Tools: GitHub or GitLab security features, Semgrep, Trivy, Checkov, OPA, Cosign, OIDC federation. Evidence: a pipeline that blocks real problems without drowning teams in noise.</blockquote><p><strong>Cloud Security Engineer:</strong> Implements and operates controls for identity, network, data, detection and response in AWS.</p><blockquote>Tools: IAM, Organizations and SCPs, KMS, GuardDuty, Security Hub, Config, Inspector, Macie, WAF, CloudTrail, Athena. Evidence: detection-to-remediation exercises with documented evidence, and a multi-account security design.</blockquote><p><strong>Cloud Security Architect:</strong> Designs and governs secure environments across accounts, teams and workloads, and decides on risk trade-offs.</p><blockquote>Tools: the AWS Security Reference Architecture, Well-Architected, threat modeling, Architecture Decision Records, compliance control mapping. Evidence: an architecture pack with requirements, data flows, threat model, decisions and residual risk.</blockquote><h3>Lab rules</h3><ol><li>Use a personal account, never an employer’s.(FREE tier available for now)</li><li>MFA on, root locked away, roles and temporary credentials instead of access keys.</li><li>Budgets and alerts first. An alert is not a spending cap.</li><li>Tear down NAT Gateways, load balancers, databases, clusters and public IPs after every lab. Read current pricing first.</li><li>No secrets, account IDs or unsanitized screenshots in public repositories.</li><li>Only test systems you own or are explicitly authorized to test.</li><li>Say what was actually run and what is conceptual. Date the lab and note tool versions.</li></ol><h3>Where to practice</h3><ul><li><a href="https://skillbuilder.aws/">AWS Skill Builder</a> and <a href="https://aws.amazon.com/training/learn-about/">AWS learning plans</a></li><li><a href="https://workshops.aws/">AWS Workshops</a></li><li><a href="https://builder.aws.com/">AWS Builder Center</a></li><li><a href="https://wellarchitectedlabs.com/">AWS Well-Architected Labs</a></li><li><a href="https://docs.aws.amazon.com/">AWS Documentation</a> and the <a href="https://aws.amazon.com/blogs/security/">AWS Security Blog</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1053df863c1e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS Project Guide: Building a Full End-to-End Serverless Web App]]></title>
            <link>https://medium.com/@ichraf.sassi.456/aws-project-guide-building-a-full-end-to-end-serverless-web-app-0b630f0b49ad?source=rss-a38ff94e19a1------2</link>
            <guid isPermaLink="false">https://medium.com/p/0b630f0b49ad</guid>
            <category><![CDATA[aws-lambda]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[aws-amplify]]></category>
            <category><![CDATA[aws-cognito]]></category>
            <category><![CDATA[api-gateway]]></category>
            <dc:creator><![CDATA[Ichraf]]></dc:creator>
            <pubDate>Mon, 27 Apr 2026 22:00:23 GMT</pubDate>
            <atom:updated>2026-04-27T22:00:23.275Z</atom:updated>
            <content:encoded><![CDATA[<p>In this project, I built ‘<strong>RideFlow’</strong>, a full end-to-end serverless web application powered by AWS. The goal was to design a scalable, production-style system using multiple cloud services working together seamlessly.</p><p>The application allows users to register, authenticate, and request rides through an interactive interface, while the backend processes requests using a serverless architecture. This project demonstrates how modern cloud-native applications are built using managed services such as AWS Amplify for hosting, Amazon Cognito for authentication, AWS Lambda for backend logic, Amazon API Gateway for API management, and Amazon DynamoDB for data storage.</p><p>Beyond simply deploying an app, this guide walks through how each component integrates into a complete system, making it a practical introduction to building applications on AWS.</p><h4>Architecture Overview:</h4><p>RideFlow is designed as a <strong>serverless, event-driven application</strong> with the following features:</p><ul><li>User registration and authentication</li><li>Interactive frontend interface</li><li>Ride request simulation</li><li>Backend processing using serverless functions</li><li>Persistent data storage</li></ul><p>The entire system is deployed without managing servers, making it scalable and cost-efficient.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z3mJZVCQI8iiGB9s8a6JMA.png" /><figcaption>RideFlow Architecture</figcaption></figure><h4>Technologies Used</h4><ul><li>AWS Amplify (Hosting &amp; CI/CD)</li><li>Amazon Cognito (Authentication)</li><li>AWS Lambda (Backend compute)</li><li>Amazon API Gateway (API layer)</li><li>Amazon DynamoDB (Database)</li><li>GitHub (Source control)</li></ul><h4>Build Section:</h4><p>Github’s template (clone and create new repo for our project, for I have Created different frontend out of it):</p><p><a href="https://github.com/tinytechnicaltutorials/wildrydes-site">GitHub - tinytechnicaltutorials/wildrydes-site</a></p><p>My Template:</p><p><a href="https://github.com/Ichrafsassi/RideFlow/tree/main">GitHub - Ichrafsassi/RideFlow: RideFlow a Full End-to-End AWS Serverless Web App</a></p><p>after the repo go to <strong>Amplify(Hosting)</strong>: Start with a template</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SHptFATJJ-_dtHQYTiY4Pw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W85_92Y0G9TkzV_9o1K9fg.png" /></figure><p>In this part u may be ask to authorize the app in github if you are using amplify for the 1st time, after that select your repo</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Kp4d36waHi541eR5i0ghjQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tiBMdNrRMNZHqjSR_HNxWg.png" /></figure><p>Save &amp;Deploy</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*30HaAf0FrPbv6pqdZvjKUA.png" /></figure><p>Here it’s deploying and setting the backend so we don’t set any ec2 or anything and when it’s done u can click the link to see the application</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Xh9yVoeTWtofL4b7pSf7DA.png" /></figure><p>Here every time you change something in the code and push it to github it will automatically redeploy or you click on the Redeploy, also you can see at the bottom old versions and redeploy them as well</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7p0r8sxw7_SU4i996O4Oqg.png" /></figure><p>when clicking on the domain it will take u to the site:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SZ72gHxEY-G_NlCz3t0tWw.png" /></figure><h4>Authentication with Cognito:</h4><p>use <strong>Cognito</strong> to authenticate users via usernames/passwords, social identity providers (Google, Facebook, Apple), and enterprise directories (SAML 2.0/OIDC)</p><p>to <strong>Cognito</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f24c7M8_1X4no2l4Ur5r4A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vkoHy48fYZPGxgeBpPMBgg.png" /></figure><p>click ‘Create User Directory’</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XFMcRFWKoR_WRl3JrouckA.png" /></figure><p>Here u will have to adjust/config things based on ur project but in this one we’ll adjust because we are not using Nodejs so in repo:<br><strong>1. Updated config.js</strong></p><ul><li>Added your Cognito User Pool ID: us-east-1_cp56OPYZM</li><li>Added your Client ID: 1s6mjivhpck14p7e8ll9ifv6kv</li><li>Set region to: us-east-1</li></ul><p><strong>2. Enhanced cognito-auth.js</strong></p><p>Added the following:</p><p>Specific error messages for common issues:</p><ul><li>Incorrect email/password</li><li>User not found</li><li>Account not verified</li><li>Password requirements</li><li>Added getCurrentUser() and isAuthenticated() helper functions</li></ul><p><strong>3. Updated ride.js</strong></p><ul><li>Wired up the sign-out button functionality</li><li>Added confirmation dialog before signing out</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CxXDd7ArVkK3UR0jYOYWUw.png" /></figure><p>in Cognito go to overview:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kUUpA8HWJU43ZT5Mn_szuw.png" /></figure><p>set the sign-in and sign-up and after that go to App Client in case you got error when testing the register part if the register error is still there create new App Client but choose App type ‘Single-page application (SPA)’ and you will get the Javascript code use it in the configuration files</p><p>After that test:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DppsL0HamybnrfuUuOMphg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_R8PXO4J2RHoL0zv_BOPAw.png" /></figure><p>Check email for verification code:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*FXuAkaq2P5XGvYes4ZhhzA.png" /></figure><p>Put email and the Code there</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gksWHvTX87gLABKLk2X_hA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/472/1*rsnkzmNir5dBoJGcKW4fzg.png" /></figure><p>now Login:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mKEkcC1vWQUJhTon2A9NsA.png" /></figure><p>it will take u here :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Exy3azyIWWgWJpJiXWZR-w.png" /></figure><p>Copy that token and put it aside it will be used later</p><blockquote>Now How are we going to store/return ride results and how to do ride shared functionalities ?</blockquote><p>-&gt; To the Lambda and DynamoDB</p><p><strong>DynamoDB</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3Ytflr8EtfxqF3XfxikELw.png" /></figure><p>Do this and keep the rest by default :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U_G1jL9kX-j-HKtqLXvzZA.png" /></figure><p>Click on it:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pJ2OqSstIwKI6S0xaUYihA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*72EyXUTXpwQPJxofV-H-vA.png" /></figure><p>take a copy of the ARN key and paste it in notepad</p><blockquote>Now let’s work on the <strong>Lambda</strong> function, in this part it’s going to ask us for an execution role which basically says this function has permissions to do something X (depends on the permission) -&gt; We want lambda to have permission to write to the <strong>DynamoDb</strong> we created</blockquote><p><strong>to the IAM: (we’ll create new role)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ORoifMuv5ne97qfUP0Om3w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q73Kre1S5s1a5N8LJAEQcA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dACkPrQHd5wHDDPRxzeeUw.png" /></figure><p>here name it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rApBNck2BF85O1v_8KxrfQ.png" /></figure><p>and click ‘Create role’</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qeQDwMV72s-GgB8YzeubOQ.png" /></figure><p>Now click on the role we created and we’ll add more permissions</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vIlSTTGFCG4xnBk7U3ZT-A.png" /></figure><p>here chose the dynamodb and a for resources we’ll the ARN we copied eearlier:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K7YesKNQxxL_9ZrslUlDtw.png" /></figure><p>Change to Text</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/663/1*3nG3aJdL2AEHbDti2nzClw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WYUDjBjmQE7Sq1sdvgsUXg.png" /></figure><p>Name it ‘DynamoDBWriteAccess’ and Create</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hytxorMbhDuRcc2CkRMliw.png" /></figure><p>Now after setting the DynamoDB and its role to write in it, we’ll set the lambda function</p><p><strong>Lambda</strong></p><p>Click create function and name it …</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r2D58I1oF_UGPEFE8YukQg.png" /></figure><p>after that hit ‘create function’ in the bottom</p><p>for this part all code in the <a href="https://github.com/Ichrafsassi/RideFlow/tree/main">repo</a>:</p><p><a href="https://github.com/Ichrafsassi/RideFlow/tree/main">https://github.com/Ichrafsassi/RideFlow/tree/main</a><br>check Readme the lambda function code section</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N9OvZ1an_xl-fjHkn3hDxg.png" /></figure><p>once you are done adjusting code to your data base and verified everything, deploy it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/250/1*ctdvaIyJ2R2x_1GJFJGEKA.png" /></figure><p>Now Create a new Test Event:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/193/1*8N2tJpIGc5qtDc83T-cOeQ.png" /></figure><p>For the code its in the <a href="https://github.com/Ichrafsassi/RideFlow/tree/main">repo</a> readme file, last section ‘the Lambda function test’</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/481/1*nZ77HpVH6rUXFStue9xLGw.png" /></figure><p>after that Test(right side of the vscode in the browser in lambda)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/228/1*SfZ6G-9BdFrvNMM2YWjpfA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fsEWKSpN1ZGvy6cYOzROsw.png" /></figure><p>if you get status code 201 we are good to go.</p><p>Now go check in DynamoDB and ‘explore items’ and you will find a new entry</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/862/1*9FyEErQ-t7X1Jn8zbChWpw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l7QRch41sCrPWdz_mAliNg.png" /></figure><p>Now that we can see the items to the APIs phase</p><p><strong>API Gateway</strong></p><p>Create API</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BaCBvyni0fvY-QoPABt4tA.png" /></figure><p>For this we are doing REST API:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1nJlKTapYj74lZjfqTpMvQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R18JMUWIHwtSm-D32SmPTw.png" /></figure><p>-&gt; We are using a cognito user pool so we have to create an authorizer here in API Gateway. To authenticate call API Gatewat is going to use Json web tokens (jwt’s) that are returned by cognito</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dnyqFi8B-UAB7h6EkN7jyQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4_npyGWj-ULaZYOMVGHS_A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/388/1*1f5AYD6oi4kcmGqBwrta6g.png" /></figure><p>Now when u Click on the Authorizer we created bring the token you copied earlier (when we tested the site we got a popup with token in it, that’s the on and paste it in the token area)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FB88H8XkPSZhZ05VjNFDaA.png" /></figure><p>and test it :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V_W3lO-PlSXU-8Wzdl-RhQ.png" /></figure><p>Note:</p><ul><li>if u have modified something in github redeploy and create new sign in and use the new token and you will get the 200 status</li></ul><p>Go to resources for the API (hook up the lambda function):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VZrzSgnrS_M6Y6qiDCQHiw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rx7uUuPSbrZSqK7grp-9MA.png" /></figure><p>Now create method:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vS6PFaOeCLfWZP1JaJog4w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/822/1*iH1YhPu0nSpgQJUSLSTLWA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uoLbzsizVOHLUuXKSADOAQ.png" /></figure><p>Just change the Authorization and save</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/879/1*INDnX2ylA0bKIjshdtOlPw.png" /></figure><p>Deploy</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NrzZsHpGCDEmfeMN-x17WQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/466/1*VI3aSD_Ve0lXHp5FqjnQ6Q.png" /></figure><p>you will an invoke URL copy it:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6Cj7uPeiJBDpiiDmnK0XIw.png" /></figure><p>paste that in your config.js file in the invoke part</p><p>NOW FINAL Test</p><p>Select place on the map and click on request a ride :(when u open the project from amplify in the end of the link add /signin.html if you redeployed or /ride.html if you are already signed in and test)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hgT7H0gIA8XXGTlaMN8DQQ.png" /></figure><p>new Ride appeared and old removed:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3PxFVcxIaEyiB0BwLGnb-w.png" /></figure><p>the car animation went to the place we selected to request the ride from</p><p>in our Database in DynamoDB we can see all requests of the ride:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/885/1*t4T74eF5HiynmimC6zyzDw.png" /></figure><p>Full Source Code:</p><p><a href="https://github.com/Ichrafsassi/RideFlow/tree/main">GitHub - Ichrafsassi/RideFlow: RideFlow a Full End-to-End AWS Serverless Web App</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8CfZXGiKrXYjVgS7O4-aAA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0b630f0b49ad" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Build a Serverless URL Shortener with AWS Lambda, DynamoDB & API Gateway]]></title>
            <link>https://medium.com/@ichraf.sassi.456/build-a-serverless-url-shortener-with-aws-lambda-dynamodb-api-gateway-fbdaecbe03dc?source=rss-a38ff94e19a1------2</link>
            <guid isPermaLink="false">https://medium.com/p/fbdaecbe03dc</guid>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[api-gateway]]></category>
            <category><![CDATA[aws-lambda]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[dynamodb]]></category>
            <dc:creator><![CDATA[Ichraf]]></dc:creator>
            <pubDate>Mon, 02 Feb 2026 01:38:55 GMT</pubDate>
            <atom:updated>2026-02-02T01:38:55.654Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Credit:</strong> This project is inspired by this <a href="https://www.youtube.com/watch?v=KJLe4BjRYVE">YouTube tutorial</a> and the accompanying <a href="https://github.com/awsdevop183/url-shortener">GitHub repository</a>. I implemented the backend myself and added detailed steps and screenshots (a simple guide for beginners).</p><h3>Introduction</h3><p>Serverless architecture allows us to build fully functional applications without managing servers. In this tutorial, I’ll show you how I built a <em>Serverless URL Shortener</em> entirely on AWS using <strong>Lambda, DynamoDB, and API Gateway</strong>. (without the front-end)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/577/1*vygtAH257pXQPycc5e1-Sg.png" /></figure><p>Cloud skills:</p><ul><li>Database integration</li><li>Serverless compute</li><li>API management</li></ul><h3>Step 1: Set up the Database (DynamoDB)</h3><ul><li>Go to the <strong>DynamoDB console</strong> in AWS.</li><li>Click <strong>Create Table</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*-q3JOA9AB28cRbnKUndFsg.png" /></figure><p>Enter the following:</p><ul><li><strong>Table Name:</strong> url-shortner</li><li><strong>Partition Key:</strong> short_id (String)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*8S-aAMhvltovsEnhb7_--w.png" /></figure><p>Click <strong>Create</strong>.</p><h3>Step 2: Create an IAM Role for Lambda</h3><p>Lambda functions need permissions to read/write to DynamoDB.</p><ol><li>Go to <strong>IAM → Roles → Create Role</strong>.</li><li>Choose <strong>AWS Service → Lambda</strong>.</li><li>Attach the policy <strong>AmazonDynamoDBFullAccess</strong> (or a custom policy with read/write for your table).</li><li>Name the role (e.g., lambda-dynamodb-role) and click <strong>Create</strong>.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*51o5liTiBkGfuX5yXdnyIA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*FOK97EWRd8ZwSAmJdXB5rQ.png" /><figcaption><strong>Use Case : Lambda</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*wuTKbghxSuEwZzRG48N5yg.png" /><figcaption><strong>AmazonDynamoDBFullAccess</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*cmcz1sooY-CI3LwPfgH7Ug.png" /><figcaption><strong>lambda-dynamodb-role</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/211/1*UWbIHlQd0Jq3fMUUL_7RaA.png" /></figure><h3>Step 3: Create the Lambda Functions</h3><p>We need <strong>two Lambda functions</strong>:</p><h3>Function 1 — create_url (POST /shorten)</h3><p>This function generates a unique short ID and stores the mapping in DynamoDB.</p><ol><li>Go to <strong>Lambda → Create Function</strong>.</li><li>Name it create_url.</li><li>Select <strong>Python 3.14</strong> as runtime.</li><li>Choose the IAM role you just created ‘<strong>lambda-dynamodb-role’</strong>.</li><li>Click <strong>Create Function</strong>.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*j6vH7iZEYUra2aT39fTd6A.png" /><figcaption>Go to <strong>Lambda → Create Function</strong>.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*s9RQQenClyQF6nZZ9c2VTQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*jxX9VaKa4awv1UV1PniIGg.png" /><figcaption>Choose the IAM role you just created ‘<strong>lambda-dynamodb-role’</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*FjpbMw1jrzM_aNvpsnc2UA.png" /><figcaption>create_url is created</figcaption></figure><p>Now Paste the code from the GitHub file <a href="https://github.com/awsdevop183/url-shortener/blob/main/create_url.py">create_url.py</a> into the inline editor and click <strong>Deploy</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*VON1MNbvTez8HIzS3hIuqQ.png" /></figure><blockquote>⚠️ Important: Make sure the table name in your code matches exactly the DynamoDB table you created (url-shortner).</blockquote><h3>Function 2 — redirect_url (GET /{short_id})</h3><p>This function looks up a short ID and redirects to the original URL.</p><ol><li>Repeat the same steps to create another Lambda function called redirect_url.</li><li>Paste the code from <a href="https://github.com/awsdevop183/url-shortener/blob/main/redirect_url.py">redirect_url.py</a> and deploy.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*1y1gKSaoalOxrYEGkRGy9Q.png" /></figure><h3>Step 4: Set up API Gateway</h3><p>API Gateway will expose your Lambda functions to the internet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*Ww2kILk4P_-JMeXR4jITPg.png" /></figure><ol><li>Go to <strong>API Gateway → Create API → REST API</strong>.</li><li>Name your API (e.g., url-shortener-api).</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*KeVXVB75NqJJTv9iuofrRw.png" /></figure><p>Chooes <strong>REST API</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*iqmHe2iCwgwpaxes4794qw.png" /></figure><p>After Creating the API -&gt; Create the <strong>resources</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*xMOPLhcq1_SZxqvR5PYbUw.png" /></figure><h3>Resources</h3><ul><li><strong>/shorten</strong> → POST → create_url</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*-BXcgFk5W9PShzI_q887HQ.png" /></figure><ul><li><strong>/{short_id}</strong> → GET → redirect_url</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*DwZ9QdRwovjFk-5BkgT9oA.png" /></figure><p>{short_id} in dictionary, related to redirect_url -&gt; The {short_id} acts as a variable in your URL structure. When a user visits a short link, AWS captures the unique key from that spot in the URL and passes it to your Python function. Your code then uses this key to look up the correct original URL in the database and redirect the user.</p><h3>Methods</h3><p>Create methods for each resource and connect to the corresponding Lambda functions.</p><ul><li><strong>/shorten (POST)</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*reK2JBYcFAuoadey31EWMw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*CiybUvtQKGEpvgHwzT6-Dg.png" /><figcaption>Create the short url</figcaption></figure><ul><li><strong>{short_id} (GET) -&gt; </strong>(<strong>this one is inside the short_id</strong> , to get data from dynamodb):</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*LV-seYv9VpA2wLqX7xV8Ug.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*VCLv95G-RaepClHYkG1FAg.png" /></figure><h3>The post &amp; get methods diagram:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*4hWyM1i4pWo31-lCZV4FHA.png" /><figcaption>API Gateway Diagram</figcaption></figure><h3>Deployment stage setup</h3><p>Deploy the API to a stage called prod.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*iMCVemzIiQVeOKRBfADAbg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/804/1*vd5iD2Msq1_44ELH727rLA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*p-WlZ9CRgs9s7ogqg5pgoA.png" /></figure><p>Copy the <strong>Invoke URL</strong>, which will look like:</p><pre>https://&lt;api-id&gt;.execute-api.&lt;region&gt;.amazonaws.com/prod</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*klwZSzahtJjg1Gw6PUiaVw.png" /></figure><p>This will serve as the base URL for your short links.</p><h3>Step 5: Test the API</h3><p>You can test your API using <strong>Postman</strong>, <strong>curl</strong>, or any HTTP client.</p><p><strong>Example using curl:</strong></p><pre>curl -X POST https://&lt;api-id&gt;.execute-api.&lt;region&gt;.amazonaws.com/prod/shorten \<br>  -H &quot;Content-Type: application/json&quot; \<br>  -d &#39;{&quot;url&quot;: &quot;https://www.google.com&quot;}&#39;</pre><p>Expected response:</p><pre>{<br>  &quot;short_url&quot;: &quot;https://&lt;api-id&gt;.execute-api.&lt;region&gt;.amazonaws.com/prod/XH5a1z&quot;,<br>  &quot;short_id&quot;: &quot;XH5a1z&quot;<br>}</pre><p>Paste the short_url in your browser and you should be redirected to the original URL.</p><p><strong>-&gt; Here I used Postman</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*ee8Hel1jN2RseTXF5lNGQA.png" /></figure><p>Also go to the headers:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*hdpOWZ4-PGo1hxYa1FLJrw.png" /></figure><p>Click send:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*UbDQnLfRMUinvCw0lIS0kA.png" /></figure><p>-&gt; Paste that link in ur browser it will fetch the data and show u google page because the url in the body in postman was set to this :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*AFvB5laqXiiyEX_yCQmHVg.png" /></figure><p>Feel free to change the link</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*_A5LIeZK5ZcAWShVfhPR9A.png" /></figure><p>Now in aws dynamodb u can go to check it in the db:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*0YNQujjoUyVUBwWi5Vbtog.png" /></figure><p>The url is added to the database</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*yKHDUxhlDbccX1w5CMut3g.png" /></figure><h3>Conclusion</h3><p>We’ve built a fully functional, <strong>scalable serverless backend</strong> for a URL shortener using AWS Lambda, DynamoDB, and API Gateway. This demonstrates:</p><ul><li>Serverless compute with Lambda</li><li>Database integration with DynamoDB</li><li>API exposure and routing with API Gateway</li></ul><p>For those who finished this article and want to take the project for further more level you could later add a frontend or custom domain.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fbdaecbe03dc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding AWS Serverless Architecture: How the Pieces Fit Together]]></title>
            <link>https://medium.com/@ichraf.sassi.456/understanding-aws-serverless-architecture-how-the-pieces-fit-together-447d105a1ecd?source=rss-a38ff94e19a1------2</link>
            <guid isPermaLink="false">https://medium.com/p/447d105a1ecd</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[dynamodb]]></category>
            <category><![CDATA[begineers]]></category>
            <category><![CDATA[serverless]]></category>
            <category><![CDATA[aws-lambda]]></category>
            <dc:creator><![CDATA[Ichraf]]></dc:creator>
            <pubDate>Fri, 30 Jan 2026 20:45:31 GMT</pubDate>
            <atom:updated>2026-01-30T20:45:31.043Z</atom:updated>
            <content:encoded><![CDATA[<p>When people hear “serverless” on AWS, they often assume it means <em>no servers at all</em>. In reality, serverless means <strong>you don’t manage servers</strong>, not that they don’t exist. AWS handles the infrastructure so developers can focus on writing code and building features.</p><h3>What Does “Serverless” Mean on AWS?</h3><p>Serverless architecture allows you to run applications without provisioning or maintaining servers. You write code, define triggers, and AWS automatically handles:</p><ul><li>Scaling</li><li>Availability</li><li>Infrastructure maintenance</li></ul><p>You only pay for what you use.</p><h3>Core AWS Services in a Serverless Setup</h3><p>A common AWS serverless architecture is built around three core services:</p><h4>1. Amazon API Gateway</h4><p>Amazon API Gateway acts as the <strong>entry point</strong> to your application. It is responsible for receiving client requests and routing them to backend services.</p><p>API Gateway can:</p><ul><li>Receive HTTP or REST requests</li><li>Validate incoming requests</li><li>Route requests to AWS Lambda</li></ul><p>It is commonly used to expose APIs for web and mobile applications.</p><h4>2. AWS Lambda</h4><p>AWS Lambda is where your <strong>business logic</strong> runs. Instead of managing servers or runtimes, you upload your code and AWS executes it in response to events.</p><p>Lambda can be triggered by:</p><ul><li>API Gateway requests</li><li>File uploads</li><li>Scheduled events</li><li>Messages from other AWS services</li></ul><p>Lambda functions only run when they are needed, which makes them efficient and cost-effective.</p><h4>3. Amazon DynamoDB</h4><p>Amazon DynamoDB is a <strong>fully managed NoSQL database</strong> that integrates seamlessly with serverless applications.</p><p>DynamoDB provides:</p><ul><li>Fast and predictable performance</li><li>Automatic scaling</li><li>Tight integration with AWS Lambda</li></ul><p>It is often used to store application data for serverless APIs and backend services.</p><h3>How a Typical Request Flows</h3><p>A standard serverless request flow on AWS looks like this:</p><ol><li>A client sends an HTTP request</li><li>Amazon API Gateway receives the request</li><li>API Gateway triggers an AWS Lambda function</li><li>Lambda executes logic and optionally interacts with DynamoDB</li><li>Lambda returns a response through API Gateway</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*6WWZu53HjOUt8kU-fpDZgQ.png" /></figure><p>This entire process scales automatically without manual intervention.</p><h3>Why Developers Choose Serverless</h3><p>Serverless architecture is popular among developers and teams because it:</p><ul><li>Reduces operational overhead</li><li>Scales automatically with traffic</li><li>Is cost-efficient for variable workloads</li><li>Encourages modular and event-driven design</li></ul><p>These advantages make serverless a strong choice for modern cloud applications.</p><h3>Conclusion</h3><p>Understanding how AWS serverless services fit together is a strong foundation for building modern cloud applications. Even before deploying anything, knowing <strong>how the architecture works</strong> helps developers design better, more scalable systems.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=447d105a1ecd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How AWS Lambda and API Gateway Work Together (Beginner Overview)]]></title>
            <link>https://medium.com/@ichraf.sassi.456/connecting-aws-lambda-to-api-gateway-building-a-simple-serverless-api-87c74904ba32?source=rss-a38ff94e19a1------2</link>
            <guid isPermaLink="false">https://medium.com/p/87c74904ba32</guid>
            <category><![CDATA[api-gateway]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[serverless]]></category>
            <category><![CDATA[aws-lambda]]></category>
            <dc:creator><![CDATA[Ichraf]]></dc:creator>
            <pubDate>Thu, 29 Jan 2026 20:44:04 GMT</pubDate>
            <atom:updated>2026-01-29T20:55:45.248Z</atom:updated>
            <content:encoded><![CDATA[<p>In a previous article, I introduced <a href="https://medium.com/@ichraf.sassi.456/aws-lambda-explained-for-beginners-what-it-is-and-when-to-use-it-3eca9f6484ed">AWS Lambda</a> and how it allows developers to run code without managing servers. One of the most common next steps after creating a Lambda function is exposing it through an HTTP endpoint.</p><p>⤷ This is where <strong>Amazon API Gateway</strong> comes in.</p><p>This article provides a <strong>beginner-friendly overview</strong> of how AWS Lambda and API Gateway work together to form a simple serverless API</p><h3>What Is aws API Gateway?</h3><p>Amazon API Gateway is a managed service that allows developers to create, publish, and manage APIs.</p><p>It acts as a bridge between:</p><ul><li>Clients (browser, frontend app, mobile app)</li><li>Backend services (such as AWS Lambda)</li></ul><p>API Gateway handles requests and forwards them to Lambda functions.</p><h3>Why Use Lambda with API Gateway?</h3><p>When combined, these two services allow you to:</p><ul><li>Build backend APIs without servers</li><li>Automatically scale with traffic</li><li>Pay only for usage</li><li>Keep infrastructure management minimal</li></ul><p>⤷ This architecture is commonly used for <em>serverless applications</em>.</p><h3>How Lambda and API Gateway Work Together</h3><p>A simple flow looks like this:</p><ol><li>A user sends an HTTP request</li><li>API Gateway receives the request</li><li>API Gateway triggers a Lambda function</li><li>Lambda processes the request</li><li>A response is returned to the user</li></ol><p>⤷ This makes it easy to expose Lambda logic through REST or HTTP APIs.</p><h3>Simple Lambda Function Example</h3><p>Here is a basic Lambda function that returns a JSON response:</p><pre>exports.handler = async (event) =&gt; {<br>  return {<br>    statusCode: 200,<br>    body: JSON.stringify({<br>      message: &quot;Hello from Lambda via API Gateway&quot;<br>    })<br>  };<br>};</pre><p>⤷ When connected to API Gateway, this function can be accessed using a public URL.</p><h3>Common Use Cases</h3><p>This setup is often used for:</p><ul><li>Backend APIs for frontend applications</li><li>Form submissions</li><li>Authentication endpoints</li><li>Lightweight microservices</li><li>Serverless prototypes</li></ul><p>⤷ It is especially useful for small to medium-sized applications.</p><h3>Conclusion</h3><p>Combining AWS Lambda with API Gateway is one of the simplest ways to build scalable APIs on AWS. Understanding how these services interact provides a strong foundation for serverless development and more advanced architectures.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=87c74904ba32" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS Lambda Explained for Beginners: What It Is and When to Use It]]></title>
            <link>https://medium.com/@ichraf.sassi.456/aws-lambda-explained-for-beginners-what-it-is-and-when-to-use-it-3eca9f6484ed?source=rss-a38ff94e19a1------2</link>
            <guid isPermaLink="false">https://medium.com/p/3eca9f6484ed</guid>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[aws-lambda]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[serverless]]></category>
            <dc:creator><![CDATA[Ichraf]]></dc:creator>
            <pubDate>Sun, 25 Jan 2026 15:50:08 GMT</pubDate>
            <atom:updated>2026-01-25T15:50:08.252Z</atom:updated>
            <content:encoded><![CDATA[<p>AWS Lambda is one of the most popular services in the AWS ecosystem, especially for building modern, scalable applications without managing servers.</p><p>This article provides a <strong>beginner friendly technical overview</strong> of AWS Lambda, focusing on what it is, how it works, and when it makes sense to use it.</p><h3>What Is AWS Lambda?</h3><p>AWS Lambda is a <strong>serverless compute service</strong> that lets you run code without provisioning or managing servers.</p><p>Instead of setting up infrastructure:</p><ul><li>You write your code</li><li>Upload it to AWS Lambda</li><li>AWS handles execution, scaling, and availability</li></ul><p>You are charged only for the time your code runs.</p><p><strong>How AWS Lambda Works</strong><br>At a high level, AWS Lambda works like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ex7pli2qkzHhfZFenpxszA.png" /></figure><p>This event-driven model makes Lambda ideal for short, focused tasks.</p><p><strong>A Simple Lambda Function Example</strong></p><p>Below is a very simple AWS Lambda function written in JavaScript (Node.js):</p><pre>exports.handler = async (event) =&gt; {<br>  return {<br>    statusCode: 200,<br>    body: JSON.stringify(&quot;Hello from AWS Lambda!&quot;)<br>  };<br>};</pre><p>This function:</p><ul><li>Receives an event</li><li>Returns a response</li><li>Does not require any server configuration</li></ul><p><strong>Common Use Cases for AWS Lambda</strong></p><p>AWS Lambda is commonly used for:</p><ul><li>Backend APIs</li><li>Processing form submissions</li><li>Handling file uploads</li><li>Automating background tasks</li><li>Supporting frontend applications</li></ul><p>It is often combined with services like API Gateway, S3, or DynamoDB.</p><h3>Why AWS Lambda Is Beginner-Friendly</h3><p>For developers new to AWS:</p><ul><li>No server management is required</li><li>Scaling is automatic</li><li>You can focus on code and logic</li><li>Small experiments are easy and low-cost</li></ul><p>This makes AWS Lambda a great entry point into serverless development.</p><h3>Conclusion</h3><p>AWS Lambda simplifies how applications are built and scaled on the cloud. By understanding its core concepts, developers can start building flexible and cost-effective solutions without dealing with infrastructure complexity.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3eca9f6484ed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding CI/CD on AWS: A Beginner-Friendly Overview]]></title>
            <link>https://medium.com/@ichraf.sassi.456/understanding-ci-cd-on-aws-a-beginner-friendly-overview-89de39860b9e?source=rss-a38ff94e19a1------2</link>
            <guid isPermaLink="false">https://medium.com/p/89de39860b9e</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[ci-cd-pipeline]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Ichraf]]></dc:creator>
            <pubDate>Thu, 22 Jan 2026 20:38:19 GMT</pubDate>
            <atom:updated>2026-01-22T20:38:19.360Z</atom:updated>
            <content:encoded><![CDATA[<p>When starting with cloud development, one of the first concepts that appears everywhere is <strong>CI/CD</strong> which is “Continuous Integration and Continuous Deployment”.</p><p>At first, CI/CD can sound complex, especially when combined with cloud services. In reality, it’s a structured way to automate how code moves from a developer’s machine into a running application.</p><p>This article provides a <strong>beginner-friendly overview of CI/CD on AWS</strong>, without diving into complex configurations yet (<em>the complex stuff will be covered in a separate article this is simple basics</em>).</p><h3>What is CI/CD?</h3><p>CI/CD is a process that helps developers:</p><ul><li>Automatically test code changes</li><li>Build applications consistently</li><li>Deploy updates with less manual work</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lf7iMlDjZ1LqbsIUs43HSg.png" /></figure><p>In simple terms:</p><ul><li><strong>Continuous Integration (CI)</strong> focuses on <em>building and testing code</em></li><li><strong>Continuous Deployment (CD)</strong> focuses on <em>releasing that code</em></li></ul><p>Instead of manually uploading files or running scripts, CI/CD pipelines automate these steps.</p><h3>Why CI/CD Matters in Cloud Development</h3><p>In cloud environments like AWS:</p><ul><li>Applications change frequently</li><li>Manual deployments increase the risk of errors</li><li>Automation improves reliability and speed</li></ul><p>CI/CD helps ensure:</p><ul><li>Faster feedback on code changes</li><li>More consistent deployments</li><li>Better collaboration in teams</li></ul><p>Even for small projects, understanding CI/CD early makes cloud development easier later.</p><h3>Key AWS Services Used in CI/CD</h3><p>AWS provides managed services that work together to form a CI/CD pipeline:</p><ul><li><strong>AWS CodeCommit: </strong>Source control for storing code (similar to GitHub)</li><li><strong>AWS CodeBuild: </strong>Builds and tests code automatically</li><li><strong>AWS CodeDeploy: </strong>Deploys applications to servers or services</li><li><strong>AWS CodePipeline</strong> : Orchestrates the entire pipeline from source to deployment</li></ul><p>These services allow developers to create pipelines without managing servers.</p><h3>A Simple AWS CI/CD Flow (Conceptual)</h3><p>A typical beginner-level pipeline looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R0YRdaxqbCwfBaMHLi6IkQ.png" /></figure><p>→ This flow applies whether the application is a frontend project, backend API, or serverless function.</p><h3>How This Connects to Serverless and Frontend Projects</h3><p>CI/CD on AWS is not limited to traditional servers.</p><p>It can also be used to:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9RaBGGY4efJUDj4k0uhRAQ.png" /></figure><p>→ Understanding the concept first makes it easier to build real pipelines later.</p><h3>Summary</h3><p>This article introduced some of the core ideas behind CI/CD and how they fit into the AWS ecosystem.</p><blockquote><em>More beginner-friendly AWS content coming soon…</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=89de39860b9e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Getting Back to the AWS Community: Why Learning in Public Still Matters]]></title>
            <link>https://medium.com/@ichraf.sassi.456/getting-back-to-the-aws-community-why-learning-in-public-still-matters-2bc651c11e8b?source=rss-a38ff94e19a1------2</link>
            <guid isPermaLink="false">https://medium.com/p/2bc651c11e8b</guid>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[developer-community]]></category>
            <dc:creator><![CDATA[Ichraf]]></dc:creator>
            <pubDate>Wed, 21 Jan 2026 22:39:01 GMT</pubDate>
            <atom:updated>2026-01-21T22:39:01.033Z</atom:updated>
            <content:encoded><![CDATA[<p>Over the past year, my involvement in public AWS community activities has been limited, not because of lack of interest, but because life demanded full focus elsewhere.</p><p>Between completing my graduation and starting a new academic program (Dual Study Program) , most of my energy went into learning, studying, and building skills quietly rather than sharing them publicly. During that time, AWS remained part of my learning journey, especially around cloud fundamentals, frontend integration, and serverless concepts, even if I wasn’t actively publishing content.</p><p>Coming back now, I’m reminded why community contribution matters just as much as technical progress.</p><p>Learning in public isn’t about showing expertise, it’s about documenting understanding, sharing mistakes, and helping others who might be at the same stage. Some of the most valuable content I’ve learned from wasn’t written by experts, but by people explaining things simply, from a learner’s perspective.</p><p>Over the coming weeks, I plan to actively share:</p><ul><li>Beginner-friendly AWS content</li><li>Practical examples related to serverless and frontend development</li><li>Small experiments and lessons learned while building with AWS services</li></ul><p>The goal is not to produce “perfect” tutorials, but useful ones, a content that helps someone else move one step forward.</p><blockquote>If you’re also returning to learning or contributing after a busy period, consider this a reminder: <strong><em>starting again is still progress</em></strong>.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2bc651c11e8b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Decoding the Web Request Journey: Unraveling the Behind-the-Scenes]]></title>
            <link>https://medium.com/@ichraf.sassi.456/decoding-the-web-request-journey-unraveling-the-behind-the-scenes-b638a46ef6f1?source=rss-a38ff94e19a1------2</link>
            <guid isPermaLink="false">https://medium.com/p/b638a46ef6f1</guid>
            <dc:creator><![CDATA[Ichraf]]></dc:creator>
            <pubDate>Sun, 15 Oct 2023 20:14:02 GMT</pubDate>
            <atom:updated>2023-10-15T20:14:02.796Z</atom:updated>
            <content:encoded><![CDATA[<p>In today’s digital age, we often take for granted the seamless experience of typing a web address into our browsers and instantly accessing the desired webpage. However, the process that unfolds behind the scenes is far more intricate than it may seem. In this blog post, we will embark on a journey to unravel the inner workings of a web request, breaking down each step of the process. From DNS requests to loading the webpage on your screen, we will explore the key components that make it all possible.</p><ol><li>Understanding DNS Requests: At the heart of the web request process lies the Domain Name System (DNS) request. We will explore the role of DNS servers, their translation of human-readable domain names like “<a href="http://www.google.com/">www.google.com</a>&quot; into IP addresses, and the mechanisms behind resolving the requested domain.</li><li>Unveiling the Power of TCP/IP:the Transmission Control Protocol/Internet Protocol (TCP/IP), the backbone of internet communication. We will discuss how TCP/IP facilitates reliable data transmission between your browser and the web server, ensuring the integrity and order of the transmitted data packets.</li><li>Navigating Through Firewalls: Firewalls act as gatekeepers, protecting networks from unauthorized access. We will examine how firewalls play a crucial role in filtering incoming and outgoing web traffic, ensuring security while allowing legitimate requests to pass through.</li><li>Securing the Connection with HTTPS/SSL: In an era where online security is paramount, we cannot overlook the significance of HTTPS/SSL protocols. We will explore how these protocols establish a secure and encrypted connection between your browser and the web server, safeguarding sensitive information from prying eyes.</li><li>Balancing the Load: To handle the ever-increasing web traffic, load balancers come into play. We will discuss load balancing techniques that distribute incoming requests across multiple web servers, optimizing performance and ensuring high availability.</li><li>Behind the Scenes of Web Servers: Web servers serve as the backbone of delivering web content to browsers. We will uncover the inner workings of web servers, including how they receive and process requests, retrieve the requested webpages, and send them back to the browser.</li><li>The Role of Application Servers: For dynamic web applications, application servers play a vital role. We will explore how application servers process server-side logic, interact with databases, and generate dynamic content to be sent back to the web server for further processing.</li><li>Unveiling the Database: Behind many web applications lies a database that stores and retrieves data. We will discuss the role of databases in web requests, including data storage, retrieval, and manipulation to provide the requested information.</li></ol><p>By gaining a deeper understanding of the technical intricacies involved in the web request process, software engineers can navigate the digital landscape with confidence. Appreciating the remarkable engineering behind making the web accessible and secure allows us to build robust and efficient web applications.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b638a46ef6f1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>