<?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 Navdeep Singh on Medium]]></title>
        <description><![CDATA[Stories by Navdeep Singh on Medium]]></description>
        <link>https://medium.com/@navdeep.singh.kanwal?source=rss-4e03f6212e4e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Navdeep Singh on Medium</title>
            <link>https://medium.com/@navdeep.singh.kanwal?source=rss-4e03f6212e4e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 25 Nov 2026 01:05:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@navdeep.singh.kanwal/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[Implementing Guardrails in AWS Control Tower for Secure and Compliant Cloud Environments]]></title>
            <link>https://medium.com/@navdeep.singh.kanwal/implementing-guardrails-in-aws-control-tower-for-secure-and-compliant-cloud-environments-fe6a7cc1e0dc?source=rss-4e03f6212e4e------2</link>
            <guid isPermaLink="false">https://medium.com/p/fe6a7cc1e0dc</guid>
            <category><![CDATA[aws-security]]></category>
            <category><![CDATA[aws-landing-zone]]></category>
            <category><![CDATA[aws-control-tower]]></category>
            <dc:creator><![CDATA[Navdeep Singh]]></dc:creator>
            <pubDate>Wed, 12 Mar 2025 16:14:41 GMT</pubDate>
            <atom:updated>2025-03-12T16:14:41.733Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>AWS Control Tower is a powerful service that simplifies multi-account management in AWS Organizations by enforcing governance, security, and compliance at scale. One of its key features is <strong>Guardrails</strong>, which help ensure that AWS environments adhere to best practices by implementing <strong>preventive, detective, and proactive controls</strong>.</p><p>In this blog, we will explore the different types of guardrails available in AWS Control Tower and how they help organizations establish a well-governed AWS environment.</p><h3>Acknowledgment</h3><p>I would like to extend my gratitude to <strong>Futuralis</strong>, my present organization, for providing an environment that fosters continuous learning and growth. Futuralis’ commitment to innovation and excellence in cloud solutions has enabled me to deepen my expertise in AWS governance and security best practices. Their support has been instrumental in exploring and implementing advanced AWS Control Tower capabilities.</p><h3>What Are Guardrails?</h3><p>Guardrails in AWS Control Tower are <strong>pre-configured rules</strong> that help organizations enforce policies and security best practices across AWS accounts. They provide <strong>automated governance</strong>, ensuring that resources remain within the security and compliance boundaries set by the organization.</p><h3>Types of Guardrails</h3><p>Guardrails in AWS Control Tower are categorized into three types:</p><h3>1. Preventive Guardrails</h3><p>These guardrails <strong>proactively prevent</strong> actions that may lead to security risks or non-compliance. They are implemented using <strong>AWS Service Control Policies (SCPs)</strong>, which restrict certain operations at the organization level.</p><p><strong>Examples:</strong></p><ul><li>Prevent changes to AWS CloudTrail configuration.</li><li>Prevent users from disabling security services such as AWS Config and GuardDuty.</li><li>Restrict the creation of public Amazon S3 buckets.</li></ul><h3>2. Detective Guardrails</h3><p>These guardrails <strong>detect and alert</strong> when resources deviate from predefined security and compliance standards. They use <strong>AWS Config rules</strong> to continuously monitor AWS accounts.</p><p><strong>Examples:</strong></p><ul><li>Ensure AWS Config is enabled in all accounts.</li><li>Detect if an Amazon S3 bucket is publicly accessible.</li><li>Detect if root account MFA is disabled.</li></ul><h3>3. Proactive Guardrails</h3><p>Introduced recently, proactive guardrails prevent misconfigurations <strong>at the time of resource creation</strong> by enforcing best practices before deployment.</p><p><strong>Examples:</strong></p><ul><li>Ensure IAM roles follow the least privilege principle.</li><li>Enforce tagging policies for better cost management.</li></ul><h3>Benefits of Using Guardrails</h3><ul><li><strong>Consistent Security &amp; Compliance</strong> — Ensure all AWS accounts adhere to industry best practices.</li><li><strong>Automated Governance</strong> — Reduce manual effort in enforcing policies across multiple accounts.</li><li><strong>Real-time Monitoring</strong> — Get alerts when non-compliant configurations are detected.</li><li><strong>Scalability</strong> — Easily enforce security policies across multiple AWS accounts without additional effort.</li></ul><h3>Best Practices</h3><ul><li><strong>Evaluate Guardrail Impact</strong> — Test elective and preventive guardrails in a sandbox account before enabling them organization-wide.</li><li><strong>Engage Stakeholders</strong> — Ensure developers, security teams, and operations teams understand the impact of each guardrail.</li><li><strong>Monitor Continuously</strong> — Use AWS Control Tower dashboards and AWS Security Hub to track compliance.</li><li><strong>Plan for Exceptions</strong> — If certain workflows are impacted, consider organization-specific SCPs or custom policies instead of rigid guardrails.</li></ul><h3>Challenges of Modifying Guardrails</h3><p>If you implement guardrails and later decide to change them, you may face several challenges:</p><h3>1. Mandatory Guardrails Are Immutable</h3><ul><li>Mandatory guardrails <strong>cannot be disabled or modified</strong>, so organizations must ensure they align with business needs before enabling AWS Control Tower.</li></ul><h3>2. Impact on Existing Workflows</h3><ul><li>Preventive guardrails (SCPs) can <strong>block certain actions</strong>, potentially impacting CI/CD pipelines, automation scripts, or third-party integrations.</li><li>Developers or administrators might face <strong>restrictions on deploying or managing resources</strong>.</li></ul><h3>3. Potential Service Disruptions</h3><ul><li>If you disable or change <strong>detective guardrails</strong>, non-compliant resources might go unnoticed, leading to security vulnerabilities.</li><li>Removing preventive guardrails could expose the environment to <strong>misconfigurations or unauthorized access</strong>.</li></ul><h3>4. Governance Across Multiple Accounts</h3><ul><li>If a guardrail is enforced at the <strong>organizational unit (OU) level</strong>, changing it may require reassessing security across multiple accounts.</li><li>Different teams may have different security needs, making it difficult to balance <strong>security and operational flexibility</strong>.</li></ul><h3>5. Rollback Complexity</h3><ul><li>If a guardrail blocks a required action, <strong>temporary exemptions or SCP modifications</strong> may be necessary.</li><li>Removing a guardrail does <strong>not automatically revert changes</strong>; manual corrections may be required.</li></ul><h3>6. AWS Service Dependencies</h3><ul><li>Some guardrails rely on <strong>AWS Config, AWS Organizations, or AWS CloudTrail</strong>. Disabling guardrails might affect monitoring and logging, reducing visibility into account activity.</li></ul><h3>Conclusion</h3><p>AWS Control Tower guardrails play a crucial role in maintaining security and compliance across AWS environments. By leveraging <strong>preventive, detective, and proactive guardrails</strong>, organizations can establish a well-architected governance framework, reducing security risks and ensuring regulatory compliance.</p><p>Implementing guardrails is an essential step toward a <strong>secure and well-managed cloud environment</strong>. Start leveraging AWS Control Tower today and enforce security best practices across your AWS accounts effortlessly!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fe6a7cc1e0dc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Microservices Architecture]]></title>
            <link>https://medium.com/@navdeep.singh.kanwal/microservices-architecture-67f8b3027e6d?source=rss-4e03f6212e4e------2</link>
            <guid isPermaLink="false">https://medium.com/p/67f8b3027e6d</guid>
            <category><![CDATA[microservice-architecture]]></category>
            <dc:creator><![CDATA[Navdeep Singh]]></dc:creator>
            <pubDate>Wed, 13 Nov 2024 17:30:16 GMT</pubDate>
            <atom:updated>2024-11-13T18:08:34.432Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AT4BbSk21iChlBJvtotHGw.jpeg" /></figure><h4>1. <strong>Introduction</strong></h4><ul><li>Definition: Microservices architecture is a design approach where applications are built as a suite of small, independently deployable services, each focused on a specific business function.</li><li>Principles: Follows principles of modularization, decentralization, and autonomy of services, emphasizing separation of concerns and continuous delivery.</li><li>Typical Use Cases: Ideal for complex, scalable applications requiring flexibility, such as e-commerce platforms, SaaS products, and any application with multiple functional modules needing independent scaling.</li></ul><h4>2. Benefits</h4><ul><li>Scalability: Each microservice can scale independently, allowing optimized use of resources per service demand.</li><li>Fault Isolation: Failures in one service do not necessarily affect others, enhancing overall system resilience.</li><li>Flexibility in Technology Stack: Teams can choose the best-suited technology for each service, allowing a polyglot architecture.</li><li>Improved Development Speed: Teams can develop, test, and deploy services independently, promoting faster delivery cycles.</li><li>Easier Maintenance and Modularity: Clear boundaries make it easier to modify or replace individual services.</li></ul><h4>3. Challenges and Limitations</h4><ul><li>Complexity: Managing multiple services introduces complexity, especially in communication, service orchestration, and data consistency.</li><li>Network Latency: Service-to-service communication over the network can introduce latency and affect performance.</li><li>Data Management: Ensuring data consistency across services can be challenging, especially with distributed transactions.</li><li>Operational Overhead: Requires mature DevOps and monitoring practices for effective deployment, logging, and error tracking.</li></ul><h4>4. Components and Key Elements</h4><ul><li>Service Modules: Small, self-contained services each handling a specific business functionality (e.g., user service, inventory service).</li><li>APIs: Services communicate primarily over HTTP or messaging APIs (e.g., RESTful APIs, GraphQL, gRPC).</li><li>Service Discovery: Dynamically locates instances of services (e.g., AWS Cloud Map).</li><li>Message Broker: Manages asynchronous communication and event-driven architectures (e.g., Amazon SQS, Amazon SNS, or Amazon EventBridge).</li><li>API Gateway: A single entry point for client requests, which routes to appropriate microservices (e.g., Amazon API Gateway).</li></ul><h4>5. Deployment and DevOps Compatibility</h4><ul><li>CI/CD Pipelines: Automation of build, test, and deployment processes is critical (e.g., AWS CodePipeline, AWS CodeBuild).</li><li>Containerization: Containers allow consistent deployment across environments. AWS offers services like Amazon ECS (Elastic Container Service) and EKS (Elastic Kubernetes Service) for container management.</li><li>Infrastructure as Code (IaC): Managing infrastructure using tools like AWS CloudFormation and AWS CDK helps in version control and automation.</li><li>Blue-Green and Canary Deployments: Enables safer deployments by reducing downtime and allowing gradual traffic shift (supported via AWS CodeDeploy).</li></ul><h4>6. Security</h4><ul><li>Service-to-Service Authentication: Use of AWS IAM roles, policies, and security groups to control access.</li><li>Data Encryption: Both in-transit (via TLS) and at-rest (using services like AWS KMS for encryption keys).</li><li>API Security: AWS API Gateway provides built-in security features, including IAM permissions, API keys, and AWS WAF for protection against common web exploits.</li><li>Identity and Access Management: AWS IAM manages secure access to services and resources, while Amazon Cognito can handle user authentication.</li></ul><h4>7. Use Cases and Suitability</h4><ul><li>Complex, Scalable Applications: High-demand applications that require independent scaling and frequent updates (e.g., media streaming, banking, e-commerce).</li><li>Organizations with Multiple Development Teams: Facilitates parallel development and ownership of individual services, allowing teams to work on different services autonomously.</li><li>Event-Driven Architectures: Applications requiring real-time responses to events (e.g., IoT, real-time analytics).</li></ul><h4>8. Ecosystem and Integrations</h4><ul><li>Database per Service Pattern: Each microservice can have its own database, reducing coupling and allowing data models optimized for specific services.</li><li>Integration with AWS Services: Easily integrates with AWS services like Amazon DynamoDB, RDS, S3, CloudWatch, and others.</li><li>Event-Driven Communication: Supports asynchronous communication using AWS services like Amazon SQS, SNS, and EventBridge for decoupling services.</li></ul><h4>9. Best Practices and Patterns</h4><ul><li>Service-Oriented Design: Each service should follow the single responsibility principle to avoid creating dependencies.</li><li>Centralized Logging and Monitoring: Use Amazon CloudWatch for unified logging and monitoring, and AWS X-Ray for distributed tracing across services.</li><li>API Gateway: An API Gateway can manage all incoming requests and handle cross-cutting concerns like authentication and rate limiting.</li><li>Circuit Breaker Pattern: Prevents cascading failures across services by stopping requests to failing services (can be implemented with AWS Elastic Load Balancer and CloudWatch alarms).</li></ul><h4>10. Evolving Trends and Innovations</h4><ul><li>Service Mesh: AWS App Mesh simplifies the management of service-to-service communication by managing traffic routing, security, and observability.</li><li>Serverless Microservices: AWS Lambda offers serverless options for microservices, providing automatic scaling and managing infrastructure.</li><li>Event-Driven Microservices: EventBridge and Lambda allow triggering services based on specific events, promoting an event-driven architecture.</li></ul><h3>Deployment Infrastructure on AWS</h3><p><strong>Compute Options</strong></p><ul><li>Amazon ECS and EKS: AWS offers both Elastic Container Service (ECS) and Elastic Kubernetes Service (EKS) for deploying containers, providing options for orchestration.</li><li>AWS Fargate: A serverless compute engine for containers that works with both ECS and EKS, removing the need to manage servers.</li></ul><p><strong>Networking</strong></p><ul><li>Amazon VPC: Each microservice is hosted within an Amazon Virtual Private Cloud (VPC) to ensure network isolation and security.</li><li>Elastic Load Balancing: Application Load Balancers (ALB) direct incoming traffic to specific microservices, while Network Load Balancers (NLB) handle high-throughput requests.</li><li>Service Discovery with AWS Cloud Map: Simplifies the process of locating services, especially in dynamic environments with autoscaling.</li></ul><p><strong>API Gateway and Edge Routing</strong></p><ul><li>Amazon API Gateway: Acts as a single entry point for all requests, handles authentication, authorization, throttling, and API versioning.</li><li>Amazon CloudFront: Distributes content globally, improving latency and caching frequently accessed data.</li></ul><p><strong>Storage and Databases</strong></p><ul><li>Amazon RDS and DynamoDB: RDS for relational databases and DynamoDB for NoSQL databases, allowing service-specific data storage.</li><li>Amazon S3: Used for shared storage requirements like media, documents, and backups.</li></ul><p><strong>CI/CD and IaC</strong></p><ul><li>AWS CodePipeline, CodeBuild, and CodeDeploy: Enables CI/CD for automating the build, test, and deployment stages.</li><li>CloudFormation and CDK: Allows infrastructure as code, managing and provisioning infrastructure in a consistent, repeatable way.</li></ul><p><strong>Observability and Monitoring</strong></p><ul><li>Amazon CloudWatch: Monitors performance metrics, logs, and sets alarms for specific thresholds.</li><li>AWS X-Ray: Provides distributed tracing, useful for monitoring microservice interactions and identifying bottlenecks.</li><li>Datadog, NewRelic : Monitors performance metrics, logs and set alarms with these third party tools which are designed for enterprise grade solutions.</li></ul><p><strong>Authentication and Authorization</strong></p><ul><li>AWS IAM and Amazon Cognito: Manages user identities and access control, supports multi-factor authentication, and integrates with API Gateway.</li><li>Okta : is one of the trustworthy and widely used identity manager go to market service.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=67f8b3027e6d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>