<?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 Babarizuberi on Medium]]></title>
        <description><![CDATA[Stories by Babarizuberi on Medium]]></description>
        <link>https://medium.com/@babarizuberi?source=rss-b3e4cee3dff8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*w0d-Chr4lmL-3yi7</url>
            <title>Stories by Babarizuberi on Medium</title>
            <link>https://medium.com/@babarizuberi?source=rss-b3e4cee3dff8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 08:27:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@babarizuberi/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[VPC-to-VPC Connectivity]]></title>
            <link>https://medium.com/@babarizuberi/vpc-to-vpc-connectivity-199edf083ebf?source=rss-b3e4cee3dff8------2</link>
            <guid isPermaLink="false">https://medium.com/p/199edf083ebf</guid>
            <dc:creator><![CDATA[Babarizuberi]]></dc:creator>
            <pubDate>Mon, 17 Jul 2023 11:13:53 GMT</pubDate>
            <atom:updated>2023-07-17T11:13:53.618Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>VPC Peering</strong></p><p>👉 In this setup, a connection enables full bidirectional connectivity between the VPCs and traffic routes between the VPCs.<br>👉 VPC peering does not support transitive routing. For example, if a peering connection exists between VPC-A to VPC-B and VPC-B to VPC-C, then traffic cannot route between VPC-A to VPC-C. To route packets between VPC-A and VPC-C, you have to create a direct VPC peering connection.</p><p><strong>AWS Transit Gateway</strong></p><p>👉 AWS Transit Gateway provides a hub and spoke design for connecting VPCs and on-premises networks as a fully managed service.<br>👉 You can attach all your hybrid connectivity (VPN and Direct Connect connections) to a single Transit Gateway instance, consolidating and controlling your organization’s entire AWS routing configuration in one place.<br>👉 Transit Gateway is a Regional resource and can connect thousands of VPCs within the same AWS Region. <br>👉 You can use just one Transit Gateway instance connecting all your VPC instances in a given Region.</p><p><strong>Transit VPC solution</strong></p><p>👉 Transit VPCs can solve some of the shortcomings of VPC peering by introducing a hub and spoke design for inter-VPC connectivity.<br>👉 In a transit VPC network, one central VPC (the hub VPC) connects with every other VPC (spoke VPC) through a VPN connection.<br>👉 Transit VPC solution can be helpful in cases for enabling connectivity between multiple regions.</p><p><strong>AWS Private Link</strong></p><p>👉 AWS PrivateLink provides private connectivity between VPCs, AWS services, and your on-premises networks without exposing your traffic to the public internet.<br>👉 This allows customers who may want to privately expose a service/application residing in one VPC (service provider) to other VPCs (consumer) within an AWS Region in a way that only consumer VPCs initiate connections to the service provider VPC.</p><p><strong>VPC Sharing</strong></p><p>👉 Sharing VPCs is useful when network isolation between teams does not need to be strictly managed by the VPC owner, but the account level users and permissions must be.<br>👉 With Shared VPC, multiple AWS accounts create their application resources (such as Amazon EC2 instances) in shared, centrally managed Amazon VPCs.<br>👉 In this model, the account that owns the VPC (owner) shares one or more subnets with other accounts (participants).</p><p><strong>Private NAT Gateway</strong></p><p>👉 A Private NAT Gateway can be helpful to route traffic between VPCs with overlapping CIDRs.<br>👉 A private NAT gateway uses a unique private IP address to perform network address translation for the overlapping source IP address, and a unique destination IP address that load balances the destination overlapping IP address.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/711/1*GQA73y_jJLdueJEPnTKeOw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=199edf083ebf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Transforming Amazon API Gateway Access Log Into Prometheus Metrics]]></title>
            <link>https://medium.com/@babarizuberi/transforming-amazon-api-gateway-access-log-into-prometheus-metrics-c8c9fd0c3a3b?source=rss-b3e4cee3dff8------2</link>
            <guid isPermaLink="false">https://medium.com/p/c8c9fd0c3a3b</guid>
            <dc:creator><![CDATA[Babarizuberi]]></dc:creator>
            <pubDate>Thu, 06 Jul 2023 13:23:42 GMT</pubDate>
            <atom:updated>2023-07-06T13:23:42.624Z</atom:updated>
            <content:encoded><![CDATA[<h3><a href="https://community.aws/posts/transforming-amazon-api-gateway-access-log-into-prometheus-metrics#challenges">Challenges</a></h3><h3>When working with Amazon API Gateway, there are several challenges you may encounter. Particularly in terms of observability, here are some challenges:</h3><ul><li>Metrics and Monitoring: API Gateway offers some basic metrics and monitoring capabilities, but they might not be sufficient for in-depth observability. You may need to integrate with AWS CloudWatch or other monitoring solutions to collect and analyze metrics like latency, error rates, and request throughput, etc.</li><li>Debugging: Debugging issues within API Gateway can be tricky due to limited visibility into the inner workings of the service. It’s crucial to utilize logging, metrics, and distributed tracing to identify and troubleshoot issues effectively. Additionally, thorough testing and monitoring of API Gateway configurations are essential.</li><li>Error Handling: API Gateway can return various types of errors and status codes. Proper error handling and monitoring mechanisms are crucial to ensure you can identify and address errors promptly. Configuring appropriate alarms or integrating with other monitoring tools can help in this regard.</li><li>Scalability and Performance: As API traffic grows, ensuring scalability and optimal performance becomes crucial. Monitoring and observability can help you identify bottlenecks, optimize resource allocation, and monitor the overall health and performance of backend services of the API Gateway.</li></ul><h3><a href="https://community.aws/posts/transforming-amazon-api-gateway-access-log-into-prometheus-metrics#solution">Solution</a></h3><p>As the API Gateway access log already includes all the essential information, I would utilize it to obtain insightful metrics. Given that I am utilizing the Prom stack (Prometheus, Alertmanager, Grafana) as my observability platform, I would like to find a solution to convert the API Gateway access log into Prometheus metrics. This will enable seamless integration with my current tools and framework.</p><p>There are numerous tools available that facilitate the transformation of logs into Prometheus metrics. Additionally, it is possible to develop a custom tool for this purpose. Personally, I have a preference for open-source solutions, and in my experience, I have found <a href="https://vector.dev/">vector.dev</a> to be a powerful and high-performance tool for observability purposes. It effectively caters to my requirements in this particular use case.</p><h3><a href="https://community.aws/posts/transforming-amazon-api-gateway-access-log-into-prometheus-metrics#architecture">Architecture</a></h3><p>The following diagram illustrates my solution for transforming API Gateway access logs into Prometheus metrics:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jyAZW140fTSP5JC6" /></figure><p>Architecture Oveview</p><p>The solution’s basic flow for converting API Gateway access logs into Prometheus metrics is as follows:</p><ol><li>API Gateway is configured to generate access logs, which are then sent to CloudWatch Logs</li><li>CloudWatch Logs Subscription Filter is employed to forward the access logs to a Lambda function</li><li>The Lambda function performs additional enhancements on the access logs and dispatches them to an SQS queue</li><li><a href="https://vector.dev/">Vector</a> deployment is implemented, utilizing either ECS tasks or EKS pods. This deployment retrieves the access logs from the SQS queue and transforms them into Prometheus metrics, while also exposing these metrics</li><li>Prometheus scrapes the metrics exposed by Vector</li><li>Lastly, Grafana queries the Prometheus metrics and visualizes them in the form of graphs</li></ol><h3><a href="https://community.aws/posts/transforming-amazon-api-gateway-access-log-into-prometheus-metrics#conclusion">Conclusion</a></h3><p>With just two basic metrics extracted from the access log, we have gained valuable insights into both the performance of the system and the behavior of our clients. These metrics can be easily integrated into the existing monitoring and alarm tools, enhancing the overall system visibility.</p><p>The solution we have implemented demonstrates a high level of availability and scalability. For instance, when it comes to lambda functions, we can optimize their performance and minimize cold starts by appropriately configuring provisioned concurrency. Additionally, the Vector deployment can be scaled either vertically or horizontally, enabling us to allocate resources efficiently as per our needs.</p><p>Furthermore, this solution is not limited to a single account; it can be expanded to include multiple accounts. This capability becomes particularly advantageous when a centralized monitoring solution is required for multiple accounts across the organization. It allows for streamlined management and oversight, simplifying the overall monitoring process.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c8c9fd0c3a3b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Securing engineering collaboration with third parties]]></title>
            <link>https://medium.com/@babarizuberi/securing-engineering-collaboration-with-third-parties-d68dd7b254d8?source=rss-b3e4cee3dff8------2</link>
            <guid isPermaLink="false">https://medium.com/p/d68dd7b254d8</guid>
            <dc:creator><![CDATA[Babarizuberi]]></dc:creator>
            <pubDate>Wed, 05 Jul 2023 11:14:27 GMT</pubDate>
            <atom:updated>2023-07-05T11:14:27.578Z</atom:updated>
            <content:encoded><![CDATA[<p>Collaboration with third parties is essential during development in order to debug tool problems, get help with IP integration for designs, and to bring in external contractors with specialized skills. It can be difficult to provide secure access to third parties from on-premises infrastructure. By using AWS infrastructure as code (IaC), you can create a copy of your primary secure development environment, called a <em>collaboration chamber</em>. To help prevent data exfiltration, tighten the security posture of a collaboration chamber by not allowing access to the internet. A collaboration chamber has accounts for the collaborators, and you can curate the data, tools, and infrastructure in the chamber to include only what is required for the collaboration. When the collaboration is done, delete the collaboration chamber in order to reduce costs and to remove any potential access to the data. The following diagram shows how different participants in the design and manufacturing process might use various types of collaboration chambers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*e8tZVCvaVoVkYAxe.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d68dd7b254d8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS Observability Accelerator for CDK]]></title>
            <link>https://medium.com/@babarizuberi/aws-observability-accelerator-for-cdk-c31a7d999b7e?source=rss-b3e4cee3dff8------2</link>
            <guid isPermaLink="false">https://medium.com/p/c31a7d999b7e</guid>
            <dc:creator><![CDATA[Babarizuberi]]></dc:creator>
            <pubDate>Wed, 05 Jul 2023 11:10:54 GMT</pubDate>
            <atom:updated>2023-07-05T11:10:54.469Z</atom:updated>
            <content:encoded><![CDATA[<p>A set of modules to help you set up observability for your AWS environments with AWS Native and AWS Managed observability services such as AMP (Amazon Managed Service for Prometheus), AMG (Amazon Managed Grafana), ADOT (AWS Distro for OpenTelemetry) and CloudWatch.</p><p>It provides curated metrics, logs, traces collection, cloudwatch dashboard, alerting rules and Grafana dashboards for your EKS infrastructure, Java/JMX, NGINX based workloads and your custom applications.</p><p>GitHub 🔗 <a href="https://lnkd.in/d2_NK3yz">https://lnkd.in/d2_NK3yz</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*B_FH159oSBcIVWhp" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c31a7d999b7e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Enhancing User Safety with AI Moderation!]]></title>
            <link>https://medium.com/@babarizuberi/enhancing-user-safety-with-ai-moderation-8a54389a15cf?source=rss-b3e4cee3dff8------2</link>
            <guid isPermaLink="false">https://medium.com/p/8a54389a15cf</guid>
            <dc:creator><![CDATA[Babarizuberi]]></dc:creator>
            <pubDate>Tue, 04 Jul 2023 19:47:15 GMT</pubDate>
            <atom:updated>2023-07-04T19:47:15.869Z</atom:updated>
            <content:encoded><![CDATA[<p>In a world where user safety is paramount, leveraging advanced AI technologies can make all the difference!</p><p>Dive into a remarkable solution that combines the power of Amazon Comprehend and Amazon Rekognition to moderate Stable Diffusion input prompts and output images.</p><p>By incorporating multiple moderation layers, we can significantly mitigate the risk of generating unsafe content, ensuring a safer and more dependable user experience.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/745/1*c4jIq8EQCqKYWIxS2PKZ_w.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8a54389a15cf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[  ]]></title>
            <link>https://medium.com/@babarizuberi/-cb3d21de564c?source=rss-b3e4cee3dff8------2</link>
            <guid isPermaLink="false">https://medium.com/p/cb3d21de564c</guid>
            <dc:creator><![CDATA[Babarizuberi]]></dc:creator>
            <pubDate>Tue, 04 Jul 2023 10:25:54 GMT</pubDate>
            <atom:updated>2023-07-04T10:25:54.680Z</atom:updated>
            <content:encoded><![CDATA[<p>𝐀𝐖𝐒 𝐒𝐞𝐜𝐮𝐫𝐢𝐭𝐲 𝐂𝐡𝐞𝐜𝐤𝐥𝐢𝐬𝐭<br>🔹 Permit CloudTrail logging across all Amazon Web Services.<br>🔹Set on CloudTrail log file validation.<br>🔹Permit CloudTrail multi-region logging.<br>🔹Combine CloudTrail with CloudWatch.<br>🔹Permit access logging for CloudTrail S3 buckets.<br>🔹Permit access logging for Elastic Load Balancer (ELB).<br>🔹Permit Redshift audit logging.<br>🔹Permit Virtual Private Cloud (VPC) flow logging.<br>🔹Multifactor authentication (MFA) is required to delete CloudTrail buckets.<br>🔹Set multifactor authentication for the “root” account.<br>🔹Set on multifactor authentication for IAM users.<br>🔹Permit IAM users for multi-mode access.<br>🔹Link IAM policies to groups or roles.<br>🔹Regularly rotate IAM access keys, and standardize on the selected number of days.<br>🔹strict password policy must be set up<br>🔹Set the password termination session to 90 days<br>🔹Expired SSL/TLS certificates should not be used<br>🔹User HTTPS for CloudFront distributions.<br>🔹Limit access to the CloudTrail bucket.<br>🔹Encrypt the CloudTrail log files at rest.<br>🔹Elastic Block Store (EBS) database must be encrypted<br>🔹Provision access to resources using IAM roles.<br>🔹Using root user accounts should be avoided<br>🔹SSL secure cyphers must be applied while connecting between the client and ELB.<br>🔹SSL secure versions must be used while connecting between ELB and the Client.<br>🔹Use a standard naming (tagging) convention for EC2.<br>🔹Encrypt Amazon’s Relational Database Service (RDS).<br>🔹Access keys should not be used with root accounts.<br>🔹Use secure CloudFront SSL versions.<br>🔹Permit the require_ssl parameter in all Redshift clusters.<br>🔹Periodically rotate SSH keys<br>🔹Number of discrete security groups should be minimized<br>🔹Reduce the number of IAM groups.<br>🔹Terminate available access keys.<br>🔹Disable access for unused or inactive IAM users.<br>🔹Remove unused IAM access keys.<br>🔹Delete unused SSH Public Keys.<br>🔹Limit access to Amazon Machine Images (AMIs).<br>🔹Limit access to EC2 security groups.<br>🔹Limit access to RDS instances.<br>🔹Limit access to Redshift clusters.<br>🔹Limit access to outbound access.<br>🔹Disallow unrestricted ingress access on different ports.<br>🔹Limit access to well-known ports such as CIFS, FTP, ICMP, SMTP, SSH, and Remote desktop.<br>🔹Involve IT security throughout the development process.<br>🔹Limited privileges should be granted as possible for application users.<br>🔹Encrypt highly sensitive data such as personally identifiable information (PII) or protected health information (PHI)<br>Source: <a href="https://lnkd.in/dA8z36ca">https://lnkd.in/dA8z36ca</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/537/1*Z-A1bJGgrMcUPhovhpZkBg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cb3d21de564c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS EC2 Instance Connect Endpoint]]></title>
            <link>https://medium.com/@babarizuberi/aws-ec2-instance-connect-endpoint-ae57031b1243?source=rss-b3e4cee3dff8------2</link>
            <guid isPermaLink="false">https://medium.com/p/ae57031b1243</guid>
            <dc:creator><![CDATA[Babarizuberi]]></dc:creator>
            <pubDate>Mon, 03 Jul 2023 17:46:31 GMT</pubDate>
            <atom:updated>2023-07-03T17:46:31.746Z</atom:updated>
            <content:encoded><![CDATA[<p>AWS EC2 Instance Connect Endpoint: New feature, Great convenience, Its installation step by step. We will miss you Bastion Host/Jump Box…</p><p>AWS gave customers new ways to securely and seamlessly connect their EC2 instances in the public and private subnets without the need for a bastion host, at its annual re:Inforce security conference: AWS Instance Connect Endpoint (EIC Endpoint). Thanks to EIC Endpoint, we now have SSH and RDP connectivity to our EC2 instances in the private subnets, using private IP addresses, without using Bastion Host.</p><p>In this article, we will create step-by-step an AWS Instance Connect Endpoint to Amazon Elastic Compute Cloud (Amazon EC2) instances in private subnets and we will connect it without the need for a Bastion Host.<br>Also, we will talk about AWS Instance Connect Endpoint, its feature, limitations, and the ways to use it.<br>We will do it all step by step.</p><p>Topics we will cover:<br>1. What is the AWS Instance Connect Endpoint?<br>2. Creating an AWS Instance Connect Endpoint.<br>2. a. Creating the test environment<br>2. b. Create an EC2 Instance Connect Endpoint<br>3. Connecting the EC2 Linux instance in the private subnet using the Amazon EC2 console<br>4. Connecting the EC2 Linux instance in the private subnet using the SSH<br>4. a. Creating the role<br>4. a. Creating the policy<br>4. c. Assigning the policy to the role<br>4. d. Update AWS CLI, the command below.<br>4. e. Connecting the EC2 Linux instance in the private subnet using the SSH<br>5. As a result<br>6. Next post<br>7. References</p><p>Article link: <a href="https://lnkd.in/d5pa5q4p">https://lnkd.in/d5pa5q4p</a><br>Source files Link: <a href="https://lnkd.in/dCgPJQsW">https://lnkd.in/dCgPJQsW</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ae57031b1243" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Terraform on AWS — Workshop]]></title>
            <link>https://medium.com/@babarizuberi/terraform-on-aws-workshop-940e8b559c47?source=rss-b3e4cee3dff8------2</link>
            <guid isPermaLink="false">https://medium.com/p/940e8b559c47</guid>
            <dc:creator><![CDATA[Babarizuberi]]></dc:creator>
            <pubDate>Mon, 03 Jul 2023 15:36:29 GMT</pubDate>
            <atom:updated>2023-07-03T15:36:29.039Z</atom:updated>
            <content:encoded><![CDATA[<p>Terraform on AWS — Workshop</p><p>▫️ Understand the basic building blocks of Terraform (providers, data sources, resources, etc)<br>▫️ Develop your first Terraform project on AWS<br>▫️ Getting started into a typical workflow for Terraform<br>▫️ Update and deploy changes into your infrastructure environment</p><p>🔗 <a href="https://lnkd.in/dQHKQkcv">https://lnkd.in/dQHKQkcv</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/923/1*SgsJUAYXH1Bd8CmAIJGkaA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=940e8b559c47" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>