Open main menu

CDOT Wiki β

Changes

OPS705 Assignment 2

154 bytes added, 14:47, 13 April 2023
Task 2: Database
# Public access: '''No'''
# VPC security group: Choose existing
# Existing VPC security groups: Remove default VPC, add '''Wordpress Database VPCSG''' (look to see that it's there below the dropdown after you select it)
# Availability Zone: '''us-east-1a'''
# Monitoring > Enable Enhanced monitoring: '''Unchecked'''
We ''could'' add the DB connector info to '''wp-config.php''' manually before we upload the source code, but there's a much better way. We use environment variables to allow us to put all the info in the Elastic Beanstalk application wizard. That way, every time the application restarts and reloads from the source code zip, it'll then read our connector information from AWS. Read below for details and steps.
 
'''Note:''' All other information, like the Wordpress website name, users, theme settings, blog posts, etc., are saved in the actual database you created in RDS. This database does not get reset when the Elastic Beanstalk application restarts, so your actual blog will remain intact.
== Download and Unzip - Local Computer ==
# Find the '''wordpress''' folder on your local computer.
# Zip the ''entire wordpress directory'', not just the files inside. (Use the zip compression protocol. Don't use something else like .rar.)
# Rename your new zip file: '''wordpress-6.1.12-modded.zip''' (Use whatever version the source zip file has.)
= Task 4: Elastic Beanstalk =
# Application name: '''wordpress'''
# Environment name: '''Wordpress-env'''
# Domain: ''' ''yourSenecaUsername''-assignment2''' (Click on the ''Check availability'' button to verify the URL is free.)
# Platform: '''PHP'''
# Platform branch: '''PHP 8.1''' (or current latest)
# Application code: '''Upload your code'''
# Choose file: '''wordpress-6.1.12-modded.zip''' (From your local computer)# Version label: '''wordpress-6.1.12'''
== Configure more options ==