Archives for AWS - Page 10
Switching AWS Directory Services VPC
Moving an EC2 instance from a VPC to another Stop your instance. Create a private AMI of the instance. Detach all secondary EBS volumes from the instance. Create a new…
Reset an AWS root account password
To reset a root account password – when you have access to the associated email 1. Open , and then choose Sign In to the Console. Note: If you're…
EC2 Instance launch only if correctly tagged
This can apply to EC2 instances, EBS volumes or ; You can tweak it to work for only key present, key-value present and key value exact match. Step 1 -…
Database Users on RDS – IAM Authentication to RDS / MySQL / Postgres
Say you have a database user that needs to login to an RDS instance on AWS. The basic idea is to Create an AWS Role that maps to the Database…
AWS SSO from an On Premises Active Directory
Users on your on-premises Active Directory need SSO access to a) AWS accounts and b) cloud applications in the AWS SSO user portal AWS Directory Service has the following two…
Azure Accounts / Subscriptions Compared to AWS
Azure Subscriptions contain all your resources (all your VMs, storage accounts etc.) An account (sometimes called a 'user account') in Azure is primarily a billing construct that can hold one…
Hierarchical Policies AWS Accounts
With AWS Organizations, one can create a top level organization to contain multiple ; Under a top level Org, multiple OUs can be defined. So, you could have segmentation based…
Tagging EC2 instances across accounts
AWS Service Catalog : If their resources are spread across multiple accounts, this may be a better alternative to tag existing resources.
Tagging EC2 and RDS Instances
After Launch (use CLI) aws ec2 run-instances --tag-specifications aws ec2 run-instances --image-id ami-abc12345 --count 1 \ --instance-type --key-name MyKeyPair \ --subnet-id subnet-6e7f829e \ --tag-specifications 'ResourceType=instance,Tags=' 'ResourceType=volume,Tags=' On Launch Can add…
AWS RDS Read Replica–Inter Region versus Intra Region
Use Case - Your PRIMARY region contains multiple VPCs. So does your BACKUP ; You would like to create a read replica of from a VPC in your PRIMARY region…