Skip to content
Alvin Crespo edited this page Sep 15, 2023 · 9 revisions

ElastiCache (EC)

Scripts

./bin/aws/ec/redis/replication-group/create

Background

This script utilizes aws elasticache create-replication-group behind the scenes.

Dependencies

The following environment variables must be defined.

  • AWS_REPLICATION_GROUP_ID
  • AWS_REPLICATION_GROUP_DESCRIPTION
  • AWS_REPLICATION_CACHE_NODE_TYPE
  • AWS_REPLICATION_ENGINE
  • AWS_REPLICATION_CACHE_PARAMETER_GROUP_NAME
  • AWS_REPLICATION_CACHE_NUMBER_OF_CLUSTERS

Sample Output

{
    "ReplicationGroup": {
        "ReplicationGroupId": "[REDACTED]",
        "Description": "[REDACTED]",
        "GlobalReplicationGroupInfo": {},
        "Status": "creating",
        "PendingModifiedValues": {},
        "MemberClusters": [
            "[REDACTED]"
        ],
        "AutomaticFailover": "enabled",
        "MultiAZ": "disabled",
        "SnapshotRetentionLimit": 0,
        "SnapshotWindow": "07:30-08:30",
        "ClusterEnabled": true,
        "CacheNodeType": "cache.t3.micro",
        "TransitEncryptionEnabled": false,
        "AtRestEncryptionEnabled": false,
        "ARN": "[REDACTED]",
        "LogDeliveryConfigurations": [],
        "ReplicationGroupCreateTime": "2023-09-15T13:47:40.479000+00:00",
        "DataTiering": "disabled",
        "AutoMinorVersionUpgrade": true,
        "NetworkType": "ipv4",
        "IpDiscovery": "ipv4",
        "ClusterMode": "enabled"
    }
}

delete

./bin/aws/ec/redis/replication-group/delete

describe

./bin/aws/ec/redis/replication-group/describe

status

./bin/aws/ec/redis/replication-group/status

Elastic Container Registry (ECR)

Scripts

Elastic Kubernetes Service (EKS)

Scripts

Identity and Access Management (IAM)

Scripts

Relational Database Service (RDS)

Scripts

Clone this wiki locally