Changes

Jump to: navigation, search

OPS345 Lab 4

1,250 bytes added, 02:41, 4 January 2022
AWS RDS
* Pick '''Standard create''', '''MariaDB''', leave the default version
* Pick '''Free tier''' from Templates.
* Call the database '''ops345db'''.* Change the default username to '''dbroot'''.
* Put in a long password, make sure it's a password that's only used for the database.
{{Admon/important|Database passwords|Database passwords are a breed of their own. While they are used to protect highly valuable data - unlike other passwords they are often written in plain text on the command-line, in shell scripts, and web service configuration files. Therefore to avoid having your entire account compromised: don't use the same password in a database that you use for other systems in AWS.}}
* Under Connectivity pick the '''vpc-ops345''' VPC.
* Create a new security group named '''ops345dbsg'''.
* Pick '''us-east-1a''' for the availability zone.
* The defaults can be left for other options.
* Click '''Create database'''
* You'll get an error like this. Understanding it will take some time:
{{Admon/important[[File:AWSCreateDBError.png|Database passwordsborder|Database passwords center]] We don't have time in this course to learn about Availability Zones. The following should be enough for you to understand what the problem is. One of the reasons people choose to use AWS is global availability. You may be working in Toronto building an awesome website, but if your clients are a breed in the southern USA, or europe, or asia - they will experience poor performance simply because of their ownthe distance. While they are used to protect highly valuable The earth is big enough that even if your data travelled at the speed of light - unlike it would take it too long to get to the other passwords they are often written side of the planet. Amazon assumes that you're building something to be available in plain text on the command-lineentire world, and that's why RDS insists that your database be available in shell scripts, and web service configuration filesat least two availability zones. Therefore to avoid having your entire account compromised Unfortunately for you: don't use the same password in that means a database lot more setup, but that 's ok - it will give you use for other systems in more practice with AWSnetworking.}}
** It will complain about not having two subnets in different availability zones.

Navigation menu