diff --git a/knowledge base/cloud computing/aws/cli.md b/knowledge base/cloud computing/aws/cli.md index 4eac3d0..5e1a09a 100644 --- a/knowledge base/cloud computing/aws/cli.md +++ b/knowledge base/cloud computing/aws/cli.md @@ -239,6 +239,9 @@ $ export AWS_PROFILE="work" See [CLI config files] for examples. +Refer [Configuring environment variables for the AWS CLI] to use environment variables to override settings for a shell +session. + ## Session Manager integration > The instance's IAM role must have at least the required permissions to allow to login.
@@ -352,6 +355,7 @@ yubikeytotp = awscli_plugin_yubikeytotp [codebase]: https://github.com/aws/aws-cli/tree/v2 [configure profiles]: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html +[Configuring environment variables for the AWS CLI]: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html [how do i assume an iam role using the aws cli?]: https://repost.aws/knowledge-center/iam-assume-role-cli [improved cli auto-prompt mode]: https://github.com/aws/aws-cli/issues/5664 [install the session manager plugin for the aws cli]: https://docs.aws.amazon.com/systems-manager/latest/userguide/install-plugin-macos-overview.html#install-plugin-macos-signed diff --git a/knowledge base/cloud computing/aws/ec2.md b/knowledge base/cloud computing/aws/ec2.md index 5d45363..1f2289b 100644 --- a/knowledge base/cloud computing/aws/ec2.md +++ b/knowledge base/cloud computing/aws/ec2.md @@ -167,6 +167,7 @@ Instance store volumes are **included** as part of the usage cost of an instance Instances publish a default set of metrics to CloudWatch with no charge.
One can change this set by configuring the CloudWatch agent. +[Config file reference][manually create or edit the cloudwatch agent configuration file].
[Recommended alarms]. Refer [How can I send memory and disk metrics from my EC2 instances to CloudWatch?] and @@ -285,6 +286,7 @@ Also see [Automatic instance recovery]. [using al2023 based amazon ecs amis to host containerized workloads]: https://docs.aws.amazon.com/linux/al2023/ug/ecs.html [using instance profiles]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-ec2_instance-profiles.html [Find AMIs with the SSM Agent preinstalled]: https://docs.aws.amazon.com/systems-manager/latest/userguide/ami-preinstalled-agent.html +[Manually create or edit the CloudWatch agent configuration file]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Agent-Configuration-File-Details.html [Automating Instance Reboots with Amazon CloudWatch EC2 Actions]: https://devops.supportsages.com/automating-instance-reboots-with-amazon-cloudwatch-ec2-actions-375f633a658d diff --git a/knowledge base/cloud computing/aws/eks.md b/knowledge base/cloud computing/aws/eks.md index 6782d80..3849b2b 100644 --- a/knowledge base/cloud computing/aws/eks.md +++ b/knowledge base/cloud computing/aws/eks.md @@ -1465,6 +1465,7 @@ helm upgrade -i --repo 'https://aws.github.io/eks-charts' \ - [Reaching failed to introspect region from EC2Metadata... on container start-up - vanilla EKS/Fargate] - [Route application and HTTP traffic with Application Load Balancers] - [Hands-On Guide to Creating an Amazon EKS Cluster with Self-Managed Worker Nodes] +- [EKS nodegroup AMI types] [amazon elastic block store (ebs) csi driver]: https://github.com/kubernetes-sigs/aws-ebs-csi-driver/blob/master/README.md @@ -1550,10 +1552,10 @@ helm upgrade -i --repo 'https://aws.github.io/eks-charts' \ [aws load balancer controller repository]: https://github.com/kubernetes-sigs/aws-load-balancer-controller [enable ebs gp3 for eks by default]: https://geko.cloud/en/aws-enable-ebs-gp3-for-eks-by-default/ [external-snapshotter]: https://github.com/kubernetes-csi/external-snapshotter +[Hands-On Guide to Creating an Amazon EKS Cluster with Self-Managed Worker Nodes]: https://medium.com/@muppedaanvesh/hands-on-guide-to-creating-an-amazon-eks-cluster-with-self-managed-worker-nodes-fad026c34482 [how do you get kubectl to log in to an aws eks cluster?]: https://stackoverflow.com/questions/53266960/how-do-you-get-kubectl-to-log-in-to-an-aws-eks-cluster [how to add iam user and iam role to aws eks cluster?]: https://antonputra.com/kubernetes/add-iam-user-and-iam-role-to-eks/ [Hybrid Pod Scheduling: Optimising AWS — EKS with On-Demand and Spot Instances]: https://medium.com/@rajatgupta828/hybrid-pod-scheduling-optimising-aws-eks-with-on-demand-and-spot-instances-6b94e62e9dd4 [reaching failed to introspect region from ec2metadata... on container start-up - vanilla eks/fargate]: https://github.com/kubernetes-sigs/aws-load-balancer-controller/issues/1561 [upgrade default storage class for eks]: https://www.argonaut.dev/docs/guides/migrate-eks-to-gp3 [visualizing aws eks kubernetes clusters with relationship graphs]: https://dev.to/aws-builders/visualizing-aws-eks-kubernetes-clusters-with-relationship-graphs-46a4 -[Hands-On Guide to Creating an Amazon EKS Cluster with Self-Managed Worker Nodes]: https://medium.com/@muppedaanvesh/hands-on-guide-to-creating-an-amazon-eks-cluster-with-self-managed-worker-nodes-fad026c34482 diff --git a/knowledge base/cloud computing/aws/rds.md b/knowledge base/cloud computing/aws/rds.md index ba10c61..b1c5875 100644 --- a/knowledge base/cloud computing/aws/rds.md +++ b/knowledge base/cloud computing/aws/rds.md @@ -239,11 +239,11 @@ Used to enable and configure additional features and functionalities in a DB. ## Backup -RDS backup storage for each Region is calculated from both the automated backups and manual DB snapshots for that -Region.
-Moving snapshots to other Regions increases the backup storage in the destination Regions. +RDS snapshot storage is calculated per Region.
+Both the automated backups and manual DB snapshots for that Region concur to the total value.
+Moving snapshots to other Regions increases the backup storage value for the destination Regions. -Backups are stored in [S3]. +Snapshots are stored in [S3]. Should one choose to retain automated backups when deleting DB instances, those backups are saved for the full retention period; otherwise, all automated backups are deleted with the instance.
@@ -253,7 +253,7 @@ Should one choose to have RDS create a final DB snapshot before deleting a DB in created manual snapshots to recover it. Taking backups can be unbearably slow depending on the amount of data needing to be copied.
-For comparison, the first snapshot of a DB instance with standard 100 GiB `gp3` storage took about 3h to complete. +For reference, the first snapshot of a DB instance with standard 100 GiB `gp3` storage took about 3h to complete. ### Automatic backups @@ -889,6 +889,7 @@ or write workloads and exceeds the instance type quotas. - [Understanding PostgreSQL roles and permissions] - [Kyle Kingsbury's Amazon RDS for PostgreSQL 17.4 analysis] - [AWS RDS Max Connections Limit As Per Instance Type] +- [Amazon RDS and Aurora credentials format] ### Sources @@ -910,6 +911,7 @@ or write workloads and exceeds the instance type quotas. - [Maintaining a DB instance] - [Disabling AWS RDS backups when creating/updating instances?] - [Viewing instance status] +- [Recommended alarms for RDS] [amazon ebs-optimized instance types]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html +[Amazon RDS and Aurora credentials format]: https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_secret_json_structure.html#reference_secret_json_structure_rds [amazon rds db instance storage]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html [amazon rds db instances]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.DBInstance.html [aws kms key management]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.Encryption.Keys.html @@ -938,6 +941,7 @@ or write workloads and exceeds the instance type quotas. [migrating databases to their amazon rds equivalents with aws dms]: https://docs.aws.amazon.com/dms/latest/userguide/data-migrations.html [migrating databases using rds postgresql transportable databases]: https://aws.amazon.com/blogs/database/migrating-databases-using-rds-postgresql-transportable-databases/ [pricing and data retention for performance insights]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.Overview.cost.html +[Recommended alarms for RDS]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Best_Practice_Recommended_Alarms_AWS_Services.html#RDS [renaming a db instance]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_RenameInstance.html [Restoring a DB instance to a specified time for Amazon RDS]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIT.html [restoring from a db snapshot]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_RestoreFromSnapshot.html