Skip to main content

Black Friday 2025! Only until December 1st: coupon FRIDAY25 for 40% off Yearly/Lifetime membership!

Read more here

MySQL: Setup RDS Instance

Premium
7 min read

Our Laravel project will use MySQL database, so let's install the database engine now. It comes from Amazon itself and it is called RDS.

This tutorial will teach you how to create an environment to run your MySQL database. We'll use Amazon Relational Database Service (Amazon RDS) for this, and everything in this tutorial is Free Tier eligible. In addition, we'll provide some MySQL commands to do basic things such as create/list users/tables.

Let's get started...

The Full Lesson is Only for Premium Members

Want to access all of our courses? (29 h 14 min)

You also get:

54 courses
Premium tutorials
Access to repositories
Private Discord
Get Premium for $129/year or $29/month

Already a member? Login here

Comments & Discussion

SK
Sam Khangyi ✓ Link copied!

on step 11. - 13. Do we really need to install the client? we can create the database using the provided AWS UI, and php will connect to the database without using any local client i think, i could be wrong tho

DL
David Lun ✓ Link copied!

I'm not sure what "AWS UI" is referring to exactly, although the course focuses on using command line tools.

GK
Gavin Kimpson ✓ Link copied!

Might be a silly question but for smaller apps could we not just install MySQL directly onto the same EC2 instance without using RDS at all? I'm just thinking for smaller apps to keep costs down

GK
Gavin Kimpson ✓ Link copied!

this is what i did anyway

SJ
Stephenson Jacob ✓ Link copied!

if following tutorail and have ERROR 2003 issues connecting to Mysql -research about Security Groups, need to enable MySQL aurora on port 3360 on EC2 instances and RDS instances.