From a29bf0e2971581b662e818fdd881edd77ea1984a Mon Sep 17 00:00:00 2001 From: jtrollin Date: Thu, 28 May 2020 12:52:13 -0400 Subject: [PATCH 1/2] fixed the hardcoding of region in the config.php file --- templates/04-web.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/04-web.yaml b/templates/04-web.yaml index 3ceb151..6fb7a2f 100644 --- a/templates/04-web.yaml +++ b/templates/04-web.yaml @@ -584,7 +584,7 @@ Resources: $client = new SecretsManagerClient([ 'version' => '2017-10-17', - 'region' => 'us-east-1', + 'region' => '${AWS::Region}', ]); $secretName = '${MyRDSInstanceSecretArn}'; From 87f966c4dc3be2c3bfcd43af12b2e471629e355b Mon Sep 17 00:00:00 2001 From: jtrollin Date: Thu, 28 May 2020 12:56:33 -0400 Subject: [PATCH 2/2] updated Readme.md to include instractions on how to access the webserver vi ssh --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index fbdc016..c8aee58 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,8 @@ update mdl_user set lastip=''; 4) Configure Application caching in Moodle Site Configuration (see below for details). 5) Now you can update the stack that you just deployed to enable session caching and set the Min and Max Auto Scaling Group size values as desired. +*Note you can reach the webserver by changing the minimum number of bastion hosts to 1 in the Auto Scaling Group or enable Systems Manager Session Manager by updating the IAM role assigned to the webserver instance (https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-getting-started-instance-profile.html) + You can launch this CloudFormation stack, using your account, in the following AWS Regions. The template will work in other regions as Aurora PostgreSQL is deployed globally. | AWS Region Code | Name | Launch |