This section covers provisioning an Amazon RDS instance for the project and loading the provided SQL schema and seed data.
Create an RDS instance (MySQL or PostgreSQL as the project requires). Choose db.t3.micro (Free Tier eligible) for testing.
Configure networking: place RDS in private subnets within a VPC. Ensure security group allows inbound traffic from the application (Lambda security group or bastion host IP for manual access).
Initialize the database with schema and seed data:
# From repo root
aws s3 cp BloodDonationSupportSystem.sql s3://your-bucket/ || true
# (or run locally against RDS using mysql client)
mysql -h <rds-endpoint> -u <user> -p < BloodDonationSupportSystem.sql
mysql -h <rds-endpoint> -u <user> -p < initData.sql
Validation: Connect with a MySQL/Postgres client and run a few SELECTs to confirm schema and seeded data present.
Notes