SecureAnyCloud
Golden Images
  • About SecureAnyCloud
  • AWS CFT for WAMP with Aurora
    • Introduction
      • Overview
      • Resources
      • High Availability
      • Deployment time
    • Architecture
    • Getting Started
      • Pre-Requisites
    • Configuration
      • Service Limits
      • Network Configuration
      • Backup, maintenance & recovery
        • DR Strategy
    • After deployment
      • Support
      • SLA
      • Health Check
      • Auto-Scaling
    • Security Best Practices
      • Security for Amazon Aurora
        • Encryption
      • AWS EC2 Security
      • Secrets Management
        • Rotating Keys
      • Public Assets
    • Instance Sizing
    • Costing
  • CFT: Secured WAMP With Aurora - Windows 2016
  • MySql Change Password
  • PHP on cloud
  • [Stack_Name]
Powered by GitBook
On this page

Was this helpful?

  1. AWS CFT for WAMP with Aurora
  2. After deployment

Auto-Scaling

PreviousHealth CheckNextSecurity Best Practices

Last updated 4 years ago

Was this helpful?

During deployment Auto-Scaling for Aurora RDS is not configured

To enable Auto-Scaling you will need to add a replica. Please follow the below steps:

Step1: Add a replica

Navigate to the RDS cluster from Resources of the Cloud formation template

Click on the database under RDS cluster -> Click on Instance Actions -> Create aurora replica

Give a name to the replica in the replica creation window. You will see the replica being created

Once the replica is created you can click on Actions on the RDS cluster and choose the option "Add replica to auto scaling"

To add an auto scaling policy to an Aurora DB cluster

  1. In the navigation pane, choose Databases.

  2. Choose the Aurora DB cluster that you want to add a policy for.

  3. Choose the Logs & events tab.

  4. In the Auto scaling policies section, choose Add.

    The Add Auto Scaling policy dialog box appears.

  5. For Policy Name, type the policy name.

  6. For the target metric, choose one of the following:

    • Average CPU utilization of Aurora Replicas to create a policy based on the average CPU utilization.

    • Average connections of Aurora Replicas to create a policy based on the average number of connections to Aurora Replicas.

  7. For the target value, type one of the following:

    • If you chose Average CPU utilization of Aurora Replicas in the previous step, type the percentage of CPU utilization that you want to maintain on Aurora Replicas.

    • If you chose Average connections of Aurora Replicas in the previous step, type the number of connections that you want to maintain.

    Aurora Replicas are added or removed to keep the metric close to the specified value.

  8. (Optional) Open Additional Configuration to create a scale-in or scale-out cooldown period.

  9. For Minimum capacity, type the minimum number of Aurora Replicas that the Aurora Auto Scaling policy is required to maintain.

  10. For Maximum capacity, type the maximum number of Aurora Replicas the Aurora Auto Scaling policy is required to maintain.

  11. Choose Add policy.

When you click Add policy you have activated the Auto-Scaling

If you try to add Auto Scaling policy without adding at least one replica as detailed in Step 1 you will get a message like below

Or go to

Step 2: Aurora RDS can be configured using this

Sign in to the AWS Management Console and open the Amazon RDS console at .

The following dialog box creates an Auto Scaling policy based an average CPU utilization of 40 percent. The policy specifies a minimum of 5 Aurora Replicas and a maximum of 15 Aurora Replicas.

The following dialog box creates an auto scaling policy based an average number of connections of 100. The policy specifies a minimum of two Aurora Replicas and a maximum of eight Aurora Replicas.

https://console.aws.amazon.com/rds
link
https://console.aws.amazon.com/rds/

                    Creating an Auto Scaling policy based on average 
                        connections

                    Creating an auto scaling policy based on average CPU
                        utilization