Skip to content

aziz@azizmohamed.com

Mastering AWS CLI: Advanced Techniques and Best Practices for Efficient Cloud Management

The AWS Command Line Interface (CLI) is a powerful tool that enables cloud engineers, developers, and administrators to interact with AWS services directly from their terminal. While many users are familiar with its basic functions, the AWS CLI offers a range of advanced capabilities for automation, multi-account management, and efficient cloud resource handling.

In this blog post, we explore these advanced techniques, including the use of profiles for managing multiple AWS accounts, automating tasks with shell scripts, batch processing large workloads, and leveraging the power of JMESPath for precise data extraction. Learn how to optimize AWS CLI to streamline your workflows, automate complex tasks, and improve productivity in cloud operations.

Securely Automate AWS CDK Deployments with GitHub Actions—No Access Keys Needed!

Learn how to securely automate AWS CDK deployments using GitHub Actions without exposing or storing access keys. By leveraging OpenID Connect (OIDC) and IAM roles, you can eliminate the need for long-term AWS credentials, allowing GitHub to dynamically assume roles for secure CDK operations. This guide walks you through setting up the connection and highlights the essential permissions created by the CDK bootstrap process.

AWS CDK Bootstrap: A Comprehensive Guide

AWS CDK Bootstrap is a critical step in setting up your AWS environment for deploying infrastructure using the AWS Cloud Development Kit. It creates necessary resources like S3 buckets and IAM roles to support your CDK apps. This guide covers how to run the bootstrap process, troubleshoot issues, and follow best practices for securing and maintaining your bootstrap stack across multiple AWS accounts and regions. Learn how to streamline your CDK deployments with this foundational setup.

Enhancing Security and Compliance with AWS CDK and CDK-Nag: A Complete Guide

In this post, we explore how to enhance the security and compliance of your AWS infrastructure using the AWS Cloud Development Kit (CDK) and CDK-Nag. CDK-Nag helps enforce AWS Well-Architected Framework best practices by running automatic audits on your CDK stacks. Learn how to integrate CDK-Nag into your project, apply global security checks, and incorporate these checks into your unit tests and CI/CD pipeline. By automating compliance checks and addressing issues early, you ensure that your infrastructure remains secure and compliant throughout the development lifecycle.

Full-Stack AWS Serverless Uncovered: Build, Secure, and Scale with Confidence

In this tutorial, we guide you through building a serverless full-stack application using AWS CDK and React, integrating services like Cognito for authentication, API Gateway, Lambda, and DynamoDB. You’ll learn how to secure your APIs with Bearer token authentication and create scalable, serverless applications while focusing on writing code—not managing infrastructure. Ready to take your understanding of serverless architecture and infrastructure as code to the next level? This hands-on guide is your starting point.