Private Application Load Balancer for EKS in Terraform

Amazon Web Services (AWS) provides a powerful combination of services for building, deploying, and managing applications. Amazon Elastic Kubernetes Service (EKS) is a managed Kubernetes service that simplifies the process of deploying, managing, and scaling containerized applications using Kubernetes. In certain scenarios, you might want to deploy a private Application Load Balancer (ALB) in front of your private EKS cluster to handle incoming traffic efficiently. In this guide, we’ll walk through the process of setting up a private ALB for your private EKS cluster using Terraform, along with best practices and intricate details....

August 30, 2023 · 4 min · 668 words · AO

Secure Efficient Server Management with AWS Systems Manager

In the ever-evolving landscape of cloud computing, AWS (Amazon Web Services) continually introduces innovative solutions to enhance operational efficiency, security, and ease of management. One such powerful tool is AWS Systems Manager (SSM), which empowers users to manage their server infrastructure without the need for SSH access and traditional EC2 key pairs. In this comprehensive guide, we’ll delve into setting up AWS SSM, exploring its advanced use cases, and demonstrating how it can transform your workflow....

August 24, 2023 · 7 min · 1324 words · AO

How to Get a List of Available Regions from AWS CLI

AWS (Amazon Web Services) is a prominent cloud service provider that offers a wide range of services to businesses and individuals worldwide. One of the fundamental concepts in AWS is regions, which are distinct geographical locations hosting AWS infrastructure. Understanding regions is crucial for optimizing your cloud infrastructure’s performance, data residency, and compliance requirements. In this blog post, we’ll dive into the world of AWS regions, learn how to list available regions using the AWS CLI, and explore a handy command to fetch region details in a more reader-friendly format....

August 23, 2023 · 3 min · 483 words · AO

AWS Production-DR Failover: Advanced Strategies

Introduction Implementing failover between a production (Prod) account and a disaster recovery (DR) account is a critical aspect of ensuring high availability and business continuity in AWS. While DNS-based failover is a common approach, advanced users can explore additional strategies that provide enhanced control, automation, and scalability for failover scenarios. In this comprehensive guide, we will delve into advanced techniques that go beyond DNS, enabling advanced users to build robust failover architectures in AWS....

July 11, 2023 · 5 min · 902 words · AO

Unleashing the Power: Lambda - A Killer Feature in AWS

In the world of cloud computing, Amazon Web Services (AWS) has long been a dominant player, providing a comprehensive suite of services to meet the diverse needs of businesses. Among its vast array of offerings, one particular service stands out as a true game-changer: AWS Lambda. Lambda is a serverless computing platform that has revolutionized the way developers build and deploy applications. In this blog post, we’ll explore why Lambda is rightly hailed as a killer feature in AWS....

June 30, 2023 · 3 min · 575 words · AO

How to Share a VPC from one AWS Account to Another

To share a Virtual Private Cloud (VPC) from one AWS account to another, you can use the AWS Resource Access Manager (RAM) service. RAM allows you to securely share your AWS resources with other AWS accounts while maintaining control over the resource permissions. Here’s a step-by-step guide on how to share a VPC from one AWS account to another: 1. Set up the necessary permissions In the account that owns the VPC (the sharing account), ensure that you have the required permissions to share the VPC....

June 27, 2023 · 2 min · 393 words · AO

[Solved] Set CloudWatch Logs role ARN in account settings

The error message you mentioned, “CloudWatch Logs role ARN must be set in account settings to enable logging,” typically occurs when you’re trying to enable logging for an AWS service that requires a CloudWatch Logs role, but the necessary role hasn’t been set up or configured correctly in your account settings. To resolve this issue, you can follow these steps: Sign in to the AWS Management Console. Open the AWS CloudTrail console at https://console....

June 26, 2023 · 2 min · 289 words · AO

How to Create CloudFormation with Multiple Files

To create a CloudFormation (CFN) stack with multiple files, you can follow these general steps: Organize your resources: Divide your resources into logical groups or services. For example, you might have separate files for networking, storage, compute, and so on. Create YAML or JSON templates: Create individual YAML or JSON templates for each group or service. Each template will define the resources specific to that group. For example, networking.yaml, storage.yaml, and compute....

June 25, 2023 · 5 min · 919 words · AO

Make EKS cluster private with NodeGroup access

The Theory To make an Amazon Elastic Kubernetes Service (EKS) cluster private and allow nodes to join through a node group, you need to follow a few steps. By default, EKS creates a public cluster, but you can configure it to make it private for enhanced security. Here’s an overview of the process: Create a VPC: Start by creating a Virtual Private Cloud (VPC) in your AWS account if you haven’t already....

June 21, 2023 · 7 min · 1375 words · AO

How do you create an EKS cluster using CloudFormation

The steps to achieve this To create an Amazon Elastic Kubernetes Service (EKS) cluster using CloudFormation, you can follow these steps: Create a CloudFormation template: Start by creating a CloudFormation template in YAML or JSON format. This template will define the resources required for your EKS cluster, including the cluster itself, worker nodes, and other necessary components. Define the EKS cluster resource: Within your CloudFormation template, define an AWS::EKS::Cluster resource. Specify the desired configuration for your EKS cluster, such as the version, name, and role-based access control (RBAC) configuration....

June 17, 2023 · 4 min · 735 words · AO