Knowledgebase

AWS

Amazon Web Services

Articles

Amazon Linux Default User (ec2-user) vs IAM User for AWS CLI Updated 18 October 2026 Amazon Linux 2023 (2023.12) with AWS CLI 2.36.47, tested; EC2 and IAM console steps according to AWS The default user on Amazon Linux (Amazon Linux 2023 and Amazon Linux 2) is ec2-user. You log in with the key pair you chose when you launched the instance; there is no... Attach new disk (EBS) to a running EC2 instance with LVM enabled Assuming that you are familiar with LVM technology. Let's see how to attach a disk (EBS) to an already running instance with LVM enabled. If it’s LVM based, we can... Automated backup job using AWS Lambda Updated 28 September 2026 Amazon EC2 (Data Lifecycle Manager, AWS Backup) You can automate EC2 backups (AMIs and EBS snapshots) without writing your own Lambda code. AWS now provides managed services for this, which also delete old backups... Automating AWS Infrastructure and services Infrastructure as a code is not something which I imagined when I started my career back in 2003. IT infrastructure has moved from hardware to software, slowly but... Getting Started with AWS: A Developer Tutorial for Beginners Updated 10 November 2026 New AWS accounts (Free and Paid plans), AWS CLI version 2 (tested 2.39.7 on Ubuntu 24.04), Amazon EC2 and Amazon S3 The quickest way to start on AWS: create an account, lock down the root user with MFA, set a zero spend budget so you hear about any charge, install AWS CLI version 2... How To Configure AWS S3 CLI for Ceph Object Gateway Storage? Updated 22 October 2026 Ceph Object Gateway is an object storage interface built on top of librados to provide applications with a RESTful gateway to Ceph Storage Clusters. Ceph Object... How to Create and Import an AWS EC2 Key Pair With Ansible Updated 29 September 2026 ansible-core 2.21 with the amazon.aws collection 11.4 and boto3, on Ubuntu, Debian, AlmaLinux and Rocky Linux An EC2 key pair holds the public SSH key that AWS puts on new instances. Managing it with Ansible means every region and account gets the same key, and you can rotate... How to Install cPanel and WHM on Amazon EC2 (AWS) Updated 28 September 2026 cPanel & WHM 138 on Amazon EC2 with AlmaLinux 9 or 10 or Ubuntu 24.04 You can run cPanel & WHM on an Amazon EC2 instance, but a few things work differently from a normal server: the instance sits behind 1:1 NAT, its public address... How to give access only to a folder inside s3 bucket for an AWS IAM user? Updated 22 October 2026 To let an IAM user see and use only one folder inside an S3 bucket, attach a policy with four blocks: console access, listing the bucket's root and the path down to... How to install AWS command line interface (awscli) on Linux? Updated 28 September 2026 AWS CLI version 2 on Linux The AWS Command Line Interface lets you manage AWS services from a terminal. Use version 2, which AWS provides as a self-contained installer; the old pip install... How to redirect non www request to www domain in AWS Route 53? It is really simple if, we do this with an s3 bucket.  In order to proceed, you must have enough privilege to create  "s3 bucket" and Route 53 edit access. Let 's see:... Send AWS SES Email attachments using Mail_Mime and AWS SDK PHAR for PHP AWS SES allows AWS users to send emails with attachment using PEAR Mail_Mime, it will generate / manually chunking the raw message to pass it along to the AWS SDK for... Simple way to migrate s3 buckets across AWS accounts Updated 22 October 2026 There are two straightforward ways to migrate an S3 bucket's contents to a different AWS account. Method 1: via a local or EC2 copy S3 bucket names are unique across...